Skip to content
Commit 86d709ce authored by Shuo Liu's avatar Shuo Liu Committed by Ingo Molnar
Browse files

x86/acrn: Allow ACRN guest to use X2APIC mode



The ACRN Hypervisor did not support x2APIC and thus x2APIC support was
disabled by always returning false when VM checked for x2APIC support.

ACRN received full support of x2APIC and exports the capability through
CPUID feature bits.

Let VM decide if it needs to switch to x2APIC mode according to CPUID
features.

Originally-by: default avatarYakui Zhao <yakui.zhao@intel.com>
Signed-off-by: default avatarShuo Liu <shuo.a.liu@intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarReinette Chatre <reinette.chatre@intel.com>
Link: https://lore.kernel.org/r/20200806113802.9325-1-shuo.a.liu@intel.com
parent 7b4ea945
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment