projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0808e80
)
x86/xen: don't indicate DCA support in pv domains
author
Juergen Gross
<jgross@suse.com>
Wed, 12 Apr 2017 06:20:29 +0000
(08:20 +0200)
committer
Juergen Gross
<jgross@suse.com>
Tue, 2 May 2017 09:13:36 +0000
(11:13 +0200)
Xen doesn't support DCA (direct cache access) for pv domains. Clear
the corresponding capability indicator.
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/xen/enlighten_pv.c
b/arch/x86/xen/enlighten_pv.c
index 6dc922e3848a16d0ae32a064d7ea7c2358db7481..bd69868909b4eb8dbd030eaaea82240950528029 100644
(file)
--- a/
arch/x86/xen/enlighten_pv.c
+++ b/
arch/x86/xen/enlighten_pv.c
@@
-331,6
+331,7
@@
static void __init xen_init_capabilities(void)
{
setup_clear_cpu_cap(X86_BUG_SYSRET_SS_ATTRS);
setup_force_cpu_cap(X86_FEATURE_XENPV);
+ setup_clear_cpu_cap(X86_FEATURE_DCA);
}
static void xen_set_debugreg(int reg, unsigned long val)