]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ffa597f307a3a44b794488b51212f99e443cc93
tree89dda73f613f9f4083a1b493eb514160eeade45f
parent81fcb600159c796d3333fa9fbbc9d6d2545206fd
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