From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f198.google.com (mail-pf0-f198.google.com [209.85.192.198]) by kanga.kvack.org (Postfix) with ESMTP id 051586B0033 for ; Thu, 26 Oct 2017 05:02:26 -0400 (EDT) Received: by mail-pf0-f198.google.com with SMTP id z11so1951285pfk.23 for ; Thu, 26 Oct 2017 02:02:25 -0700 (PDT) Received: from mail.kernel.org (mail.kernel.org. [198.145.29.99]) by mx.google.com with ESMTPS id r9si3296665pfg.482.2017.10.26.02.02.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Oct 2017 02:02:25 -0700 (PDT) Received: from mail-it0-f50.google.com (mail-it0-f50.google.com [209.85.214.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 887A82195A for ; Thu, 26 Oct 2017 09:02:24 +0000 (UTC) Received: by mail-it0-f50.google.com with SMTP id n195so13105405itg.1 for ; Thu, 26 Oct 2017 02:02:24 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20171026090045.GA6438@nazgul.tnic> References: <1507089272-32733-1-git-send-email-ricardo.neri-calderon@linux.intel.com> <1507089272-32733-3-git-send-email-ricardo.neri-calderon@linux.intel.com> <20171026090045.GA6438@nazgul.tnic> From: Andy Lutomirski Date: Thu, 26 Oct 2017 02:02:02 -0700 Message-ID: Subject: Re: [PATCH v9 02/29] x86/boot: Relocate definition of the initial state of CR0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Borislav Petkov Cc: Andy Lutomirski , Ricardo Neri , Ingo Molnar , Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra , Andrew Morton , Brian Gerst , Chris Metcalf , Dave Hansen , Paolo Bonzini , Liang Z Li , Masami Hiramatsu , Huang Rui , Jiri Slaby , Jonathan Corbet , "Michael S. Tsirkin" , Paul Gortmaker , Vlastimil Babka , Chen Yucong , "Ravi V. Shankar" , Shuah Khan , "linux-kernel@vger.kernel.org" , X86 ML , "Neri, Ricardo" , Dave Hansen , Denys Vlasenko , Josh Poimboeuf , Linus Torvalds , linux-arch , "linux-mm@kvack.org" On Thu, Oct 26, 2017 at 2:00 AM, Borislav Petkov wrote: > On Thu, Oct 26, 2017 at 12:51:25AM -0700, Andy Lutomirski wrote: >> with the slight caveat that I think it might be a wee bit better if >> UMIP emulation used a separate define UMIP_REPORTED_CR0. > > Why, do you see CR0_STATE and UMIP_REPORTED_CR0 becoming different at > some point? I'm assuming that UMIP_REPORTED_CR0 will never change. If CR0 gets a new field that we set some day, then I assume that CR0_STATE would add that bit but UMIP_REPORTED_CR0 would not. > > -- > Regards/Gruss, > Boris. > > SUSE Linux GmbH, GF: Felix Imend=C3=B6rffer, Jane Smithard, Graham Norton= , HRB 21284 (AG N=C3=BCrnberg) > -- -- 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