qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/1] hw/arm/smmu: Add access flag handling


From: Joe Komlodi
Subject: [PATCH 0/1] hw/arm/smmu: Add access flag handling
Date: Fri, 30 Jul 2021 16:17:01 -0700

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]