From patchwork Wed Oct 9 18:59:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 13829182 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 66191CEE343 for ; Wed, 9 Oct 2024 20:10:05 +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: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-Owner; bh=XKxet43PAr/hYc6VkfRyj2KFksGheEZfDPl0o5yroV8=; b=ZXgbND+MD5xzCao+hVi3bXG/q1 6mvuxZhgIqqgf9rW+mL9WPooN8Ov+VhhN999+tYdg0KGgzt5LCPjDgogidgTftPyV/KGAxWSCjVRg dYqWNQSudXmslxJ9tsveeeGXjtaIaI2xcyOpLDORKvnUcntamF95EfwOKkB5X8vv7TUe0wSParkEg dNMiDYnQIA4uDw31QnWXlIAUPrWBxVhgwxd2t4mDDgMnOd645CVN6568jg4MvYyUs/F7pu5pmzN1k 7vid+9uwd2AJ2SdR7riLNKVxcOIl4OHd5RQMj5Wl9xr3BnQiYlh8azlqaSuDK2Az7X0qxV4vzofA0 RpCJl9vg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syd0E-0000000AZaW-0BLm; Wed, 09 Oct 2024 20:09:46 +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 1sybvQ-0000000ARFc-1Jk6 for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2024 19:00:45 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 115B75C5C26; Wed, 9 Oct 2024 19:00:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E897CC4CECF; Wed, 9 Oct 2024 19:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728500443; bh=MBWM0D7McX9GDlu1l75I+bXhMtl73ItIQYTO8Q7XfS8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pLBdMSuKQ9O4DJgso9R4CZP9UMrx6pEsHucbfh5OyZ1T1suytf/F1kgCKO59239X9 /RTsznin6N4R1OjUn2qWtNV8fOWKusH9TL3+4eC0o/5f44uN05SGWyoAL7KVbEmtAy rpY8SfGUg++hlCMeSArWElI/VfqIkiS+m0LrCmTRdHmyxSXd8G9sO24NSeJC1mnGJc Un+tRANS2h+nfnfr20QpC34Mf+Vf8uvt9TSJp/5kEPV2waxU3r61Fgcbs3vVuE9Pf2 eJDubf2v3kXEU90qO5DKy2FHLpbzi5jgVP2aYuJKehBPAIUu4PdkOJH5iAp+YGTKhi 0n2Wf7tnj26KQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sybvN-001wcY-0Q; Wed, 09 Oct 2024 20:00:41 +0100 From: Marc Zyngier To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org Cc: Joey Gouly , Suzuki K Poulose , Oliver Upton , Zenghui Yu , Alexandru Elisei , Mark Brown Subject: [PATCH v4 02/36] arm64: Remove VNCR definition for PIRE0_EL2 Date: Wed, 9 Oct 2024 19:59:45 +0100 Message-Id: <20241009190019.3222687-3-maz@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20241009190019.3222687-1-maz@kernel.org> References: <20241009190019.3222687-1-maz@kernel.org> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, joey.gouly@arm.com, suzuki.poulose@arm.com, oliver.upton@linux.dev, yuzenghui@huawei.com, alexandru.elisei@arm.com, broonie@kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241009_120044_438248_F21D139B X-CRM114-Status: GOOD ( 11.25 ) 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 As of the ARM ARM Known Issues document 102105_K.a_04_en, D22677 fixes a problem with the PIRE0_EL2 register, resulting in its removal from the VNCR page (it had no purpose being there the first place). Follow the architecture update by removing this offset. Reviewed-by: Joey Gouly Signed-off-by: Marc Zyngier --- arch/arm64/include/asm/vncr_mapping.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/include/asm/vncr_mapping.h b/arch/arm64/include/asm/vncr_mapping.h index 06f8ec0906a6e..4f9bbd4d6c267 100644 --- a/arch/arm64/include/asm/vncr_mapping.h +++ b/arch/arm64/include/asm/vncr_mapping.h @@ -50,7 +50,6 @@ #define VNCR_VBAR_EL1 0x250 #define VNCR_TCR2_EL1 0x270 #define VNCR_PIRE0_EL1 0x290 -#define VNCR_PIRE0_EL2 0x298 #define VNCR_PIR_EL1 0x2A0 #define VNCR_POR_EL1 0x2A8 #define VNCR_ICH_LR0_EL2 0x400