mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-24 14:06:15 +00:00
d2626bd2a7
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.42 Removed upstreamed: bcm27xx/patches-6.6/950-0490-input-ads7846-Add-missing-spi_device_id-strings.patch[1] All patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.42&id=528466f921aa7637bca684ce2d7d62cdb2c34013 Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/16010 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From: Shiji Yang <yangshiji66@outlook.com>
|
|
Date: Wed, 31 May 2023 00:15:23 +0000
|
|
Subject: [PATCH] ath79: ignore the abused interrupt-map on pcie node
|
|
|
|
ath79 PCIe interrupt controller has stopped working correctly. This
|
|
is because the DT exposing a non-sensical interrupt-map property,
|
|
and their drivers relying on the kernel ignoring this property[1].
|
|
|
|
This patch fix the pcie init error:
|
|
ath9k 0000:00:00.0: of_irq_parse_pci: failed with rc=-14
|
|
|
|
Notice:
|
|
This is just a workaround, not a fix. PCIe driver and related dts
|
|
node need to be rewritten.
|
|
|
|
[1] https://lore.kernel.org/all/20211201114102.13446-1-maz@kernel.org/
|
|
|
|
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
|
|
---
|
|
drivers/of/irq.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/of/irq.c
|
|
+++ b/drivers/of/irq.c
|
|
@@ -89,6 +89,8 @@ EXPORT_SYMBOL_GPL(of_irq_find_parent);
|
|
* drawing board.
|
|
*/
|
|
static const char * const of_irq_imap_abusers[] = {
|
|
+ "qca,ar7100-pci",
|
|
+ "qcom,ar7240-pci",
|
|
"CBEA,platform-spider-pic",
|
|
"sti,platform-spider-pic",
|
|
"realtek,rtl-intc",
|