Skip to content

Further NOP/sysreg cleanups

Will Deacon linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6arm64: sysreg: replace open-coded mrs_s/msr_s with {read, write}_sysreg_sarch/arm64/include/asm/cputype.h arch/arm64/include/asm/sysreg.h+17 -51 reply
2/6arm64: barriers: introduce nops and __nops macros for NOP sequencesarch/arm64/include/asm/assembler.h arch/arm64/include/asm/barrier.h+12 -00 replies
3/6arm64: lse: convert lse alternatives NOP padding to use __nopsarch/arm64/include/asm/atomic_lse.h arch/arm64/include/asm/cmpxchg.h arch/arm64/include/asm/spinlock.h+39 -560 replies
4/6arm64: KVM: Move GIC accessors to arch_gicv3.harch/arm64/include/asm/arch_gicv3.h arch/arm64/kvm/hyp/vgic-v3-sr.c+13 -130 replies
5/6irqchip/gic-v3: Convert arm64 GIC accessors to {read, write}_sysreg_sarch/arm64/include/asm/arch_gicv3.h+17 -280 replies
6/6irqchip/gic-v3: Use nops macro for Cavium ThunderX erratum 23154arch/arm64/include/asm/arch_gicv3.h+2 -70 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchMark Rutland
1/6R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] Further NOP/sysreg cleanups

There's clearly something going round our office, as both Rutland and I ended up doing some mundane NOP and sysreg cleanups for the arm64 headers.

I plan to queue the first three patches here, but the GIC stuff can wait, as it depends on Vladimir's patch (included here for completeness) and this is hardly urgent.

Will

--->8

Vladimir Murzin (1):
arm64: KVM: Move GIC accessors to arch_gicv3.h

Will Deacon (5):
arm64: sysreg: replace open-coded mrs_s/msr_s with
{read,write}_sysreg_s
arm64: barriers: introduce nops and __nops macros for NOP sequences
arm64: lse: convert lse alternatives NOP padding to use __nops irqchip/gic-v3: Convert arm64 GIC accessors to {read,write}_sysreg_s irqchip/gic-v3: Use nops macro for Cavium ThunderX erratum 23154

 arch/arm64/include/asm/arch_gicv3.h | 33 +++++++++----------
 arch/arm64/include/asm/assembler.h  |  9 ++++++
 arch/arm64/include/asm/atomic_lse.h | 64 ++++++++++++++++---------------------
 arch/arm64/include/asm/barrier.h    |  3 ++
 arch/arm64/include/asm/cmpxchg.h    |  4 +--
 arch/arm64/include/asm/cputype.h    |  6 +---
 arch/arm64/include/asm/spinlock.h   | 27 +++++++---------
 arch/arm64/include/asm/sysreg.h     | 16 ++++++++++
 arch/arm64/kvm/hyp/vgic-v3-sr.c     | 13 --------
 9 files changed, 83 insertions(+), 92 deletions(-)
Signature · 1 line
2.1.4