diff options
author | Pavel Skripkin <paskripkin@gmail.com> | 2024-11-19 13:02:06 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-11-19 13:02:06 +0000 |
commit | 0340cb6e319341933443c1b1aee4c7ae816e8f7f (patch) | |
tree | 27d4e3b2e00571259cd14c22f98c8b942d5cab6b /docs/pcie_pci_bridge.txt | |
parent | 0231bdc8957bcc3ed245c7498e10ee7a95487076 (diff) |
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 'docs/pcie_pci_bridge.txt')
0 files changed, 0 insertions, 0 deletions