Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2026110ybi; Mon, 1 Jul 2019 04:56:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvQTY1h2SBwQg3oMEr4/tsITDvbL3VgthjZELnXANxGg2nbnYOAJL8lI5bst/fx+3/IoMj X-Received: by 2002:a63:6ecf:: with SMTP id j198mr24381653pgc.437.1561982177298; Mon, 01 Jul 2019 04:56:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561982177; cv=none; d=google.com; s=arc-20160816; b=Tj4tV3Dq1tL/q7H1AGMUcFDCqiHIliHLGmSOA/VFRRRed7cCshBD8ab0pe6uFLmwn0 8slStAObiNDOFzQa8Rz4uoSVojVs65jnwKB42ROQYj7aXZn8vD87rr251cF7Sp7L15hQ KTGc9a3spg82GFarRbR/dWMk0bXyDW972zPeZK7UYulQ1Ej5XkKmB9D+Tat8fIJECIlA eVz4B/PnmKgapa9cmRKAxRZ7rAwh4x0VXqTnxitXM+27Gkz2a1RAkkcXDfexfHk/qurL 3AXqH4mxghwJfFQr6AjxMZIwFRalceWw4fS+EpZwlb1YFuROKttPLYupPrDzxpZfDokJ ziDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=xkl2YSQgyzqKuqbU89N6vJgSH9uVy5rur2a274LLpx8=; b=rNbHBFZNz4TwoiQgt6yBhY00zTcVFjkmL5Drc+OfjvvFR1CL2eEK5H1uNQrnQGmIaz PnwY14V0cTU/G6SItf4+s+UMnFA763lWEEDNJOAH1CrlX7jlFS3iztLraM5IjoSATzdq e+XXGe80qetdDp08t3KmIetORP40S6EU2WtbS+mD1GdVBLqYuQGyeoEq9cXKDWa3GzqH jSlWgET2clMjZJpXzg1ZSPuNHWJRQmOOljZHi22QcnRdREtzpT2DwEuYFBlTyLaQK3UH MvtmWOwWReL98hBUaVuBymat0PRfp9ZGTqThF1/UbRg6tK7KqjZrkzWFPDYwRa57Erbq GxOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NwYmYqiH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i17si10430845pju.96.2019.07.01.04.56.01; Mon, 01 Jul 2019 04:56:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NwYmYqiH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727134AbfGAKrM (ORCPT + 99 others); Mon, 1 Jul 2019 06:47:12 -0400 Received: from lelv0143.ext.ti.com ([198.47.23.248]:49072 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726912AbfGAKrM (ORCPT ); Mon, 1 Jul 2019 06:47:12 -0400 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id x61AktDf015680; Mon, 1 Jul 2019 05:46:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1561978015; bh=xkl2YSQgyzqKuqbU89N6vJgSH9uVy5rur2a274LLpx8=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=NwYmYqiH3UgHKJrXq/7XQnNew6YC+zoaqBdgWzE1BIesddbvTKMp7Gc9uxzEOtfx3 cTDmboPaQf6L6xXhEVEIDuNr3X2GB3oy0Cn6okCurZj5oRn9CJtXIZ7W8fUmbQ9Olc O7jdhIMbKfFxkUg2zuDQ4dWstSyQjW0whzxaqTKs= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x61AktWn101270 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 1 Jul 2019 05:46:55 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Mon, 1 Jul 2019 05:46:54 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Mon, 1 Jul 2019 05:46:54 -0500 Received: from [172.24.190.117] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id x61Akp51022662; Mon, 1 Jul 2019 05:46:52 -0500 Subject: Re: [PATCH] soc: ti: fix irq-ti-sci link error To: Arnd Bergmann , Santosh Shilimkar CC: Marc Zyngier , Olof Johansson , Tony Lindgren , Nishanth Menon , , References: <20190617130149.1782930-1-arnd@arndb.de> From: Lokesh Vutla Message-ID: <2974ac02-287a-ab46-6716-2b768cca47c3@ti.com> Date: Mon, 1 Jul 2019 16:16:11 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190617130149.1782930-1-arnd@arndb.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/06/19 6:31 PM, Arnd Bergmann wrote: > The irqchip driver depends on the SoC specific driver, but we want > to be able to compile-test it elsewhere: > > WARNING: unmet direct dependencies detected for TI_SCI_INTA_MSI_DOMAIN > Depends on [n]: SOC_TI [=n] > Selected by [y]: > - TI_SCI_INTA_IRQCHIP [=y] && TI_SCI_PROTOCOL [=y] > > drivers/irqchip/irq-ti-sci-inta.o: In function `ti_sci_inta_irq_domain_probe': > irq-ti-sci-inta.c:(.text+0x204): undefined reference to `ti_sci_inta_msi_create_irq_domain' > > Rearrange the Kconfig and Makefile so we build the soc driver whenever > its users are there, regardless of the SOC_TI option. > > Fixes: 49b323157bf1 ("soc: ti: Add MSI domain bus support for Interrupt Aggregator") > Fixes: f011df6179bd ("irqchip/ti-sci-inta: Add msi domain support") > Signed-off-by: Arnd Bergmann Looks like this is a side effect of the patch a6b112b04355b ("arm64: arch_k3: Fix kconfig dependency warning"). $Patch looks good to me. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > drivers/soc/Makefile | 2 +- > drivers/soc/ti/Kconfig | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile > index 524ecdc2a9bb..2ec355003524 100644 > --- a/drivers/soc/Makefile > +++ b/drivers/soc/Makefile > @@ -22,7 +22,7 @@ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ > obj-$(CONFIG_SOC_SAMSUNG) += samsung/ > obj-y += sunxi/ > obj-$(CONFIG_ARCH_TEGRA) += tegra/ > -obj-$(CONFIG_SOC_TI) += ti/ > +obj-y += ti/ > obj-$(CONFIG_ARCH_U8500) += ux500/ > obj-$(CONFIG_PLAT_VERSATILE) += versatile/ > obj-y += xilinx/ > diff --git a/drivers/soc/ti/Kconfig b/drivers/soc/ti/Kconfig > index ea0859f7b185..d7d50d48d05d 100644 > --- a/drivers/soc/ti/Kconfig > +++ b/drivers/soc/ti/Kconfig > @@ -75,10 +75,10 @@ config TI_SCI_PM_DOMAINS > called ti_sci_pm_domains. Note this is needed early in boot before > rootfs may be available. > > +endif # SOC_TI > + > config TI_SCI_INTA_MSI_DOMAIN > bool > select GENERIC_MSI_IRQ_DOMAIN > help > Driver to enable Interrupt Aggregator specific MSI Domain. > - > -endif # SOC_TI >