linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM: arm64: remove duplicated AA64MMFR1_EL1 XNX
@ 2024-05-01 14:29 Russell King (Oracle)
  2024-05-01 14:39 ` Zenghui Yu
  2024-05-01 15:41 ` Marc Zyngier
  0 siblings, 2 replies; 3+ messages in thread
From: Russell King (Oracle) @ 2024-05-01 14:29 UTC (permalink / raw)
  To: Marc Zyngier, Oliver Upton, Catalin Marinas, Will Deacon
  Cc: James Morse, Suzuki K Poulose, Zenghui Yu, linux-arm-kernel,
	kvmarm

Commit d5a32b60dc18 ("KVM: arm64: Allow userspace to change
ID_AA64MMFR{0-2}_EL1") made certain fields in these registers writable,
but in doing so, ID_AA64MMFR1_EL1_XNX was listed twice. Remove the
duplication.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
---
 arch/arm64/kvm/sys_regs.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm64/kvm/sys_regs.c b/arch/arm64/kvm/sys_regs.c
index 3aa2cedb283a..0cc289b17665 100644
--- a/arch/arm64/kvm/sys_regs.c
+++ b/arch/arm64/kvm/sys_regs.c
@@ -2338,7 +2338,6 @@ static const struct sys_reg_desc sys_reg_descs[] = {
 					ID_AA64MMFR0_EL1_TGRAN16_2)),
 	ID_WRITABLE(ID_AA64MMFR1_EL1, ~(ID_AA64MMFR1_EL1_RES0 |
 					ID_AA64MMFR1_EL1_HCX |
-					ID_AA64MMFR1_EL1_XNX |
 					ID_AA64MMFR1_EL1_TWED |
 					ID_AA64MMFR1_EL1_XNX |
 					ID_AA64MMFR1_EL1_VH |
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] KVM: arm64: remove duplicated AA64MMFR1_EL1 XNX
  2024-05-01 14:29 [PATCH] KVM: arm64: remove duplicated AA64MMFR1_EL1 XNX Russell King (Oracle)
@ 2024-05-01 14:39 ` Zenghui Yu
  2024-05-01 15:41 ` Marc Zyngier
  1 sibling, 0 replies; 3+ messages in thread
From: Zenghui Yu @ 2024-05-01 14:39 UTC (permalink / raw)
  To: Russell King (Oracle)
  Cc: Marc Zyngier, Oliver Upton, Catalin Marinas, Will Deacon,
	James Morse, Suzuki K Poulose, Zenghui Yu, linux-arm-kernel,
	kvmarm

On 2024/5/1 22:29, Russell King (Oracle) wrote:
> Commit d5a32b60dc18 ("KVM: arm64: Allow userspace to change
> ID_AA64MMFR{0-2}_EL1") made certain fields in these registers writable,
> but in doing so, ID_AA64MMFR1_EL1_XNX was listed twice. Remove the
> duplication.
> 
> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>

Reviewed-by: Zenghui Yu <zenghui.yu@linux.dev>

Thanks!

_______________________________________________
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] 3+ messages in thread

* Re: [PATCH] KVM: arm64: remove duplicated AA64MMFR1_EL1 XNX
  2024-05-01 14:29 [PATCH] KVM: arm64: remove duplicated AA64MMFR1_EL1 XNX Russell King (Oracle)
  2024-05-01 14:39 ` Zenghui Yu
@ 2024-05-01 15:41 ` Marc Zyngier
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Zyngier @ 2024-05-01 15:41 UTC (permalink / raw)
  To: Oliver Upton, Catalin Marinas, Will Deacon, Russell King (Oracle)
  Cc: James Morse, Suzuki K Poulose, Zenghui Yu, linux-arm-kernel,
	kvmarm

On Wed, 01 May 2024 15:29:05 +0100, Russell King (Oracle) wrote:
> Commit d5a32b60dc18 ("KVM: arm64: Allow userspace to change
> ID_AA64MMFR{0-2}_EL1") made certain fields in these registers writable,
> but in doing so, ID_AA64MMFR1_EL1_XNX was listed twice. Remove the
> duplication.
> 
> 

Applied to next, thanks!

[1/1] KVM: arm64: remove duplicated AA64MMFR1_EL1 XNX
      commit: e8533e58cae02923e8cbffca516d3d821cee1649

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] 3+ messages in thread

end of thread, other threads:[~2024-05-01 15:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-01 14:29 [PATCH] KVM: arm64: remove duplicated AA64MMFR1_EL1 XNX Russell King (Oracle)
2024-05-01 14:39 ` Zenghui Yu
2024-05-01 15:41 ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).