Skip to content

riscv: alternative/cpufeature related cleanups

Andrew Jones linux-riscv 2 versions – Applied

Status from this message: This series was applied to riscv/linux.git (for-next)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesApplied 6/6
  2. v15 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on latest riscv-linux/for-next
- Add a new patch to reword the help text for RISCV_ALTERNATIVE as suggested by Conor
- Snuck a comment cleanup into the errata_id -> patch_id patch
- Reworded commit message of the last patch [Conor]
- picked up R-b's from Conor and Heiko

Patches in v2 All 6 applied

#Subject and filesSizeRepliesApplied
1/6riscv: Clarify RISCV_ALTERNATIVE help textarch/riscv/Kconfig+2 -20 repliesApplied
2/6riscv: Rename Kconfig.erratas to Kconfig.errataarch/riscv/Kconfig arch/riscv/Kconfig.errata+1 -12 repliesApplied
3/6riscv: alternatives: Remove unnecessary define and unused structarch/riscv/errata/sifive/errata.c arch/riscv/include/asm/alternative.h+1 -80 repliesApplied
4/6riscv: alternatives: Rename errata_id to patch_idarch/riscv/Kconfig arch/riscv/errata/sifive/errata.c arch/riscv/errata/thead/errata.c +3 more+49 -490 repliesApplied
5/6riscv: lib: Include hwcap.h directlyarch/riscv/lib/strcmp.S arch/riscv/lib/strlen.S arch/riscv/lib/strncmp.S+3 -60 repliesApplied
6/6riscv: cpufeature: Drop errata_list.h and other unused includesarch/riscv/kernel/cpufeature.c+0 -50 repliesApplied

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchConor DooleyHeiko Stuebner
1/6
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/6] riscv: alternative/cpufeature related cleanups

This series has no intended functional change. These cleanups were found while renaming errata_id to patch_id in order to better convey that its purpose is larger than errata (it's also for cpufeatures).

Based on riscv-linux/for-next

Thanks,
drew

v2:
- Rebased on latest riscv-linux/for-next
- Add a new patch to reword the help text for RISCV_ALTERNATIVE as suggested by Conor
- Snuck a comment cleanup into the errata_id -> patch_id patch
- Reworded commit message of the last patch [Conor]
- picked up R-b's from Conor and Heiko

Andrew Jones (6):
riscv: Clarify RISCV_ALTERNATIVE help text
riscv: Rename Kconfig.erratas to Kconfig.errata
riscv: alternatives: Remove unnecessary define and unused struct
riscv: alternatives: Rename errata_id to patch_id
riscv: lib: Include hwcap.h directly
riscv: cpufeature: Drop errata_list.h and other unused includes

 arch/riscv/Kconfig                            |  8 +--
 .../riscv/{Kconfig.erratas => Kconfig.errata} |  0
 arch/riscv/errata/sifive/errata.c             |  8 +--
 arch/riscv/errata/thead/errata.c              |  4 +-
 arch/riscv/include/asm/alternative-macros.h   | 72 +++++++++----------
 arch/riscv/include/asm/alternative.h          | 11 +--
 arch/riscv/kernel/cpufeature.c                | 11 +--
 arch/riscv/lib/strcmp.S                       |  3 +-
 arch/riscv/lib/strlen.S                       |  3 +-
 arch/riscv/lib/strncmp.S                      |  3 +-
 10 files changed, 54 insertions(+), 69 deletions(-)
 rename arch/riscv/{Kconfig.erratas => Kconfig.errata} (100%)
Signature · 7 lines
2.39.1


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv