Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3276472rdb; Tue, 6 Feb 2024 12:23:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHhXis9Aa/QYv95C5/tz9JtOexLButYd7Pjt/6EEAwwS5ws6/8tuAFba0zg+2/fGss3e4L5 X-Received: by 2002:a17:902:b288:b0:1d9:cc68:19d0 with SMTP id u8-20020a170902b28800b001d9cc6819d0mr3016968plr.48.1707251019652; Tue, 06 Feb 2024 12:23:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707251019; cv=pass; d=google.com; s=arc-20160816; b=dXkWEuIPu+XB49dFLNEb+I8ECz9wtL7cwuOjc62T1JxKpG7mG6KZcme/bLgAS9+zMj WXZ+PhUk4xuDirabRvKH5O9nRPrxnYJvr8nfuTPABXWOS46EIiXuQ05gWG+mAFr4cwtT mP7Sb6PL/nHXpSIjQ45aOTk+xORAJao9lreDOn/1Mo60SV1gilyUUz7maNw8RI16AkPQ YAzQbMRmAMtleJY92chj5FTvPJc0jKLjfmZQNGvJsWQC4s8YgHWhNBmsdboCP4wHSCOH 3cuIjK5Osdf1m7tgSUOadD2JueToHh1x5D1gH5BJLF2a0F4kQoKu19XNM3YMXBJg7GED 1rNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=bMRByQrhVkH4pn/LwNEljSjg1desPiypR55QpUVdA4E=; fh=HwQ4mDFhGkDFUsSSOz+N1wvcRoQxOXNfRW+EPKEib3w=; b=f+SoDtViPNpUPAGFyhhCbxvLgNCdKlUVSmncCZtvC20pjQ1D7Jef1wLYAtVIJWgj4I GmSAPMmZHXdrKmH97kyIHFmCBBYNJJHt8m/p3a3aM70/r7V56Bu0nQxcwmJ4cuUz8TpM MLG8Lx+DMAhqiAI6g2NzDxz4CMntiKdd2DWPPwrzimyRH0KykkTg4o9rJjOCL0tSvtzv 1vzuWVWS35X7C80Z3otuOp4RKESrh3AO+W3daMrN/m2raeQOuBNdAjMPHD4PS1+1hEH1 ZD29bldV+4NAd3N2A1BytD4Sg0b7G6wwdk6/brKeciEKh75L73UiIz1olCvvjMrDXI34 rP0w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yaorfce7; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-55592-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55592-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWd8UhPmvUuSvcrTkK0j8HiE+xRzZtgHZAhVbqzhVNXMrCruj4gJ7m5d1J3Zy0xiBE9M/4dfbswemZzAYiUX0+NAL+09DtfGTMHFqBxfw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x17-20020a170902e05100b001d99ab3b516si2154479plx.40.2024.02.06.12.23.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 12:23:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55592-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=yaorfce7; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-55592-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55592-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 4A31D28908B for ; Tue, 6 Feb 2024 20:23:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D630A17BB3; Tue, 6 Feb 2024 20:23:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="yaorfce7" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6FA0F179A7; Tue, 6 Feb 2024 20:23:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707251013; cv=none; b=X6bIpG3AeTjIvZ1c4kkoB+0JlcZcagSddN0MdfkTYoAYmTo6xMPvxwdwvGf6RMZljk6elPTjQdBCuv7b6XARMkto0+XT87f1/XYFh4dYY+msF8p8lKo5AhGhgwEdjKSMdJFBx/DTNC9/jvWjb4NOGxrbp7HvEeyLu3hX7emiOnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707251013; c=relaxed/simple; bh=ExVvdejDXaScW5SRhts9i60rZm7y9Bidq97I4ylJFPI=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=BysG/632j4oLxLditxv9cdyayeWZdbMH/vj2tunt0Pz+zAf58UlGqaK6wAyLvL866VETLmWn6WTfOJLe35SP30oDv0k0/fTqx931R9zCdnS+d67dWMSmsVVDOzMvEaFH/hFszw/uPu8mJIBLIiS2gss+5EK3u2bpePUTYGhLQ2Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=yaorfce7; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Cc:Content-ID:Content-Description; bh=bMRByQrhVkH4pn/LwNEljSjg1desPiypR55QpUVdA4E=; b=yaorfce7tSCRyMYkfTKabrZwgM SBdMEzaXYc7q+HXTVYWaTtRQLqWs1f0Sbd9MhYf5jGOHMkhMwQTQ7wMflN8+GgkSODqG0QPRDnhVL xKzL5RqmX7K4VEZpM+e0Zh5KxZTcb3Zw5RlEKTCQcSvBhjx+wQbJMsYuFVWSQRcLrs+mviM+d+DRA zek49347WzQdHXz/ghdXIidvU+MethVz6T88/u61Ye2zqVr+9/KNRsRGGrTDw+pAJP7lnPXTJP7EI ODDfqbGiClygIKP0yURldydQ1dflxvssNYvlr5TnFQxJW5cEd0fqmrHdbGTxIrMLnr7nFx06GraqS JItv7k7Q==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXRyV-00000008mRy-1Rpl; Tue, 06 Feb 2024 20:23:25 +0000 Message-ID: <7c0dd2f1-0b43-425e-8b0e-004760bed317@infradead.org> Date: Tue, 6 Feb 2024 12:23:21 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: Add the arm64.no32bit_el0 command line option Content-Language: en-US To: Andrea della Porta , Jonathan Corbet , Catalin Marinas , Will Deacon , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20240206185459.32465-1-andrea.porta@suse.com> From: Randy Dunlap In-Reply-To: <20240206185459.32465-1-andrea.porta@suse.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi-- On 2/6/24 10:54, Andrea della Porta wrote: > Introducing the field 'el0' to the idreg-override for register > ID_AA64PFR0_EL1. This field is also aliased to the new kernel > command line option 'arm64.no32bit_el0' as a more recognizable > and mnemonic name to disable the execution of 32 bit userspace > applications (i.e. avoid Aarch32 execution state in EL0) from > kernel command line. > > Link: https://lore.kernel.org/r/ZVTleETzfFUchs77@apocalypse > Signed-off-by: Andrea della Porta > --- > Documentation/admin-guide/kernel-parameters.txt | 3 +++ > arch/arm64/kernel/idreg-override.c | 2 ++ > 2 files changed, 5 insertions(+) > > diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt > index 65731b060e3f..9f962deeef5a 100644 > --- a/Documentation/admin-guide/kernel-parameters.txt > +++ b/Documentation/admin-guide/kernel-parameters.txt > @@ -433,6 +433,9 @@ > arm64.nosve [ARM64] Unconditionally disable Scalable Vector > Extension support > > + arm64.no32bit_el0 [ARM64] Unconditionally disable the execution of > + 32 bit applications > + That new entry is not in alphabetical order like it should be. > ataflop= [HW,M68k] > > atarimouse= [HW,MOUSE] Atari Mouse -- #Randy