From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [RFC PATCH 5/5] selftest/x86: Add CET quick test Date: Fri, 22 May 2020 19:27:11 +0200 Message-ID: <20200522172711.GA317569@hirez.programming.kicks-ass.net> References: <20200521211720.20236-1-yu-cheng.yu@intel.com> <20200521211720.20236-6-yu-cheng.yu@intel.com> <20200522092848.GJ325280@hirez.programming.kicks-ass.net> <202005221020.B578B8C6@keescook> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <202005221020.B578B8C6@keescook> Sender: linux-doc-owner@vger.kernel.org To: Kees Cook Cc: Yu-cheng Yu , x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Mike Kravetz , Nadav Amit List-Id: linux-arch.vger.kernel.org On Fri, May 22, 2020 at 10:22:51AM -0700, Kees Cook wrote: > But yes, I think getting a copy of asm.h would be nice here. I don't > think the WRITE_ONCE() is needed in this particular case. Hmm. Paranoia on my end because I had no clue wth he wanted with his -O0 magic gunk. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 22 May 2020 19:27:11 +0200 From: Peter Zijlstra Subject: Re: [RFC PATCH 5/5] selftest/x86: Add CET quick test Message-ID: <20200522172711.GA317569@hirez.programming.kicks-ass.net> References: <20200521211720.20236-1-yu-cheng.yu@intel.com> <20200521211720.20236-6-yu-cheng.yu@intel.com> <20200522092848.GJ325280@hirez.programming.kicks-ass.net> <202005221020.B578B8C6@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202005221020.B578B8C6@keescook> Sender: owner-linux-mm@kvack.org To: Kees Cook Cc: Yu-cheng Yu , x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Balbir Singh , Borislav Petkov , Cyrill Gorcunov , Dave Hansen , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin , Weijiang Yang List-ID: Message-ID: <20200522172711.kShNSNDtF8dTgwP1Z9tjMPsag1263fm7Scke0VePVko@z> On Fri, May 22, 2020 at 10:22:51AM -0700, Kees Cook wrote: > But yes, I think getting a copy of asm.h would be nice here. I don't > think the WRITE_ONCE() is needed in this particular case. Hmm. Paranoia on my end because I had no clue wth he wanted with his -O0 magic gunk.