summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2017-04-12 08:20:29 +0200
committerJuergen Gross <jgross@suse.com>2017-05-02 11:13:36 +0200
commit3ee99df333a0ac57c3bd8155dfa56fc275668f88 (patch)
tree61370655b48c9f4d8537e0a0af1e490a86f47f56 /arch
parent0808e80cb760de2733c0527d2090ed2205a1eef8 (diff)
downloadlinux-stable-3ee99df333a0ac57c3bd8155dfa56fc275668f88.tar.gz
linux-stable-3ee99df333a0ac57c3bd8155dfa56fc275668f88.tar.bz2
linux-stable-3ee99df333a0ac57c3bd8155dfa56fc275668f88.zip
x86/xen: don't indicate DCA support in pv domains
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/xen/enlighten_pv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c
index 6dc922e3848a..bd69868909b4 100644
--- 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)