Skip to content
Commit 4cca6ea0 authored by Alok N Kataria's avatar Alok N Kataria Committed by Ingo Molnar
Browse files

x86/apic: Allow x2apic without IR on VMware platform



This patch updates x2apic initializaition code to allow x2apic
on VMware platform even without interrupt remapping support.
The hypervisor_x2apic_available hook was added in x2apic
initialization code and used by KVM and XEN, before this.
I have also cleaned up that code to export this hook through the
hypervisor_x86 structure.

Compile tested for KVM and XEN configs, this patch doesn't have
any functional effect on those two platforms.

On VMware platform, verified that x2apic is used in physical
mode on products that support this.

Signed-off-by: default avatarAlok N Kataria <akataria@vmware.com>
Reviewed-by: default avatarDoug Covelli <dcovelli@vmware.com>
Reviewed-by: default avatarDan Hecht <dhecht@vmware.com>
Acked-by: default avatarH. Peter Anvin <hpa@zytor.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Avi Kivity <avi@redhat.com>
Link: http://lkml.kernel.org/r/1358466282.423.60.camel@akataria-dtop.eng.vmware.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent e3f0f36d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment