diff options
author | Alok N Kataria <[email protected]> | 2013-01-17 15:44:42 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-01-24 13:11:18 +0100 |
commit | 4cca6ea04d31c22a7d0436949c072b27bde41f86 (patch) | |
tree | e06036506679d25909bd013d3b51f1485b9f2d2f /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | e3f0f36ddf1b2743a0d4ea312996536a9c37e1c7 (diff) |
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: Alok N Kataria <[email protected]>
Reviewed-by: Doug Covelli <[email protected]>
Reviewed-by: Dan Hecht <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Jeremy Fitzhardinge <[email protected]>
Cc: Avi Kivity <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions