[PATCH v8 10/14] riscv: add cpufeature handling via alternatives

Heiko Stübner heiko at sntech.de
Fri Apr 8 09:13:39 PDT 2022


Hi Christoph,

Am Donnerstag, 31. März 2022, 12:01:39 CEST schrieb Christoph Hellwig:
> Can you please fold the somewhat confusingly named vendor patching
> into this instead of keeping that magic standalone function pointer
> mess?

I'm not sure it's what you meant, but I did merge patches 10+11
(cpufeatures + svpbmt), as having them separate created build 
warnings / errors, when a bisected build happens (aka up to patch10
but without patch11)

The vendor-patch-func got an overhaul in patch13
"riscv: don't use global static vars to store alternative data"


> > +static const struct cpufeature_info __initdata_or_module cpufeature_list[CPUFEATURE_NUMBER] = {
> > +};
> 
> Overly lone line.

ok, I'll wrap that line


Heiko





More information about the linux-riscv mailing list