alistair23-linux/arch/x86/xen
Boris Ostrovsky a71dbdaa8c hypervisor/x86/xen: Unset X86_BUG_SYSRET_SS_ATTRS on Xen PV guests
Commit 61f01dd941 ("x86_64, asm: Work around AMD SYSRET SS descriptor
attribute issue") makes AMD processors set SS to __KERNEL_DS in
__switch_to() to deal with cases when SS is NULL.

This breaks Xen PV guests who do not want to load SS with__KERNEL_DS.

Since the problem that the commit is trying to address would have to be
fixed in the hypervisor (if it in fact exists under Xen) there is no
reason to set X86_BUG_SYSRET_SS_ATTRS flag for PV VPCUs here.

This can be easily achieved by adding x86_hyper_xen_hvm.set_cpu_features
op which will clear this flag. (And since this structure is no longer
HVM-specific we should do some renaming).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2015-05-05 18:27:43 +01:00
..
apic.c x86/xen/apic: WARN with details. 2015-03-16 14:49:14 +00:00
debugfs.c
debugfs.h
efi.c
enlighten.c hypervisor/x86/xen: Unset X86_BUG_SYSRET_SS_ATTRS on Xen PV guests 2015-05-05 18:27:43 +01:00
grant-table.c
irq.c
Kconfig
Makefile
mmu.c xen: features and fixes for 4.1-rc0 2015-04-16 14:01:03 -05:00
mmu.h
multicalls.c
multicalls.h
p2m.c x86/xen: prepare p2m list for memory hotplug 2015-03-23 15:14:47 +00:00
p2m.h
pci-swiotlb-xen.c
platform-pci-unplug.c
setup.c x86/xen: add some __init and static annotations in arch/x86/xen/setup.c 2015-01-28 10:00:36 +00:00
smp.c Merge branch 'core-rcu-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2015-04-14 13:36:04 -07:00
smp.h
spinlock.c x86/spinlocks/paravirt: Fix memory corruption on unlock 2015-02-18 14:53:49 +01:00
suspend.c xen: Suspend ticks on all CPUs during suspend 2015-04-29 17:10:05 +01:00
time.c x86/xen: prefer TSC over xen clocksource for dom0 2015-01-20 18:44:24 +00:00
trace.c xen: use generated hypervisor symbols in arch/x86/xen/trace.c 2015-03-16 14:49:13 +00:00
vdso.h
vga.c
xen-asm.h
xen-asm.S
xen-asm_32.S
xen-asm_64.S x86/asm/entry/64: Rename 'old_rsp' to 'rsp_scratch' 2015-03-17 16:01:42 +01:00
xen-head.S xen: use generated hypercall symbols in arch/x86/xen/xen-head.S 2015-03-16 14:49:14 +00:00
xen-ops.h x86/xen: cleanup arch/x86/xen/setup.c 2015-01-28 09:59:46 +00:00