aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPalmer Dabbelt <[email protected]>2020-04-07 11:33:40 -0700
committerPalmer Dabbelt <[email protected]>2020-05-18 11:38:08 -0700
commiteb077c9c387f931767d7b737bdf696b753c57e46 (patch)
tree88af9168580ea274222a54df31c66de3f53f5983 /tools/perf/scripts/python/export-to-sqlite.py
parent045c654220e5772b6bc59e89b5700fa4673c6450 (diff)
RISC-V: Skip setting up PMPs on traps
The RISC-V ISA manual says that PMPs are WARL, but it appears the K210 doesn't implement them and instead traps on the unsupported accesses. This patch handles those traps by just skipping the PMP initialization entirely, under the theory that machines that trap on PMP accesses must allow memory accesses as otherwise they're pretty useless. Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions