summaryrefslogtreecommitdiffstats
path: root/arch/riscv/lib
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-03-16 09:47:36 +0900
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-04-03 10:45:33 -0700
commit956d705dd279f70d5a222375fa97b637d6e8c43d (patch)
treee781737be5e254e288f757535a7d020d13286ec6 /arch/riscv/lib
parentf1e58583b9c7ceae7f11646e9edf2561d67f29c9 (diff)
downloadlinux-956d705dd279f70d5a222375fa97b637d6e8c43d.tar.bz2
riscv: Unaligned load/store handling for M_MODE
Add handlers for unaligned load and store traps that may be generated by applications. Code heavily inspired from the OpenSBI project. Handling of the unaligned access traps is suitable for applications compiled with or without compressed instructions and is independent of the kernel CONFIG_RISCV_ISA_C option value. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Anup Patel <anup.patel@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/lib')
0 files changed, 0 insertions, 0 deletions