summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-07-31 19:21:13 +0300
committerOliver Upton <oliver.upton@linux.dev>2024-08-07 22:13:20 +0300
commitad518452fd263766946346324810f14bd8bb8b34 (patch)
treeb6ff1db8ea41f4735c22b012dbdf7baad8a8dd8d /rust/helpers/helpers.c
parent7e814a20f6da2bd2044b1a4682dd92a6f0df5a92 (diff)
downloadlinux-ad518452fd263766946346324810f14bd8bb8b34.tar.xz
KVM: selftests: arm64: Correct feature test for S1PIE in get-reg-list
The ID register for S1PIE is ID_AA64MMFR3_EL1.S1PIE which is bits 11:8 but get-reg-list uses a shift of 4, checking SCTLRX instead. Use a shift of 8 instead. Fixes: 5f0419a0083b ("KVM: selftests: get-reg-list: add Permission Indirection registers") Signed-off-by: Mark Brown <broonie@kernel.org> Reviewed-by: Joey Gouly <joey.gouly@arm.com> Link: https://lore.kernel.org/r/20240731-kvm-arm64-fix-s1pie-test-v1-1-a9253f3b7db4@kernel.org Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions