Hi all,
This adds a check in SMMU PTW to see if the access flag bit is set in a PTE, and
if we should fault accordingly or not.
Since we do not support HTTU, the check itself is pretty simple:
If AFFD == 0 in the context descriptor and AF == 0 in the PTE, we fault.
Otherwise, we do not have an access fault.
Thanks!
Joe
Joe Komlodi (1):
hw/arm/smmu: Add access flag handling
hw/arm/smmu-common.c | 7 +++++++
hw/arm/smmu-internal.h | 8 ++++++++
hw/arm/smmuv3-internal.h | 1 +
hw/arm/smmuv3.c | 1 +
include/hw/arm/smmu-common.h | 1 +
5 files changed, 18 insertions(+)
--
2.7.4