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 02EB5C43217 for ; Sat, 12 Nov 2022 15:19:10 +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=bfC0MkbTZojfIV bhCMJS+d5aC98iBYHbRgmRuZNol58/vQyIDdjgYiVjO9yulRuclWY58CS/UrVA3GPh9gIlsjM+PmR ABs+PTQBsH01ffUn0JL/E3xjeYaF901oW5A08GbXqBz8buJJU4p8UDunIG2JXA6Fgy7+4kQasSEDV 1cvwh5qYa+OO8bAzxUL8BVSSf07idYiLtE5hOXgzboloZXlp7WUKfYT6q8BltUxSKzsWp2gOH/4aJ nOIg5+dJ4ijVcb07c9q8APncDcVr915yBUYRMaC+wSChqUi4JSL6vr/09zd7TmYtGfCcjwx4aIwbe mPkexgSjfvKm5zrUEHHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsGY-006J3Y-HM; Sat, 12 Nov 2022 15:17:54 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1otsGQ-006IzP-1M for linux-arm-kernel@lists.infradead.org; Sat, 12 Nov 2022 15:17:47 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 94CE960C0F; Sat, 12 Nov 2022 15:17:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB833C43140; Sat, 12 Nov 2022 15:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668266265; bh=9uH1u6Lsa0+mQmDD5I8n2S2ulCJS9FJ7qCby/v7w4DA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rVbkA5mLJ4gQHsGadEKzYbth5tb+2F6lV+zAONfvR1TzuLLraHLE9Ld2I+n0m48yA 7lBXuy55nUb1VaVj0CU+V8OiSNwNNYU+sHq8b9Vk0hfdob3bnzfyg9Dtq2ZzDEZmHD zdmzjo+Ibo+0cWMXQ9N4hlVIPVn9yLpFmT+X2ftMe/ZoB1+DTrEaZF0bQiypXIZYop xmt6CvsQQosgFp3cdqVia2dySKdVH34/lHBJCN8w/QyfjSksB2hx8PmCyEGV4OPXoH Y8NGPv5GCgqF+iomCtwhEcyOMl+Sa8Ygjoo/032Bjtjl3xnUZgVNP3QFxBrrbFZP7j O/GJgTHtus2ag== 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, kvmarm@lists.linux.dev, Mark Brown Subject: [PATCH v2 01/14] arm64/booting: Document boot requirements for FEAT_NMI Date: Sat, 12 Nov 2022 15:16:55 +0000 Message-Id: <20221112151708.175147-2-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221112151708.175147-1-broonie@kernel.org> References: <20221112151708.175147-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=owGbwMvMwMWocq27KDak/QLjabUkhuT8Hc/OXJQLZ0tf0aZ266m9i82dvcH39G7rFswt6VB49vbJ BBG5TkZjFgZGLgZZMUWWtc8yVqWHS2yd/2j+K5hBrEwgUxi4OAVgImtr2f+Zy6XKRNt8WW+YkH4/71 2Vif7BmR5lkuuFHDqlRSc5OE1anMDFUrvf8cvsYy8u7OgTkRdgz2Tx6ZDis+VOZb1VukDqjE2cMeOj FoHC0oeZOtcv5rHfK26ef7ffL7JR+25PTmuI6YPNfq8/2VQer3kepnNj6aRZj5MurWbZeYlFLzPigY 0h67eztc4l2luMdLoO9x/MPcG60KXz59uCtReuy7JoaO9oWFit+/SK+MPpGucYendzrFkif3/OG/Fk ruXr7P12vn6UtnfPCXb2oLqFN8M+SdjKTPSw2xvDtW6eLEOlgoyrQlVlV8ncTE6fnR/NvmgHPepvPL aoxGPW4vjE5FCjhrLAtNboNZeUAQ== 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-20221112_071746_139254_6FE0C3D1 X-CRM114-Status: GOOD ( 11.82 ) 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