Re: [PATCH v9 15/22] KVM: arm64: pkvm: Drop AArch32-specific registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 13, 2021 at 01:03:39PM +0100, Marc Zyngier wrote:
> All the SYS_*32_EL2 registers are AArch32-specific. Since we forbid
> AArch32, there is no need to handle those in any way.
> 
> Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
> ---
>  arch/arm64/kvm/hyp/nvhe/sys_regs.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/arch/arm64/kvm/hyp/nvhe/sys_regs.c b/arch/arm64/kvm/hyp/nvhe/sys_regs.c
> index 042a1c0be7e0..e2b3a9e167da 100644
> --- a/arch/arm64/kvm/hyp/nvhe/sys_regs.c
> +++ b/arch/arm64/kvm/hyp/nvhe/sys_regs.c
> @@ -452,10 +452,6 @@ static const struct sys_reg_desc pvm_sys_reg_descs[] = {
>  	HOST_HANDLED(SYS_CNTP_CVAL_EL0),
>  
>  	/* Performance Monitoring Registers are restricted. */
> -
> -	HOST_HANDLED(SYS_DACR32_EL2),
> -	HOST_HANDLED(SYS_IFSR32_EL2),
> -	HOST_HANDLED(SYS_FPEXC32_EL2),
>  };
>  
>  /*
> -- 
> 2.30.2
>

Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux