From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [PATCH v9 02/29] x86/boot: Relocate definition of the initial state of CR0 Date: Thu, 26 Oct 2017 11:00:45 +0200 Message-ID: <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mx2.suse.de ([195.135.220.15]:50406 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbdJZJAv (ORCPT ); Thu, 26 Oct 2017 05:00:51 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andy Lutomirski Cc: 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" 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? -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) -- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:50406 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbdJZJAv (ORCPT ); Thu, 26 Oct 2017 05:00:51 -0400 Date: Thu, 26 Oct 2017 11:00:45 +0200 From: Borislav Petkov Subject: Re: [PATCH v9 02/29] x86/boot: Relocate definition of the initial state of CR0 Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andy Lutomirski Cc: 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" Message-ID: <20171026090045.V3NoezdPQer60kY7zzIG3ND3opG2QJhHvtlSs_FWVJ4@z> 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? -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --