All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64/kvm: use SYS_REG_DESC() for VGIC-v3
@ 2017-06-05 13:19 ` Mark Rutland
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Rutland @ 2017-06-05 13:19 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: marc.zyngier, catalin.marinas, will.deacon, kvmarm

While looking around, I spotted that the VGIC-v3 code still uses open-coded SYS
encodings. These patches migrate said code to use common <asm/sysreg.h>
mnemonics, as we do for the rest of the AArch64 sysregs.

This is based on Marc's kvm-arm64/gicv3-cpuif-mediated-access branch [1].

Thanks,
Mark.

[1] git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git kvm-arm64/gicv3-cpuif-mediated-access

Mark Rutland (2):
  arm64/kvm: sysreg: fix typo'd SYS_ICC_IGRPEN*_EL1
  arm64/kvm: vgic: use SYS_DESC()

 arch/arm64/include/asm/arch_gicv3.h |  2 +-
 arch/arm64/include/asm/sysreg.h     | 12 ++++++++--
 arch/arm64/kvm/vgic-sys-reg-v3.c    | 45 +++++++++++++------------------------
 virt/kvm/arm/hyp/vgic-v3-sr.c       |  4 ++--
 4 files changed, 28 insertions(+), 35 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2017-06-06 14:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-05 13:19 [PATCH 0/2] arm64/kvm: use SYS_REG_DESC() for VGIC-v3 Mark Rutland
2017-06-05 13:19 ` Mark Rutland
2017-06-05 13:20 ` [PATCH 1/2] arm64/kvm: sysreg: fix typo'd SYS_ICC_IGRPEN*_EL1 Mark Rutland
2017-06-05 13:20   ` Mark Rutland
2017-06-05 13:20 ` [PATCH 2/2] arm64/kvm: vgic: use SYS_DESC() Mark Rutland
2017-06-05 13:20   ` Mark Rutland
2017-06-06 13:46 ` [PATCH 0/2] arm64/kvm: use SYS_REG_DESC() for VGIC-v3 Christoffer Dall
2017-06-06 13:46   ` Christoffer Dall
2017-06-06 14:46   ` Will Deacon
2017-06-06 14:46     ` Will Deacon

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.