projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bba4ed0
)
xen/x86: Remove SME feature in PV guests
author
Tom Lendacky
<
[email protected]
>
Mon, 17 Jul 2017 21:10:29 +0000
(16:10 -0500)
committer
Ingo Molnar
<
[email protected]
>
Tue, 18 Jul 2017 09:38:05 +0000
(11:38 +0200)
Xen does not currently support SME for PV guests. Clear the SME CPU
capability in order to avoid any ambiguity.
Signed-off-by: Tom Lendacky <
[email protected]
>
Reviewed-by: Thomas Gleixner <
[email protected]
>
Reviewed-by: Borislav Petkov <
[email protected]
>
Reviewed-by: Juergen Gross <
[email protected]
>
Cc: <
[email protected]
>
Cc: Alexander Potapenko <
[email protected]
>
Cc: Andrey Ryabinin <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Arnd Bergmann <
[email protected]
>
Cc: Boris Ostrovsky <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Brijesh Singh <
[email protected]
>
Cc: Dave Young <
[email protected]
>
Cc: Dmitry Vyukov <
[email protected]
>
Cc: Jonathan Corbet <
[email protected]
>
Cc: Konrad Rzeszutek Wilk <
[email protected]
>
Cc: Larry Woodman <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Matt Fleming <
[email protected]
>
Cc: Michael S. Tsirkin <
[email protected]
>
Cc: Paolo Bonzini <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Radim Krčmář <
[email protected]
>
Cc: Rik van Riel <
[email protected]
>
Cc: Toshimitsu Kani <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/3b605622a9fae5e588e5a13967120a18ec18071b.1500319216.git.thomas.lendacky@amd.com
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/xen/enlighten_pv.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/enlighten_pv.c
b/arch/x86/xen/enlighten_pv.c
index 290bc5ac98524450b3d8a92168341355dc5c6a3a..df1921751aa5cc03f9b0b54f1fa559dfc2d64b28 100644
(file)
--- a/
arch/x86/xen/enlighten_pv.c
+++ b/
arch/x86/xen/enlighten_pv.c
@@
-263,6
+263,7
@@
static void __init xen_init_capabilities(void)
setup_clear_cpu_cap(X86_FEATURE_MTRR);
setup_clear_cpu_cap(X86_FEATURE_ACC);
setup_clear_cpu_cap(X86_FEATURE_X2APIC);
+ setup_clear_cpu_cap(X86_FEATURE_SME);
/*
* Xen PV would need some work to support PCID: CR3 handling as well