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=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 CC8FAC433E0 for ; Thu, 4 Feb 2021 19:54:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C84964E02 for ; Thu, 4 Feb 2021 19:54:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239229AbhBDTyQ (ORCPT ); Thu, 4 Feb 2021 14:54:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237957AbhBDTv7 (ORCPT ); Thu, 4 Feb 2021 14:51:59 -0500 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6005EC06121F for ; Thu, 4 Feb 2021 11:50:23 -0800 (PST) Received: by mail-pf1-x430.google.com with SMTP id o20so2793394pfu.0 for ; Thu, 04 Feb 2021 11:50:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OCBNpOzMc8CAOBfAgX/jLAhp/SQecCvHp/iShWPRCZQ=; b=UzKHJoHstJUn1+EShPvxaJaqClm9LA26kdmfw9zDnAdyzrAY6CqEgnlW45I0CJthX4 DDUOM1Ntq+iwMd+/8nEiBF24eu4IJc41zF9EcSwZWNb05Nf6D9yLHf7Eb2Pyi63otlod 3RwHieM8ryVd+jiq/SMM936MFgxNwHfq3RlWc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=OCBNpOzMc8CAOBfAgX/jLAhp/SQecCvHp/iShWPRCZQ=; b=HKH3dl7XGXB4FNDbZbq++/eVQ1y1TNCgd57KuRqhYwZkg5fJ5WndiAmKBXd4XiBApF Lkju1ESg88KzYozqr3/GOBR2Vcg16+gW+hfTNt+9GBCamAUPRaYwHzIzHJm+ECCtD8sQ VleRewZfKKuaDzc53LJwxInFRF2schYHfojP2QN2n4guqZ121boN2lqvBgWgKQZWhudL N5epp62HJWa+R6lwsdP7Ad8n3q8q6NxkzSKy5Ewn1vffSReLjWH00cjjMHEkXdyKWP1E k9rNsJp0u0fpV9sTyM6YypogjtXCaVprqmMf/rmVDrepRnRWO/2XM+0zABrMDPowRRD+ httw== X-Gm-Message-State: AOAM532zIv5fPnDcHagugXkoa/aWFPXqVQ23PTMnCfkdY0+Alnd5bS95 WCdHxD8QH9gTu/lWZkX9/XLVtg== X-Google-Smtp-Source: ABdhPJwi3qGotMQdzbjuJor6PdBiBP52TZP1QRJ9SqH5R+oUXMnOHkiFLvDUNqFp4od9u/7BXFE1Fw== X-Received: by 2002:a63:794a:: with SMTP id u71mr592348pgc.91.1612468222994; Thu, 04 Feb 2021 11:50:22 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id r7sm6299408pfc.26.2021.02.04.11.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 11:50:22 -0800 (PST) Date: Thu, 4 Feb 2021 11:50:21 -0800 From: Kees Cook 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 , 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 , Peter Zijlstra , Randy Dunlap , "Ravi V. Shankar" , Vedvyas Shanbhogue , Dave Martin , Weijiang Yang , Pengfei Xu Subject: Re: [PATCH v19 5/7] x86/cet/ibt: Update arch_prctl functions for Indirect Branch Tracking Message-ID: <202102041150.6186296C3@keescook> References: <20210203225902.479-1-yu-cheng.yu@intel.com> <20210203225902.479-6-yu-cheng.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210203225902.479-6-yu-cheng.yu@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Wed, Feb 03, 2021 at 02:59:00PM -0800, Yu-cheng Yu wrote: > From: "H.J. Lu" > > Update ARCH_X86_CET_STATUS and ARCH_X86_CET_DISABLE for Indirect Branch > Tracking. > > Signed-off-by: H.J. Lu Reviewed-by: Kees Cook -- Kees Cook