Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp297466imm; Wed, 11 Jul 2018 02:37:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdExv8hLSL2f2fXdMjLddkkkwhfBX32UDp5w1o3Qm2hLNbDMop0ey38BnnakhNpOwfNBJNl X-Received: by 2002:a17:902:6845:: with SMTP id f5-v6mr27876142pln.173.1531301849220; Wed, 11 Jul 2018 02:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531301849; cv=none; d=google.com; s=arc-20160816; b=R/mvexucRkfXXVvxoVibL73Ar0YC/4UmWc+mpegYB2Q0yKOu9DQ9/RMcmEufiZCfYz ZiwMDiQLyA3daRoeoqr2gi/5qQOT2+Laa86ArI7WVyY/mXH62jwGwJ26epcWv6P8gqeo 11yhnSoKdL6mhpRNZegC/XWVNulN6snFiSOB4IbL9gDpaK9EdMZKZvhETmkmEBuMypfv Y/R+KSQO8WT25nAl7qIkH6IltprFzXEvKWeg4JZg/p5T5zocGANwcFgdEBbJimuihE8c C2X8p9ZXm7UVRzIT2S1zKHU7F/W53jJVR7b2FOuyhwawqpAW/D0X4/x5O8mliyCbW72C Ehrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=utJM/LzBZcFvCZM3dDV5mmkdS8IegMSfa7Oy6S75sZk=; b=ebpcbBwvy1XHxtjyFaAgvtr24dbvx2nj5HvqvrONQKunmp/cuwPgEPJe6xrHHgJm1W KWWcNLZPAM/cMxAIxoVhxq7NCYLtgCueOHymUsTX0ZPoNyOLTpitwRxSRGAYopZosF/9 XqdLPX9SxA9E3JL7mVHi13GUHOV8BRBfa+0LBaSFjAMFvgeJoFGicoftBw0rDZ3FiM07 zII0VJefh5Ae5BeSevv96HK3xEzgvyuu0Rh52+hwj02fiymhqOzEXEAyTN+RmEr+4ha5 luyTa1dhIj/LXl/0wkwsBGeQ8ECMZsji3xVxY7if6HwIu8sPIm38LYZqk9q2Vvkw14ZD WhVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=agZY1h8Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p123-v6si19697292pfg.281.2018.07.11.02.37.13; Wed, 11 Jul 2018 02:37:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=agZY1h8Y; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732418AbeGKJim (ORCPT + 99 others); Wed, 11 Jul 2018 05:38:42 -0400 Received: from merlin.infradead.org ([205.233.59.134]:59842 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbeGKJim (ORCPT ); Wed, 11 Jul 2018 05:38:42 -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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=utJM/LzBZcFvCZM3dDV5mmkdS8IegMSfa7Oy6S75sZk=; b=agZY1h8Y0E2xDsnyLpUAyq/7F T6zEIQbDfQ83QQvavRckZrFj2L2dzW7CZNN4MuLOUOr+FAYsAo+cDIGHgM8v0SmEfaLvOpMoWMyZL 0EQf1ww6oklr6qgZh7yV+8/YusN9dKbTDQA2j0qjbxcDW5hF+j8h1RoK9Us2qN8YH2mLp/Q/KFiQL uvRDtC59Mh/vPs+24+afBsY+Ujy/YYCw21LXYVu5jU4nWGzhyO5l/GApWFgNqVrc55NPL9mbJMs1o kfdLEFGZ1YxiOgtoqLvJfNLEIa8gr8GgkFrAjkZB9Hd3XwTPKoFXh1GmbAOnoMCG7AFWWkiDKe0rm y1pn5U8Iw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdBWS-0006DI-LJ; Wed, 11 Jul 2018 09:34:57 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1C84F20291063; Wed, 11 Jul 2018 11:34:54 +0200 (CEST) Date: Wed, 11 Jul 2018 11:34:54 +0200 From: Peter Zijlstra To: Yu-cheng Yu Cc: 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 , Cyrill Gorcunov , Dave Hansen , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , "Ravi V. Shankar" , Vedvyas Shanbhogue Subject: Re: [RFC PATCH v2 17/27] x86/cet/shstk: User-mode shadow stack support Message-ID: <20180711093454.GX2476@hirez.programming.kicks-ass.net> References: <20180710222639.8241-1-yu-cheng.yu@intel.com> <20180710222639.8241-18-yu-cheng.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180710222639.8241-18-yu-cheng.yu@intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 10, 2018 at 03:26:29PM -0700, Yu-cheng Yu wrote: > +/* MSR_IA32_U_CET and MSR_IA32_S_CET bits */ > +#define MSR_IA32_CET_SHSTK_EN 0x0000000000000001 > +#define MSR_IA32_CET_WRSS_EN 0x0000000000000002 > +#define MSR_IA32_CET_ENDBR_EN 0x0000000000000004 > +#define MSR_IA32_CET_LEG_IW_EN 0x0000000000000008 > +#define MSR_IA32_CET_NO_TRACK_EN 0x0000000000000010 Do those want a ULL literal suffix?