x86/xen: fix xsave capability setting
authorJuergen Gross <jgross@suse.com>
Tue, 25 Apr 2017 06:47:40 +0000 (08:47 +0200)
committerJuergen Gross <jgross@suse.com>
Fri, 5 May 2017 08:43:10 +0000 (10:43 +0200)
commit40f4ac0b510dbf9f00668ded5474290940616d09
tree89dda73f613f9f4083a1b493eb514160eeade45f
parent3dbd8204af48d0da442f11ad39aa778a5fd462bf
x86/xen: fix xsave capability setting

Commit 690b7f10b4f9f ("x86/xen: use capabilities instead of fake cpuid
values for xsave") introduced a regression as it tried to make use of
the fixup feature before it being available.

Fall back to the old variant testing via cpuid().

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/enlighten_pv.c