* [PATCH] KVM: arm64: Drop HCR_VIRT_EXCP_MASK
@ 2023-07-24 14:22 Zenghui Yu
2023-07-26 0:43 ` Oliver Upton
2023-07-28 11:04 ` Marc Zyngier
0 siblings, 2 replies; 4+ messages in thread
From: Zenghui Yu @ 2023-07-24 14:22 UTC (permalink / raw)
To: kvmarm, linux-arm-kernel
Cc: maz, oliver.upton, james.morse, suzuki.poulose, wanghaibin.wang,
Zenghui Yu
This was introduced in commit 0369f6a34b9f ("arm64: KVM: EL2 register
definitions") and for more than 10 years nobody used. Remove it.
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
---
arch/arm64/include/asm/kvm_arm.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm64/include/asm/kvm_arm.h b/arch/arm64/include/asm/kvm_arm.h
index 58e5eb27da68..d04ef89ca6a0 100644
--- a/arch/arm64/include/asm/kvm_arm.h
+++ b/arch/arm64/include/asm/kvm_arm.h
@@ -89,7 +89,6 @@
HCR_BSU_IS | HCR_FB | HCR_TACR | \
HCR_AMO | HCR_SWIO | HCR_TIDCP | HCR_RW | HCR_TLOR | \
HCR_FMO | HCR_IMO | HCR_PTW | HCR_TID3)
-#define HCR_VIRT_EXCP_MASK (HCR_VSE | HCR_VI | HCR_VF)
#define HCR_HOST_NVHE_FLAGS (HCR_RW | HCR_API | HCR_APK | HCR_ATA)
#define HCR_HOST_NVHE_PROTECTED_FLAGS (HCR_HOST_NVHE_FLAGS | HCR_TSC)
#define HCR_HOST_VHE_FLAGS (HCR_RW | HCR_TGE | HCR_E2H)
--
2.33.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] KVM: arm64: Drop HCR_VIRT_EXCP_MASK
2023-07-24 14:22 [PATCH] KVM: arm64: Drop HCR_VIRT_EXCP_MASK Zenghui Yu
@ 2023-07-26 0:43 ` Oliver Upton
2023-07-28 11:04 ` Marc Zyngier
1 sibling, 0 replies; 4+ messages in thread
From: Oliver Upton @ 2023-07-26 0:43 UTC (permalink / raw)
To: Zenghui Yu
Cc: kvmarm, linux-arm-kernel, maz, james.morse, suzuki.poulose,
wanghaibin.wang
On Mon, Jul 24, 2023 at 10:22:57PM +0800, Zenghui Yu wrote:
> This was introduced in commit 0369f6a34b9f ("arm64: KVM: EL2 register
> definitions") and for more than 10 years nobody used. Remove it.
>
> Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
> ---
> arch/arm64/include/asm/kvm_arm.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm64/include/asm/kvm_arm.h b/arch/arm64/include/asm/kvm_arm.h
> index 58e5eb27da68..d04ef89ca6a0 100644
> --- a/arch/arm64/include/asm/kvm_arm.h
> +++ b/arch/arm64/include/asm/kvm_arm.h
> @@ -89,7 +89,6 @@
> HCR_BSU_IS | HCR_FB | HCR_TACR | \
> HCR_AMO | HCR_SWIO | HCR_TIDCP | HCR_RW | HCR_TLOR | \
> HCR_FMO | HCR_IMO | HCR_PTW | HCR_TID3)
> -#define HCR_VIRT_EXCP_MASK (HCR_VSE | HCR_VI | HCR_VF)
> #define HCR_HOST_NVHE_FLAGS (HCR_RW | HCR_API | HCR_APK | HCR_ATA)
> #define HCR_HOST_NVHE_PROTECTED_FLAGS (HCR_HOST_NVHE_FLAGS | HCR_TSC)
> #define HCR_HOST_VHE_FLAGS (HCR_RW | HCR_TGE | HCR_E2H)
> --
> 2.33.0
>
--
Thanks,
Oliver
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] KVM: arm64: Drop HCR_VIRT_EXCP_MASK
2023-07-24 14:22 [PATCH] KVM: arm64: Drop HCR_VIRT_EXCP_MASK Zenghui Yu
@ 2023-07-28 11:04 ` Marc Zyngier
2023-07-28 11:04 ` Marc Zyngier
1 sibling, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2023-07-28 11:04 UTC (permalink / raw)
To: linux-arm-kernel, kvmarm, Zenghui Yu
Cc: oliver.upton, wanghaibin.wang, suzuki.poulose, james.morse
On Mon, 24 Jul 2023 22:22:57 +0800, Zenghui Yu wrote:
> This was introduced in commit 0369f6a34b9f ("arm64: KVM: EL2 register
> definitions") and for more than 10 years nobody used. Remove it.
Applied to next, thanks!
[1/1] KVM: arm64: Drop HCR_VIRT_EXCP_MASK
commit: e21f3905f98ff1f72b06614440c2be93fda58b44
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] KVM: arm64: Drop HCR_VIRT_EXCP_MASK
@ 2023-07-28 11:04 ` Marc Zyngier
0 siblings, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2023-07-28 11:04 UTC (permalink / raw)
To: linux-arm-kernel, kvmarm, Zenghui Yu
Cc: oliver.upton, wanghaibin.wang, suzuki.poulose, james.morse
On Mon, 24 Jul 2023 22:22:57 +0800, Zenghui Yu wrote:
> This was introduced in commit 0369f6a34b9f ("arm64: KVM: EL2 register
> definitions") and for more than 10 years nobody used. Remove it.
Applied to next, thanks!
[1/1] KVM: arm64: Drop HCR_VIRT_EXCP_MASK
commit: e21f3905f98ff1f72b06614440c2be93fda58b44
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-07-28 11:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-24 14:22 [PATCH] KVM: arm64: Drop HCR_VIRT_EXCP_MASK Zenghui Yu
2023-07-26 0:43 ` Oliver Upton
2023-07-28 11:04 ` Marc Zyngier
2023-07-28 11:04 ` Marc Zyngier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.