public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Darren Hart <dvhart@infradead.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>,
	"H . Peter Anvin" <hpa@zytor.com>,
	x86@kernel.org, Zha Qipeng <qipeng.zha@intel.com>,
	"David E . Box" <david.e.box@linux.intel.com>,
	Guenter Roeck <linux@roeck-us.net>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v7 00/19] platform/x86: Rework intel_scu_ipc and intel_pmc_ipc drivers
Date: Mon, 2 Mar 2020 15:19:24 +0000	[thread overview]
Message-ID: <20200302151924.GC3494@dell> (raw)
In-Reply-To: <20200302143803.GI2667@lahna.fi.intel.com>

On Mon, 02 Mar 2020, Mika Westerberg wrote:

> On Mon, Mar 02, 2020 at 02:26:21PM +0000, Lee Jones wrote:
> > On Mon, 02 Mar 2020, Mika Westerberg wrote:
> > 
> > > Hi all,
> > > 
> > > Currently both intel_scu_ipc.c and intel_pmc_ipc.c implement the same SCU
> > > IPC communications with minor differences. This duplication does not make
> > > much sense so this series reworks the two drivers so that there is only a
> > > single implementation of the SCU IPC. In addition to that the API will be
> > > updated to take SCU instance pointer as an argument, and most of the
> > > callers will be converted to this new API. The old API is left there but
> > > the plan is to get rid the callers and then the old API as well (this is
> > > something we are working with Andy Shevchenko).
> > > 
> > > The intel_pmc_ipc.c is then moved under MFD which suits better for this
> > > kind of a driver that pretty much sets up the SCU IPC and then creates a
> > > bunch of platform devices for the things sitting behind the PMC. The driver
> > > is renamed to intel_pmc_bxt.c which should follow the existing conventions
> > > under drivers/mfd (and it is only meant for Intel Broxton derivatives).
> > > 
> > > This is on top of platform-driver-x86.git/for-next branch because there is
> > > already some cleanup work queued that re-organizes Kconfig and Makefile
> > > entries.
> > > 
> > > I have tested this on Intel Joule (Broxton-M) board.
> > > 
> > > Changes from v6:
> > > 
> > >   * Added Reviewed-by tag from Andy
> > >   * Expanded PMC, IPC and IA acronyms
> > >   * Drop TCO_DEVICE_NAME, PUNIT_DEVICE_NAME and TELEMETRY_DEVICE_NAME
> > >   * Move struct intel_pmc_dev into include/linux/mfd/intel_pmc_bxt.h
> > >   * Add PMC_DEVICE_MAX to the enum and use it
> > >   * Add kernel-docs for simplecmd_store() and northpeak_store()
> > >   * Use if (ret) return ret; over the ternary operator
> > >   * Drop "This is index X" from comments
> > >   * Use acpi_has_watchdog() to determine whether iTCO_wdt is added or not.
> > >   * Rename intel_scu_ipc_pdata -> intel_scu_ipc_data to make it less
> > >     confusing wrt. platform data for platform drivers.
> > 
> > Any reason why you've dropped all my tags?
> 
> You mean these?
> 
> For my own reference:                                                                                                                                                                       
>   Acked-for-MFD-by: Lee Jones <lee.jones@linaro.org>
> 
> I wasn't really sure what to do with them. They are not in the normal
> tag format I've seen so I thought you use them yourself somehow to
> manage your mailboxes. I can add them back if needed.

Yes, please add them, so I can track them.

It normally means that I plan to take the set through MFD and
subsequently send an immutable pull-request out to the other
Maintainers once all the other Acks have been provided.

MFD handles these kinds of cross-subsystem patch-sets often.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2020-03-02 15:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 13:33 [PATCH v7 00/19] platform/x86: Rework intel_scu_ipc and intel_pmc_ipc drivers Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 01/19] platform/x86: intel_scu_ipc: Split out SCU IPC functionality from the SCU driver Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 02/19] platform/x86: intel_scu_ipc: Log more information if SCU IPC command fails Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 03/19] platform/x86: intel_scu_ipc: Move legacy SCU IPC API to a separate header Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 04/19] platform/x86: intel_scu_ipc: Introduce new SCU IPC API Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 05/19] platform/x86: intel_mid_powerbtn: Convert to use " Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 06/19] watchdog: intel-mid_wdt: " Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 07/19] platform/x86: intel_scu_ipcutil: " Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 08/19] platform/x86: intel_scu_ipc: Add managed function to register SCU IPC Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 09/19] platform/x86: intel_pmc_ipc: Start using " Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 10/19] mfd: intel_soc_pmic: Add SCU IPC member to struct intel_soc_pmic Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 11/19] mfd: intel_soc_pmic_bxtwc: Convert to use new SCU IPC API Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 12/19] mfd: intel_soc_pmic_mrfld: " Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 13/19] platform/x86: intel_telemetry: " Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 14/19] platform/x86: intel_pmc_ipc: Drop intel_pmc_ipc_command() Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 15/19] x86/platform/intel-mid: Add empty stubs for intel_scu_devices_[create|destroy]() Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 16/19] platform/x86: intel_pmc_ipc: Move PCI IDs to intel_scu_pcidrv.c Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 17/19] platform/x86: intel_telemetry: Add telemetry_get_pltdata() Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 18/19] platform/x86: intel_pmc_ipc: Convert to MFD Mika Westerberg
2020-03-02 13:33 ` [PATCH v7 19/19] MAINTAINERS: Update entry for Intel Broxton PMC driver Mika Westerberg
2020-03-02 14:26 ` [PATCH v7 00/19] platform/x86: Rework intel_scu_ipc and intel_pmc_ipc drivers Lee Jones
2020-03-02 14:38   ` Mika Westerberg
2020-03-02 15:19     ` Lee Jones [this message]
2020-03-02 15:25       ` Mika Westerberg
2020-03-02 15:42       ` Andy Shevchenko
2020-03-02 15:57         ` Lee Jones
2020-03-02 16:07           ` Mika Westerberg
2020-03-02 16:37             ` Andy Shevchenko

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=20200302151924.GC3494@dell \
    --to=lee.jones@linaro.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bp@alien8.de \
    --cc=david.e.box@linux.intel.com \
    --cc=dvhart@infradead.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=mika.westerberg@linux.intel.com \
    --cc=mingo@redhat.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=qipeng.zha@intel.com \
    --cc=tglx@linutronix.de \
    --cc=wim@linux-watchdog.org \
    --cc=x86@kernel.org \
    /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