Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp97872pxb; Tue, 26 Oct 2021 22:20:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4wJqUiDTEeH6Htt4qBE2UC8XmLBiQ0TYcSnbgPnLvknkIP8mCnUDJT+Lmt/6UqC2OwoSN X-Received: by 2002:a17:906:6547:: with SMTP id u7mr35469013ejn.544.1635312050420; Tue, 26 Oct 2021 22:20:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635312050; cv=none; d=google.com; s=arc-20160816; b=CywVnp0yPE116pPA9MrDrFOb82cnMsI8kWbRf+XWSQbTHbxbCMGwrLfONpBQi0V1Td 9F/rRsNvz7JVN5i4p64g2qLAHSiUohRsa9snXOyy3PmU7wKqFBNPy0683sAxrhCBZWu4 KHUPHBXxbGR+tkqwHfG4jn4IOkmYePOjzLbkMrNNt2IuBVaqBKGB++4yD50InLz4y4F6 OUWvrAnyhiFze6AkEouopo1wbDmKk0othiKkqExu1Ss7+Da/5Edt70b/vm4azynnT5Cx DoSwRLcHrUODIP9p/nRj1elSvukU2RBA90GxXjiHAWTzAoYvuB29qLl6pEaOYKnvk+HF PkIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Ok/6IMhjWObzEGTvSkZe4AMKwm0LpNlb/4Kte4oUun0=; b=RaOOtLx7LIIMBSn2g5dghCFrxsjAJ3m/f+ASKbSs0JVx1aJBVf9nVq2t3rGaCfAPXQ 2dY51QFSYlJuAwwDQ/miD1P3DDNhLu8fUjhvT36SthBDV9Q4wRS/18loqwDIWWPX/vaf wqmb+/qNbM9QwU2ydIAjV/5+hXPPvN5YK7agBnT4tUSNsA2tliKpM0gz3dcx46OGQ0vo 3A1vOwStInbQDpR0gLNuypV7mmAxwHO168EY5tDVdEji54gq/wap99skvfhdsaR1tDsr 42fFwQHb/cXLtwgCtaFYOs/A8iVNlLymbVL5jD3cZSZsUnPY0aOAPA5AVPM5jYjY5jQG kUow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XYxQXf9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si2056298edd.187.2021.10.26.22.20.20; Tue, 26 Oct 2021 22:20:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=XYxQXf9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238092AbhJZSNt (ORCPT + 99 others); Tue, 26 Oct 2021 14:13:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235040AbhJZSNn (ORCPT ); Tue, 26 Oct 2021 14:13:43 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C0F4C061767; Tue, 26 Oct 2021 11:11:18 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id bi35so584157lfb.9; Tue, 26 Oct 2021 11:11:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Ok/6IMhjWObzEGTvSkZe4AMKwm0LpNlb/4Kte4oUun0=; b=XYxQXf9vr1K88j0vZznYNkRdyV4d4xKn6hBNRnE4qxeGOJT6zFsJApBWWUeZxeOYbU qKpJy7Dr85HDb6jPAVymoOYDyCu4lmYznbo81zW4dTwN1DOCAeT52ECSjemvmFZdqRbb pI6AAEVrZ43jAeDnaOryFbFWXJvAVTixdfQ4lN+pZnL8QgpfgxrfXY9wXaNeEKUWAbWV QBkZneU1k5g5kp5WHDUalix2YeKkluV7r6JEKZTOmywtXTcgZxMNELoNjPkJ+K2iJgg8 Jf9AKacGH63TKkn/aHbOJgulRUyKw8UaBYn7ScZtNmZgzayF3wiZVIVoHY7UEA4tgl0q 3CAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Ok/6IMhjWObzEGTvSkZe4AMKwm0LpNlb/4Kte4oUun0=; b=mx6I6k/4Qvu+FTllWx/UkqLgTGLLNrg0OQjkOhtO5uEvSrbLuM8bLePQsxtlIx9HhJ v+o9aUIdBRRwqVtKKbsq43ze5g85Ul9uPonnQlbPGV3UmoViQuxRFn+sfQ/CAi6RKmEO TwtAKijZnQbB7Kfa0lDeYvodkM78tDbhdaMmiVb6R4vdHDfLGyLInb/NzqOhzMuBbhyi 5FS7vk0Ig/3C6Cf10cCgOwxrm9fMIj5mQvSc4oRb72mLzAnoihTo8mxDdJHcHY3/C58/ t4bnl/+lQVnEQmwPWW3eKCm9m3B/PfUPJASybYSPs6ejKnGQzE/z03KOlwba800NxwiS 2DxQ== X-Gm-Message-State: AOAM533MRqgsoih6i/9moMyLhEV3MFLJGb8nCi1SfaJ8oizcFb7XQsqz UnMtcCkPDplSh5VhnjcbQd2NhcR/8kcbE1GRGrXTvHQkGmI= X-Received: by 2002:a05:6512:2611:: with SMTP id bt17mr23076108lfb.189.1635271876655; Tue, 26 Oct 2021 11:11:16 -0700 (PDT) MIME-Version: 1.0 References: <20211025163121.2189630-1-janusz.dziedzic@gmail.com> <39561c73-732e-bc38-e250-a0bdf51b09f9@linaro.org> In-Reply-To: <39561c73-732e-bc38-e250-a0bdf51b09f9@linaro.org> From: Janusz Dziedzic Date: Tue, 26 Oct 2021 20:11:05 +0200 Message-ID: Subject: Re: [PATCH] soc: qcom: qmi: add a prompt to QCOM_QMI_HELPERS To: Alex Elder Cc: LKML , linux-soc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org wt., 26 pa=C5=BA 2021 o 15:43 Alex Elder napisa=C5=82(a)= : > > On 10/25/21 11:31 AM, Janusz Dziedzic wrote: > > From: Alex Elder > > > > Add a prompt to the "tristate" attribute in the Kconfig file in > > which QCOM_QMI_HELPERS is defined; I find it doesn't get selected > > without it. > > This was a *long* time ago! > https://lore.kernel.org/all/20180427140358.30839-1-elder@linaro.org/ > > The discussion that followed indicated that the thing that needs > QCOM_QMI_HELPERS should *select* it rather than *depend on it. > > Will this not work for you? > This don't work, we can't run select from backports. Backports drivers - ath11k for this case - build out of the tree as a separate modules. Eg. Today we are using kernel 5.10 and backports generated from kernel 5.15. So our kernel 5.10 don't check CONFIG_ATH11K This is what I see from our kernel: Selected by [n]: ATH11K [=3Dn] && NETDEVICES [=3Dy] && WLAN [=3Dy] && WLAN_VENDOR_ATH [=3Dn]= && MAC80211 [=3Dn] && HAS_DMA [=3Dy] && CRYPTO_MICHAEL_MIC [=3Dn] But we build backports/ath11k module which has: depends on QCOM_QMI_HELPERS To enable backports/ath11k build we need kernel that have QCOM_QMI_HELPERS enabled. Because of that we need this configurable. BR Janusz > -Alex > > > We need it in OpenWRT project, when using WiFi backports > > and build ath11k driver. While ath11k driver depends on > > QCOM_QMI_HELPERS we need way to enable this option in > > our kernel. > > > > Signed-off-by: Alex Elder > > Signed-off-by: Janusz Dziedzic > > --- > > drivers/soc/qcom/Kconfig | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > > index fe3c486ae32d..16fb8e286015 100644 > > --- a/drivers/soc/qcom/Kconfig > > +++ b/drivers/soc/qcom/Kconfig > > @@ -92,7 +92,7 @@ config QCOM_PDR_HELPERS > > select QCOM_QMI_HELPERS > > > > config QCOM_QMI_HELPERS > > - tristate > > + tristate "Qualcomm QMI Helpers" > > depends on NET > > > > config QCOM_RMTFS_MEM > > > --=20 Janusz Dziedzic