• Paolo Bonzini's avatar
    Merge tag 'kvm-x86-misc-6.12' of https://github.com/kvm-x86/linux into HEAD · 41786cc5
    Paolo Bonzini authored
    KVM x86 misc changes for 6.12
    
     - Advertise AVX10.1 to userspace (effectively prep work for the "real" AVX10
       functionality that is on the horizon).
    
     - Rework common MSR handling code to suppress errors on userspace accesses to
       unsupported-but-advertised MSRs.  This will allow removing (almost?) all of
       KVM's exemptions for userspace access to MSRs that shouldn't exist based on
       the vCPU model (the actual cleanup is non-trivial future work).
    
     - Rework KVM's handling of x2APIC ICR, again, because AMD (x2AVIC) splits the
       64-bit value into the legacy ICR and ICR2 storage, whereas Intel (APICv)
       stores the entire 64-bit value a the ICR offset.
    
     - Fix a bug where KVM would fail to exit to userspace if one was triggered by
       a fastpath exit handler.
    
     - Add fastpath handling of HLT VM-Exit to expedite re-entering the guest when
       there's already a pending wake event at the time of the exit.
    
     - Finally fix the RSM vs. nested VM-Enter WARN by forcing the vCPU out of
       guest mode prior to signalling SHUTDOWN (architecturally, the SHUTDOWN is
       supposed to hit L1, not L2).
    41786cc5
main.c 5.16 KB