Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1028765rwi; Wed, 2 Nov 2022 23:19:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM65ufA+/6KEB29CqtsDy8BxJjrndyyj7ukAOmffNfcYh2mMgD0/vUzNiOnHvA78XyhJIzzX X-Received: by 2002:a17:903:100c:b0:186:63a1:3b5d with SMTP id a12-20020a170903100c00b0018663a13b5dmr29300380plb.148.1667456369796; Wed, 02 Nov 2022 23:19:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667456369; cv=none; d=google.com; s=arc-20160816; b=T99yZ6a7oVqAwdSd4ylEF1H0znWmnRam6aDXXHO53ajGugwQSUrtqoaO0CVqRWGNJr doJOtOAvXxb+To97ZD2jDJxZnaHA1oFIlp/LNsl1uafe9Tn88GTPZL7jaWTp5RA9TCwt 5bMmGG8jX0SXv251uX1Cz/B4RQxcca1grgRBr9LRIDRMSwqhuok+9/EXR9mUA6e+vHYB UmThTMKWvNFwfektfxSxdlm21CCpRoJnPf61znSSJX6sOY/JMdz31/zv/hJVWjFYfZi3 x8jRMv8xWJnmiiDXTQQRO0nwqCHIgKcIt0TRoFtaSysrEiDL62RSolEWJRnCbJjCNQ0u Dzyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=aQLHO0tfG1+nYxW1sZcdLelyPml8l1CAuYKSu3DDLFY=; b=DLLSAA94/jnGg6S/tYLZ4lZEStzBh4RzBSIQfVdExp72PxGxleRkZEj8ttyvfzhDe7 DLbpUdm1dOmEplmsZPA7EsA5cReNwffqav46+ifhdfrtH5j8lqitqklEevgpw48+tG9l ewegh5WQ4l6YFK03WXtF+/mtu/RfYORnHNtO7Dod6Hn6aME4r51EYYStOjr2J97cuyj0 14mydV4J46eOMG7i4xI6E6XOxW+pOyUPTOQ9NPLlGt54NeU6Up8F80bOpFN6cqd/BCDk UEmoZehuFH7HWHej0xdHUNpKDpNPKWr5ZW++gDJAZIJx7NTeKdanCZoQWNK94KIPperM Yyyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="BG7uH/XF"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a636b06000000b0045a07a7c790si15220472pgc.740.2022.11.02.23.19.17; Wed, 02 Nov 2022 23:19:29 -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=@ti.com header.s=ti-com-17Q1 header.b="BG7uH/XF"; 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; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230336AbiKCF6F (ORCPT + 97 others); Thu, 3 Nov 2022 01:58:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbiKCF5z (ORCPT ); Thu, 3 Nov 2022 01:57:55 -0400 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13DAA5598 for ; Wed, 2 Nov 2022 22:57:52 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2A35vaKU001401; Thu, 3 Nov 2022 00:57:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1667455056; bh=aQLHO0tfG1+nYxW1sZcdLelyPml8l1CAuYKSu3DDLFY=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=BG7uH/XFITlBIE99V0xK9YrlfEI2EtYOiC7TjlF0gS78o7u6DKKiGaUjTgfdt9pQ3 fkx0lnr6XGMJqPj2bFJsI/+n9o3UWm71h/LtiWVCgBU2+ymMYma83lWjIsh+/Zi7kA 8LQonU6B6dxW8N8Z0J1Ci6Gku8HCuIHrjI00iE/8= Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2A35vaOw087235 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 3 Nov 2022 00:57:36 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Thu, 3 Nov 2022 00:57:35 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Thu, 3 Nov 2022 00:57:36 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2A35vZDt015191; Thu, 3 Nov 2022 00:57:35 -0500 Date: Thu, 3 Nov 2022 00:57:35 -0500 From: Nishanth Menon To: Randy Dunlap CC: , kernel test robot , Tero Kristo , Santosh Shilimkar , , Philipp Zabel Subject: Re: [PATCH] reset: ti-sci: honor TI_SCI_PROTOCOL setting when not COMPILE_TEST Message-ID: <20221103055735.eo7t5aqniwlp2ykv@roulette> References: <20221030055636.3139-1-rdunlap@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20221030055636.3139-1-rdunlap@infradead.org> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 22:56-20221029, Randy Dunlap wrote: > There is a build error when COMPILE_TEST=y, TI_SCI_PROTOCOL=m, > and RESET_TI_SCI=y: > > drivers/reset/reset-ti-sci.o: in function `ti_sci_reset_probe': > reset-ti-sci.c:(.text+0x22c): undefined reference to `devm_ti_sci_get_handle' > > Fix this by making RESET_TI_SCI honor the Kconfig setting of > TI_SCI_PROTOCOL when COMPILE_TEST is not set. When COMPILE_TEST is set, > TI_SCI_PROTOCOL must be disabled (=n). > > Fixes: a6af504184c9 ("reset: ti-sci: Allow building under COMPILE_TEST") > Signed-off-by: Randy Dunlap > Reported-by: kernel test robot > Cc: Nishanth Menon > Cc: Tero Kristo > Cc: Santosh Shilimkar > Cc: linux-arm-kernel@lists.infradead.org > Cc: Philipp Zabel > --- > drivers/reset/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -- a/drivers/reset/Kconfig b/drivers/reset/Kconfig > --- a/drivers/reset/Kconfig > +++ b/drivers/reset/Kconfig > @@ -257,7 +257,7 @@ config RESET_SUNXI > > config RESET_TI_SCI > tristate "TI System Control Interface (TI-SCI) reset driver" > - depends on TI_SCI_PROTOCOL || COMPILE_TEST > + depends on TI_SCI_PROTOCOL || (COMPILE_TEST && TI_SCI_PROTOCOL=n) > help > This enables the reset driver support over TI System Control Interface > available on some new TI's SoCs. If you wish to use reset resources Reviewed-by: Nishanth Menon -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D