diff options
author | Evan Green <evan@rivosinc.com> | 2023-04-07 16:10:58 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-04-18 15:48:03 -0700 |
commit | ff77cf5b2e033d0bb5e3b7f83ebf65c5adc20d12 (patch) | |
tree | 4ec62272a9dafefb45b548919808ef8a7d97ef10 /arch/riscv/include/uapi/asm/hwprobe.h | |
parent | fe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff) | |
download | lwn-ff77cf5b2e033d0bb5e3b7f83ebf65c5adc20d12.tar.gz lwn-ff77cf5b2e033d0bb5e3b7f83ebf65c5adc20d12.zip |
RISC-V: Move struct riscv_cpuinfo to new header
In preparation for tracking and exposing microarchitectural details to
userspace (like whether or not unaligned accesses are fast), move the
riscv_cpuinfo struct out to its own new cpufeatures.h header. It will
need to be used by more than just cpu.c.
Signed-off-by: Evan Green <evan@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Tested-by: Heiko Stuebner <heiko.stuebner@vrull.eu>
Reviewed-by: Paul Walmsley <paul.walmsley@sifive.com>
Link: https://lore.kernel.org/r/20230407231103.2622178-2-evan@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/uapi/asm/hwprobe.h')
0 files changed, 0 insertions, 0 deletions