diff options
| author | Guo Ren <[email protected]> | 2020-04-01 01:17:02 +0000 |
|---|---|---|
| committer | Guo Ren <[email protected]> | 2020-04-03 03:14:17 +0000 |
| commit | 33e53ae1ce413a081254e686d9b27cc1b3585e2f (patch) | |
| tree | dd6ddbf5a1707f1d0351143cedc00147a465abf4 /drivers/fpga/ice40-spi.c | |
| parent | csky: Enable LOCKDEP_SUPPORT (diff) | |
| download | kernel-33e53ae1ce413a081254e686d9b27cc1b3585e2f.tar.gz kernel-33e53ae1ce413a081254e686d9b27cc1b3585e2f.zip | |
csky: Add kprobes supported
This patch enable kprobes, kretprobes, ftrace interface. It utilized
software breakpoint and single step debug exceptions, instructions
simulation on csky.
We use USR_BKPT replace origin instruction, and the kprobe handler
prepares an excutable memory slot for out-of-line execution with a
copy of the original instruction being probed. Most of instructions
could be executed by single-step, but some instructions need origin
pc value to execute and we need software simulate these instructions.
Signed-off-by: Guo Ren <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'drivers/fpga/ice40-spi.c')
0 files changed, 0 insertions, 0 deletions
