linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lucas De Marchi <lucas.demarchi@intel.com>
To: "Kammela, Gayatri" <gayatri.kammela@intel.com>
Cc: "platform-driver-x86@vger.kernel.org" 
	<platform-driver-x86@vger.kernel.org>,
	"mgross@linux.intel.com" <mgross@linux.intel.com>,
	"hdegoede@redhat.com" <hdegoede@redhat.com>,
	"irenic.rajneesh@gmail.com" <irenic.rajneesh@gmail.com>,
	"andriy.shevchenko@linux.intel.com" 
	<andriy.shevchenko@linux.intel.com>,
	"vicamo.yang@canonical.com" <vicamo.yang@canonical.com>,
	"Pandruvada, Srinivas" <srinivas.pandruvada@intel.com>,
	"Box, David E" <david.e.box@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"Mashiah, Tamar" <tamar.mashiah@intel.com>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"rajatja@google.com" <rajatja@google.com>,
	"Shyam-sundar.S-k@amd.com" <Shyam-sundar.S-k@amd.com>,
	"Alexander.Deucher@amd.com" <Alexander.Deucher@amd.com>,
	"mlimonci@amd.com" <mlimonci@amd.com>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,
	"Dixit, Ashutosh" <ashutosh.dixit@intel.com>
Subject: Re: [PATCH v5 1/5] platform/x86/intel: intel_pmc_core: Move intel_pmc_core* files to pmc subfolder
Date: Mon, 16 Aug 2021 13:32:04 -0700	[thread overview]
Message-ID: <20210816203204.a35yvbuuhjxjbjcw@ldmartin-desk2> (raw)
In-Reply-To: <MW3PR11MB45230D40F51FAB5C5A4E0FCBF2FD9@MW3PR11MB4523.namprd11.prod.outlook.com>

