diff options
| author | Wei-Lin Chang <weilin.chang@arm.com> | 2026-06-05 19:52:55 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-06-07 15:10:59 +0100 |
| commit | 6bef47288ce1cb8302c84753164b8f8f6d63e0b3 (patch) | |
| tree | 0eebdd88e305c36cbc51f1f48b19c80cc0b3f71c /scripts/decode_stacktrace.sh | |
| parent | d8839941df7de41fd4b02b7b7cdd0c46e5ba501e (diff) | |
KVM: arm64: Fix block mapping validity check in stage-1 walker
For the 64K granule size, FEAT_LPA determines whether a level 1 mapping
is allowed. Using the result of has_52bit_pa() is too restrictive, as it
also checks the selected output addressi size in TCR.(I)PS. Fix it by
only checking FEAT_LPA.
Fixes: 5da3a3b27a01 ("KVM: arm64: Expand valid block mappings to FEAT_LPA/LPA2 support")
Signed-off-by: Wei-Lin Chang <weilin.chang@arm.com>
Link: https://patch.msgid.link/20260605185255.2431996-1-weilin.chang@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/decode_stacktrace.sh')
0 files changed, 0 insertions, 0 deletions
