diff options
author | Inochi Amaoto <inochiama@gmail.com> | 2025-08-14 07:28:32 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-08-23 21:21:13 +0200 |
commit | 54f45a30c0d0153d2be091ba2d683ab6db6d1d5b (patch) | |
tree | 177653731d77126f19d69a4dcb246ffb7c4a3dd3 /scripts/gdb/linux/symbols.py | |
parent | 7a721a2fee2bce01af26699a87739db8ca8ea3c8 (diff) |
PCI/MSI: Add startup/shutdown for per device domains
As the RISC-V PLIC cannot apply affinity settings without invoking
irq_enable(), it will make the interrupt unavailble when used as an
underlying interrupt chip for the MSI controller.
Implement the irq_startup() and irq_shutdown() callbacks for the PCI MSI
and MSI-X templates.
For chips that specify MSI_FLAG_PCI_MSI_STARTUP_PARENT, the parent startup
and shutdown functions are invoked. That allows the interrupt on the parent
chip to be enabled if the interrupt has not been enabled during
allocation. This is necessary for MSI controllers which use PLIC as
underlying parent interrupt chip.
Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Chen Wang <unicorn_wang@outlook.com> # Pioneerbox
Reviewed-by: Chen Wang <unicorn_wang@outlook.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/all/20250813232835.43458-3-inochiama@gmail.com
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions