diff options
author | Guo Ren <[email protected]> | 2023-02-21 22:30:18 -0500 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-03-23 08:47:00 -0700 |
commit | f0bddf50586da81360627a772be0e355b62f071e (patch) | |
tree | c97587427a7a1c7d7c2a75d4e8f79b2210d19885 /tools/perf/scripts/python/intel-pt-events.py | |
parent | d0db02c628793e389538c0e5c3f6491141ea6200 (diff) |
riscv: entry: Convert to generic entry
This patch converts riscv to use the generic entry infrastructure from
kernel/entry/*. The generic entry makes maintainers' work easier and
codes more elegant. Here are the changes:
- More clear entry.S with handle_exception and ret_from_exception
- Get rid of complex custom signal implementation
- Move syscall procedure from assembly to C, which is much more
readable.
- Connect ret_from_fork & ret_from_kernel_thread to generic entry.
- Wrap with irqentry_enter/exit and syscall_enter/exit_from_user_mode
- Use the standard preemption code instead of custom
Suggested-by: Huacai Chen <[email protected]>
Reviewed-by: Björn Töpel <[email protected]>
Tested-by: Yipeng Zou <[email protected]>
Tested-by: Jisheng Zhang <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Cc: Ben Hutchings <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions