]> git.baikalelectronics.ru Git - kernel.git/commit
always clear the X2APIC_ENABLE bit for PV guest
authorTalons Lee <xin.li@citrix.com>
Mon, 10 Dec 2018 10:03:00 +0000 (18:03 +0800)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 14 Jan 2019 14:00:32 +0000 (09:00 -0500)
commitabbc6568ac1c732ca4b8323e04c68ac18551b114
treee9c2a8520fb79f0dc6f233c6e4e93fae91d5d201
parent7d5af2abe0179e29e03df7892883c477bfc55fd7
always clear the X2APIC_ENABLE bit for PV guest

Commit 4beaf64 clears cpu capability bit instead of using fake cpuid
value, the EXTD should always be off for PV guest without depending
on cpuid value. So remove the cpuid check in xen_read_msr_safe() to
always clear the X2APIC_ENABLE bit.

Signed-off-by: Talons Lee <xin.li@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/xen/enlighten_pv.c