aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch
diff options
context:
space:
mode:
authorNick Hainke <vincent@systemli.org>2021-07-28 23:18:01 +0200
committerDaniel Golle <daniel@makrotopia.org>2021-07-29 15:08:17 +0100
commite8e2b88f5feb852904598cbe8746cc5b3c0022ab (patch)
tree2b9577a6afe5c7f0b03b2de8fb1ed404f037e67e /target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch
parente88ab3b6292a78dd8a21436dfae78f8bfcfd82b0 (diff)
downloadupstream-e8e2b88f5feb852904598cbe8746cc5b3c0022ab.tar.gz
upstream-e8e2b88f5feb852904598cbe8746cc5b3c0022ab.tar.bz2
upstream-e8e2b88f5feb852904598cbe8746cc5b3c0022ab.zip
mediatek: mt7623: import patch to fix msi warning
The 1st generation MediaTek PCIe host bridge cannot handle Message Signaled Interrupts (MSIs). The core PCI code is not aware that MSI is not available. This results in warnings of the form: WARNING: CPU: 2 PID: 112 at include/linux/msi.h:219 pci_msi_setup_msi_irqs.constprop.8+0x64/0x6c Modules linked in: ahci(+) libahci libata sd_mod scsi_mod gpio_button_hotplug CPU: 2 PID: 112 Comm: kmodloader Not tainted 5.10.52 #0 Hardware name: Mediatek Cortex-A7 (Device Tree) Import patches that introduce the 'no_msi' attribute to signal missing MSI support to the core PCI. Refresh patches: - 000-spi-fix-fifo.patch - 330-mtk-bmt-support.patch - 510-net-mediatek-add-flow-offload-for-mt7623.patch - 601-PCI-mediatek-Use-regmap-to-get-shared-pcie-cfg-base.patch - 610-pcie-mediatek-fix-clearing-interrupt-status.patch - 700-net-ethernet-mtk_eth_soc-add-support-for-coherent-DM.patch - 710-pci-pcie-mediatek-add-support-for-coherent-DMA.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
Diffstat (limited to 'target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch')
-rw-r--r--target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch b/target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch
index 7b74a8ac73..031582a788 100644
--- a/target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch
+++ b/target/linux/mediatek/patches-5.10/610-pcie-mediatek-fix-clearing-interrupt-status.patch
@@ -10,7 +10,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/drivers/pci/controller/pcie-mediatek.c
+++ b/drivers/pci/controller/pcie-mediatek.c
-@@ -613,10 +613,10 @@ static void mtk_pcie_intr_handler(struct
+@@ -615,10 +615,10 @@ static void mtk_pcie_intr_handler(struct
if (status & INTX_MASK) {
for_each_set_bit_from(bit, &status, PCI_NUM_INTX + INTX_SHIFT) {
/* Clear the INTx */