Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp570395ybl; Thu, 23 Jan 2020 04:05:34 -0800 (PST) X-Google-Smtp-Source: APXvYqwA5fbd1qEj8GZhW76NvnRvNo9NjaX5MCIDvAHBLzDaOL0ZxWMICKXux9ZWIz0Ulaid4E+V X-Received: by 2002:aca:d6c8:: with SMTP id n191mr10693500oig.103.1579781133941; Thu, 23 Jan 2020 04:05:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579781133; cv=none; d=google.com; s=arc-20160816; b=U73W6DNvLRGAB/xFn1M6GlOLb+M0v0/PxXD2JgijLqrxC1JnlCf3whoHbJtwmnK+g+ JQR1mVbqSi6Fpz6qr3vJNw77y/SlJi+y/5Pw7ZelfUtswkq8vTU/B/ehD7H4DpzT2VWe Zkxv0P2tFiZl0W+ODcx/n/xBqRzJ8K2fraBgJL5G1FQNae3nmlRYFi6rK8NNg78s9sRu N9XQ+myUWMHPwQLf3xvnKsdMO/AFmxrIfeX9e5rQEIwM0PXlPrX4k3AGMK3le//ylhbg B4zqtEX91c6juB1pWpxHAcahYY1KOXr3Jeu5lhYv5twa7HM9cIrMOrclqG6erXmeo8Ts Ge/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZiMFGAL4MYwPDWT3nQ+OXP6Uxt21dHwm6mYmXom6vtc=; b=sCD4mdhIbpzZWX/T0+PN1gwQWOVGaOzCRECj8XAAn/sQ+WzBcV9nZC6j7b2I1kCeM3 0gfZfHhYZfI6Hlhu/yd+ESoKW0qyawW3JtidYSWzHL2ZGaFWFrA7pZRQGPSHTrpI23I/ o7ptcFl9SsiuIN6wCg3ybwisjvhrEQOvbTMnFtavyNT4l4FV5W3JHuv4sQGjmG00SeAn NJhvHsM6dCjDmFSFztfMeaqenPD4Qzc8vC1gROy59A0wneRiOF/Etn3xpwFpgfPHN4qW 4yd5bHlTMskDj8fPNxVUA09PSKtEBR3ZgIocmKMgGsyLk7sx4DxzB58jgmSOXS1GFXcF DfOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YzZBMWft; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t23si1012476otk.304.2020.01.23.04.05.19; Thu, 23 Jan 2020 04:05:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YzZBMWft; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728655AbgAWMDa (ORCPT + 99 others); Thu, 23 Jan 2020 07:03:30 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:54455 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726170AbgAWMDa (ORCPT ); Thu, 23 Jan 2020 07:03:30 -0500 Received: by mail-pj1-f68.google.com with SMTP id kx11so1111836pjb.4 for ; Thu, 23 Jan 2020 04:03:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ZiMFGAL4MYwPDWT3nQ+OXP6Uxt21dHwm6mYmXom6vtc=; b=YzZBMWftyxZgk91oENZXRNJBB7oUI03xAWUTP9zQUVJ+GlYR6YWqzjtZIGZc79dYGo uUfFe9YWcvqqXP2PKXNLFHoulA5t9nV3xLUNJ8YZ69cHSJDJif0DEC7egWKoISXd8/9a oaX+CWk7VbQQpk4NYy4QEZSaOPkkqQW2fyDYoZn4R86YjtI3HUkep7H0iIETXsSez8vL rI8fUzFx95K8x7/2NIgtarxj8xiLl7GTxw+6v4hHRG+GvEdiDNW19xOVzFIQ+WsE53is RmiB617j7AF7tm60joSF70xyfcc+LDG6ljO+lk9hUpHlWNJjBJVJBj6VyHlTlARUrZS4 uO4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ZiMFGAL4MYwPDWT3nQ+OXP6Uxt21dHwm6mYmXom6vtc=; b=XIStvjdaHHV3mkkMwsdrd/WkfLL+CGLVSCKiC9rmX4r9ggVGDRPbY6nFH3VkkpoMxw BTQuHU+3TMSfNUKxH4VE+RzrvS/kycm7+xTHsJGjxHFbxysAe+EJjkoYaw2z1ZA24Eb/ Gz9ll9O2KaT7rUQ/Qeiy+THtlQwHQH9RuAqEjAbSFVZWpTCTsKZmKKDvJu9p0ZrG4qRV NlOEDJjooffyEPLCEZfCFzhW6Yw5ssAdlS3XMorqI1v43HI4OY/NumI1hy0LFx8EjZ8T dRYDjrDp9hInPxkjwVkmYe9T3jRiixi8aZZXV1sick7eno1TwNAtD0ktC2F7YTS2tTNE TLfA== X-Gm-Message-State: APjAAAVPFkKt4nq9HiVt/Bc5qmJ+i80io2ncftF/5jRq4F8m92K4ef+8 26jO/nPsy8o8jcxVSow9WHHm X-Received: by 2002:a17:90a:1ae9:: with SMTP id p96mr4305509pjp.8.1579781009682; Thu, 23 Jan 2020 04:03:29 -0800 (PST) Received: from mani ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id q11sm2398245pff.111.2020.01.23.04.03.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Jan 2020 04:03:29 -0800 (PST) Date: Thu, 23 Jan 2020 17:33:21 +0530 From: Manivannan Sadhasivam To: Arnd Bergmann Cc: gregkh , smohanad@codeaurora.org, Jeffrey Hugo , Kalle Valo , Bjorn Andersson , hemantk@codeaurora.org, linux-arm-msm , "linux-kernel@vger.kernel.org" , Andy Gross Subject: Re: [PATCH 16/16] soc: qcom: Do not depend on ARCH_QCOM for QMI helpers Message-ID: <20200123120321.GC8937@mani> References: <20200123111836.7414-1-manivannan.sadhasivam@linaro.org> <20200123111836.7414-17-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Thu, Jan 23, 2020 at 12:45:32PM +0100, Arnd Bergmann wrote: > On Thu, Jan 23, 2020 at 12:19 PM Manivannan Sadhasivam > wrote: > > > > QMI helpers are not always used by Qualcomm platforms. One of the > > exceptions is the external modems available in near future. As a > > side effect of removing the dependency, it is also going to loose > > COMPILE_TEST build coverage. > > > > Cc: Andy Gross > > Cc: Bjorn Andersson > > Cc: linux-arm-msm@vger.kernel.org > > Signed-off-by: Manivannan Sadhasivam > > --- > > drivers/soc/qcom/Kconfig | 1 - > > 1 file changed, 1 deletion(-) > > > > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > > index 79d826553ac8..ca057bc9aae6 100644 > > --- a/drivers/soc/qcom/Kconfig > > +++ b/drivers/soc/qcom/Kconfig > > @@ -88,7 +88,6 @@ config QCOM_PM > > > > config QCOM_QMI_HELPERS > > tristate > > - depends on ARCH_QCOM || COMPILE_TEST > > depends on NET > > Should this be moved out of drivers/soc/ then? > Good question. I thought this change will trigger the question anyway ;) Will need to hear from Bjorn on this. I agree that it should be moved out of drivers/soc! Thanks, Mani > Arnd