From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D769EC433DF for ; Fri, 22 May 2020 17:29:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B788C206D5 for ; Fri, 22 May 2020 17:29:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="gOKxCu3c" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730714AbgEVR3s (ORCPT ); Fri, 22 May 2020 13:29:48 -0400 Received: from merlin.infradead.org ([205.233.59.134]:48418 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730554AbgEVR3r (ORCPT ); Fri, 22 May 2020 13:29:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xp/n5IlXvNYZw1QeKHpP6RwwzQHWUekVgDIojWgljN4=; b=gOKxCu3cJi0QhaY/PHqOuAEj0C nguZNzHzd1uHaQ2IK91Bz0G7iqmIodCmPIX020e0af4N9LkKsB2ZH9GI9GK2uP0As8mrH/dOBIEvU OeERwnp2jVo2O50jF1bR5n9U+p/U/BkaO8V+0EwejxQaMcwtoYHvrBWyYFKNcvr1VizA5vHAxQVkZ 1SiNEL+EwmW1tinerNONOO4poWq+RyvFdYBaMwf8M5G8W0h4EgN0D6eEJfO+glllebZ4t+OJXzVyE FLrEQCr0w6lhkqOyUOlrgf/3j2jxxfoL2C/eVxPvioBsXscLKWMK+BiM2Qh7MbGVSnGw1p6ZN6zuK daMDXh7g==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jcBRx-0007SW-CE; Fri, 22 May 2020 17:27:13 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 1FC98305E45; Fri, 22 May 2020 19:27:11 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 0E41B20BDB12E; Fri, 22 May 2020 19:27:11 +0200 (CEST) Date: Fri, 22 May 2020 19:27:11 +0200 From: Peter Zijlstra 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 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: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@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.