aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug/debug_core.c
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmerdabbelt@google.com>2020-04-07 11:33:40 -0700
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-05-18 11:38:08 -0700
commiteb077c9c387f931767d7b737bdf696b753c57e46 (patch)
tree88af9168580ea274222a54df31c66de3f53f5983 /kernel/debug/debug_core.c
parentriscv: K210: Update defconfig (diff)
downloadlinux-dev-eb077c9c387f931767d7b737bdf696b753c57e46.tar.xz
linux-dev-eb077c9c387f931767d7b737bdf696b753c57e46.zip
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 <palmerdabbelt@google.com>
Diffstat (limited to 'kernel/debug/debug_core.c')
0 files changed, 0 insertions, 0 deletions