diff options
author | Clément Léger <cleger@rivosinc.com> | 2023-10-04 18:14:04 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-11-01 18:34:58 +0300 |
commit | 71c54b3d169db5569655cbd2a3616bc701fd5eec (patch) | |
tree | de1ee9896df1b6c8372e235d9119cc4c2fd8d077 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 90b11b470b2e88ff583e04be109e6441cb69f54d (diff) | |
download | linux-71c54b3d169db5569655cbd2a3616bc701fd5eec.tar.xz |
riscv: report misaligned accesses emulation to hwprobe
hwprobe provides a way to report if misaligned access are emulated. In
order to correctly populate that feature, we can check if it actually
traps when doing a misaligned access. This can be checked using an
exception table entry which will actually be used when a misaligned
access is done from kernel mode.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Link: https://lore.kernel.org/r/20231004151405.521596-8-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions