aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/fortify-string.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-01-10 02:50:11 +0100
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2022-02-08 10:44:20 +0000
commit0fc75d87454195885bd1a81fc7e6ce92572b6109 (patch)
treea07fbdafb295720a7f502c1ac04c90f66926f016 /include/linux/fortify-string.h
parentPCI: aardvark: Optimize writing PCI_EXP_RTCTL_PMEIE and PCI_EXP_RTSTA_PME on emulated bridge (diff)
downloadwireguard-linux-0fc75d87454195885bd1a81fc7e6ce92572b6109.tar.xz
wireguard-linux-0fc75d87454195885bd1a81fc7e6ce92572b6109.zip
PCI: aardvark: Add support for PME interrupts
Currently enabling PCI_EXP_RTSTA_PME bit in PCI_EXP_RTCTL register does nothing. This is because PCIe PME driver expects to receive PCIe interrupt defined in PCI_EXP_FLAGS_IRQ register, but aardvark hardware does not trigger PCIe INTx/MSI interrupt for PME event, rather it triggers custom aardvark interrupt which this driver is not processing yet. Fix this issue by handling PME interrupt in advk_pcie_handle_int() and chaining it to PCIe interrupt 0 with generic_handle_domain_irq() (since aardvark sets PCI_EXP_FLAGS_IRQ to zero). With this change PCIe PME driver finally starts receiving PME interrupt. Link: https://lore.kernel.org/r/20220110015018.26359-17-kabel@kernel.org Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Marek Behún <kabel@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'include/linux/fortify-string.h')
0 files changed, 0 insertions, 0 deletions