summary refs log tree commit diff stats
path: root/include/hw/intc
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2024-11-19 13:02:06 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-11-19 13:02:06 +0000
commit0340cb6e319341933443c1b1aee4c7ae816e8f7f (patch)
tree27d4e3b2e00571259cd14c22f98c8b942d5cab6b /include/hw/intc
parent0231bdc8957bcc3ed245c7498e10ee7a95487076 (diff)
downloadfocaccia-qemu-0340cb6e319341933443c1b1aee4c7ae816e8f7f.tar.gz
focaccia-qemu-0340cb6e319341933443c1b1aee4c7ae816e8f7f.zip
arm/ptw: Honour WXN/UWXN and SIF in short-format descriptors
Currently the handling of page protection in the short-format
descriptor is open-coded. This means that we forgot to update
it to handle some newer architectural features, including:
 * handling of SCTLR.{UWXN,WXN}
 * handling of SCR.SIF

Make the short-format descriptor code call the same get_S1prot()
that we already use for the LPAE descriptor format. This makes
the code simpler and means it now correctly honours the WXN/UWXN
and SIF bits.

Signed-off-by: Pavel Skripkin <paskripkin@gmail.com>
Message-id: 20241118152537.45277-1-paskripkin@gmail.com
[PMM: fixed a couple of checkpatch nits, tweaked commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/intc')
0 files changed, 0 insertions, 0 deletions