]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop queue-5.10/irqchip-riscv-intc-mark-all-intc-nodes-as-initialize.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2023 20:24:32 +0000 (21:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Nov 2023 20:24:32 +0000 (21:24 +0100)
queue-5.10/irqchip-riscv-intc-mark-all-intc-nodes-as-initialize.patch [deleted file]
queue-5.10/series

diff --git a/queue-5.10/irqchip-riscv-intc-mark-all-intc-nodes-as-initialize.patch b/queue-5.10/irqchip-riscv-intc-mark-all-intc-nodes-as-initialize.patch
deleted file mode 100644 (file)
index 6f9bf59..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From 8eeefd49d7ae7ad14194a69b123c0e169031b83b Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Tue, 3 Oct 2023 10:13:51 +0530
-Subject: irqchip/riscv-intc: Mark all INTC nodes as initialized
-
-From: Anup Patel <apatel@ventanamicro.com>
-
-[ Upstream commit e13cd66bd821be417c498a34928652db4ac6b436 ]
-
-The RISC-V INTC local interrupts are per-HART (or per-CPU) so we
-create INTC IRQ domain only for the INTC node belonging to the boot
-HART. This means only the boot HART INTC node will be marked as
-initialized and other INTC nodes won't be marked which results
-downstream interrupt controllers (such as PLIC, IMSIC and APLIC
-direct-mode) not being probed due to missing device suppliers.
-
-To address this issue, we mark all INTC node for which we don't
-create IRQ domain as initialized.
-
-Reported-by: Dmitry Dunaev <dunaev@tecon.ru>
-Signed-off-by: Anup Patel <apatel@ventanamicro.com>
-Signed-off-by: Marc Zyngier <maz@kernel.org>
-Link: https://lore.kernel.org/r/20230926102801.1591126-1-dunaev@tecon.ru
-Link: https://lore.kernel.org/r/20231003044403.1974628-4-apatel@ventanamicro.com
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/irqchip/irq-riscv-intc.c | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/irqchip/irq-riscv-intc.c b/drivers/irqchip/irq-riscv-intc.c
-index 8017f6d32d52b..54c99441c1b54 100644
---- a/drivers/irqchip/irq-riscv-intc.c
-+++ b/drivers/irqchip/irq-riscv-intc.c
-@@ -109,8 +109,16 @@ static int __init riscv_intc_init(struct device_node *node,
-        * for each INTC DT node. We only need to do INTC initialization
-        * for the INTC DT node belonging to boot CPU (or boot HART).
-        */
--      if (riscv_hartid_to_cpuid(hartid) != smp_processor_id())
-+      if (riscv_hartid_to_cpuid(hartid) != smp_processor_id()) {
-+              /*
-+               * The INTC nodes of each CPU are suppliers for downstream
-+               * interrupt controllers (such as PLIC, IMSIC and APLIC
-+               * direct-mode) so we should mark an INTC node as initialized
-+               * if we are not creating IRQ domain for it.
-+               */
-+              fwnode_dev_initialized(of_fwnode_handle(node), true);
-               return 0;
-+      }
-       intc_domain = irq_domain_add_linear(node, BITS_PER_LONG,
-                                           &riscv_intc_domain_ops, NULL);
--- 
-2.42.0
-
index c266cab7277a5701e186282c05c8634d0541e89a..c4d0df0e22accb7e6a367678fff91e6513344e90 100644 (file)
@@ -59,7 +59,6 @@ rpmsg-glink-release-driver_override.patch
 rpmsg-fix-possible-refcount-leak-in-rpmsg_register_device_override.patch
 x86-fix-.brk-attribute-in-linker-script.patch
 net-sched-cls_u32-fix-allocation-size-in-u32_init.patch
-irqchip-riscv-intc-mark-all-intc-nodes-as-initialize.patch
 irqchip-stm32-exti-add-missing-dt-irq-flag-translati.patch
 dmaengine-ste_dma40-fix-pm-disable-depth-imbalance-i.patch
 input-synaptics-rmi4-handle-reset-delay-when-using-s.patch