Re: [PATCH v2 0/5] riscv: some svpbmt fixes

From: Palmer Dabbelt
Date: Thu Jun 16 2022 - 19:03:46 EST


On Thu, 26 May 2022 13:56:41 PDT (-0700), heiko@xxxxxxxxx wrote:
Some additionals comments and notes from autobuilders received
after the series got applied, warranted some changes.

So this is a small collection of cleanups for the svpbmt v10 series.

changes in v2:
- add Guo's Review
- add patch dropping the use of function pointers in code
that can run before relocation

Heiko Stuebner (5):
riscv: drop cpufeature_apply_feature tracking variable
riscv: Improve description for RISCV_ISA_SVPBMT Kconfig symbol
riscv: make patch-function pointer more generic in
cpu_manufacturer_info struct
riscv: fix dependency for t-head errata
riscv: remove usage of function-pointers from cpufeatures and t-head
errata

arch/riscv/Kconfig | 9 ++++++--
arch/riscv/Kconfig.erratas | 1 +
arch/riscv/errata/thead/errata.c | 38 ++++++++++----------------------
arch/riscv/kernel/alternative.c | 18 +++++++--------
arch/riscv/kernel/cpufeature.c | 37 +++++++++----------------------
5 files changed, 40 insertions(+), 63 deletions(-)

IMO only three of these are actually fixes, the rest are cleanups. I've got ahead and put everything on a branch, with

riscv: Improve description for RISCV_ISA_SVPBMT Kconfig symbol
riscv: drop cpufeature_apply_feature tracking variable
riscv: fix dependency for t-head errata

first. Those are on fixes, the whole thing is in for-next.

Thanks!