On Wed Nov 18, 2026 at 3:04 AM GMT, Peixin Xie wrote: > During early ISA-string parsing, the boot hart stores its mvendorid > and marchid in riscv_cpuinfo. This happens before setup_per_cpu_areas(), > which copies the static per-CPU data to each CPU's allocated area. > > When riscv_cpuinfo_starting() runs on the other harts, the copied IDs > are already nonzero, so it skips reading their own IDs. As a result, > secondary harts can retain the boot hart's IDs. > > Read mvendorid and marchid unconditionally on each hart, as already > done for mimpid. > > Fixes: e482eab4d1eb ("riscv: cpufeature: Fix thead vector hwcap removal") > Cc: stable@vger.kernel.org > Signed-off-by: Peixin Xie Reviewed-by: Troy Mitchell -- Troy Mitchell