Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1243731rwd; Thu, 25 May 2023 09:50:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JRRaVE9DY7tKzCOnimwvUshQCvUc3/MovHs9SSeTTC9aVWSMZG1WD70eL3hLCiatr20uh X-Received: by 2002:a17:90b:80d:b0:247:5654:fcf3 with SMTP id bk13-20020a17090b080d00b002475654fcf3mr2372907pjb.11.1685033437963; Thu, 25 May 2023 09:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685033437; cv=none; d=google.com; s=arc-20160816; b=hwiDQNs9uo9XOKIFqY9pul7fS0KDS/s/dugFWFzLqMsbpq6jCtA4ss+76oJOAvmfI1 fWPxPfKVhIb2HD8LA/NNdPDTlYUjNyQlLdna8zaVwZITBpuRHsYcvwmu1vroHbfocmYf mOsSeBBMj+cGLRIPqEjJAtKrAIH7TDbwSV5qgJZj48APJv4TospDjiiIOAinIGXe9OGO 5HuL/XWbXYL+2Nno5AtJniGN2AYRYxi49N5ckx/v7tShpPdHBPqOdE2m9pm2oQLDM1mu P3KwY4xw7Z0C4endZaNC4pm1ph6aJVkxRj8GvdoZ8GA1WJH6XCRC6IViFhfuMOa2D6OT Rs2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=spc29Cm0a+oO128y4mo0IaM9JJ5/Y6pCdvJ8tr2Dfag=; b=bB3cCagW0ULOprPrQRKOc8wvcz2QVIs7DxyfhJ5Vi7CYT4PoerQJcv+ZqCh8djKqiO ohblMN5z/8snIqdrh7wtaKg7U1TyKkuHntiViG2KpK7kxbYL/DiZh1qSa9xkUYnoL3jv ipgB9wj1Cz8EgQEajKJmi7Kb2Uow/MLpldz87gXSQb+Sk1k5JNHi1ScYEmoqXu5zBpdY X6VpaLQ1x32UgKWS925zyWI/1ICk5Tb+CY7hHvRtaGujqBDdX+a0TPphBHE+0wt6dxW4 IYyC7CQ01yP+IqXF44GtwT6S8PrO/5sY98FxNDOGklBuxP6oJTWbfsRV2ZU/iZ/sU+Vs J9vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sEI6Kn0a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fy22-20020a17090b021600b00247101dd0c1si1926136pjb.15.2023.05.25.09.50.22; Thu, 25 May 2023 09:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sEI6Kn0a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240530AbjEYQ1o (ORCPT + 99 others); Thu, 25 May 2023 12:27:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240568AbjEYQ1P (ORCPT ); Thu, 25 May 2023 12:27:15 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E8D8E6E; Thu, 25 May 2023 09:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=spc29Cm0a+oO128y4mo0IaM9JJ5/Y6pCdvJ8tr2Dfag=; b=sEI6Kn0a/+TFGY+DqA8SqsqAMN r7wV/N+GHENm2Gx0P3CUwavLtTrdIDeJfvkRnuCSc3HzFZzTQd67RxcBAT3dA7+CfxrwV85NQuG10 zRwGHZMZ79ECgzmQGchKlnTlACoWCjc7DnZDP+G0S405EljESD4eSB/MtdNl5raXm245Eg0NWlGEf Hz6I5Yc+uVW2wh1GyuVmvu2tBufkFykrDMWiVbr6lPOV1EJhjKd5789WUng75huN0nTLl4IE+AMb0 xJvhIHyFZSAAZIqnh4u87tCrTL07cphpiuPcS3XioCP/E/HEguj6wQubhuKM3Y84R3pHu+rEEvh5q KO5lmlHQ==; Received: from [2601:1c2:980:9ec0::2764] by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1q2Dnk-00H5bT-26; Thu, 25 May 2023 16:26:56 +0000 Message-ID: Date: Thu, 25 May 2023 09:26:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 1/2] soc: fsl: cpm1: Fix TSA and QMC dependencies in case of COMPILE_TEST Content-Language: en-US To: Herve Codina , Qiang Zhao , Li Yang , Greg Kroah-Hartman , Jiri Slaby Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Mark Brown , Christophe Leroy , Thomas Petazzoni , kernel test robot References: <20230523085902.75837-1-herve.codina@bootlin.com> <20230523085902.75837-2-herve.codina@bootlin.com> From: Randy Dunlap In-Reply-To: <20230523085902.75837-2-herve.codina@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/23/23 01:59, Herve Codina wrote: > In order to compile tsa.c and qmc.c, CONFIG_CPM must be set. > > Without this dependency, the linker fails with some missing > symbols for COMPILE_TEST configurations that need QMC without > enabling CPM. > > Signed-off-by: Herve Codina > Reported-by: kernel test robot > Link: https://lore.kernel.org/oe-kbuild-all/202305160221.9XgweObz-lkp@intel.com/ Fixes all of my CPM build issues. (with patch 2/2 also applied) Thanks. Acked-by: Randy Dunlap Tested-by: Randy Dunlap # build-tested > --- > drivers/soc/fsl/qe/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/soc/fsl/qe/Kconfig b/drivers/soc/fsl/qe/Kconfig > index 7268c2fbcbc1..e0d096607fef 100644 > --- a/drivers/soc/fsl/qe/Kconfig > +++ b/drivers/soc/fsl/qe/Kconfig > @@ -36,7 +36,7 @@ config UCC > config CPM_TSA > tristate "CPM TSA support" > depends on OF && HAS_IOMEM > - depends on CPM1 || COMPILE_TEST > + depends on CPM1 || (CPM && COMPILE_TEST) > help > Freescale CPM Time Slot Assigner (TSA) > controller. > @@ -47,7 +47,7 @@ config CPM_TSA > config CPM_QMC > tristate "CPM QMC support" > depends on OF && HAS_IOMEM > - depends on CPM1 || (FSL_SOC && COMPILE_TEST) > + depends on CPM1 || (FSL_SOC && CPM && COMPILE_TEST) > depends on CPM_TSA > help > Freescale CPM QUICC Multichannel Controller -- ~Randy