Skip to contentSkip to conversation

arm64: defconfig: Enable TISCI Interrupt Router and Aggregator

PATCH Applied Vaishnav Achath 2 participants 2 messages Feb 5, 2025 – Feb 7, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm64: defconfig: Enable TISCI Interrupt Router and Aggregator

Enable TISCI Interrupt Router and Interrupt Aggregator drivers. These IPs are found in all TI K3 SoCs like J721E, AM62X and is required for core functionality like DMA, GPIO Interrupts which is necessary during boot, thus make them built-in.

bloat-o-meter summary on vmlinux:

	add/remove: 460/1 grow/shrink: 4/0 up/down: 162483/-8 (162475)
	...
	Total: Before=31615984, After=31778459, chg +0.51%

These configs were previously selected for ARCH_K3 in respective Kconfigs till commit b8b26ae398c4 ("irqchip/ti-sci-inta : Add module build support") and commit 2d95ffaecbc2 ("irqchip/ti-sci-intr: Add module build support") dropped them and few driver configs (TI_K3_UDMA, TI_K3_RINGACC) dependent on these also got disabled due to this. While re-enabling the TI_SCI_INT_*_IRQCHIP configs, these configs with missing dependencies (which are already part of arm64 defconfig) also get re-enabled which explains the slightly larger size increase from the bloat-o-meter summary.

Fixes 2d95ffaecbc2 ("irqchip/ti-sci-intr: Add module build support")
Fixes b8b26ae398c4 ("irqchip/ti-sci-inta : Add module build support")

---

V2 : https://lore.kernel.org/all/[email protected]/
V1 : https://lore.kernel.org/all/[email protected]/

V2->V3:
* Justify in commit message that the patch only restores previous behaviour and also the reason for size increase.
* Collect Dhruva's T-by/R-by.
V1->V2:
* Add Fixes tag.
* Add bloat-o-meter summary to commit message.

Previously both of these configs were selected for ARCH_K3 in respective Kconfigs, but commit b8b26ae398c4 ("irqchip/ti-sci-inta : Add module build support") and commit 2d95ffaecbc2 ("irqchip/ti-sci-intr: Add module build support") dropped this recently without adding those back in arm64
defconfig, this causes boot failure in all TI K3 platforms.

Passing bootlog with configs enabled:
https://gist.github.com/vaishnavachath/03d8d3ce0f22219643c2f4d1dd243fd1

 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index cb7da4415599..1f25423de383 100644
@@ -1551,6 +1551,8 @@ CONFIG_PWM_VISCONTI=m
 CONFIG_SL28CPLD_INTC=y
 CONFIG_QCOM_PDC=y
 CONFIG_QCOM_MPM=y
+CONFIG_TI_SCI_INTR_IRQCHIP=y
+CONFIG_TI_SCI_INTA_IRQCHIP=y
 CONFIG_RESET_GPIO=m
 CONFIG_RESET_IMX7=y
 CONFIG_RESET_QCOM_AOSS=y
Signature · 1 line
2.34.1
#1 lore raw
Quoted 11 lines · Vaishnav Achath

Enable TISCI Interrupt Router and Interrupt Aggregator drivers. These IPs are found in all TI K3 SoCs like J721E, AM62X and is required for core functionality like DMA, GPIO Interrupts which is necessary during boot, thus make them built-in.

bloat-o-meter summary on vmlinux:

	add/remove: 460/1 grow/shrink: 4/0 up/down: 162483/-8 (162475)
	...
	Total: Before=31615984, After=31778459, chg +0.51%

[...]

Applied, thanks!

[1/1] arm64: defconfig: Enable TISCI Interrupt Router and Aggregator

      commit: c7691aec5e991cec9c5c5fdab08c24856a1fc56f

Best regards,

Signature · 1 line
Nishanth Menon <[email protected]>