Re: [PATCH v3 01/17] riscv: cpufeature: Fix thead vector hwcap removal

2024-04-26 Thread Guo Ren
On Sun, Apr 21, 2024 at 9:04 AM Charlie Jenkins wrote: > > The riscv_cpuinfo struct that contains mvendorid and marchid is not > populated until all harts are booted which happens after the DT parsing. > Use the vendorid/archid values from the DT if available or assume all > harts have the same va

[PATCH v3 01/17] riscv: cpufeature: Fix thead vector hwcap removal

2024-04-20 Thread Charlie Jenkins
The riscv_cpuinfo struct that contains mvendorid and marchid is not populated until all harts are booted which happens after the DT parsing. Use the vendorid/archid values from the DT if available or assume all harts have the same values as the boot hart as a fallback. Fixes: d82f32202e0d ("RISC-V