arm/ptw: fix missing sctlr.{u}wxn handling in get_phys_addr_v6
Status from this message: Applied to target-arm.next, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 1 replyApplied
- v22 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Fix naming
- Fix too early ap decoding in get_phys_addr_lpae
- Refactor a bit security-space related code in get_phys_addr_v6()
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | arm/ptw: make get_S1prot accept decoded APtarget/ | +8 | 0 replies | |
| 2/2 | arm/ptw: use get_S1prot in get_phys_addr_v6target/ | +23 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] arm/ptw: fix missing sctlr.{u}wxn handling in get_phys_addr_v6
We observed failing WXN tests in our OS which we tracked down to missing WXN handling in qemu.
The problem was in that short descriptor format walker did not respect WXN bit. To fix it, make it possible to call get_S1prot() from get_phys_addr_v6().
Tested localy that all permission-related tests in our OS passed on following platforms:
- arm64-virt
- arm-vexpress (v7)
- arm-virt (v7)
Changes from v2:
- Fix naming
- Fix too early ap decoding in get_phys_addr_lpae
- Refactor a bit security-space related code in get_phys_addr_v6()
Changes from v1:
- Fix style errors
- Add cover letter
- Use get_S1prot() instead of open-coded checks
v2: https://lore.kernel.org/qemu-devel/[email protected]/
v1: https://lore.kernel.org/qemu-devel/[email protected]/
Pavel Skripkin (2):
arm/ptw: make get_S1prot accept decoded AP
arm/ptw: use get_S1prot in get_phys_addr_v6
target/arm/ptw.c | 69 ++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 38 deletions(-)
Signature · 1 line
2.47.0