From: Peter Zijlstra <peterz@infradead.org>
To: Andi Kleen <andi@firstfloor.org>
Cc: "Yan, Zheng" <zheng.z.yan@intel.com>,
linux-kernel@vger.kernel.org, mingo@kernel.org,
acme@infradead.org, eranian@google.com
Subject: Re: [PATCH 1/2] perf/x86/intel: Add Haswell-EP uncore support
Date: Thu, 4 Sep 2014 10:19:28 +0200 [thread overview]
Message-ID: <20140904081928.GL3190@worktop.ger.corp.intel.com> (raw)
In-Reply-To: <20140822052926.GM4120@two.firstfloor.org>
On Fri, Aug 22, 2014 at 07:29:26AM +0200, Andi Kleen wrote:
> > diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
> > index 4785ee8..2485fd9 100644
> > --- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
> > +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
> > @@ -883,6 +883,8 @@ static int __init uncore_pci_init(void)
> > case 62: /* Ivy Bridge-EP */
> > ret = ivbep_uncore_pci_init();
> > break;
> > + case 63: /* Haswell-EP */
> > + ret = hswep_uncore_pci_init();
>
> Is the lack of break intentional? If yes please add a /* FALL THROUGH */
> comment.
This does look inconsistent with the surrounding code, which does
suggest it was indeed an oversight and not on purpose.
Zheng?
next prev parent reply other threads:[~2014-09-04 8:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 1:50 [PATCH 1/2] perf/x86/intel: Add Haswell-EP uncore support Yan, Zheng
2014-08-20 1:50 ` [PATCH 2/2] perf/x86/uncore: register PMU only if uncore pci device exists Yan, Zheng
2014-08-22 5:29 ` [PATCH 1/2] perf/x86/intel: Add Haswell-EP uncore support Andi Kleen
2014-09-04 8:19 ` Peter Zijlstra [this message]
2014-09-04 15:56 ` Andi Kleen
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=20140904081928.GL3190@worktop.ger.corp.intel.com \
--to=peterz@infradead.org \
--cc=acme@infradead.org \
--cc=andi@firstfloor.org \
--cc=eranian@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=zheng.z.yan@intel.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).