Message ID | 20250110-asi-rfc-v2-v2-29-8419288bc805@google.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35636E77188 for <linux-mm@archiver.kernel.org>; Fri, 10 Jan 2025 18:42:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1AF696B00DB; Fri, 10 Jan 2025 13:41:55 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 15F926B00DD; Fri, 10 Jan 2025 13:41:55 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EF5C76B00DC; Fri, 10 Jan 2025 13:41:54 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id CCD106B00DA for <linux-mm@kvack.org>; Fri, 10 Jan 2025 13:41:54 -0500 (EST) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 8745780EAC for <linux-mm@kvack.org>; Fri, 10 Jan 2025 18:41:54 +0000 (UTC) X-FDA: 82992411348.11.A11CEB4 Received: from mail-wr1-f73.google.com (mail-wr1-f73.google.com [209.85.221.73]) by imf14.hostedemail.com (Postfix) with ESMTP id B484410000C for <linux-mm@kvack.org>; Fri, 10 Jan 2025 18:41:52 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=eUH+cpn5; spf=pass (imf14.hostedemail.com: domain of 372mBZwgKCAwvmowymzns00sxq.o0yxuz69-yyw7mow.03s@flex--jackmanb.bounces.google.com designates 209.85.221.73 as permitted sender) smtp.mailfrom=372mBZwgKCAwvmowymzns00sxq.o0yxuz69-yyw7mow.03s@flex--jackmanb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1736534512; a=rsa-sha256; cv=none; b=gZRVgQOHCJ3bwijCk7RcHfh2SNfd8XowVrdoh/6RL5Xyhq/o4AeoJ6UXmzqZg7Hl4k2Sw0 fL5tprLjTNWU6OCJk337bwU5g08W9zrRgz1kdcSEW1HYMI0jQSIKgTqbzA0dTuGlzMkwxq vpTFQjX6rV5Y38bSoNZkBjLa9r8W3eY= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=eUH+cpn5; spf=pass (imf14.hostedemail.com: domain of 372mBZwgKCAwvmowymzns00sxq.o0yxuz69-yyw7mow.03s@flex--jackmanb.bounces.google.com designates 209.85.221.73 as permitted sender) smtp.mailfrom=372mBZwgKCAwvmowymzns00sxq.o0yxuz69-yyw7mow.03s@flex--jackmanb.bounces.google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1736534512; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=t56obMWOlMyKyO7q6Si1cnEbfn2qyXwrpnzxR+4ONcI=; b=qd1pjw5p0I0Ij5nQhwVC9f+DJfGGE5p/P46I9KmdYrpTgwiGc6qDOgQgcQBrP+a60BcbE3 vHB8cGeb/ftMR3geSNYMNu/Ha24DlGnuPn5dtnCFH1ZS2zVB/bMjUCdglWkH14MvTj1UvG g5MAj7q1yJHnprFIhF3G64fcfXe6RtQ= Received: by mail-wr1-f73.google.com with SMTP id ffacd0b85a97d-38a35a65575so1747293f8f.1 for <linux-mm@kvack.org>; Fri, 10 Jan 2025 10:41:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1736534511; x=1737139311; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=t56obMWOlMyKyO7q6Si1cnEbfn2qyXwrpnzxR+4ONcI=; b=eUH+cpn5W7pgqzdvRKwrETYlyKvzsRe1Hc/rHhl9kVNggIWKHWNdkPp7CDdwSl7RqW ZQxOWrxSF0Yjynlkms0tQ34DR8lwHmoOE6U1gSNWkgWZZEvzAnNT6KnLaDERmMAqyD7o WBJIp4j/h6PJB2mXAKe46WRWufDEICvk8zL6Fs5GUXmF6ZKK8NqtTJWSx2AcUMe+/+yl G3zD1MCzeM2Ul2m3wDDeu43NqcQ7vv/UN5im5dz3021f6uoccE3/owK6rzPg1+NufXL4 gyoVAU5g3bbj1FCt3a6pGYkRgE3LihL2psPgitA3DmcHe0DcoDJvd//qEKBcJYYWykdH zMbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736534511; x=1737139311; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=t56obMWOlMyKyO7q6Si1cnEbfn2qyXwrpnzxR+4ONcI=; b=a7Vcf+lMLM7ujSJ0TeCQz9r6UJY31K0DD6Ub+xW3L4hsimAGQwiky3o12kmdrBX7be 9nQfOyKgF97/XckYwlPyp18jiD15jHfmTi40Y0FVj2iIgoNcIQVBntyv6UzdgeRtlYKU KQWuEIz49eq7Qa+YnrIJYwMjIWR8de6NyLHKi6ZCHOi7coRaWODe6DIqebenMcOCxkwk +fwOnjpF3OcO1+jWkZcKdVhANeua3ghwH6NEkI2WQJojH4T5PRss2gbAUviatQ5aZOJ5 /C3t1G4OuoZg8cnF94MrjMeqg2EgrH0iDXbBGEbVm1dHBZI8b+U3rP6LvDAKBwFIs0e9 2bwA== X-Forwarded-Encrypted: i=1; AJvYcCV9G9/nOmK2MT1hZC9eM+M/Pj8Brakgwqq0f71ZuFL4CpgdAjiLpVp79hL9dK4X88rUqp5fbtwxtQ==@kvack.org X-Gm-Message-State: AOJu0YzDer5fm40VfpcvKcMaqpfVrgYlxdcKTnoYPlV0Xs0cdSf9/szA ADvRvs5cfc6oKapOvqyq1w6okFNwH8eh1St00VEV3DwduGTLuVJjLs2DyKoyX2TEdVucis75bIH NDMAeKLpIsg== X-Google-Smtp-Source: AGHT+IHNze04KHr3mNrPu4oWzk1uJr6kUgfUG8uUPvBwU8SZTj2uxyjbDaOwELGdGilpgEGrHE3bExV1JNVQyA== X-Received: from wmba16.prod.google.com ([2002:a05:600c:6dd0:b0:434:f350:9fc]) (user=jackmanb job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6000:70a:b0:38a:4184:1519 with SMTP id ffacd0b85a97d-38a873051e1mr10550801f8f.23.1736534511095; Fri, 10 Jan 2025 10:41:51 -0800 (PST) Date: Fri, 10 Jan 2025 18:40:55 +0000 In-Reply-To: <20250110-asi-rfc-v2-v2-0-8419288bc805@google.com> Mime-Version: 1.0 References: <20250110-asi-rfc-v2-v2-0-8419288bc805@google.com> X-Mailer: b4 0.15-dev Message-ID: <20250110-asi-rfc-v2-v2-29-8419288bc805@google.com> Subject: [PATCH RFC v2 29/29] mm: asi: Stop ignoring asi=on cmdline flag From: Brendan Jackman <jackmanb@google.com> To: Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Dave Hansen <dave.hansen@linux.intel.com>, "H. Peter Anvin" <hpa@zytor.com>, Andy Lutomirski <luto@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Richard Henderson <richard.henderson@linaro.org>, Matt Turner <mattst88@gmail.com>, Vineet Gupta <vgupta@kernel.org>, Russell King <linux@armlinux.org.uk>, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, Guo Ren <guoren@kernel.org>, Brian Cain <bcain@quicinc.com>, Huacai Chen <chenhuacai@kernel.org>, WANG Xuerui <kernel@xen0n.name>, Geert Uytterhoeven <geert@linux-m68k.org>, Michal Simek <monstr@monstr.eu>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, Dinh Nguyen <dinguyen@kernel.org>, Jonas Bonn <jonas@southpole.se>, Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>, Stafford Horne <shorne@gmail.com>, "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>, Helge Deller <deller@gmx.de>, Michael Ellerman <mpe@ellerman.id.au>, Nicholas Piggin <npiggin@gmail.com>, Christophe Leroy <christophe.leroy@csgroup.eu>, Naveen N Rao <naveen@kernel.org>, Madhavan Srinivasan <maddy@linux.ibm.com>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, Heiko Carstens <hca@linux.ibm.com>, Vasily Gorbik <gor@linux.ibm.com>, Alexander Gordeev <agordeev@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Sven Schnelle <svens@linux.ibm.com>, Yoshinori Sato <ysato@users.sourceforge.jp>, Rich Felker <dalias@libc.org>, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>, "David S. Miller" <davem@davemloft.net>, Andreas Larsson <andreas@gaisler.com>, Richard Weinberger <richard@nod.at>, Anton Ivanov <anton.ivanov@cambridgegreys.com>, Johannes Berg <johannes@sipsolutions.net>, Chris Zankel <chris@zankel.net>, Max Filippov <jcmvbkbc@gmail.com>, Arnd Bergmann <arnd@arndb.de>, Andrew Morton <akpm@linux-foundation.org>, Juri Lelli <juri.lelli@redhat.com>, Vincent Guittot <vincent.guittot@linaro.org>, Dietmar Eggemann <dietmar.eggemann@arm.com>, Steven Rostedt <rostedt@goodmis.org>, Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>, Valentin Schneider <vschneid@redhat.com>, Uladzislau Rezki <urezki@gmail.com>, Christoph Hellwig <hch@infradead.org>, Masami Hiramatsu <mhiramat@kernel.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Mike Rapoport <rppt@kernel.org>, Arnaldo Carvalho de Melo <acme@kernel.org>, Namhyung Kim <namhyung@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Alexander Shishkin <alexander.shishkin@linux.intel.com>, Jiri Olsa <jolsa@kernel.org>, Ian Rogers <irogers@google.com>, Adrian Hunter <adrian.hunter@intel.com>, Dennis Zhou <dennis@kernel.org>, Tejun Heo <tj@kernel.org>, Christoph Lameter <cl@linux.com>, Sean Christopherson <seanjc@google.com>, Paolo Bonzini <pbonzini@redhat.com>, Ard Biesheuvel <ardb@kernel.org>, Josh Poimboeuf <jpoimboe@kernel.org>, Pawan Gupta <pawan.kumar.gupta@linux.intel.com> Cc: x86@kernel.org, linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-openrisc@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-trace-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, kvm@vger.kernel.org, linux-efi@vger.kernel.org, Brendan Jackman <jackmanb@google.com> Content-Type: text/plain; charset="utf-8" X-Rspamd-Queue-Id: B484410000C X-Stat-Signature: otsw3zjqisjkwepk3gd3f8ttmaymrua3 X-Rspam-User: X-Rspamd-Server: rspam09 X-HE-Tag: 1736534512-475652 X-HE-Meta: U2FsdGVkX1+YOkt69drRslmddxZnqqtUoeyv5QMJFzRT/aKsm+ZpaH9Lh/5ZVT4HzVDQTcJSzDEg8QBKjKb6RfeAsdTVMoj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kc6hnBARu1I4JjONRE2KeYeFhLORcRWGifEssdcPoNxRfc9KWOzBig1OixIXsLJ3TLnA2jKnn7R9ZFmLQ9R4xabjdE7Fg2heE9QgYlQYASKzW0QXODuwaHfsrMMget5xMxmzsZrwzFl6oXjBsvBjP7wW9isHJ8GODq7QbTPX9lzk+I5vbqXQLOo1H+1+4UQ8Iytt6IqHn1TOutr8iMxOqJkAvPOJFQo+VueaOQNZ1v+PEfe66UP18UAEEDzwhjJZwSiiNYkX5ITsuUJ0DBr94zUPzwMjuAtpBqzQl0hx5aSEzviR5T+lzwznIglsrtedmIgigOWqdpwLwG+pP7nqSgjsOdUuD5kyKVzH7V/pjm/d1JWVNLMfkAgx4Ppg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
Address Space Isolation (ASI)
|
expand
|
diff --git a/arch/x86/mm/asi.c b/arch/x86/mm/asi.c index f10f6614b26148e5ba423d8a44f640674573ee40..3e3956326936ea8550308ad004dbbb3738546f9f 100644 --- a/arch/x86/mm/asi.c +++ b/arch/x86/mm/asi.c @@ -207,14 +207,14 @@ void __init asi_check_boottime_disable(void) pr_info("ASI disabled through kernel command line.\n"); } else if (ret == 2 && !strncmp(arg, "on", 2)) { enabled = true; - pr_info("Ignoring asi=on param while ASI implementation is incomplete.\n"); + pr_info("ASI enabled through kernel command line.\n"); } else { pr_info("ASI %s by default.\n", enabled ? "enabled" : "disabled"); } if (enabled) - pr_info("ASI enablement ignored due to incomplete implementation.\n"); + setup_force_cpu_cap(X86_FEATURE_ASI); } /*
At this point the minimum requirements are in place for the kernel to operate correctly with ASI enabled. Signed-off-by: Brendan Jackman <jackmanb@google.com> --- arch/x86/mm/asi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)