On Mon, Aug 16, 2021 at 12:23:21PM -0700, Kammela, Gayatri wrote:
>> -----Original Message-----
>> From: De Marchi, Lucas <lucas.demarchi@intel.com>
>> Sent: Monday, August 16, 2021 10:38 AM
>> To: Kammela, Gayatri <gayatri.kammela@intel.com>
>> Cc: platform-driver-x86@vger.kernel.org; mgross@linux.intel.com;
>> hdegoede@redhat.com; irenic.rajneesh@gmail.com;
>> andriy.shevchenko@linux.intel.com; vicamo.yang@canonical.com;
>> Pandruvada, Srinivas <srinivas.pandruvada@intel.com>; Box, David E
>> <david.e.box@intel.com>; linux-kernel@vger.kernel.org; Mashiah, Tamar
>> <tamar.mashiah@intel.com>; gregkh@linuxfoundation.org;
>> rajatja@google.com; Shyam-sundar.S-k@amd.com;
>> Alexander.Deucher@amd.com; mlimonci@amd.com; Andy Shevchenko
>> <andy.shevchenko@gmail.com>
>> Subject: Re: [PATCH v5 1/5] platform/x86/intel: intel_pmc_core: Move
>> intel_pmc_core* files to pmc subfolder
>>
>> On Fri, Jul 16, 2021 at 11:38:33AM -0700, Gayatri Kammela wrote:
>> >As part of collecting Intel x86 specific drivers in their own folder,
>> >move intel_pmc_core* files to its own subfolder there.
>> >
>> >Cc: Srinivas Pandruvada <srinivas.pandruvada@intel.com>
>> >Cc: David Box <david.e.box@intel.com>
>> >Cc: You-Sheng Yang <vicamo.yang@canonical.com>
>> >Cc: Hans de Goede <hdegoede@redhat.com>
>> >Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> >Acked-by: Rajneesh Bhardwaj <irenic.rajneesh@gmail.com>
>> >Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
>> >Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
>> >---
>> > MAINTAINERS                                   |  2 +-
>> > drivers/platform/x86/Kconfig                  | 21 ------------------
>> > drivers/platform/x86/Makefile                 |  1 -
>> > drivers/platform/x86/intel/Kconfig            |  1 +
>> > drivers/platform/x86/intel/Makefile           |  1 +
>> > drivers/platform/x86/intel/pmc/Kconfig        | 22 +++++++++++++++++++
>> > drivers/platform/x86/intel/pmc/Makefile       |  5 +++++
>> > .../{intel_pmc_core.c => intel/pmc/core.c}    |  2 +-
>> > .../{intel_pmc_core.h => intel/pmc/core.h}    |  0
>> > .../pmc/pltdrv.c}                             |  0
>> > 10 files changed, 31 insertions(+), 24 deletions(-)  create mode
>> >100644 drivers/platform/x86/intel/pmc/Kconfig
>> > create mode 100644 drivers/platform/x86/intel/pmc/Makefile
>> > rename drivers/platform/x86/{intel_pmc_core.c => intel/pmc/core.c}
>> >(99%)  rename drivers/platform/x86/{intel_pmc_core.h =>
>> >intel/pmc/core.h} (100%)  rename
>> >drivers/platform/x86/{intel_pmc_core_pltdrv.c => intel/pmc/pltdrv.c}
>> >(100%)
>> >
>> >diff --git a/MAINTAINERS b/MAINTAINERS
>> >index 6c8be735cc91..c5d610885bf2 100644
>> >--- a/MAINTAINERS
>> >+++ b/MAINTAINERS
>> >@@ -9477,7 +9477,7 @@ M:     David E Box <david.e.box@intel.com>
>> > L:  platform-driver-x86@vger.kernel.org
>> > S:  Maintained
>> > F:  Documentation/ABI/testing/sysfs-platform-intel-pmc
>> >-F:  drivers/platform/x86/intel_pmc_core*
>> >+F:  drivers/platform/x86/intel/pmc/core*
>> >
>> > INTEL PMIC GPIO DRIVERS
>> > M:  Andy Shevchenko <andy@kernel.org>
>> >diff --git a/drivers/platform/x86/Kconfig
>> >b/drivers/platform/x86/Kconfig index 7d385c3b2239..cae72922f448 100644
>> >--- a/drivers/platform/x86/Kconfig
>> >+++ b/drivers/platform/x86/Kconfig
>> >@@ -1184,27 +1184,6 @@ config INTEL_MRFLD_PWRBTN
>> >       To compile this driver as a module, choose M here: the module
>> >       will be called intel_mrfld_pwrbtn.
>> >
>> >-config INTEL_PMC_CORE
>> >-    tristate "Intel PMC Core driver"
>> >-    depends on PCI
>> >-    depends on ACPI
>> >-    help
>> >-      The Intel Platform Controller Hub for Intel Core SoCs provides
>> access
>> >-      to Power Management Controller registers via various interfaces.
>> This
>> >-      driver can utilize debugging capabilities and supported features as
>> >-      exposed by the Power Management Controller. It also may perform
>> some
>> >-      tasks in the PMC in order to enable transition into the SLPS0 state.
>> >-      It should be selected on all Intel platforms supported by the driver.
>> >-
>> >-      Supported features:
>> >-            - SLP_S0_RESIDENCY counter
>> >-            - PCH IP Power Gating status
>> >-            - LTR Ignore / LTR Show
>> >-            - MPHY/PLL gating status (Sunrisepoint PCH only)
>> >-            - SLPS0 Debug registers (Cannonlake/Icelake PCH)
>> >-            - Low Power Mode registers (Tigerlake and beyond)
>> >-            - PMC quirks as needed to enable SLPS0/S0ix
>> >-
>> > config INTEL_PMT_CLASS
>> >     tristate
>> >     help
>> >diff --git a/drivers/platform/x86/Makefile
>> >b/drivers/platform/x86/Makefile index 7ee369aab10d..43d36f8c36f1
>> 100644
>> >--- a/drivers/platform/x86/Makefile
>> >+++ b/drivers/platform/x86/Makefile
>> >@@ -128,7 +128,6 @@ obj-$(CONFIG_INTEL_UNCORE_FREQ_CONTROL)
>>               += intel-uncore-frequency.o
>> > obj-$(CONFIG_INTEL_BXTWC_PMIC_TMU)  += intel_bxtwc_tmu.o
>> > obj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN) += intel_chtdc_ti_pwrbtn.o
>> > obj-$(CONFIG_INTEL_MRFLD_PWRBTN)    += intel_mrfld_pwrbtn.o
>> >-obj-$(CONFIG_INTEL_PMC_CORE)                += intel_pmc_core.o
>> intel_pmc_core_pltdrv.o
>> > obj-$(CONFIG_INTEL_PMT_CLASS)               += intel_pmt_class.o
>> > obj-$(CONFIG_INTEL_PMT_TELEMETRY)   += intel_pmt_telemetry.o
>> > obj-$(CONFIG_INTEL_PMT_CRASHLOG)    += intel_pmt_crashlog.o
>> >diff --git a/drivers/platform/x86/intel/Kconfig
>> >b/drivers/platform/x86/intel/Kconfig
>> >index f2eef337eb98..8ca021785f67 100644
>> >--- a/drivers/platform/x86/intel/Kconfig
>> >+++ b/drivers/platform/x86/intel/Kconfig
>> >@@ -18,5 +18,6 @@ if X86_PLATFORM_DRIVERS_INTEL
>> >
>> > source "drivers/platform/x86/intel/int33fe/Kconfig"
>> > source "drivers/platform/x86/intel/int3472/Kconfig"
>> >+source "drivers/platform/x86/intel/pmc/Kconfig"
>> >
>> > endif # X86_PLATFORM_DRIVERS_INTEL
>> >diff --git a/drivers/platform/x86/intel/Makefile
>> >b/drivers/platform/x86/intel/Makefile
>> >index 0653055942d5..49962f4dfdec 100644
>> >--- a/drivers/platform/x86/intel/Makefile
>> >+++ b/drivers/platform/x86/intel/Makefile
>> >@@ -6,3 +6,4 @@
>> >
>> > obj-$(CONFIG_INTEL_CHT_INT33FE)             += int33fe/
>> > obj-$(CONFIG_INTEL_SKL_INT3472)             += int3472/
>> >+obj-$(CONFIG_INTEL_PMC_CORE)                += pmc/
>> >diff --git a/drivers/platform/x86/intel/pmc/Kconfig
>> >b/drivers/platform/x86/intel/pmc/Kconfig
>> >new file mode 100644
>> >index 000000000000..b4c955a35674
>> >--- /dev/null
>> >+++ b/drivers/platform/x86/intel/pmc/Kconfig
>> >@@ -0,0 +1,22 @@
>> >+# SPDX-License-Identifier: GPL-2.0-only
>> >+
>> >+config INTEL_PMC_CORE
>> >+    tristate "Intel PMC Core driver"
>> >+    depends on PCI
>> >+    depends on ACPI
>> >+    help
>> >+      The Intel Platform Controller Hub for Intel Core SoCs provides
>> access
>> >+      to Power Management Controller registers via various interfaces.
>> This
>> >+      driver can utilize debugging capabilities and supported features as
>> >+      exposed by the Power Management Controller. It also may perform
>> some
>> >+      tasks in the PMC in order to enable transition into the SLPS0 state.
>> >+      It should be selected on all Intel platforms supported by the driver.
>> >+
>> >+      Supported features:
>> >+            - SLP_S0_RESIDENCY counter
>> >+            - PCH IP Power Gating status
>> >+            - LTR Ignore / LTR Show
>> >+            - MPHY/PLL gating status (Sunrisepoint PCH only)
>> >+            - SLPS0 Debug registers (Cannonlake/Icelake PCH)
>> >+            - Low Power Mode registers (Tigerlake and beyond)
>> >+            - PMC quirks as needed to enable SLPS0/S0ix
>> >diff --git a/drivers/platform/x86/intel/pmc/Makefile
>> >b/drivers/platform/x86/intel/pmc/Makefile
>> >new file mode 100644
>> >index 000000000000..e0182e10a035
>> >--- /dev/null
>> >+++ b/drivers/platform/x86/intel/pmc/Makefile
>> >@@ -0,0 +1,5 @@
>> >+# SPDX-License-Identifier: GPL-2.0
>> >+#
>> >+
>> >+obj-$(CONFIG_INTEL_PMC_CORE)        += core.o
>> >+obj-$(CONFIG_INTEL_PMC_CORE)        += pltdrv.o
>>
>> is the module rename really intentional? If so, it needs to be renamed to
>> something else as just calling it core may conflict with other equally badly
>> named modules.
>Hi Lucas! Yes, the module rename is intentional. Thanks for reporting the issue. This issue has been addressed in V6. I have just sent the V7 https://patchwork.kernel.org/project/platform-driver-x86/list/

