aboutsummaryrefslogtreecommitdiff
path: root/arch/mips
diff options
context:
space:
mode:
authorGravatar Emanuele Giuseppe Esposito <eesposit@redhat.com> 2023-01-09 08:06:05 -0500
committerGravatar Sean Christopherson <seanjc@google.com> 2023-02-01 16:22:54 -0800
commiteb98192576315d3f4c6c990d589ab398e7091782 (patch)
tree5bd9204ae5a26ad73a80ebf2af3b1f462b4f113c /arch/mips
parentKVM: x86: Reinitialize xAPIC ID when userspace forces x2APIC => xAPIC (diff)
downloadlinux-eb98192576315d3f4c6c990d589ab398e7091782.tar.gz
linux-eb98192576315d3f4c6c990d589ab398e7091782.tar.bz2
linux-eb98192576315d3f4c6c990d589ab398e7091782.zip
KVM: selftests: Verify APIC_ID is set when forcing x2APIC=>xAPIC transition
Add a sub-test to verify that KVM stuffs the APIC_ID when userspace forces a transition from x2APIC to xAPIC without first disabling the APIC. Such a transition is architecturally disallowed (WRMSR will #GP), but needs to be handled by KVM to allow userspace to emulate RESET (ignoring that userspace should also stuff local APIC state on RESET). Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Link: https://lore.kernel.org/r/20230109130605.2013555-3-eesposit@redhat.com Co-developed-by: Sean Christopherson <seanjc@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions