Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 43BB1606A31C for ; Mon, 30 Nov 2026 15:57:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=JAUJeqlu; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=sNWjSC+c DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=06WxKnQvop6UT94EP85+QxBk7rHfPWQdAUArJZL8TY4=; b=JAUJeqlu0zgXoB iIg3hD8b2cSRdL+KtTg/QEgX+CX+3eR8WMRG72FOTEsQpQVUV/aqe0AowUrJGQemJd3Xc6KOoi8cu WP2bLk1A1itctqwYp5gWaQxH25rAQ2D+qPKBUvNiFncHhLQreQEkYUMJJfHKXTwllVqruA/2uN/9O 84sTsIvB/BQrqGDnYQ6CDCf3lYd8OQbzIvYaQMVYoVfJTSg9uM8Jk6e9PKEyxvyo2MPFtlktOmIQo W+SKHqF9OEBgvw36rc1BHuM/dDfX2Zy1lAqvfbFVVfp1H5RKwke70uOadIJvvjEdbFuMQYOrJQXaD jHMbPT8Dv4pBekTP8aDA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY3kr-00000005780-2TSW; Mon, 30 Nov 2026 15:57:25 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xY3jv-000000056YH-4Bht for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2026 15:56:32 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B901C1655; Mon, 30 Nov 2026 07:56:24 -0800 (PST) Received: from login2.euhpc2.arm.com (login2.euhpc2.arm.com [10.58.100.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id CD27F3F86F; Mon, 30 Nov 2026 07:56:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796054187; bh=nsJXfxMEzD7+L0Fh74W9qo+rYrw4gGDfbDPGFSRN5lc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sNWjSC+cyPn1yvKpnEYFICi/OES2bVeMynp/AzUETgoezBG92543PLuqihmy8l4jF EtYKOebZi6dyW378l/PHGn4FyEhF31MzrwBLSgywb0L3FIJQlaFVLLrRsKEQ6U89wX /D865YqGKtvPeJdXkrBj2OAjoGtFRDv73FWgsb1Y= From: Vladimir Murzin To: linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, will@kernel.org, mark.rutland@arm.com, lpieralisi@kernel.org, ruanjinjie@huawei.com, liaochang1@huawei.com, ashok.raj@oss.qualcomm.com, maz@kernel.org, kas@kernel.org Subject: [PATCH v3 23/44] arm64: booting: Document boot requirements for FEAT_NMI Date: Mon, 30 Nov 2026 15:54:45 +0000 Message-Id: <20261130155506.118408-24-vladimir.murzin@arm.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20261130155506.118408-1-vladimir.murzin@arm.com> References: <20261130155506.118408-1-vladimir.murzin@arm.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261130_075629_271351_AF57B6AE X-CRM114-Status: GOOD ( 10.02 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-18.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 From: Mark Brown In order to use FEAT_NMI we must be able to use ALLINT, require that it behave as though not trapped when it is present. Signed-off-by: Mark Brown Signed-off-by: Ada Couprie Diaz Signed-off-by: Vladimir Murzin Reviewed-by: Jinjie Ruan Tested-by: Jinjie Ruan --- Documentation/arch/arm64/booting.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/arch/arm64/booting.rst b/Documentation/arch/arm64/booting.rst index dae5ff9fae26..344a4305669a 100644 --- a/Documentation/arch/arm64/booting.rst +++ b/Documentation/arch/arm64/booting.rst @@ -569,6 +569,12 @@ Before jumping into the kernel, the following conditions must be met: - HCRX_EL2.EnASR (bit 2) must be initialised to 0b1. + For CPUs with support for Non-maskable Interrupts (FEAT_NMI): + + - If the kernel is entered at EL1 and EL2 is present: + + - HCRX_EL2.TALLINT (bit 6) must be initialised to 0b0. + The requirements described above for CPU mode, caches, MMUs, architected timers, coherency and system registers apply to all CPUs. All CPUs must enter the kernel in the same exception level. Where the values documented -- 2.34.1