]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: mediatek: Advertise lack of built-in MSI handling
authorThomas Gleixner <tglx@linutronix.de>
Tue, 30 Mar 2021 15:11:43 +0000 (16:11 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 1 Apr 2021 11:18:43 +0000 (12:18 +0100)
commit77cbd88c9068c3146010d2fc4d2d5901295667dd
tree8f350c0f6e430760384ee196ac72f92d4886490c
parent98be0634c819a3d0c8b39b90b4d1621faaf954e0
PCI: mediatek: Advertise lack of built-in MSI handling

Some Mediatek host bridges cannot handle MSIs, which is sad.
This also results in an ugly warning at device probe time,
as the core PCI code wasn't told that MSIs were not available.

Advertise this fact to the rest of the core PCI code by
using the 'msi_domain' attribute, which still opens the possibility
for another block to provide the MSI functionnality.

[maz: commit message, switched over to msi_domain attribute]

Link: https://lore.kernel.org/r/20210330151145.997953-13-maz@kernel.org
Reported-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pcie-mediatek.c