diff options
| author | Charlie Jenkins <[email protected]> | 2024-05-03 04:50:50 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-05-22 16:41:02 +0000 |
| commit | e482eab4d1eb31031eff2b6afb71776483101979 (patch) | |
| tree | eff55df23649d9ad65b80a0731c6283a1333bf84 /net/unix/af_unix.c | |
| parent | Linux 6.9-rc1 (diff) | |
| download | kernel-e482eab4d1eb31031eff2b6afb71776483101979.tar.gz kernel-e482eab4d1eb31031eff2b6afb71776483101979.zip | |
riscv: cpufeature: Fix thead vector hwcap removal
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 mvendorid/marchid from the boot hart to determine if the DT
contains an invalid V.
Fixes: d82f32202e0d ("RISC-V: Ignore V from the riscv,isa DT property on older T-Head CPUs")
Signed-off-by: Charlie Jenkins <[email protected]>
Reviewed-by: Conor Dooley <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
