summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorVitaly Wool <vitaly.wool@konsulko.com>2021-05-31 11:53:42 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-06-10 16:16:06 -0700
commit5e63215c2f64079fbd011df5005c8bea63f149c2 (patch)
tree521335babc29f534c56570d246aed170ddc26822 /COPYING
parent160ce364167fabf8df5bebfff1b38fd5d8c146c9 (diff)
downloadlinux-5e63215c2f64079fbd011df5005c8bea63f149c2.tar.gz
linux-5e63215c2f64079fbd011df5005c8bea63f149c2.tar.bz2
linux-5e63215c2f64079fbd011df5005c8bea63f149c2.zip
riscv: xip: support runtime trap patching
RISCV_ERRATA_ALTERNATIVE patches text at runtime which is currently not possible when the kernel is executed from the flash in XIP mode. Since runtime patching concerns only traps at the moment, let's just have all the traps reside in RAM anyway if RISCV_ERRATA_ALTERNATIVE is set. Thus, these functions will be patch-able even when the .text section is in flash. Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions