Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10655699ybi; Thu, 11 Jul 2019 08:51:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqyio5dKw9KWX46zY/LLpYRhRSS2a/VNnpzZUQKwE6qq0LANM2ywj3PH9z1NE8ZVyO38DlN2 X-Received: by 2002:a17:902:be15:: with SMTP id r21mr5255539pls.293.1562860263176; Thu, 11 Jul 2019 08:51:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562860263; cv=none; d=google.com; s=arc-20160816; b=Az7/fCPF5UU508Cw1uvhx0SUpXyYluaKXeJJofUWl9TgYPK2rzBf5im+cMXwSl/jYw Y2AygNj51pGhEB8Cj8fudiq8bzRNe+nV2FujY4a+zpiWMap7xadz/3n+aElbf6oEfaKf 4EMCfT8ZmHPRltxF1lalQI6NoZ+ZJRlCwIkDIzMvHGKS4Z7sjc7CuE9bXa9R8IOQDYGN hS0Ee1jBBYsokTZ/umatR9grkxK58z1DDo2cM23Ke2OGY1jhrQMESOlFl+ZmGvhVPTuh OYz7ZgcUtsiNzvHz+9IJZD1JrqcneMxTIUP9Hao0XOpt3B/b4hkGqvRXMZQnSJiAXVtp Q1og== 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=9q5e5xsE6UxbmvyByXA+T20mGnA1lQm57hTSJ8K1J6c=; b=JyWxAetZ+I86QmIkAP0YV0xRhqfknQce0pNdlwJOgG9JdwBvefEyt2XxVh2slxNiBa 7Q3X+NOwYBSqEwPBwqO/XJGu4kNFUszHHJGv/egBIKsJ0lIybzsoxhpXcVi3CWnpCta4 q7mhAuH494AxjVgxw8vf3aHgGty1u2PIW3DnIRVe3kRLJ+XJJ/ak7KdNMs6pIA5ej9Hl 8BCqRKe3zY3JAm8UB9H0OZEazvAapcB3IdeR1yPxctv1KhvIep67ykEFT7ztkbTkezkP tG7Y4nbSdSBA6MOjir2G3vUvaXyVXMuFvumsHbq0l+xW7c33MqF4drGwgVQZE09k+4m8 DOGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WirpxiIc; 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 a1si5035928pjs.58.2019.07.11.08.50.47; Thu, 11 Jul 2019 08:51:03 -0700 (PDT) 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=WirpxiIc; 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 S1728932AbfGKPhG (ORCPT + 99 others); Thu, 11 Jul 2019 11:37:06 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:44143 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728274AbfGKPhG (ORCPT ); Thu, 11 Jul 2019 11:37:06 -0400 Received: by mail-pg1-f193.google.com with SMTP id i18so3112814pgl.11 for ; Thu, 11 Jul 2019 08:37:06 -0700 (PDT) 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=9q5e5xsE6UxbmvyByXA+T20mGnA1lQm57hTSJ8K1J6c=; b=WirpxiIcaTZJLjiGHmjvKbWIuxyqKSaAOWWXitxjrgTIuR7qbwoRJ2CGeMeBLRm1YW yw1ORYVGE0f77F2r5ZvyBboEzPO6ysNKVLB4mVRm7HWoWIox4uuWjHg0VI9ownVbkaoD S5oFK33zkdztHh5wAjS64D78P/pQSM14Mtu8i95jPa9G0AYH6Ffbf8hrQx6Cb/Uv3+Q7 +V0sX88zCbxJhx9VKkR8o45PFL07SnLY7T714rbRWEiUghXFjoszW1KQiiwYaX9S3EBP VuTmsJ3MThSPtlz4beuWAbemPL9aaqUNJSvXKJ/bY+NKsnkLnXDPWH31xU+8p0gNqt6v qAuQ== 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=9q5e5xsE6UxbmvyByXA+T20mGnA1lQm57hTSJ8K1J6c=; b=fawmzp6lC5gnpZR+kFgyT6s17UBClDiul4e14u20nK3FXoMELlu3ZD5184KT8KUiw2 V2/BXPoj64p70Cn7joL7lZjZmLXdmhF3/wXYtE3SP1dpLOSwIFFWdbY7h+4XPp071qup oBtj0hXmdBlP7RYEOzEDVSJJraSzrtsI5iYugyv5P87N5unLwQV/sq1iM4fVztq08Vxl qBOXTC0D4oCjTvJaEbXPn9gHmISLu8iSvrIV/DUQRvtKP3ZoTEjOrnlkJnAr5uu5ybaW nnGel3KivcQ9UljiTnBDgDtGPUZoAeF8+u+8lPIaeDGUhloxi/FJqhJ1/p9W9HaWXrHS 3csA== X-Gm-Message-State: APjAAAW7w4TZGC83K0qc8BQBY2h3yCXQfuHTxKunwhwuCeRCbaTk462N 507lnaiHQnZt8iFOOSN7oi8vIoD1ujY= X-Received: by 2002:a63:5b52:: with SMTP id l18mr5084750pgm.21.1562859425665; Thu, 11 Jul 2019 08:37:05 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id o32sm5562157pje.9.2019.07.11.08.37.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 08:37:05 -0700 (PDT) Date: Thu, 11 Jul 2019 08:38:16 -0700 From: Bjorn Andersson To: Vivek Gautam Cc: agross@kernel.org, linux-arm-msm@vger.kernel.org, jcrouse@codeaurora.org, rishabhb@codeaurora.org, vnkgutta@codeaurora.org, evgreen@chromium.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] soc: qcom: llcc: Rename llcc-sdm845 to llcc-plat Message-ID: <20190711153816.GQ7234@tuxbook-pro> References: <20190711110340.16672-1-vivek.gautam@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190711110340.16672-1-vivek.gautam@codeaurora.org> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 11 Jul 04:03 PDT 2019, Vivek Gautam wrote: > To avoid adding files for each future supported SoCs rename > the file to a generic name - llcc-plat, so that llcc configuration > tables for other SoCs can be added in the same driver. > We've had a generic LLCC Kconfig option and then a specific SDM845 one, with this change we have two different generic options and both would either always be enabled or disabled. So I think you should drop QCOM_SDM845_LLCC and build both llcc-slice and llcc-plat into the same qcom_llcc.ko instead. Regards, Bjorn > Signed-off-by: Vivek Gautam > --- > drivers/soc/qcom/Kconfig | 10 +++++----- > drivers/soc/qcom/Makefile | 2 +- > drivers/soc/qcom/{llcc-sdm845.c => llcc-plat.c} | 0 > 3 files changed, 6 insertions(+), 6 deletions(-) > rename drivers/soc/qcom/{llcc-sdm845.c => llcc-plat.c} (100%) > > diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig > index a6d1bfb17279..8110d415b18e 100644 > --- a/drivers/soc/qcom/Kconfig > +++ b/drivers/soc/qcom/Kconfig > @@ -62,13 +62,13 @@ config QCOM_LLCC > to clients that use the LLCC. Say yes here to enable LLCC slice > driver. > > -config QCOM_SDM845_LLCC > - tristate "Qualcomm Technologies, Inc. SDM845 LLCC driver" > +config QCOM_PLAT_LLCC > + tristate "Qualcomm Technologies, Inc. platform LLCC driver" > depends on QCOM_LLCC > help > - Say yes here to enable the LLCC driver for SDM845. This provides > - data required to configure LLCC so that clients can start using the > - LLCC slices. > + Say yes here to enable the LLCC driver for Qcom platforms, such as > + SDM845. This provides data required to configure LLCC so that > + clients can start using the LLCC slices. > > config QCOM_MDT_LOADER > tristate > diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile > index eeb088beb15f..3bf26667d7ee 100644 > --- a/drivers/soc/qcom/Makefile > +++ b/drivers/soc/qcom/Makefile > @@ -21,6 +21,6 @@ obj-$(CONFIG_QCOM_SMSM) += smsm.o > obj-$(CONFIG_QCOM_WCNSS_CTRL) += wcnss_ctrl.o > obj-$(CONFIG_QCOM_APR) += apr.o > obj-$(CONFIG_QCOM_LLCC) += llcc-slice.o > -obj-$(CONFIG_QCOM_SDM845_LLCC) += llcc-sdm845.o > +obj-$(CONFIG_QCOM_PLAT_LLCC) += llcc-plat.o > obj-$(CONFIG_QCOM_RPMHPD) += rpmhpd.o > obj-$(CONFIG_QCOM_RPMPD) += rpmpd.o > diff --git a/drivers/soc/qcom/llcc-sdm845.c b/drivers/soc/qcom/llcc-plat.c > similarity index 100% > rename from drivers/soc/qcom/llcc-sdm845.c > rename to drivers/soc/qcom/llcc-plat.c > -- > QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member > of Code Aurora Forum, hosted by The Linux Foundation >