From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E2D6FD1AD59 for ; Wed, 16 Oct 2024 13:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:CC:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=La6IiwF9AF4sfLgfEWGzq3v+9S/L+fVlphilJ568oRM=; b=o7i06RiVxid8jQ9DNfwrht5HNj 4d/veln1XKNQXIWE1O9nG54LtsTNNf564z00qCoR2MYMoTVThIn8R831CVmQAaWwpUnTHriYoc5Bg JCFrhbuulXg3BvEtf6TOcdi1wGyf0Uz+63k8+LYCHxMj1JKRjQUEfPi7+cJDKDR76UjrgCFM+qLbP 7XOZ/O8EZVH1Ah5O3dbqsjeuAuOaVPdPVgnA+isoHzZk62PuypvZQAxMf+HnCcdHKCjYH+Ym96LYu s4m5vgXIob2PWDserlhiq9aEtTbN18wplMZaK+kL+QmPXH41ZR7o8DtYwXq8/uTn/Pdo/KE8iYnoE HxOgz2aA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t14FD-0000000BxLD-3F0b; Wed, 16 Oct 2024 13:39:19 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t14Dm-0000000BxBR-3n4C for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2024 13:37:52 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 49GDbUV4038068; Wed, 16 Oct 2024 08:37:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1729085850; bh=La6IiwF9AF4sfLgfEWGzq3v+9S/L+fVlphilJ568oRM=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=KZB38AwuzTDKF9tNRm3BEeBiZu3zZgMEy1fsEXoliL1IUNNbT84+NKl2/HUQmRfFq /CrX1ROdE0f7R31hSk16iCjOAfKJW1sAqzTi8ImHyc2xu31EWgdCau3fGk71oaqczX XCq7WL4e5/JQqgyk+xUSN4gikL2TQoL3/K0gS7zk= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 49GDbU5J052142 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 16 Oct 2024 08:37:30 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Wed, 16 Oct 2024 08:37:30 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Wed, 16 Oct 2024 08:37:30 -0500 Received: from [10.249.42.149] ([10.249.42.149]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 49GDbT1S075414; Wed, 16 Oct 2024 08:37:29 -0500 Message-ID: <95b85e47-8554-430b-b878-e6045d8f6871@ti.com> Date: Wed, 16 Oct 2024 08:37:29 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 1/2] irqchip: Kconfig: module build support for the TI interrupt router driver To: Guillaume La Roque , Catalin Marinas , Will Deacon , Thomas Gleixner , Nishanth Menon , Tero Kristo , Santosh Shilimkar CC: , , , Mattijs Korpershoek , Kevin Hilman , Nicolas Frayer References: <20241016-timodules-v3-0-fa71091ade98@baylibre.com> <20241016-timodules-v3-1-fa71091ade98@baylibre.com> Content-Language: en-US From: Andrew Davis In-Reply-To: <20241016-timodules-v3-1-fa71091ade98@baylibre.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241016_063751_069811_353E075B X-CRM114-Status: GOOD ( 17.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/16/24 4:41 AM, Guillaume La Roque wrote: > From: Nicolas Frayer > > Added module build support in Kconfig for the TI SCI interrupt router > driver > > Signed-off-by: Nicolas Frayer > Signed-off-by: Guillaume La Roque > --- > arch/arm64/Kconfig.platforms | 1 - > drivers/irqchip/Kconfig | 3 ++- > drivers/irqchip/irq-ti-sci-intr.c | 1 + > 3 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms > index 6c6d11536b42..393845a3ae5c 100644 > --- a/arch/arm64/Kconfig.platforms > +++ b/arch/arm64/Kconfig.platforms > @@ -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 > diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig > index 341cd9ca5a05..a958731404e9 100644 > --- a/drivers/irqchip/Kconfig > +++ b/drivers/irqchip/Kconfig > @@ -533,9 +533,10 @@ config LS1X_IRQ > Support for the Loongson-1 platform Interrupt Controller. > > config TI_SCI_INTR_IRQCHIP > - bool > + tristate "TI SCI INTR Interrupt Controller" Although not needed, might be good to gate this on ARCH_K3 as it only makes sense to add when K3 is an enabled platform. Then add on compile test support: depends on ARCH_K3 || COMPILE_TEST Andrew > depends on TI_SCI_PROTOCOL > select IRQ_DOMAIN_HIERARCHY > + default ARCH_K3 > help > This enables the irqchip driver support for K3 Interrupt router > over TI System Control Interface available on some new TI's SoCs. > diff --git a/drivers/irqchip/irq-ti-sci-intr.c b/drivers/irqchip/irq-ti-sci-intr.c > index c027cd9e4a69..b49a73106c69 100644 > --- a/drivers/irqchip/irq-ti-sci-intr.c > +++ b/drivers/irqchip/irq-ti-sci-intr.c > @@ -303,3 +303,4 @@ module_platform_driver(ti_sci_intr_irq_domain_driver); > > MODULE_AUTHOR("Lokesh Vutla "); > MODULE_DESCRIPTION("K3 Interrupt Router driver over TI SCI protocol"); > +MODULE_LICENSE("GPL"); >