ath79: rename patches directory and kernel config from 6.1 to 6.6
[openwrt/openwrt.git] / target / linux / ath79 / patches-6.6 / 810-ath79-ignore-the-abused-interrupt-map-on-pcie-node.patch
1 From: Shiji Yang <yangshiji66@outlook.com>
2 Date: Wed, 31 May 2023 00:15:23 +0000
3 Subject: [PATCH] ath79: ignore the abused interrupt-map on pcie node
4
5 ath79 PCIe interrupt controller has stopped working correctly. This
6 is because the DT exposing a non-sensical interrupt-map property,
7 and their drivers relying on the kernel ignoring this property[1].
8
9 This patch fix the pcie init error:
10 ath9k 0000:00:00.0: of_irq_parse_pci: failed with rc=-14
11
12 Notice:
13 This is just a workaround, not a fix. PCIe driver and related dts
14 node need to be rewritten.
15
16 [1] https://lore.kernel.org/all/20211201114102.13446-1-maz@kernel.org/
17
18 Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
19 ---
20 drivers/of/irq.c | 2 ++
21 1 file changed, 2 insertions(+)
22
23 --- a/drivers/of/irq.c
24 +++ b/drivers/of/irq.c
25 @@ -86,6 +86,8 @@ EXPORT_SYMBOL_GPL(of_irq_find_parent);
26 * drawing board.
27 */
28 static const char * const of_irq_imap_abusers[] = {
29 + "qca,ar7100-pci",
30 + "qcom,ar7240-pci",
31 "CBEA,platform-spider-pic",
32 "sti,platform-spider-pic",
33 "realtek,rtl-intc",