diff mbox series

[06/10] arm64: Remove VNCR definition for PIRE0_EL2

Message ID 20240813144738.2048302-7-maz@kernel.org (mailing list archive)
State New, archived
Headers show
Series KVM: arm64: Add EL2 support to FEAT_S1PIE | expand

Commit Message

Marc Zyngier Aug. 13, 2024, 2:47 p.m. UTC
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.

Signed-off-by: Marc Zyngier <maz@kernel.org>
---
 arch/arm64/include/asm/vncr_mapping.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Joey Gouly Aug. 13, 2024, 3:10 p.m. UTC | #1
On Tue, Aug 13, 2024 at 03:47:34PM +0100, Marc Zyngier wrote:
> 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.
> 
> Signed-off-by: Marc Zyngier <maz@kernel.org>
> ---
>  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 df2c47c55972..9e593bb60975 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_ICH_LR0_EL2        0x400
>  #define VNCR_ICH_LR1_EL2        0x408

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
diff mbox series

Patch

diff --git a/arch/arm64/include/asm/vncr_mapping.h b/arch/arm64/include/asm/vncr_mapping.h
index df2c47c55972..9e593bb60975 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_ICH_LR0_EL2        0x400
 #define VNCR_ICH_LR1_EL2        0x408