]> git.ipfire.org Git - people/arne_f/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Feb 2019 09:08:05 +0000 (10:08 +0100)
commitb226fe953da01c4f6267e65c178e315526cb244f
treea95c4c563973975a9a1b1ec9d2e73b86fc099a55
parent88c556795a158bbdee44abb46ac195eef4d5e2f6
always clear the X2APIC_ENABLE bit for PV guest

[ Upstream commit 5268c8f39e0efef81af2aaed160272d9eb507beb ]

Commit e657fcc 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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/x86/xen/enlighten_pv.c