summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorSamuel Holland <samuel.holland@sifive.com>2024-11-14 23:01:30 +0300
committerThomas Gleixner <tglx@linutronix.de>2024-11-16 02:45:37 +0300
commit1f181d1cda56c2fbe379c5ace1aa1fac6306669e (patch)
treec48eb258edbf654b78c7cca34905b45b780532b8 /tools/perf/scripts/python/parallel-perf.py
parentf9ed1f7c2e26fcd19781774e310a6236d7525c11 (diff)
downloadlinux-1f181d1cda56c2fbe379c5ace1aa1fac6306669e.tar.xz
irqchip/riscv-aplic: Prevent crash when MSI domain is missing
If the APLIC driver is probed before the IMSIC driver, the parent MSI domain will be missing, which causes a NULL pointer dereference in msi_create_device_irq_domain(). Avoid this by deferring probe until the parent MSI domain is available. Use dev_err_probe() to avoid printing an error message when returning -EPROBE_DEFER. Fixes: ca8df97fe679 ("irqchip/riscv-aplic: Add support for MSI-mode") Signed-off-by: Samuel Holland <samuel.holland@sifive.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20241114200133.3069460-1-samuel.holland@sifive.com
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions