Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp840900pxm; Fri, 25 Feb 2022 22:18:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbSBXiH1hkd+Pw99QPBCN4jnOeK7QX5J72Oy8C1bLyywiLhHXv6Ud0xK+oEpOweg0Wa+7J X-Received: by 2002:a17:906:1294:b0:6ce:51b:f213 with SMTP id k20-20020a170906129400b006ce051bf213mr8338266ejb.303.1645856322037; Fri, 25 Feb 2022 22:18:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645856322; cv=none; d=google.com; s=arc-20160816; b=XWeo/EnFIwsRIxRezHvnQMyEcpPswX9NvllloZvDZw39Ow7yZQW6qSPD9Hae74+xzn +85KGIu6HqPtRi9y61yEVxTLX6VHv3MpACphxUDrROCFzCAEmjaBLnSoO2WDkGynmNmb Ws20Jgu8abpbRvE5miBnC3TYiytv0mmvt5xnRYCN/avrZIb9fLBJAtN5jdZbhg9kb0gK V9HxoZmh2jsGAL+afjkFJ72dYNM3DsmJoGAp6wgYDiyfrJphdRg/tXKKguxPsJvjkERF QyzAYuq1X0cGDOvuVq6g1ojlJUJLVTHr5LhSJ8F2QjNkSWVDA3E47xxr/e3IMQFsyc1G zBlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E873fV4pQ7eoesQTVG0pcEDlvHYqEcX/Ujnaje4n6Sc=; b=Pu6NliQNktGRPf2fpujNZ4Ixk2MlVPa1P/MpHS1xPUTJRe9ChirxgSfnctSCqXJK6y UtyjFAtosGpbI+Uc5gvDv7kPO4e3jD4eqYJf36huoY7Nbr3MmRAutYtX0Tm9G218eS9V Ltdx6dBLWi83edfESWye7HTYfSuhwS/kPmDoMjKZ5q4T7Axsw9akkQbiomYSOGsMy5dl izxitN//PSeGMuEejs8Qg7h3OA493HBR+MG/HB9l7SSmlx2xyY/Yt31zuZtUEtOkgqOH 63aT312AwgCfcy2NCCWwMhU0CEv9keaAomsJ/GFB3jQbWHzRCc4Hsu+xziZIon5/BAWd ODIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PuNlEqmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k19-20020aa7c053000000b00412b81ab2e5si3009086edo.128.2022.02.25.22.18.18; Fri, 25 Feb 2022 22:18:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PuNlEqmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229979AbiBZFEw (ORCPT + 99 others); Sat, 26 Feb 2022 00:04:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbiBZFEu (ORCPT ); Sat, 26 Feb 2022 00:04:50 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FF9B616F for ; Fri, 25 Feb 2022 21:04:16 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id d17so6509603pfl.0 for ; Fri, 25 Feb 2022 21:04:16 -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:content-transfer-encoding:in-reply-to; bh=E873fV4pQ7eoesQTVG0pcEDlvHYqEcX/Ujnaje4n6Sc=; b=PuNlEqmTgPvbVko2IReAQCR8Mr+X9hEMLYKWGjCC0QrDMXopv4fjrjc5WPTJ1TelI5 CX32T4CBThdDDf4nK51URXF7g0gEiXfPGw5XuDcgxeYbfWyKCdbzJdmqiv8thAwnrSVJ nKVc11gI72oQ7nbLe9qIFneRzbBaxyAdSq/+c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=E873fV4pQ7eoesQTVG0pcEDlvHYqEcX/Ujnaje4n6Sc=; b=fYaRaGGl32w35kaZO8bs0O+GesublRPj8j+8/gBwADliOI1clHizzfluJwKlpv8gEb Ona6DmVsDOkV9CNC13HE7bTY+9m3OR7UrWAc+AVY2iTYzEpzqQiHP4nd9n/diMUomN+4 ppbe2b9Med7HMk+U9xJK/m5Ob4ytJ0PszINDcFOMC/EmD/5koM5zxoSHkHqKdB8+xbfr wIERsbByvn0ocdjgJsRK7qEa/ZxvbpLR3LpZPZax5USDVYOdJ27YpRD2geLJMkBLQPir M5EwmUr9HwqYR2DhkdRBXxzDc0XdcupQzv/xldqrE1qyJcNc1wyMpMENcJ0tj7bqCm5i 1ALQ== X-Gm-Message-State: AOAM530K8aOIXTuSVbbpWMcSEx9Hq6scchaesrrZ28f738odX9eLT37W Mvu7k0JwARCOWccWvycK+00Ymw== X-Received: by 2002:a63:4560:0:b0:370:1f21:36b8 with SMTP id u32-20020a634560000000b003701f2136b8mr8813537pgk.181.1645851856083; Fri, 25 Feb 2022 21:04:16 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z14-20020aa7888e000000b004e5c2c0b9dcsm5212196pfe.30.2022.02.25.21.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 21:04:15 -0800 (PST) Date: Fri, 25 Feb 2022 21:04:14 -0800 From: Kees Cook To: =?utf-8?B?RsSBbmctcnXDrCBTw7JuZw==?= Cc: Joao Moreira , Nathan Chancellor , Peter Zijlstra , x86@kernel.org, hjl.tools@gmail.com, jpoimboe@redhat.com, andrew.cooper3@citrix.com, linux-kernel@vger.kernel.org, ndesaulniers@google.com, samitolvanen@google.com, Mark.Rutland@arm.com, alyssa.milburn@intel.com, mbenes@suse.cz, rostedt@goodmis.org, mhiramat@kernel.org, alexei.starovoitov@gmail.com, llvm@lists.linux.dev Subject: Re: [PATCH v2 05/39] x86: Base IBT bits Message-ID: <202202252103.966D14E1@keescook> References: <20220224145138.952963315@infradead.org> <20220224151322.307406918@infradead.org> <202202241627.EEF3D5D2@keescook> <605731324a76f36aafa87bd9390808c3@overdrivepizza.com> <202202252055.AB16A4B8@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 25, 2022 at 08:59:57PM -0800, Fāng-ruì Sòng wrote: > On Fri, Feb 25, 2022 at 8:58 PM Kees Cook wrote: > > > > On Fri, Feb 25, 2022 at 04:29:49PM -0800, Joao Moreira wrote: > > > > https://github.com/ClangBuiltLinux/linux/issues/1606 > > > > > > Candidate fix: https://reviews.llvm.org/D120600 > > > > And landed! Thanks! > > > > Since this is a pretty small change, do you think it could be backported > > to the clang-14 branch? > > > > -- > > Kees Cook > > I have pushed it to release/14.x :) > https://github.com/llvm/llvm-project/commit/f8ca5fabdb54fdf64b3dffb38ebf7d0220f415a2 > > The current release schedule is > https://discourse.llvm.org/t/llvm-14-0-0-release-schedule/5846 Great! :) -- Kees Cook