Skip to content

riscv: Add macro for multiple nop instructions

Heiko Stuebner linux-riscv lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2riscv: introduce nops and __nops macros for NOP sequencesarch/riscv/include/asm/asm.h arch/riscv/include/asm/barrier.h+17 -00 replies
2/2riscv: convert the t-head pbmt errata to use the __nops macroarch/riscv/include/asm/errata_list.h+1 -70 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGuo Ren
SeriesR-b
1/2
2/2

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/2] riscv: Add macro for multiple nop instructions

Some cases need multiple nop instructions and arm64 already has a nice helper for not needing to write all of them out but instead use a helper to add n nops.

So add a similar thing to riscv and convert the T-Head PMA alternative to use it.

Heiko Stuebner (2):
riscv: introduce nops and __nops macros for NOP sequences
riscv: convert the t-head pbmt errata to use the __nops macro

 arch/riscv/include/asm/asm.h         | 15 +++++++++++++++
 arch/riscv/include/asm/barrier.h     |  2 ++
 arch/riscv/include/asm/errata_list.h |  8 +-------
 3 files changed, 18 insertions(+), 7 deletions(-)
Signature · 1 line
2.35.1