Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4113336pxb; Mon, 4 Oct 2021 17:52:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1fyvD9hGRV7qyY7B1XUI3ene+bcxa6LEXu3l0upvJDWPkUhSSjwVKdlBk74sPYk7neKKZ X-Received: by 2002:a50:cf48:: with SMTP id d8mr22557131edk.293.1633395154768; Mon, 04 Oct 2021 17:52:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633395154; cv=none; d=google.com; s=arc-20160816; b=OzLs104DRmZu0UdKanef49IKBmdMNrqunGtl458TNlDYJ3m3EvSGdoutbEvKy2H+Sx kEtcg1qhL5F+GpAuy2QmqYS9cdFQkh2j56kpjdO6FhYUAR1S+k7B7wMcKLY/C5TP6sFY 7ecenPS0BAjLeubPpvBKh0ojesicBn5jcAlhd7YC5/d8kC1w0KTTs9RgqVpQ0HNaFR+7 5rcUU2srLHvplP/TP3SsDO4+iEBX9p7lZjYfYqd7lp6AvNnxvf3IxbVuWPXJm4sTomzH vv4NPZIBRzidlmw7Oo4lN+GAC/bkUSTMEl1dXPDbefcVc13ZaxsPBDLb/IQnI7/1Y+I7 Pkgw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SEKA9eUvQTNrOEU0fVe9Oqo1M4Yd25Z/pj7b5KUJKIM=; b=rIyc8Ecf3PRcFsz7+O4glB8exletLgzEd8js7MzLHrIv6sGhO4Cx4BvXtce7ZyDFOA CKZajgV04YsUYwh2NEFknJCPXSRuTQQgUwmdgX/OW/aRBn4iisKp1ab+yGjS7Taoz91O u8T9zFO07KP4/NWN4psAcdWgKJkbWjBjE3Sh1DsNWh90oRh84YYnAaL/riqaa8vYxXLf i7jPWv8VeE/h10npYtWsMCjZxedGa9oMlqFr+c/ky59UZ1PmJn3sf9VuB0NhgMeGljCF idB5beTr3wQsc7MWHMAG+40nswB434fYpVQ6HwQO3H/5UU/Rs1SgNpTEltHmDQlJNn9f Xm1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WWWCnRoD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si16881167ejc.492.2021.10.04.17.52.07; Mon, 04 Oct 2021 17:52:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WWWCnRoD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S229636AbhJEAwi (ORCPT + 99 others); Mon, 4 Oct 2021 20:52:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbhJEAwh (ORCPT ); Mon, 4 Oct 2021 20:52:37 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DE26C061745 for ; Mon, 4 Oct 2021 17:50:48 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id g14so15968549pfm.1 for ; Mon, 04 Oct 2021 17:50:48 -0700 (PDT) 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=SEKA9eUvQTNrOEU0fVe9Oqo1M4Yd25Z/pj7b5KUJKIM=; b=WWWCnRoDUJPBY3ffxH06sF9uD9/8LAHeZ8/v8jzQmn3oDFDRtqjZjLRsuPlQTzwuXD 1wH/q28vROmEvvplL7fs98Bp3waAHcYjtqW6AL3lannRpc98Vd0HSVMK6FTYvIGyyezB N1TvpFzrCX7j9hw6W9zfVzJLtyXZo9WiPYBvA= 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:in-reply-to; bh=SEKA9eUvQTNrOEU0fVe9Oqo1M4Yd25Z/pj7b5KUJKIM=; b=lyxDo+ihy41CYmpTVNGwhHiYPukkln8Um63SNKkkf9qI/e0IILoeSWD073H3N9uaY0 6psvEssdsp5r2uxABFGN/iaB2qHV+Z8TkeRkOuPlyagCoW2tXQDsHIyB1YqK3K2nYk1p M2UJVXL24dNxy+TVX6mXMT2BBmNp7+kzGT/SsTZHqDgWHQe4T5YuO2M8zp8gMo6Dt/OF 30hHS/FUA2+3d6IpfGpPqzYaL8XVj1wdo5/iB9uph2JGIBr8Tj3nDgKVCix+BHd+N/cH xHG6U3toYTVMgk3JtQRZLK+CEp1QgrraCxkD6RIQYj57rp6/E2dpIr71l01KYJ3bBe7z HtYw== X-Gm-Message-State: AOAM533fP38lPe1ha+lANBpKeaMlMbBS6t2kgiU3m17w4KqFGLG2f8Dc v+vESID/h0k0jDASLPvr9r8Aug== X-Received: by 2002:a63:b448:: with SMTP id n8mr13690353pgu.31.1633395047522; Mon, 04 Oct 2021 17:50:47 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i128sm5884418pfc.47.2021.10.04.17.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 17:50:47 -0700 (PDT) Date: Mon, 4 Oct 2021 17:50:46 -0700 From: Kees Cook To: Palmer Dabbelt Cc: ndesaulniers@google.com, akpm@linux-foundation.org, Linus Torvalds , linux@rasmusvillemoes.dk, nathan@kernel.org, masahiroy@kernel.org, joe@perches.com, arnd@kernel.org, Stephen Rothwell , llvm@lists.linux.dev, linux-kernel@vger.kernel.org, Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org Subject: Re: [PATCH 05/10] riscv: remove Kconfig check for GCC version for ARCH_RV64I Message-ID: <202110041750.C90595D1@keescook> References: <202109130923.E294BFD5C@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 04, 2021 at 05:40:42PM -0700, Palmer Dabbelt wrote: > On Mon, 13 Sep 2021 09:23:45 PDT (-0700), keescook@chromium.org wrote: > > On Fri, Sep 10, 2021 at 04:40:42PM -0700, Nick Desaulniers wrote: > > > The minimum supported version of GCC is now 5.1. The check wasn't > > > correct as written anyways since GCC_VERSION is 0 when CC=clang. > > > > > > Cc: Paul Walmsley > > > Cc: Palmer Dabbelt > > > Cc: Albert Ou > > > Cc: linux-riscv@lists.infradead.org > > > Signed-off-by: Nick Desaulniers > > > > Yeah, good catch for Clang too. > > > > Reviewed-by: Kees Cook > > Reviewed-by: Palmer Dabbelt > Acked-by: Palmer Dabbelt > > Only this patch ended up in my inbox. Where you guys planning on keeping > this whole series together, or did you want me to pick this for the RISC-V > tree? Linus already merged this series (see d20758951f8f28c0ee1b2a8a6bb8189858083895) -- Kees Cook