hw/arm/smmuv3: Cache event fault record
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Wed, 27 Apr 2022 11:15:43 +0000 (12:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Apr 2022 12:57:33 +0000 (13:57 +0100)
commitced716942a6646594f23674a9462bfe98c29e2e9
treeef62b0a0c83fe32a496d6b871e9a18c2df0dcbcb
parent8b7a5bbecff7d2128ddf81fe9886692c820b742e
hw/arm/smmuv3: Cache event fault record

The Record bit in the Context Descriptor tells the SMMU to report fault
events to the event queue. Since we don't cache the Record bit at the
moment, access faults from a cached Context Descriptor are never
reported. Store the Record bit in the cached SMMUTransCfg.

Fixes: 9bde7f0674fe ("hw/arm/smmuv3: Implement translate callback")
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20220427111543.124620-1-jean-philippe@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/smmuv3-internal.h
hw/arm/smmuv3.c
include/hw/arm/smmu-common.h