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 96CEECF31B0 for ; Wed, 2 Oct 2024 10:41:42 +0000 (UTC) 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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MkWk1GuBovFganyK2EEKMV3NDhekMmCKIeac6cNu9aQ=; b=Emx21x0LeNm9sqEI8ARy24jRPL ZRGgpXPDesD0b7rHQXqnrqmskv6//SJ1KFTS792i5iUeYRjnNUCPbKQbf09iV6faUjt6A0IFAsdy6 CSrKdJqEWVMPo3Fmg5fbWYhsfhUuYnMRwZV8XzKYg1T31xiz6NTHszR3gnNSfp04h01OofNnrvGVV tIXoi3v/wrJVUbgDMq5RnBgMw5jBqDOgvr2LL5IJp/o/mVSyr6T4UWQwdMHeBE0cBmhiwkDTyneSl PKJqxzA12uSLkfaUrRGhto8BY7v6Y/oUW1c/J7Ivw8QCPPhYrowAdGYYouDMDRwNVH3D7bhN9Zicc VS7zXP1g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svwnS-00000005WeW-1ZKO; Wed, 02 Oct 2024 10:41:30 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svwku-00000005WDB-1wAJ for linux-arm-kernel@lists.infradead.org; Wed, 02 Oct 2024 10:38:53 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0C36A5C4186; Wed, 2 Oct 2024 10:38:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7801C4CEC5; Wed, 2 Oct 2024 10:38:44 +0000 (UTC) Date: Wed, 2 Oct 2024 11:38:42 +0100 From: Catalin Marinas To: Kristina Martsenko Cc: "linux-arm-kernel@lists.infradead.org" , Will Deacon , Mark Rutland , Robin Murphy , Marc Zyngier Subject: Re: [PATCH 3/5] arm64: mops: Document booting requirement for HCR_EL2.MCE2 Message-ID: References: <20240930161051.3777828-1-kristina.martsenko@arm.com> <20240930161051.3777828-4-kristina.martsenko@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240930161051.3777828-4-kristina.martsenko@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241002_033852_585999_DF0364CD X-CRM114-Status: GOOD ( 10.57 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Sep 30, 2024 at 05:10:49PM +0100, Kristina Martsenko wrote: > diff --git a/Documentation/arch/arm64/booting.rst b/Documentation/arch/arm64/booting.rst > index b57776a68f15..db46af5b9f0f 100644 > --- a/Documentation/arch/arm64/booting.rst > +++ b/Documentation/arch/arm64/booting.rst > @@ -385,6 +385,9 @@ Before jumping into the kernel, the following conditions must be met: > > - HCRX_EL2.MSCEn (bit 11) must be initialised to 0b1. > > + - HCRX_EL2.MCE2 (bit 10) must be initialised to 0b1. The exception > + handler must set PSTATE.SS to 0b0. That's a booting document, do we need to specify the single-step exception? -- Catalin