Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp591214rdd; Tue, 9 Jan 2024 13:21:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkxTFeWQNkrIXSTSYiZ4IZe8mkNGeXxhS5uzwj0nLqZe8tmaC2gLhkCCluiBUiTfjYnnZx X-Received: by 2002:ac2:47ed:0:b0:50e:55d0:855c with SMTP id b13-20020ac247ed000000b0050e55d0855cmr2506212lfp.17.1704835266959; Tue, 09 Jan 2024 13:21:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704835266; cv=none; d=google.com; s=arc-20160816; b=kxuwetpQVja5UayBDus2j4cFbN1l/Vb9BJNG04F6CcHab4xPSv4uam+zapUAHwCyVR cV4p9feWDxP0oOf+R3NwtwhK6nHMdkbRty8UGisghtOZhUiheo7kpHOw3QFA2x4w7uT/ eFEQNRfjjMlAJCG0dWtpOCm6puNuscK8BpFzRB4yyq7WKZJBQXbXPap8DbXOB9Jxwwnq +1yHxec//3dvzG2ffbMWI5h4IOT0TYaoG9ehyp+RUwwNljghOTxaNRL9PHMabZ5XaufZ PQmY2TCpQBD7WsCoZ7CTyF8RkwfgnlCgml2cE+ALfa30WCFRYiaIVKaSNjfA/cZ8k//B N45g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eqQUHChJf0/arFpvV2IRHuuXQmt67RRG08Y2Ov7HDGI=; fh=tFltlOv364tPprXhdoFdLtfNdVEDhLjkXHClhdHIO1A=; b=HjwP9czCNwyTPnhBJpAzzNozvboWS8dQrjCcpr6huar6qTCGd39j1aCZtpuMCrOcub XF9MxDmz9J6lD7SZf0eSsDHlbuT+u1OYysWgzKDCUcomoNvMMCZXcXWT1iD+mtbjE2YH P5lgsUUi2vLinERwNwEnvrlyy5QfpxA7zl7N13f3lurVBfxGVTV4d35c1UpfPqm+fUyv ZgD/w2uFmqqAuoWqqJFAFPIoxUKvyCyGW5kt1amAgd3F5pNWhx/Pzszhqh4cnDfd4FwF I/PKid4D1BHFCstlg3gR+GIzczkA2+CnO7aezjx81Zx5cM/30GCimFh8hhSB/E5N3P3B izsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="g2/dylWK"; spf=pass (google.com: domain of linux-kernel+bounces-21410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h27-20020a170906261b00b00a26ade46665si1120694ejc.211.2024.01.09.13.21.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 13:21:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-21410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="g2/dylWK"; spf=pass (google.com: domain of linux-kernel+bounces-21410-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-21410-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 928AA1F268A5 for ; Tue, 9 Jan 2024 21:12:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD0733DB81; Tue, 9 Jan 2024 21:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="g2/dylWK" Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2DF9D3DB80 for ; Tue, 9 Jan 2024 21:12:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-5cdbc7bebecso1315489a12.1 for ; Tue, 09 Jan 2024 13:12:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704834754; x=1705439554; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=eqQUHChJf0/arFpvV2IRHuuXQmt67RRG08Y2Ov7HDGI=; b=g2/dylWKjTyE1oGAMQ3UWpurCwkJLx/vs8whAdPJgl+gYOMqgYnyB60fkZIZNMtiBi p9NmRW8q0egQJlZfx+z3lg2sIFDYElVnyvb/8xiGnITxrDaD4N1Eb7Ejw6wQ3Y4A89j7 J/P2NQvkQMW2Qm8UulN+vAkZVNBmDpv50hKZ4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704834754; x=1705439554; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eqQUHChJf0/arFpvV2IRHuuXQmt67RRG08Y2Ov7HDGI=; b=q4QmP2bJOoV/TSs9A1OalBVwZBh1JET9PtrEyKyjs3PXPy5cxdU4ft6c5tMXYMM49x 4d03M72LiaQvawuUYMTWxCLuAHZLl+rBNaK44j8fhHCw1UC0MvJ8mnP9bsF9anEQde+e c4Nsb7W6qLD1BVoz03lj7XjL/TKQbHrm9l4KgKmzhNnJ0EaciAsyopprEF0SYv5OizSm JEAb9AlQg7/5Qio86qizjagKjG/eY2vL/+GHcTVzr2spbKEd1abx0TljQK1Y0s7Bz4fM t8fuwLvq1eEXRqMma1+zqPhIuikYPCtqVuLWkvmJv2M3YBXemMhXXkNIYhdw+AEqxZXT pE8g== X-Gm-Message-State: AOJu0YwwowT2/UBNT5EFQtgxgVA23OFbLUGeLhy7VS8VU7beuBQyDgvf ikSxs0u6emWf0wKKA9SO1rO0/J1NJNGc X-Received: by 2002:a05:6a21:a58a:b0:199:83e3:dd67 with SMTP id gd10-20020a056a21a58a00b0019983e3dd67mr3000031pzc.40.1704834754458; Tue, 09 Jan 2024 13:12:34 -0800 (PST) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id su6-20020a17090b534600b0028d136ba928sm8245175pjb.28.2024.01.09.13.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 13:12:33 -0800 (PST) Date: Tue, 9 Jan 2024 13:12:33 -0800 From: Kees Cook To: Nathan Chancellor Cc: Miguel Ojeda , Sergey Senozhatsky , Miguel Ojeda , "Gustavo A . R . Silva" , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] Compiler Attributes: counted_by: bump compiler versions Message-ID: <202401091311.08D6FF677@keescook> References: <20240109133633.1103876-1-senozhatsky@chromium.org> <20240109153249.GA205400@dev-arch.thelio-3990X> <20240109195652.GA1253215@dev-arch.thelio-3990X> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240109195652.GA1253215@dev-arch.thelio-3990X> On Tue, Jan 09, 2024 at 12:56:52PM -0700, Nathan Chancellor wrote: > On Tue, Jan 09, 2024 at 08:42:24PM +0100, Miguel Ojeda wrote: > > On Tue, Jan 9, 2024 at 4:32 PM Nathan Chancellor wrote: > > > > > > It is still possible in theory for this feature to make clang-18, as the > > > release/18.x branch is not scheduled to be cut until the fourth Tuesday > > > in January, which is two weeks from now. I don't have a good feeling for > > > how close that pull request is to being mergeable though, so this is > > > fine for now. I assume this won't go to Linus immediately so we would > > > have time to change it if necessary. > > > > Yeah, I was wondering about the deadline too. If LLVM's `-rc1` is the > > latest time possible to merge it, we can wait the couple weeks (which > > are conveniently the merge window) and I apply it afterwards with the > > result :) > > If I understand the doucmentation at [1] correctly, the first round of > testing starts with -rc1 and ends with -rc2, so if the feature is not > merged by -rc2, it won't make that release cycle. I think counted_by > might be a hard sell even after -rc1 because the feature is not exactly > small but it is also not expansive (it is relatively self contained > from what I can tell). So I think your plan is reasonable. > > Another alternative would be to split this patch in to three distinct > patches, not sure if that would be overkill for this though. > > 1. Update the clang review link from reviews.llvm.org to github.com > 2. Update the GCC version from 14 to 15. > 3. Update the Clang version from 18 to 19. > > The first two patches could be picked up immediately and the third one > could be sat on to see how the review and acceptance process works out > over the next couple of weeks. Up to you/Sergey. Thanks for taking a > look! Yeah, I think either the above split or just wait until the Clang 18 cut, since we've got a while before the next kernel merge window. -- Kees Cook