aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAnup Patel <[email protected]>2020-06-01 09:15:38 +0000
committerPalmer Dabbelt <[email protected]>2020-06-10 02:11:19 +0000
commit5cf998ba8c7bbbfec3e0d6534c9a3f860ab9920e (patch)
tree215fab724b7472222ab135d2eaf7150b325f1aaa /tools/perf/scripts/python/mem-phys-addr.py
parentRISC-V: Sort select statements alphanumerically (diff)
downloadkernel-5cf998ba8c7bbbfec3e0d6534c9a3f860ab9920e.tar.gz
kernel-5cf998ba8c7bbbfec3e0d6534c9a3f860ab9920e.zip
RISC-V: self-contained IPI handling routine
Currently, the IPI handling routine riscv_software_interrupt() does not take any argument and also does not perform irq_enter()/irq_exit(). This patch makes IPI handling routine more self-contained by: 1. Passing "pt_regs *" argument 2. Explicitly doing irq_enter()/irq_exit() 3. Explicitly save/restore "pt_regs *" using set_irq_regs() With above changes, IPI handling routine does not depend on caller function to perform irq_enter()/irq_exit() and save/restore of "pt_regs *" hence its more self-contained. This also enables us to call IPI handling routine from IRQCHIP drivers. Signed-off-by: Anup Patel <[email protected]> Reviewed-by: Atish Patra <[email protected]> Reviewed-by: Palmer Dabbelt <[email protected]> Acked-by: Palmer Dabbelt <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions