From: Ingo Molnar <mingo@kernel.org>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, Bjorn Helgaas <bhelgaas@google.com>,
linux-pci@vger.kernel.org,
Mika Westerberg <mika.westerberg@linux.intel.com>,
linux-kernel@vger.kernel.org,
David Cohen <david.a.cohen@linux.intel.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>
Subject: Re: [PATCH v1 1/1] x86/platform/intel-mid: Add Power Management Unit driver
Date: Tue, 14 Jun 2016 17:29:11 +0200 [thread overview]
Message-ID: <20160614152911.GB28601@gmail.com> (raw)
In-Reply-To: <1465912766.30123.55.camel@linux.intel.com>
* Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> On Tue, 2016-06-14 at 12:43 +0200, Ingo Molnar wrote:
> > * Andy Shevchenko <andriy.shevchenko@linux.intel.com> wrote:
> >
> > > Add Power Management Unit driver to handle power states of South
> > > Complex
> > > devices on Intel Tangier. In the future it might be expanded to
> > > cover North
> > > Complex devices as well.
> > >
> > > With this driver the power state of the host controllers such as
> > > SPI, I2C,
> > > UART, eMMC, and DMA would be managed.
> > >
> > > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > > ---
> > > arch/x86/include/asm/intel-mid.h | 8 +
> > > arch/x86/pci/intel_mid_pci.c | 35 +++-
> > > arch/x86/platform/intel-mid/Makefile | 2 +-
> > > arch/x86/platform/intel-mid/pmu.c | 392
> > > +++++++++++++++++++++++++++++++++++
> > > drivers/pci/Makefile | 3 +
> > > drivers/pci/pci-mid.c | 77 +++++++
> > > 6 files changed, 515 insertions(+), 2 deletions(-)
> > > create mode 100644 arch/x86/platform/intel-mid/pmu.c
> > > create mode 100644 drivers/pci/pci-mid.c
> >
> > So this collides with perf's 'PMU' naming massively. Can we pick
> > another name
> > before hillarious kernel-wide confusion spreads?
> >
> > how about intel/mid/pm.c plus renaming all the pmu* internal names to
> > pm*?
> >
> > We could call it 'power management interface', and in a single line
> > mention that
> > this is also a 'Power Management Unit' in Intel-speak?
>
> In the TRM it's called Power Management Unit, though once or twice in some
> documents as Power Management Controller. I actually woudn't like to use PMC
> abbreviation to not be confused with pmc_atom.c and many other variation of
> existing PMC drivers of other Intel platforms.
>
> PM* as a prefix might be too short to conflict with Power Management framework
> in the kernel. P-Unit (punit*) is existing part in SoC which will have its own
> driver in the future, so, can't use it either.
>
> pwr*, pwrmu*, scpmu* (as of South Complex Power Management Unit) — one of them?
'pwr' certainly sounds good to me! PWMU perhaps?
Thanks,
Ingo
next prev parent reply other threads:[~2016-06-14 15:29 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-13 20:18 [PATCH v1 1/1] x86/platform/intel-mid: Add Power Management Unit driver Andy Shevchenko
2016-06-14 10:43 ` Ingo Molnar
2016-06-14 13:59 ` Andy Shevchenko
2016-06-14 15:29 ` Ingo Molnar [this message]
2016-06-14 15:45 ` Andy Shevchenko
2016-06-14 15:58 ` Ingo Molnar
2016-06-14 16:07 ` Andy Shevchenko
2016-06-14 17:26 ` David Cohen
2016-06-14 17:37 ` Andy Shevchenko
2016-06-14 17:38 ` David Cohen
2016-06-14 17:37 ` David Cohen
2016-06-14 17:48 ` 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=20160614152911.GB28601@gmail.com \
--to=mingo@kernel.org \
--cc=a.p.zijlstra@chello.nl \
--cc=andriy.shevchenko@linux.intel.com \
--cc=bhelgaas@google.com \
--cc=david.a.cohen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--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;
as well as URLs for NNTP newsgroup(s).