aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2020-03-02 15:11:45 -0800
committerMarc Zyngier <[email protected]>2020-03-16 15:48:54 +0000
commitccbe80bad571c2f967ad42b25bbb3ef7a4a24705 (patch)
tree91b3c9bc120a4ef82fcbafc3f44de1a7ac8621e7 /tools/perf/scripts/python/export-to-postgresql.py
parent2ef1cb763d92f3e212005fcf5dcc713eaf42b257 (diff)
irqchip/sifive-plic: Enable/Disable external interrupts upon cpu online/offline
Currently, PLIC threshold is only initialized once in the beginning. However, threshold can be set to disabled if a CPU is marked offline with CPU hotplug feature. This will not allow to change the irq affinity to a CPU that just came online. Add PLIC specific CPU hotplug callbacks and enable the threshold when a CPU comes online. Take this opportunity to move the external interrupt enable code from trap init to PLIC driver as well. On cpu offline path, the driver performs the exact opposite operations i.e. disable the interrupt and the threshold. Signed-off-by: Atish Patra <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Reviewed-by: Anup Patel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions