diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2024-06-23 17:18:39 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-07-18 20:31:20 +0200 |
commit | b5712bf89b4bbc5bcc9ebde8753ad222f1f68296 (patch) | |
tree | 48b6e9ae36307dc14c0ed5e2c97286d1e301afb0 /drivers/irqchip/irq-msi-lib.c | |
parent | 8c41ccec839c622b2d1be769a95405e4e9a4cb20 (diff) | |
download | linux-b5712bf89b4bbc5bcc9ebde8753ad222f1f68296.tar.gz linux-b5712bf89b4bbc5bcc9ebde8753ad222f1f68296.tar.bz2 linux-b5712bf89b4bbc5bcc9ebde8753ad222f1f68296.zip |
irqchip/gic-v3-its: Provide MSI parent for PCI/MSI[-X]
The its_pci_msi_prepare() function from the ITS-PCI/MSI code provides the
'global' PCI/MSI domains. Move this function to the ITS-MSI parent code and
amend the function to use the domain hardware size, which is the MSI[X]
vector count, for allocating the ITS slots for the PCI device.
Enable PCI matching in msi_parent_ops and provide the necessary update to
the ITS specific child domain initialization function so that the prepare
callback gets invoked on allocations.
The latter might be optimized to do the allocation right at the point where
the child domain is initialized, but keep it simple for now.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240623142235.024567623@linutronix.de
Diffstat (limited to 'drivers/irqchip/irq-msi-lib.c')
0 files changed, 0 insertions, 0 deletions