diff options
author | Vitaly Wool <vitaly.wool@konsulko.com> | 2021-05-31 11:53:42 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-06-10 16:16:06 -0700 |
commit | 5e63215c2f64079fbd011df5005c8bea63f149c2 (patch) | |
tree | 521335babc29f534c56570d246aed170ddc26822 /COPYING | |
parent | 160ce364167fabf8df5bebfff1b38fd5d8c146c9 (diff) | |
download | linux-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