diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2025-09-12 14:22:49 -0700 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-09-19 14:01:35 +0100 |
commit | 49da9872a6a6fa943c02448eeae6db5e7f479283 (patch) | |
tree | 1729eede6196d83464452b8f0954a680eb8bb129 /scripts/gdb/linux/timerlist.py | |
parent | d3c35b7c57fc33ce787921e2faf84b7d58989a2a (diff) |
KVM: arm64: nv: Don't erroneously claim FEAT_DoubleLock for NV VMs
ID_AA64DFR0_EL1.DoubleLock is one of those annoying signed feature
fields where a non-negative value implies that a feature is implemented
and a negative value implies that it is not. While the intention of
masking this field was likely to hide the feature, KVM actually
advertises it, even on unsupporting hardware.
Remove FEAT_DoubleLock from the mask, making the NI value visible to the
VM. Take care to accept the old, incorrect values for this field as
we've lied to userspace.
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions