summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/pci-calgary_64.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@amacapital.net>2014-07-23 08:34:11 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2014-07-28 15:25:40 -0700
commit7209a75d2009dbf7745e2fd354abf25c3deb3ca3 (patch)
treee0c3050ed85e8d10aff456f7fa43eec73cbad4ca /arch/x86/kernel/pci-calgary_64.c
parent64aa90f26c06e1cb2aacfb98a7d0eccfbd6c1a91 (diff)
downloadblackbird-op-linux-7209a75d2009dbf7745e2fd354abf25c3deb3ca3.tar.gz
blackbird-op-linux-7209a75d2009dbf7745e2fd354abf25c3deb3ca3.zip
x86_64/entry/xen: Do not invoke espfix64 on Xen
This moves the espfix64 logic into native_iret. To make this work, it gets rid of the native patch for INTERRUPT_RETURN: INTERRUPT_RETURN on native kernels is now 'jmp native_iret'. This changes the 16-bit SS behavior on Xen from OOPSing to leaking some bits of the Xen hypervisor's RSP (I think). [ hpa: this is a nonzero cost on native, but probably not enough to measure. Xen needs to fix this in their own code, probably doing something equivalent to espfix64. ] Signed-off-by: Andy Lutomirski <luto@amacapital.net> Link: http://lkml.kernel.org/r/7b8f1d8ef6597cb16ae004a43c56980a7de3cf94.1406129132.git.luto@amacapital.net Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: <stable@vger.kernel.org>
Diffstat (limited to 'arch/x86/kernel/pci-calgary_64.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud