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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0D14C6FD1F for ; Tue, 14 Mar 2023 08:31:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbjCNIbT (ORCPT ); Tue, 14 Mar 2023 04:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjCNIbQ (ORCPT ); Tue, 14 Mar 2023 04:31:16 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7196B2387A; Tue, 14 Mar 2023 01:31:14 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 0F4B21BF213; Tue, 14 Mar 2023 08:31:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678782672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jdfFUYhdjACpBVveRaAJWomc0NuqciR9U2EEWezTvMg=; b=e4kux0ZWhdR5f6CpCkWuoWcd/6K8eRnFxk/IH77LYo7DY1y4rfTWniYFxwqpUKQaMrxs2M NAXWLb7Imfb6JJoc1Y+xEEgUUlEyyfNRfPs0mQ1JFk4MBBJDqSi/Yxic3KEU8ZOuBuBBS1 d8Gn6dCVuYbhwq4+5kjQVsL6USMWUOmJ7hvtHdoYeGzLAqDVUqSb23ySUZzD2t98PWJj/F P+dZqpV82oEXaAVyMZNI2TAJkSSlMxagQI6vpe10cWz3e+G7cPa6Yboq8hYhnqBJBeaNNX 4C8B1+cGkW1pUj9mF9MHKP7FBoz8zDyytC1olon7SuJ+zixkqT1OcUuvkjjy4A== Date: Tue, 14 Mar 2023 09:31:07 +0100 From: Herve Codina To: Lukas Bulwahn Cc: Li Yang , Christophe Leroy , Mark Brown , Qiang Zhao , linuxppc-dev , Linux ARM , Linux Kernel Mailing List , kernel-janitors Subject: Re: Question about the dependency on the config SOC_FSL in CPM_QMC Message-ID: <20230314093107.7d150559@bootlin.com> In-Reply-To: References: <20230314085741.6f968e68@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lukas, Mark, On Tue, 14 Mar 2023 09:17:18 +0100 Lukas Bulwahn wrote: > On Tue, Mar 14, 2023 at 8:57=E2=80=AFAM Herve Codina wrote: > > > > Hi Lukas, > > > > On Tue, 14 Mar 2023 08:21:50 +0100 > > Lukas Bulwahn wrote: > > =20 > > > Dear Herve, > > > > > > In your patch below, you added the config CPM_QMC which depends on the > > > non-existing config SOC_FSL: > > > > > > https://lore.kernel.org/r/20230217145645.1768659-7-herve.codina@bootl= in.com > > > > > > Up to my knowledge, the config SOC_FSL never existed in the mainline > > > tree. Is this dependency really required or can the expression simply > > > be reduced to COMPILE_TEST and we drop the dependency to SOC_FSL? > > > > > > Note: This patch has now shown up in linux-next with commit > > > 3178d58e0b97. Currently, it would not be possible to compile test this > > > driver, as the dependency on SOC_FSL is never met. > > > > > > > > > Best regards, > > > > > > Lukas =20 > > > > My bad :( > > > > The dependency must be FSL_SOC instead of SOC_FSL. =20 >=20 > Herve, are you going to send a quick fix to your patch or ask Mark if > your original patch can simply be replaced with a new one with this > change added? I have just sent a quick fix. https://lore.kernel.org/linux-kernel/20230314082157.137176-1-herve.codina= @bootlin.com/ Mark, it can be squashed with 3178d58e0b97 ("soc: fsl: cpm1: Add support for QMC") Regards Herv=C3=A9 >=20 > Lukas >=20 > > I mean: > > diff --git a/drivers/soc/fsl/qe/Kconfig b/drivers/soc/fsl/qe/Kconfig > > index f90cfdf0c763..7268c2fbcbc1 100644 > > --- a/drivers/soc/fsl/qe/Kconfig > > +++ b/drivers/soc/fsl/qe/Kconfig > > @@ -47,7 +47,7 @@ config CPM_TSA > > config CPM_QMC > > tristate "CPM QMC support" > > depends on OF && HAS_IOMEM > > - depends on CPM1 || (SOC_FSL && COMPILE_TEST) > > + depends on CPM1 || (FSL_SOC && COMPILE_TEST) > > depends on CPM_TSA > > help > > Freescale CPM QUICC Multichannel Controller > > > > > > > > -- > > Herv=C3=A9 Codina, Bootlin > > Embedded Linux and Kernel engineering > > https://bootlin.com =20