diff options
| author | Mark Brown <[email protected]> | 2024-12-16 19:28:24 +0000 |
|---|---|---|
| committer | Oliver Upton <[email protected]> | 2024-12-17 09:14:56 +0000 |
| commit | 212fbabe1dfecdda35bf5aaa900f745a3bab5ac4 (patch) | |
| tree | 5b3f91221716c9998470627fdfefbb502c54faa7 /drivers/platform/x86/intel/pmt/class.c | |
| parent | Linux 6.13-rc3 (diff) | |
| download | kernel-212fbabe1dfecdda35bf5aaa900f745a3bab5ac4.tar.gz kernel-212fbabe1dfecdda35bf5aaa900f745a3bab5ac4.zip | |
KVM: arm64: Fix set_id_regs selftest for ASIDBITS becoming unwritable
In commit 03c7527e97f7 ("KVM: arm64: Do not allow ID_AA64MMFR0_EL1.ASIDbits
to be overridden") we made that bitfield in the ID registers unwritable
however the change neglected to make the corresponding update to set_id_regs
resulting in it failing:
ok 56 ID_AA64MMFR0_EL1_BIGEND
==== Test Assertion Failure ====
aarch64/set_id_regs.c:434: masks[idx] & ftr_bits[j].mask == ftr_bits[j].mask
pid=5566 tid=5566 errno=22 - Invalid argument
1 0x00000000004034a7: test_vm_ftr_id_regs at set_id_regs.c:434
2 0x0000000000401b53: main at set_id_regs.c:684
3 0x0000ffff8e6b7543: ?? ??:0
4 0x0000ffff8e6b7617: ?? ??:0
5 0x0000000000401e6f: _start at ??:?
not ok 8 selftests: kvm: set_id_regs # exit=254
Remove ID_AA64MMFR1_EL1.ASIDBITS from the set of bitfields we test for
writeability.
Signed-off-by: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/20241216-kvm-arm64-fix-set-id-asidbits-v1-1-8b105b888fc3@kernel.org
Acked-by: Marc Zyngier <[email protected]>
Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
