]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: apple: Add INTx and per-port interrupt support
authorMarc Zyngier <maz@kernel.org>
Wed, 29 Sep 2021 16:38:39 +0000 (17:38 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Nov 2021 21:29:23 +0000 (16:29 -0500)
commitdae9dd2b99553d05e46df2835ffb3448c3174b9d
treea25da67c863c4cc24285e374e0315a33b56967ef
parentaae9f86b21df7d7770d0537d3fe1de2f2ba0ba76
PCI: apple: Add INTx and per-port interrupt support

Add support for the per-port interrupt controller that deals with both INTx
signalling and management interrupts.

This allows the Link-up/Link-down interrupts to be wired, allowing the
bring-up to be synchronised (and provide debug information).  The framework
can further be used to handle the rest of the per port events if and when
necessary.

Likewise, INTx signalling is implemented so that end-points can actually be
used.

Link: https://lore.kernel.org/r/20210929163847.2807812-7-maz@kernel.org
Link: https://lore.kernel.org/r/20211004150552.3844830-1-maz@kernel.org
Tested-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/pcie-apple.c
kernel/irq/irqdomain.c