From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: question about PMU interrupt in binding
Date: Tue, 24 Feb 2015 16:19:31 +0000 [thread overview]
Message-ID: <20150224161931.GT9714@leverpostej> (raw)
In-Reply-To: <CY1PR0301MB0748CE5D60F401F4D395E3C387160@CY1PR0301MB0748.namprd03.prod.outlook.com>
On Tue, Feb 24, 2015 at 03:44:27PM +0000, Stuart Yoder wrote:
> Stephen/Will,
>
> Had a question about the definition of "interrupts" in the
> PMU binding:
>
> > commit d84c47837d800c0db1c9f2015a1565504417f812
> > Author: Stephen Boyd <sboyd@codeaurora.org>
> > Date: Fri Feb 7 21:01:24 2014 +0000
> >
> > devicetree: bindings: Document Krait performance monitor units (PMU)
> >
> > Document the Krait PMU compatible string.
> >
> > Cc: <devicetree@vger.kernel.org>
> > Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> > Signed-off-by: Will Deacon <will.deacon@arm.com>
> >
> > diff --git a/Documentation/devicetree/bindings/arm/pmu.txt b/Documentation/devicetree/bindings/arm/pmu.txt
> > index 3e1e498..ce73144 100644
> > --- a/Documentation/devicetree/bindings/arm/pmu.txt
> > +++ b/Documentation/devicetree/bindings/arm/pmu.txt
> > @@ -16,7 +16,14 @@ Required properties:
> > "arm,arm11mpcore-pmu"
> > "arm,arm1176-pmu"
> > "arm,arm1136-pmu"
> > -- interrupts : 1 combined interrupt or 1 per core.
> > + "qcom,krait-pmu"
> > +- interrupts : 1 combined interrupt or 1 per core. If the interrupt is a per-cpu
> > + interrupt (PPI) then 1 interrupt should be specified.
>
> If the interrupt is per-cpu do you mean 1 interrupt _per cpu_ should
> be specified? As written it seems to say _only_ "1 interrupt" should be
> specificed.
The specification as written is correct.
If it's a per-cpu interrupt (i.e. a PPI), we'll recognise this fact and
handle it appropriately in the backend, on the assumption that if the
PMU is connected via a PPI all CPUs share this PPI.
Thanks,
Mark.
next prev parent reply other threads:[~2015-02-24 16:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 15:44 question about PMU interrupt in binding Stuart Yoder
2015-02-24 16:19 ` Mark Rutland [this message]
2015-02-24 16:48 ` Stuart Yoder
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=20150224161931.GT9714@leverpostej \
--to=mark.rutland@arm.com \
--cc=linux-arm-kernel@lists.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox