diff options
author | Anup Patel <[email protected]> | 2020-05-18 14:44:40 +0530 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2020-05-25 10:36:53 +0100 |
commit | 2234ae846ccb9ebdf4c391824cb79e73674dceda (patch) | |
tree | 8b38980639d35553face5c90abe5b966d54a0208 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2458ed31e9b9ab40d78a452ab2650a0857556e85 (diff) |
irqchip/sifive-plic: Setup cpuhp once after boot CPU handler is present
For multiple PLIC instances, the plic_init() is called once for each
PLIC instance. Due to this we have two issues:
1. cpuhp_setup_state() is called multiple times
2. plic_starting_cpu() can crash for boot CPU if cpuhp_setup_state()
is called before boot CPU PLIC handler is available.
Address both issues by only initializing the HP notifiers when
the boot CPU setup is complete.
Fixes: f1ad1133b18f ("irqchip/sifive-plic: Add support for multiple PLICs")
Signed-off-by: Anup Patel <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Reviewed-by: Palmer Dabbelt <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions