]> www.infradead.org Git - users/dwmw2/linux.git/commit
riscv: put interrupt entries into .irqentry.text
authorNam Cao <namcaov@gmail.com>
Mon, 21 Aug 2023 14:57:09 +0000 (16:57 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 1 Nov 2023 02:15:56 +0000 (19:15 -0700)
commit87615e95f6f9ccd36d4a3905a2d87f91967ea9d2
tree007079baa47916404c0c0c677939bd3acbbdc7b4
parent559fe94a449cba5b50a7cffea60474b385598c00
riscv: put interrupt entries into .irqentry.text

The interrupt entries are expected to be in the .irqentry.text section.
For example, for kprobes to work properly, exception code cannot be
probed; this is ensured by blacklisting addresses in the .irqentry.text
section.

Fixes: 7db91e57a0ac ("RISC-V: Task implementation")
Signed-off-by: Nam Cao <namcaov@gmail.com>
Link: https://lore.kernel.org/r/20230821145708.21270-1-namcaov@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/entry.S