Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1625057 > unrolled thread

[PATCH v3 02/11] x86/xen: don't indicate DCA support in pv domains

Started byJuergen Gross <jgross@suse.com>
First post2017-04-18 08:40 +0200
Last post2017-04-18 08:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v3 02/11] x86/xen: don't indicate DCA support in pv domains Juergen Gross <jgross@suse.com> - 2017-04-18 08:40 +0200

#1625057 — [PATCH v3 02/11] x86/xen: don't indicate DCA support in pv domains

FromJuergen Gross <jgross@suse.com>
Date2017-04-18 08:40 +0200
Subject[PATCH v3 02/11] x86/xen: don't indicate DCA support in pv domains
Message-ID<txuXT-2Q2-1@gated-at.bofh.it>
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>
---
 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.12.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web