diff options
author | Sami Tolvanen <[email protected]> | 2023-09-27 22:48:00 +0000 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-10-27 14:43:06 -0700 |
commit | 82982fdd5133fa7e0b2dfaf746d18d6f29922b82 (patch) | |
tree | 40e0c20f8cb63a680cce12ebaf14df94c757d673 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be97d0db5f44c0674480cb79ac6f5b0529b84c76 (diff) |
riscv: Deduplicate IRQ stack switching
With CONFIG_IRQ_STACKS, we switch to a separate per-CPU IRQ stack
before calling handle_riscv_irq or __do_softirq. We currently
have duplicate inline assembly snippets for stack switching in
both code paths. Now that we can access per-CPU variables in
assembly, implement call_on_irq_stack in assembly, and use that
instead of redundant inline assembly.
Signed-off-by: Sami Tolvanen <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Reviewed-by: Guo Ren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions