From: Ingo Molnar <mingo@kernel.org>
To: Stephane Eranian <eranian@google.com>
Cc: linux-kernel@vger.kernel.org, peterz@infradead.org,
mingo@elte.hu, ak@linux.intel.com, kan.liang@intel.com
Subject: Re: [PATCH] perf/x86/uncore: update support for client uncore IMC PMU
Date: Tue, 16 Sep 2014 09:00:50 +0200 [thread overview]
Message-ID: <20140916070050.GB19849@gmail.com> (raw)
In-Reply-To: <20140915143832.GA3264@quad>
* Stephane Eranian <eranian@google.com> wrote:
>
> This patch restructures the memory controller (IMC) uncore
> PMU support for client SNB/IVB/HSW processors. The main change
> is that it can now cope with more than one PCI device ID per
> processor model. There are many flavors of memory controllers
> for each processor. They have different PCI device ID, yet
> they behave the same w.r.t. the memory controller PMU that
> we are interested in.
>
> The patch now supports two distinct memory controllers for IVB
> processors: one for mobile, one for desktop.
>
> Signed-off-by: Stephane eranian <eranian@google.com>
> ---
> arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c | 68 +++++++++++++++------
> include/linux/pci_ids.h | 1 +
> 2 files changed, 51 insertions(+), 18 deletions(-)
Please run patches through scripts/checkpatch.pl before
submission, in case it points out legit problems. Checkpatch
emits 6 warnings for your patch, the first four are bogus, the
last two are worth addressing:
WARNING: space prohibited between function name and open
parenthesis '('
#77: FILE: arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c:517:
+ for_each_imc_pci_id (p, desktop_imc_pci_ids) {
WARNING: Missing a blank line after declarations
#92: FILE: arch/x86/kernel/cpu/perf_event_intel_uncore_snb.c:528:
+ struct pci_driver *imc_drv = imc_uncore_find_dev();
+ if (!imc_drv)
Thanks,
Ingo
prev parent reply other threads:[~2014-09-16 7:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-15 14:38 [PATCH] perf/x86/uncore: update support for client uncore IMC PMU Stephane Eranian
2014-09-15 15:58 ` Andi Kleen
2014-09-15 16:18 ` Stephane Eranian
2014-09-16 8:51 ` Stephane Eranian
2014-09-16 7:00 ` Ingo Molnar [this message]
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=20140916070050.GB19849@gmail.com \
--to=mingo@kernel.org \
--cc=ak@linux.intel.com \
--cc=eranian@google.com \
--cc=kan.liang@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=peterz@infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.