stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* stable/4.14.y: kvm: vmx: Basic APIC virtualization controls have three settings
@ 2019-10-24 17:24 Jitindar SIngh, Suraj
  2019-10-27 15:58 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Jitindar SIngh, Suraj @ 2019-10-24 17:24 UTC (permalink / raw)
  To: stable

The following patch fixes a bug where the guest is still able to access
the apic registers via mmio once the apic has been disabled.

8d860bbeedef kvm: vmx: Basic APIC virtualization controls have three
settings

This causes the x86/apic kvm-unit-test to fail when run on a host
missing this patch.

Without:
FAIL: apic_disable: *0xfee00030: 50014
FAIL: apic_disable: CR8: f
PASS: apic_disable: CR8: f
FAIL: apic_disable: *0xfee00080: f0
With:
PASS: apic_disable: *0xfee00030: ffffffff
PASS: apic_disable: CR8: 0
PASS: apic_disable: CR8: f
PASS: apic_disable: *0xfee00080: ffffffff

This patch has been upstream as of v4.18.

This patch has 3 dependencies which introduce no functional
change, however they add context which allows the patch listed above to
apply cleanly.

c2ba05ccfde2 KVM: X86: introduce invalidate_gpa argument to tlb flush
588716494258 kvm: vmx: Introduce lapic_mode enumeration
a468f2dbf921 kvm: apic: Flush TLB after APIC mode/address change if
VPIDs are in use

This patch series should be applied against 4.14.y

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: stable/4.14.y: kvm: vmx: Basic APIC virtualization controls have three settings
  2019-10-24 17:24 stable/4.14.y: kvm: vmx: Basic APIC virtualization controls have three settings Jitindar SIngh, Suraj
@ 2019-10-27 15:58 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-10-27 15:58 UTC (permalink / raw)
  To: Jitindar SIngh, Suraj; +Cc: stable

On Thu, Oct 24, 2019 at 05:24:44PM +0000, Jitindar SIngh, Suraj wrote:
> The following patch fixes a bug where the guest is still able to access
> the apic registers via mmio once the apic has been disabled.
> 
> 8d860bbeedef kvm: vmx: Basic APIC virtualization controls have three
> settings
> 
> This causes the x86/apic kvm-unit-test to fail when run on a host
> missing this patch.
> 
> Without:
> FAIL: apic_disable: *0xfee00030: 50014
> FAIL: apic_disable: CR8: f
> PASS: apic_disable: CR8: f
> FAIL: apic_disable: *0xfee00080: f0
> With:
> PASS: apic_disable: *0xfee00030: ffffffff
> PASS: apic_disable: CR8: 0
> PASS: apic_disable: CR8: f
> PASS: apic_disable: *0xfee00080: ffffffff
> 
> This patch has been upstream as of v4.18.
> 
> This patch has 3 dependencies which introduce no functional
> change, however they add context which allows the patch listed above to
> apply cleanly.
> 
> c2ba05ccfde2 KVM: X86: introduce invalidate_gpa argument to tlb flush
> 588716494258 kvm: vmx: Introduce lapic_mode enumeration
> a468f2dbf921 kvm: apic: Flush TLB after APIC mode/address change if
> VPIDs are in use
> 
> This patch series should be applied against 4.14.y

Now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-27 17:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-24 17:24 stable/4.14.y: kvm: vmx: Basic APIC virtualization controls have three settings Jitindar SIngh, Suraj
2019-10-27 15:58 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).