ok, thanks! I guess I forgot the -c flag to b4, that correctly
downloads v7:

	b4 am -c b2cb6b10b75445acceab3030c3a9aa585e7c7b65.1626459866.git.gayatri.kammela@intel.com
	...
	New revision: [PATCH v7 0/5] Add Alder Lake PCH-S support to PMC core driver

Lucas De Marchi

  reply	other threads:[~2021-08-16 20:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16 18:38 [PATCH v5 0/5] Add Alder Lake PCH-S support to PMC core driver Gayatri Kammela
2021-07-16 18:38 ` [PATCH v5 1/5] platform/x86/intel: intel_pmc_core: Move intel_pmc_core* files to pmc subfolder Gayatri Kammela
2021-08-16 17:37   ` Lucas De Marchi
2021-08-16 19:23     ` Kammela, Gayatri
2021-08-16 20:32       ` Lucas De Marchi [this message]
2021-07-16 18:38 ` [PATCH v5 2/5] platform/x86/intel: pmc/core: Add Alderlake support to pmc core driver Gayatri Kammela
2021-07-16 18:38 ` [PATCH v5 3/5] platform/x86/intel: pmc/core: Add Latency Tolerance Reporting (LTR) support to Alder Lake Gayatri Kammela
2021-07-16 18:38 ` [PATCH v5 4/5] platform/x86/intel: pmc/core: Add Alder Lake low power mode support for pmc core Gayatri Kammela
2021-07-16 18:38 ` [PATCH v5 5/5] platform/x86/intel: pmc/core: Add GBE Package C10 fix for Alder Lake PCH Gayatri Kammela
2021-07-17 15:32 ` [PATCH v5 0/5] Add Alder Lake PCH-S support to PMC core driver Hans de Goede
2021-07-19 16:49   ` Kammela, Gayatri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210816203204.a35yvbuuhjxjbjcw@ldmartin-desk2 \
    --to=lucas.demarchi@intel.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=ashutosh.dixit@intel.com \
    --cc=david.e.box@intel.com \
    --cc=gayatri.kammela@intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=hdegoede@redhat.com \
    --cc=irenic.rajneesh@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgross@linux.intel.com \
    --cc=mlimonci@amd.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rajatja@google.com \
    --cc=srinivas.pandruvada@intel.com \
    --cc=tamar.mashiah@intel.com \
    --cc=vicamo.yang@canonical.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).