diff options
author | Charlie Jenkins <charlie@rivosinc.com> | 2024-03-08 10:25:58 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-03-13 07:30:31 -0700 |
commit | f413aae96cda059635910c462ede0a8f0385897c (patch) | |
tree | 9422f48bf32e0773bcb23fbd183a6d3989e72d76 /drivers/clocksource/timer-riscv.c | |
parent | 6e5ce7f2eae3c7c36dd1709efaac34820a34d538 (diff) |
riscv: Set unaligned access speed at compile time
Introduce Kconfig options to set the kernel unaligned access support.
These options provide a non-portable alternative to the runtime
unaligned access probe.
To support this, the unaligned access probing code is moved into it's
own file and gated behind a new RISCV_PROBE_UNALIGNED_ACCESS_SUPPORT
option.
Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Link: https://lore.kernel.org/r/20240308-disable_misaligned_probe_config-v9-4-a388770ba0ce@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/clocksource/timer-riscv.c')
0 files changed, 0 insertions, 0 deletions