From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f199.google.com (mail-qk0-f199.google.com [209.85.220.199]) by kanga.kvack.org (Postfix) with ESMTP id 86C956B0314 for ; Tue, 6 Jun 2017 17:31:46 -0400 (EDT) Received: by mail-qk0-f199.google.com with SMTP id y201so44856543qka.6 for ; Tue, 06 Jun 2017 14:31:46 -0700 (PDT) Received: from userp1040.oracle.com (userp1040.oracle.com. [156.151.31.81]) by mx.google.com with ESMTPS id z66si11755306qkb.213.2017.06.06.14.31.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Jun 2017 14:31:45 -0700 (PDT) Subject: Re: [RFC 10/11] x86/mm: Enable CR4.PCIDE on supported systems References: <1de32b6e3ff026886713adab887a9454548d8374.1496701658.git.luto@kernel.org> From: Boris Ostrovsky Message-ID: Date: Tue, 6 Jun 2017 17:31:30 -0400 MIME-Version: 1.0 In-Reply-To: <1de32b6e3ff026886713adab887a9454548d8374.1496701658.git.luto@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski , X86 ML Cc: Borislav Petkov , Linus Torvalds , Andrew Morton , Mel Gorman , "linux-mm@kvack.org" , Nadav Amit , Rik van Riel , Juergen Gross > --- a/arch/x86/xen/setup.c > +++ b/arch/x86/xen/setup.c > @@ -1037,6 +1037,12 @@ void __init xen_arch_setup(void) > } > #endif > > + /* > + * Xen would need some work to support PCID: CR3 handling as well > + * as xen_flush_tlb_others() would need updating. > + */ > + setup_clear_cpu_cap(X86_FEATURE_PCID); Capabilities for PV guests are typically set in xen_init_capabilities() now. -boris -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org