From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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.lore.kernel.org (Postfix) with ESMTPS id A865BC433FE for ; Fri, 4 Nov 2022 23:56:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=KM2YdArqWvqtPbimJZ/vnpho0eTr/wyTCrnE/t9DU9A=; b=bEpUIWCvplaSQD pEjZiqcPlSbZVHv8scZU69/pZp5Up3AkT0nYHiis5MM0S3DaVYwVnmgUQgHTRXa+RauQ74kr4bSbq xklfb5iUIhSqUGMaUu5Y8x0/ZTMW0iY8nMnI6EbZ2pESDU6JLibBYR/iO92Sk+mCANucraIxj8XXR NcOlDwj+EQyCUk91QS32YPno7ZiWiDgvSL8Dw2boTSgE+99NMJ1NtBS1DCnH/M9CLQL4/aqb8Zn6M +8mZ5fpTJ/aCS5M5nwmzFGsENAtAkA+La6HKuJIJE6E7vQWnatOX1ZCkDMMTH5iDpoBboV/Gpy3Xg RvPN8WeUv6mlJQ+EkYzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1or6Wo-005WeI-TC; Fri, 04 Nov 2022 23:55:14 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1or6Wg-005Wc3-AX for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2022 23:55:07 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B3129B82FF0; Fri, 4 Nov 2022 23:55:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C95FC43470; Fri, 4 Nov 2022 23:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667606103; bh=9uH1u6Lsa0+mQmDD5I8n2S2ulCJS9FJ7qCby/v7w4DA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H3mT/OI0N+nfUMXbUoQnd2Nx1ir8UiBixpmpNe6bVubqRgJfnXoOlJ7YeOpLZYIYZ BTAmfblSN5sW5egGtCdTqNe52aYF0YZM5wjhrg3wf8BfqpBfcxi0wNETlQaPI1U4eW 3Z3ilYwmy0wc7nCiSTyQh+SERmj3lP0l8eBO2VzLh0kCRkyi5EfAo1gOcJpkxRYSBd 8V4sWe4NI9gP6uimKsZAe5/P8i8XS2n3THlmdMDVudv/jnVm2Q9PNo9mKyzmkXdtP9 O+2Gpyi/GK1Qze70TT4G2/7zYRXdrQyFE69zPFkcNH2AlVY6KxHv5mxWB8pbhhmjL3 oeT/SYMKiTFUQ== From: Mark Brown To: Catalin Marinas , Will Deacon , Marc Zyngier Cc: Lorenzo Pieralisi , Mark Rutland , Sami Mujawar , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 01/18] arm64/booting: Document boot requirements for FEAT_NMI Date: Fri, 4 Nov 2022 23:54:36 +0000 Message-Id: <20221104235453.870573-2-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221104235453.870573-1-broonie@kernel.org> References: <20221104235453.870573-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1024; i=broonie@kernel.org; h=from:subject; bh=9uH1u6Lsa0+mQmDD5I8n2S2ulCJS9FJ7qCby/v7w4DA=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBjZaY8zNEeVwZnqIYm2uU/RDzcvVPeLtstcJ10iCDm 7eSQFB6JATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY2WmPAAKCRAk1otyXVSH0NQCB/ 0e/gWj4E9igNGsqpuG/GYV7v8jTH2v62lMVYhG8UOWwLY6fBp1dMy1SzT8Y3oLHIPpb0BQTcC3t+I6 9GBKHyMx1HM5Cd03xHfUKF4B2KaunIAE1ro8LchseUt2F6XrgBrcdp5avj91Dl17W7Av32LrnpxVl7 5apgabLb5tMnaXC9zak/S21xmvUxQE9I7CYKHgoRa5o0GkGZpl9r6ivePMCrbbhPpI0RSkbVTG3vNd PFrdz0olZupvIbiB4zaQTXMoucVMtwff4auXv9TyomjcX0xQW638szPg7Tbpz9O3i/R2eNr2/WFo3c zV7cYyGDxDzpJ44+ZcaFwITa1VGD6v X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221104_165506_528230_A9054599 X-CRM114-Status: GOOD ( 12.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- Documentation/arm64/booting.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/arm64/booting.rst b/Documentation/arm64/booting.rst index 8aefa1001ae5..77d037bc7bf3 100644 --- a/Documentation/arm64/booting.rst +++ b/Documentation/arm64/booting.rst @@ -360,6 +360,12 @@ Before jumping into the kernel, the following conditions must be met: - HCR_EL2.ATA (bit 56) must be initialised to 0b1. + For CPUs with Non-maskable Interrupts (FEAT_NMI): + + - If the kernel is entered at EL1 and EL2 is present: + + - HCRX_EL2.TALLINT 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.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel