irqchip: Kconfig: Add module support for TI inta/intr
Subsystems (3)
v4 cover irqchip: Kconfig: Add module support for TI inta/intr
Added module support for TI interrupt aggregator and interrupt router drivers. Default value for both drivers is ARCH_K3 and the interrupt aggregator depends on ARCH_K3 as it contains 64 bit only ops. Tested allmodconfig builds with ARCH=arm and ARCH=arm64.
Changes in v4:
- Rework commit message and title
- Add depends on in Kconfig frivers
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Add MODULE_LICENSE in drivers
Changes in v2:
- Added depends on ARCH_K3 for the interrupt aggregator driver as it uses
64 bit ops
---
Nicolas Frayer (2):
irqchip/ti-sci-intr: add module build support irqchip/ti-sci-inta : Add module build support
arch/arm64/Kconfig.platforms | 2 -- drivers/irqchip/Kconfig | 6 ++++-- drivers/irqchip/irq-ti-sci-inta.c | 1 + drivers/irqchip/irq-ti-sci-intr.c | 1 + 4 files changed, 6 insertions(+), 4 deletions(-)
---
base-commit: 8faabc041a001140564f718dabe37753e88b37fa
change-id: 20241016-timodules-174770215dd8
Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>
PATCH v4 1/2 irqchip/ti-sci-intr: add module build support
From: Nicolas Frayer <[email protected]>
Add module build support in Kconfig for the TI SCI interrupt router driver.This driver depends on TI sci firmware driver which are aready support module build.
Add MODULE_LICENSE which is mandatory to support module build.
--- arch/arm64/Kconfig.platforms | 1 - drivers/irqchip/Kconfig | 3 ++- drivers/irqchip/irq-ti-sci-intr.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-)
arch/arm64/Kconfig.platforms +0 -1
@@ -135,7 +135,6 @@ config ARCH_K3 select SOC_TI select TI_MESSAGE_MANAGER select TI_SCI_PROTOCOL - select TI_SCI_INTR_IRQCHIP select TI_SCI_INTA_IRQCHIP select TI_K3_SOCINFO help
drivers/irqchip/Kconfig +2 -1
@@ -534,8 +534,9 @@ config LS1X_IRQ Support for the Loongson-1 platform Interrupt Controller. config TI_SCI_INTR_IRQCHIP - bool + tristate "TI SCI INTR Interrupt Controller" depends on TI_SCI_PROTOCOL + depends on ARCH_K3 || COMPILE_TEST select IRQ_DOMAIN_HIERARCHY help This enables the irqchip driver support for K3 Interrupt router
drivers/irqchip/irq-ti-sci-intr.c +1 -0
@@ -303,3 +303,4 @@ module_platform_driver(ti_sci_intr_irq_domain_driver);MODULE_AUTHOR ("Lokesh Vutla <lokeshvutla@ticom>" );MODULE_DESCRIPTION ("K3 Interrupt Router driver over TI SCI protocol" ); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.34.1
[tip: irq/core] irqchip/ti-sci-intr: Add module build support
The following commit has been merged into the irq/core branch of tip:
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 2d95ffaecbc2a29cf4a0fa8e63ce99ded7184991 Gitweb: https://git.kernel.org/tip/2d95ffaecbc2a29cf4a0fa8e63ce99ded7184991 Author: Nicolas Frayer <[email protected]> AuthorDate: Tue, 24 Dec 2024 20:36:42 +01:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Wed, 15 Jan 2025 09:54:29 +01:00
irqchip/ti-sci-intr: Add module build support
Add module build support in Kconfig for the TI SCI interrupt router driver. This driver depends on the TI sci firmware driver which aready supports module build.
--- arch/arm64/Kconfig.platforms | 1 - drivers/irqchip/Kconfig | 3 ++- drivers/irqchip/irq-ti-sci-intr.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-)
arch/arm64/Kconfig.platforms +0 -1
@@ -135,7 +135,6 @@ config ARCH_K3 select SOC_TI select TI_MESSAGE_MANAGER select TI_SCI_PROTOCOL - select TI_SCI_INTR_IRQCHIP select TI_SCI_INTA_IRQCHIP select TI_K3_SOCINFO help
drivers/irqchip/Kconfig +2 -1
@@ -534,8 +534,9 @@ config LS1X_IRQ Support for the Loongson-1 platform Interrupt Controller. config TI_SCI_INTR_IRQCHIP - bool + tristate "TI SCI INTR Interrupt Controller" depends on TI_SCI_PROTOCOL + depends on ARCH_K3 || COMPILE_TEST select IRQ_DOMAIN_HIERARCHY help This enables the irqchip driver support for K3 Interrupt router
drivers/irqchip/irq-ti-sci-intr.c +1 -0
@@ -303,3 +303,4 @@ module_platform_driver(ti_sci_intr_irq_domain_driver);MODULE_AUTHOR ("Lokesh Vutla <lokeshvutla@ticom>" );MODULE_DESCRIPTION ("K3 Interrupt Router driver over TI SCI protocol" ); +MODULE_LICENSE ("GPL" );
PATCH v4 2/2 irqchip/ti-sci-inta : Add module build support
In reply to Guillaume La RoqueFrom: Nicolas Frayer <[email protected]>
Add module build support in Kconfig for the TI SCI interrupt aggregator driver. The driver's default build is built-in and it also depends on ARCH_K3 as the driver uses some 64 bit ops and should only be built for 64 bit platforms.
Add MODULE_LICENSE which is mandatory to support module build.
--- arch/arm64/Kconfig.platforms | 1 - drivers/irqchip/Kconfig | 3 ++- drivers/irqchip/irq-ti-sci-inta.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-)
arch/arm64/Kconfig.platforms +0 -1
@@ -135,7 +135,6 @@ config ARCH_K3 select SOC_TI select TI_MESSAGE_MANAGER select TI_SCI_PROTOCOL - select TI_SCI_INTA_IRQCHIP select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC
drivers/irqchip/Kconfig +2 -1
@@ -545,8 +545,9 @@ config TI_SCI_INTR_IRQCHIP TI System Controller, say Y here. Otherwise, say N. config TI_SCI_INTA_IRQCHIP - bool + tristate "TI SCI INTA Interrupt Controller" depends on TI_SCI_PROTOCOL + depends on ARCH_K3 || (COMPILE_TEST && ARM64) select IRQ_DOMAIN_HIERARCHY select TI_SCI_INTA_MSI_DOMAIN help
drivers/irqchip/irq-ti-sci-inta.c +1 -0
@@ -743,3 +743,4 @@ module_platform_driver(ti_sci_inta_irq_domain_driver);MODULE_AUTHOR ("Lokesh Vutla <[email protected]>" );MODULE_DESCRIPTION ("K3 Interrupt Aggregator driver over TI SCI protocol" ); +MODULE_LICENSE ("GPL" );
Signature · 1 line
2.34.1
[tip: irq/core] irqchip/ti-sci-inta : Add module build support
The following commit has been merged into the irq/core branch of tip:
The following commit has been merged into the irq/core branch of tip:
Commit-ID: b8b26ae398c4577893a4c43195dba0e75af6e33f Gitweb: https://git.kernel.org/tip/b8b26ae398c4577893a4c43195dba0e75af6e33f Author: Nicolas Frayer <[email protected]> AuthorDate: Tue, 24 Dec 2024 20:36:43 +01:00 Committer: Thomas Gleixner <[email protected]> CommitterDate: Wed, 15 Jan 2025 09:54:29 +01:00
irqchip/ti-sci-inta : Add module build support
Add module build support in Kconfig for the TI SCI interrupt aggregator driver. The driver's default build is built-in and it also depends on ARCH_K3 as the driver uses some 64 bit ops and should only be built for 64-bit platforms.
--- arch/arm64/Kconfig.platforms | 1 - drivers/irqchip/Kconfig | 3 ++- drivers/irqchip/irq-ti-sci-inta.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-)
arch/arm64/Kconfig.platforms +0 -1
@@ -135,7 +135,6 @@ config ARCH_K3 select SOC_TI select TI_MESSAGE_MANAGER select TI_SCI_PROTOCOL - select TI_SCI_INTA_IRQCHIP select TI_K3_SOCINFO help This enables support for Texas Instruments' K3 multicore SoC
drivers/irqchip/Kconfig +2 -1
@@ -545,8 +545,9 @@ config TI_SCI_INTR_IRQCHIP TI System Controller, say Y here. Otherwise, say N. config TI_SCI_INTA_IRQCHIP - bool + tristate "TI SCI INTA Interrupt Controller" depends on TI_SCI_PROTOCOL + depends on ARCH_K3 || (COMPILE_TEST && ARM64) select IRQ_DOMAIN_HIERARCHY select TI_SCI_INTA_MSI_DOMAIN help
drivers/irqchip/irq-ti-sci-inta.c +1 -0
@@ -743,3 +743,4 @@ module_platform_driver(ti_sci_inta_irq_domain_driver);MODULE_AUTHOR ("Lokesh Vutla <[email protected]>" );MODULE_DESCRIPTION ("K3 Interrupt Aggregator driver over TI SCI protocol" ); +MODULE_LICENSE ("GPL" );
Quoted 29 lines · Guillaume La Roque
Added module support for TI interrupt aggregator and interrupt router drivers. Default value for both drivers is
ARCH_K3and the interrupt aggregator depends onARCH_K3as it contains 64 bit only ops. Tested allmodconfig builds with ARCH=arm and ARCH=arm64.Changes in v4:
- Rework commit message and title
- Add depends on inKconfigfrivers
- Link to v3: https://lore.kernel.org/r/[email protected]Changes in v3:
- AddMODULE_LICENSEin driversChanges in v2:
- Added depends onARCH_K3for the interrupt aggregator driver as it uses
64 bit opsSigned-off-by Guillaume La Roque <[email protected]>---
Nicolas Frayer (2):
irqchip/ti-sci-intr: add module build support irqchip/ti-sci-inta : Add module build supportarch/arm64/Kconfig.platforms | 2 -- drivers/irqchip/Kconfig | 6 ++++-- drivers/irqchip/irq-ti-sci-inta.c | 1 + drivers/irqchip/irq-ti-sci-intr.c | 1 + 4 files changed, 6 insertions(+), 4 deletions(-)
Quoted 8 lines
---
base-commit:8faabc041a001140564f718dabe37753e88b37fa
change-id: 20241016-timodules-174770215dd8Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>
Marc, Can this go via your tree?
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D
Quoted 35 lines · Nishanth Menon
Quoted 33 lines · Guillaume La Roque
Added module support for TI interrupt aggregator and interrupt router drivers. Default value for both drivers is
ARCH_K3and the interrupt aggregator depends onARCH_K3as it contains 64 bit only ops. Tested allmodconfig builds with ARCH=arm and ARCH=arm64.Changes in v4:
- Rework commit message and title
- Add depends on inKconfigfrivers
- Link to v3: https://lore.kernel.org/r/[email protected]Changes in v3:
- AddMODULE_LICENSEin driversChanges in v2:
- Added depends onARCH_K3for the interrupt aggregator driver as it uses
64 bit opsSigned-off-by Guillaume La Roque <[email protected]>---
Nicolas Frayer (2):
irqchip/ti-sci-intr: add module build support irqchip/ti-sci-inta : Add module build supportarch/arm64/Kconfig.platforms | 2 -- drivers/irqchip/Kconfig | 6 ++++-- drivers/irqchip/irq-ti-sci-inta.c | 1 + drivers/irqchip/irq-ti-sci-intr.c | 1 + 4 files changed, 6 insertions(+), 4 deletions(-)---
base-commit:8faabc041a001140564f718dabe37753e88b37fa
change-id: 20241016-timodules-174770215dd8
Quoted 8 lines
Quoted 4 lines
Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>Reviewed-by Nishanth Menon <[email protected]>Marc, Can this go via your tree?
I'm only looking after the ARM GICs these days, and not anything else. Hopefully Thomas will look into it.
THanks,
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.
Nishanth Menon
maintainerQuoted 42 lines · Marc Zyngier
Quoted 40 lines · Nishanth Menon
Quoted 37 lines · Guillaume La Roque
Added module support for TI interrupt aggregator and interrupt router drivers. Default value for both drivers is
ARCH_K3and the interrupt aggregator depends onARCH_K3as it contains 64 bit only ops. Tested allmodconfig builds with ARCH=arm and ARCH=arm64.Changes in v4:
- Rework commit message and title
- Add depends on inKconfigfrivers
- Link to v3: https://lore.kernel.org/r/[email protected]Changes in v3:
- AddMODULE_LICENSEin driversChanges in v2:
- Added depends onARCH_K3for the interrupt aggregator driver as it uses
64 bit opsSigned-off-by Guillaume La Roque <[email protected]>---
Nicolas Frayer (2):
irqchip/ti-sci-intr: add module build support irqchip/ti-sci-inta : Add module build supportarch/arm64/Kconfig.platforms | 2 -- drivers/irqchip/Kconfig | 6 ++++-- drivers/irqchip/irq-ti-sci-inta.c | 1 + drivers/irqchip/irq-ti-sci-intr.c | 1 + 4 files changed, 6 insertions(+), 4 deletions(-)---
base-commit:8faabc041a001140564f718dabe37753e88b37fa
change-id: 20241016-timodules-174770215dd8Best regards,
Signature · 1 line
Guillaume La Roque <[email protected]>
Quoted 6 lines
Quoted 3 lines
Reviewed-by Nishanth Menon <[email protected]>Marc, Can this go via your tree?
I'm only looking after the ARM GICs these days, and not anything else. Hopefully Thomas will look into it.
Thanks Marc.
Thomas, would like to know if you'd pick this up, else, I can take this series via my tree and send via SoC maintainers, since I am marked as the maintainer for the files.
Signature · 3 lines
Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D