diff options
author | Wei-Lin Chang <r09922117@csie.ntu.edu.tw> | 2025-08-09 21:53:56 +0800 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-09-08 20:01:21 +0100 |
commit | 8673e5b22e1e114213d3ca74f415034aed45e528 (patch) | |
tree | c4a467a88e8df620e8e508c1f6e809d2c2dfeae1 /scripts/gdb/linux/timerlist.py | |
parent | 1b237f190eb3d36f52dffe07a40b5eb210280e00 (diff) |
KVM: arm64: ptdump: Don't test PTE_VALID alongside other attributes
The attribute masks and test values in the ptdump code are meant for
individual attributes, however for stage-2 ptdump we included PTE_VALID
while testing for R, W, X, and AF. This led to some confusion and the
flipped output for the executable attribute.
Remove PTE_VALID from all attribute masks and values so that each test
matches only the relevant bits.
Additionally, the executable attribute printing is updated to align with
stage-1 ptdump, printing "NX" for non-executable regions and "x " for
executable ones.
Suggested-by: Anshuman Khandual <anshuman.khandual@arm.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Suggested-by: Sebastian Ene <sebastianene@google.com>
Signed-off-by: Wei-Lin Chang <r09922117@csie.ntu.edu.tw>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions