Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2421737lqo; Mon, 13 May 2024 19:38:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVuY2Ld87wzaRfLwziNYcbTl8YxZqhN25ww6jlX6Ra5u/374pi1piHX0q6qIi2JR+inQEksI6QUpnDPIVGirhwgUXnykSQ66IJ7Z8K0Og== X-Google-Smtp-Source: AGHT+IGfe/rSauJaS6ObSdf2YPINSBmPMNAkVjPANB5FBLYCrNaO326bb1r3s1h7FVZrkvikGgM2 X-Received: by 2002:a17:90b:378a:b0:2b6:cd1f:b9c0 with SMTP id 98e67ed59e1d1-2b6cd1fb9femr8937178a91.4.1715654320944; Mon, 13 May 2024 19:38:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715654320; cv=pass; d=google.com; s=arc-20160816; b=wLmUN7o0hIvUl9kX8EjHDC52x5UZ+suJbRoAHsG6x5ayD8+FuJIH8ElIS/uUJRF9Ae htdOQn+WxYPwZmCWfYQvLbJHbul47/0OSNpcr/gzKPqGX7QlucW4LG0bmPWGDRCwDZyX 0gSuWmyGQYyEqnf4//nhrlMJM9oJ/Bu0sETM24BzAu+RkcoNr/0XxBnl2+y/YTyWcUQp yY/IIRty9w7/KSIbuwNYacwkoS1YTqomJaRa0Jc0MDOq+tX0l5QSo3WxKE4Hhhd9aO4P ZJatP2GTTTvzMKLcf5TCu6Qkm7qgHKGYRMQ/gbrK1LEApgriw0FXcEeGxcKDiR9wOro+ 77lw== 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=g1lwNfaaJwPa8lZzRRPRd8svxoAyGNm2U5kEgmIG0UI=; fh=HuPyIDwAtoD0XP+5KIlbzjeX8u4Jh7MiqkwYSIovXG4=; b=yQzxntxq/pzZtV3bTHzJ2ylu7MjrvwprBSWaMoAdoPZ6coS4QKgz6OAJWzbMyrao2Y hWR7StlpMfQTYzq1jk+mgVSuHil0xuOKwrNzSloDz3TWwOXykjFqKS8AUEKvYIfGd7T0 AQZYHb64zEkxM5TB88mEX6Mu0m1PsZkC6VzyVY0X5r8QZKeuvSlkeMpnHZiuL1Xl0vuA jAk4qguqerNMo0G9zD2xPvaO0slFJDbRRyM4rxxk5ZT41CnD8j36i/n1UI3kD3m9lj7p 1mJj8F6jH0x4kaQOuUE/MGUbO4TiOMVqx7VRQnfbi8NpzJ0bbqDk/q0at2VLNTyTmFY5 98Sw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=Bzur57eW; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-178257-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178257-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 98e67ed59e1d1-2b628ea7891si12183654a91.89.2024.05.13.19.38.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 19:38:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178257-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=Bzur57eW; arc=pass (i=1 spf=pass spfdomain=linuxfoundation.org dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-178257-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178257-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 922EF286693 for ; Tue, 14 May 2024 02:38:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EEFEB657; Tue, 14 May 2024 02:38:36 +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="Bzur57eW" Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.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 3E6A3AD32 for ; Tue, 14 May 2024 02:38:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715654315; cv=none; b=Jd7RF0Vvz1WtV+eF1ZdNzkhG0DQP4ALzc3pytCQHYZPeRTzGHAD0qm+umswHxqWIjWexrD7GuzP7xB/L3SxCkp4yC5RWt7pz5bwN/uUEjFXBYPWPn+4Q62o7RJm1h2RFAI9US9qNLrxiXmfzvtJrxVUD2QXqY9U7vQFzvodYIa4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715654315; c=relaxed/simple; bh=+/kjnNS42NLL3kGckammgIhVGDvPLX3e6wXmHg75qzQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=A2A3T5E77nN8Zt9sDIBlpuqVlewbR7p4NBJMwhAtd/wvqiYPtvzMDLzoyeMaPUqTJcLyAm5JheRwT+6g6KwO6oBtW+3KvVFHxORy0aisufeFJQuGZpJCXSV83cQ9MxeNgalcHfkJbHv3cpl2HznpBixGFDrlBGLrCZqAnDy4qYA= 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=Bzur57eW; arc=none smtp.client-ip=209.85.208.174 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-f174.google.com with SMTP id 38308e7fff4ca-2dcc8d10d39so59525961fa.3 for ; Mon, 13 May 2024 19:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; t=1715654311; x=1716259111; 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=g1lwNfaaJwPa8lZzRRPRd8svxoAyGNm2U5kEgmIG0UI=; b=Bzur57eW589geNiIgBzE1WznwiRl8kGLBCEtBsPy+U57aTwxnD4vWPJUFhhjik102o pVBVn4+vb3DCqD7+gOM4+UgYqgtV69lVKBT2F8mu2KxLYPPJiouFoLqd75vMwATLUj/I xNs/dBS5YcxLD102cIjsJJDdZCVDV34AMF4OQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715654311; x=1716259111; 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=g1lwNfaaJwPa8lZzRRPRd8svxoAyGNm2U5kEgmIG0UI=; b=FTgCISl0A7NyqYaKddUdCpcjPwWGi0Bal+4yxnf6dCWjulmRQohRmSABd/E5Srylut suXOinqgNowI7pky7NdnpGtaphLkb0TDbWXKQ6QUjUcuz4K68HSjGTIY8RqEWkLYBKMb Vkq2ZjZnRlwdAlnWWHZSr9IVB2o8FoBRNjFT42jsRi5YreeQ6nnafSQFuCWu6nHbj9Uv E9iWsjczW1AibB/1rvo6/b9Ydg+0JchARKA+7+WcpnYxM2A1QL71pYaslnt271SUb5S0 xfujRC+1SH8lX+jmKDLbrQNaG6OlHjU5r/vDx//hCVMPTGzqUv0XVADp2wYgZvVWhdfW PGIQ== X-Gm-Message-State: AOJu0Yy72SOXOTZs2cvwx8jg+h5UKitkkKtNDeLQWvVysodFgYio6Mme uVs4YrlfQ8jVl23OYXJUr8ow0UZGv4utLNsyVTZW+dZWQD5Vi+DdgTaZ6SFWVLr6PMdxl7HqwtE SiglpCg== X-Received: by 2002:a2e:919a:0:b0:2e1:a726:3dfa with SMTP id 38308e7fff4ca-2e52038a910mr75090691fa.38.1715654311133; Mon, 13 May 2024 19:38:31 -0700 (PDT) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com. [209.85.167.49]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2e4d0bbd57fsm15879961fa.22.2024.05.13.19.38.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 May 2024 19:38:30 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-52192578b95so5881308e87.2 for ; Mon, 13 May 2024 19:38:30 -0700 (PDT) X-Received: by 2002:a05:6512:1314:b0:51f:601f:cbae with SMTP id 2adb3069b0e04-5220ff73602mr8403636e87.56.1715654309838; Mon, 13 May 2024 19:38:29 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Mon, 13 May 2024 19:38:13 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] x86/shstk change for v6.10 To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, "the arch/x86 maintainers" , "H.J. Lu" , "H. Peter Anvin" Content-Type: text/plain; charset="UTF-8" On Mon, 13 May 2024 at 01:13, Ingo Molnar wrote: > > Enable shadow stacks for x32. > > While we normally don't do such feature-enabling on 32-bit > kernels anymore, this change is small, straightforward & tested on > upstream glibc. Color me confused. "feature-enabling on 32-bit kernels" This is not for 32-bit kernels, as far as I can tell. This is just the x32 user mode for x86-64 kernels. Or am I missing something? I've pulled this, but does anybody actually use x32? I feel like it was a failed experiment. No? Linus