From 3ee99df333a0ac57c3bd8155dfa56fc275668f88 Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Wed, 12 Apr 2017 08:20:29 +0200 Subject: [PATCH] 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 Reviewed-by: Boris Ostrovsky Signed-off-by: Juergen Gross --- arch/x86/xen/enlighten_pv.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.20.1