Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1822594lqp; Sat, 23 Mar 2024 10:07:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/Z1vYkjGDjosHG9nxbHB2V+x/bqFeSmQQvBfg0IZ9ZtYRzfF1nd6kNiJwhxv1KQ5DZpj/ytUgSiEck57cR6DFdDGL/JwctOsHoRQeog== X-Google-Smtp-Source: AGHT+IHjFzWk23SobpWdYA73AOKpiUh6YqimH3+56zLifTNKrCR0NdILYYdAJ5csXnfHDe6pINSi X-Received: by 2002:a05:6a00:3c96:b0:6ea:7801:977e with SMTP id lm22-20020a056a003c9600b006ea7801977emr3453461pfb.6.1711213621011; Sat, 23 Mar 2024 10:07:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711213621; cv=pass; d=google.com; s=arc-20160816; b=wpLRttrSFzlsG1+AYSW1wczcP1cz4py0c+IPQjUkXmlBSMSxuqFghwIsj1c9IRpnEY IuW/kJZvm8V1lWMgtO1akOOr0yQu+ao5Vd6jMBxPJbKbFvChPpz01sKvrybAR/ZCYHnp qq5IDb/h0oAf4rxyDJEiJTzZt8OOlJ9a8AtqEZ8F+tvGbCazp0Yrivsfg1pmrbaJ/JWx ki2bafn6mfMx/e/0BTzuW4K1Omgi0ozg+Bq2clchMx0BJ3S7Jp0djSILQPsyLsnCvkzP dWr3jKr92OznAH1FTyF6FStzUz7Pz6llJYl79amFKu3HC5FYq4uc6oGXbj2ynKGx8rSF eaCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=oTY1+Vi+84vpwbbOvlbyr/aAB2eQbLrAUm6SK4TjLtc=; fh=PN2o8qnM+ynbk4GpyiG2F4XOqJbs7KeaUVXRHTHM9U8=; b=0/Uhlyz/yCc3Xj4xfQONugyhInEjocOe/QA+Zq4zCclLYuBV2n6IWSyfOF87P7B2IC gyw6lq/M+uzdukTVQz2UojllhBhrcgl0jRD/wXnyTiA41LytMLiKD7iXpi/URUMYXFpE u2x9P7LczZ4QHazsH1B3AfUSHASrWEvtkOAVazVlrxiAwaNbb1CUAl2mTL9obt3gUCEk 9euKgLH5DOutbLvBEBBAvXgtbbvZRriQ9EuZn5TipoXnyed7izO/MMToHzJTyTK+A6Cd pyMv5bSenwOJKRxhJsxG1fXAGgBGuhEVEIE59iedy2yOwTLTCzVfXHfG6AG0otfcPoe3 AjvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=OT9YSxGH; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-112421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112421-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fa29-20020a056a002d1d00b006e6b34c3209si1915637pfb.350.2024.03.23.10.07.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 10:07:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=OT9YSxGH; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-112421-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112421-linux.lists.archive=gmail.com@vger.kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A863128188B for ; Sat, 23 Mar 2024 17:07:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E63774E1D2; Sat, 23 Mar 2024 17:06:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="OT9YSxGH" Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 1F8341E497 for ; Sat, 23 Mar 2024 17:06:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711213613; cv=none; b=QnSHiEiB49DRqSdj69LXZaWQHlKkyy/asyYJ5LAGVOV0ClMai2zK8i2/VlyQeEATpNDSyEUcELwUvLzA8spZficzh26WkK97kGzKUn2BXv/1uCsQPFCDnluVPaRPC+q+y39VhcVuHQ6csBhrjxtRZGPyot+ww4nqOAeqrSwO/1c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711213613; c=relaxed/simple; bh=9QGxIetIe2ArZtM5vrpzGMWaSsfHC/DUiAku9Vv2Tmk=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ek+/d25HJTqttne3JHZdq1POUMA5FG5NhUT4NpK8jnrxA2pqhCg24l4opwO2VjKBpuWvyyRl3HKdRMlSjP8c4t0deIWRTOPzSNTUjyUaHeQ9QKXFbh3iglXqOVsC7ycRvomFKxWeggts6FyG/9ME6rEZLkn62Bbxzs85GLI70xQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=OT9YSxGH; arc=none smtp.client-ip=209.85.208.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2d28051376eso60535941fa.0 for ; Sat, 23 Mar 2024 10:06:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1711213609; x=1711818409; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=oTY1+Vi+84vpwbbOvlbyr/aAB2eQbLrAUm6SK4TjLtc=; b=OT9YSxGHAawQnQ4s5AnGce8gHY8PBSnMSUKCHP6Nnh6XZK2wNcS0+jFe5BR6BZalrw Y0pC+xMtJTaUKtG3wXwZDqFQpheaynkFqDBg2+S6IqwKbPfPtRYOeXr3lFVzmyd9Hvg5 16N7THcQEWUCxZG77C9rY2jNTvQTfUunEwhoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711213609; x=1711818409; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oTY1+Vi+84vpwbbOvlbyr/aAB2eQbLrAUm6SK4TjLtc=; b=SLXkWKnKLtyZI929gq0z6UWQQjFqEb7I1lAP1JpuEAdHJ/7yMg6JRLLnFZAQJhs+u+ 95xyVXCQ+iKL89y02Ohd+FjwzkPqbdtQuta3+R+iA3YweN4DlIqkCeL6A4muoTrYdraR z+FETMYLA0Rlr4jzO755wblmAmMIK1c0Eugcd1iVdtrwDvPYOz3Up3EsmrivWJjuFeo+ 4dGpN1LKFtVOmkV627bDkv20Fm1sg5kC+CPLDApRXI8p2A2Tvh/Z5hy3ABcPXWg/n2Mf xzlibys1JdzUNNsvLkm8FU0SuV+TdN+1cwwOLGs2Md8iHHl++wnfl4BRAl/XVijH4j4e jx1g== X-Forwarded-Encrypted: i=1; AJvYcCXQlJTAcMRs65BGcgq3nxq4jhRlVGyp97KZKqUWqS1VBcwgKbIBO7uwGZTTb/PHi1zNx7uuL9mHjh3Qh4U3R9ThjJlxRly+BT/4CRRO X-Gm-Message-State: AOJu0YyLQxME/JPLtC98EgKD1dKqZtQ0U3g3f5whjXzoyyGdF37MAWK3 ZS7Jc3o2RTExihha+m4onRpXWjp/4hxBZOOLeV0gVf1JqzCOuLVlnTSxBEq2UoCqq2hFrPcFDdK /TEQl3g== X-Received: by 2002:a05:6512:2e1:b0:513:24ba:466a with SMTP id m1-20020a05651202e100b0051324ba466amr2186519lfq.53.1711213608920; Sat, 23 Mar 2024 10:06:48 -0700 (PDT) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com. [209.85.167.44]) by smtp.gmail.com with ESMTPSA id t6-20020a056512208600b005158569860bsm355045lfr.138.2024.03.23.10.06.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Mar 2024 10:06:47 -0700 (PDT) Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-512f892500cso3605417e87.3 for ; Sat, 23 Mar 2024 10:06:47 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXJB9GaS6m9ZcCD6e0X1Iw1GMneF+XMP/PdTGf9baKnWmIvl46QB+RsxzdYIRuVrXuWORW05UgqFEjPJJF7B8JRKVaXx5uhg2tuExSw X-Received: by 2002:a19:9144:0:b0:512:e02f:9fa7 with SMTP id y4-20020a199144000000b00512e02f9fa7mr2232843lfj.1.1711213607164; Sat, 23 Mar 2024 10:06:47 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240322165233.71698-1-brgerst@gmail.com> In-Reply-To: From: Linus Torvalds Date: Sat, 23 Mar 2024 10:06:30 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 00/16] x86-64: Stack protector and percpu improvements To: Brian Gerst , Arnd Bergmann Cc: Uros Bizjak , linux-kernel@vger.kernel.org, x86@kernel.org, Ingo Molnar , Thomas Gleixner , Borislav Petkov , "H . Peter Anvin" , David.Laight@aculab.com Content-Type: text/plain; charset="UTF-8" On Sat, 23 Mar 2024 at 09:16, Linus Torvalds wrote: > > And we might as well also do the semi-yearly compiler version review. > We raised the minimum to 4.9 almost four years ago, and then the jump > to 5.1 was first for arm64 due to a serious gcc code generation bug > and then globally in Sept 2021. Looking at RHEL, I find a page that claims RHEL9 : gcc 11.x in app stream RHEL8 : gcc 8.x or gcc 9.x in app stream. RHEL7 : gcc 4.8.x so RHEL7 is already immaterial from a kernel compiler standpoint, and so it looks like at least as far as RHEL is concerned, we could just jump to gcc 8.1 as a minimum. RHEL also has a "Developer Toolset" that allows you to pick a compiler upgrade, so it's not *quite* as black-and-white as that, but it does seem like we could at some point just pick gcc-8 as a new minimum with very little pain on that front. The SLES situation seems somewhat similar, with SLES12 being 4.8.x and SLES15 being 7.3. But again with a "Development Tools Module" setup. So that *might* argue for 7.3. I can't make sense of Debian releases. There's "stable" (bookworm) that comes with gcc-12.2, but there's oldstable, oldoldstable, and various "archived" releases still under LTS. I can't even begin to guess what may be relevant. I don't think we care that deeply on the kernel side, other than a "maybe we should be a bit more proactive about raising gcc version requirements". I don't think we have any huge issues right now with old gcc versions. Linus