Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp715200pxm; Fri, 25 Feb 2022 18:06:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJz4t9KZK/lHGuTLWUtUMIl9tpcvEmMNxi6s5pcUapMfRhssuU9ZHg1FcaJL8tfbLlMCHnZg X-Received: by 2002:a17:902:7043:b0:14f:47:a455 with SMTP id h3-20020a170902704300b0014f0047a455mr10224333plt.44.1645841216843; Fri, 25 Feb 2022 18:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645841216; cv=none; d=google.com; s=arc-20160816; b=gKK8d+wyz16Bu1SEjthHzYnnQH0A8C+URriTdHDJfZhIuK0Ab8B6ZQNEQ6alO3npna zoBySQL4ElMgTlKaFOAcgjJwHt35MrDrzkaB8QbZTqAqdpQ94YIlZhVRUKYVn2f/qj1p +U95tuTbJKWPcUihaPDlR62OqkoiBkpNduMUtkudwo5KsKvTDFAbJpXPCdRA+CTTMmgw fhGxcSiHg7/v3cVnT6TZPvnlQmt3ypo5zGrA22RK8owdHxmo9DozBVhh4V4FoubztW2+ GBWAK/xPxx6CG3iZb2W0AAUm69tvIusK3fEdVtuAC+LCMUp0BKxc2ZbRnAAWAqo67dNA HTrg== 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=mRnwsckpOZEOzJRp+vH/tiCdw3vZv2oJQwGWi1VkBT4=; b=c/GrqojwQhWV8Mjvj0M4a06UrLDwRCUbaA7TFauKjSefzQ8lSup4mJdUiIh6HWaSVf GRUgy5iVRxKCb7lVNeTIbjPmnto9TNZ7iiCLkD0TtL1+G31PfS5j+2EJZJJ2UtOR5y+J PZkIFSK8dQ2Bx0sh+8fzo3KbYUELdEz6qNHCmqGPXrsBxBIP9Cm65M10b0pdO80uQEOv yahWyZPJzcPxzi14u+jMksAJLTm+5iMY/5dRRRBSCE6wVRCcd+bBOB0wVOBnuxyUDjs7 4xkLKst82IACWKDUsxj7k13gNeJh9xsTBtOpdqT51x0TuJ34R8sXykE0ceviF/fBGdZS 43pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="cEM/a8Hf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f4-20020a056a00238400b004f38de5b73dsi3350246pfc.344.2022.02.25.18.06.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 18:06:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b="cEM/a8Hf"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B52AD2AB0D0; Fri, 25 Feb 2022 17:45:12 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237897AbiBYUxR (ORCPT + 99 others); Fri, 25 Feb 2022 15:53:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238233AbiBYUxM (ORCPT ); Fri, 25 Feb 2022 15:53:12 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12D204A915; Fri, 25 Feb 2022 12:52:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=mRnwsckpOZEOzJRp+vH/tiCdw3vZv2oJQwGWi1VkBT4=; b=cEM/a8HfVpJy36VpZLKcxxJOaN qFA5LuqH8piOtvXPhXLvPAM9Q28Y3kHp8xkGYACDN47TIFPyCb5xPyhRRFGwCsKMV02Ww4340Dv1m 2hGbcwveUHKiyB+5wDzOxDVOygCZQG0U6H5F6D1cAZOq30wwGL0edDbYsAyy6oQSDfPlTF9PfdIH9 rd0fRVZMYUczjTM6hLHlJY4jDZkV4ha9J/A1wlY/FFH0+z0DE+BgoIRD0tfKrjXvdmkcHgKusHIUV bNORt6aAUtdwkSRF7PiTMIIGXJEwpw3ujb3UM0ftD6+fe8ank+ueBXjUcxGiTtl2cAaF+DjgDL2Zg aicWoXoA==; Received: from [2601:1c0:6280:3f0::aa0b] by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1nNhZl-0067eL-2x; Fri, 25 Feb 2022 20:52:29 +0000 Message-ID: <515e00ec-fdfb-0a45-f504-4dd2dce60254@infradead.org> Date: Fri, 25 Feb 2022 12:52:16 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH net] net: ipa: fix a build dependency Content-Language: en-US To: Alex Elder , davem@davemloft.net, kuba@kernel.org Cc: bjorn.andersson@linaro.org, mka@chromium.org, evgreen@chromium.org, cpratapa@codeaurora.org, avuyyuru@codeaurora.org, jponduru@codeaurora.org, subashab@codeaurora.org, elder@kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220225201530.182085-1-elder@linaro.org> From: Randy Dunlap In-Reply-To: <20220225201530.182085-1-elder@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no 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 2/25/22 12:15, Alex Elder wrote: > An IPA build problem arose in the linux-next tree the other day. > The problem is that a recent commit adds a new dependency on some > code, and the Kconfig file for IPA doesn't reflect that dependency. > As a result, some configurations can fail to build (particularly > when COMPILE_TEST is enabled). > > The recent patch adds calls to qmp_get(), qmp_put(), and qmp_send(), > and those are built based on the QCOM_AOSS_QMP config option. If > that symbol is not defined, stubs are defined, so we just need to > ensure QCOM_AOSS_QMP is compatible with QCOM_IPA, or it's not > defined. > > Reported-by: Randy Dunlap > Fixes: 34a081761e4e3 ("net: ipa: request IPA register values be retained") > Signed-off-by: Alex Elder Tested-by: Randy Dunlap Acked-by: Randy Dunlap thanks. > --- > drivers/net/ipa/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ipa/Kconfig b/drivers/net/ipa/Kconfig > index d037682fb7adb..e0164a55c1e66 100644 > --- a/drivers/net/ipa/Kconfig > +++ b/drivers/net/ipa/Kconfig > @@ -3,6 +3,7 @@ config QCOM_IPA > depends on NET && QCOM_SMEM > depends on ARCH_QCOM || COMPILE_TEST > depends on QCOM_RPROC_COMMON || (QCOM_RPROC_COMMON=n && COMPILE_TEST) > + depends on QCOM_AOSS_QMP || QCOM_AOSS_QMP=n > select QCOM_MDT_LOADER if ARCH_QCOM > select QCOM_SCM > select QCOM_QMI_HELPERS -- ~Randy