devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marc Zyngier <marc.zyngier@arm.com>
To: David Vrabel <david.vrabel@citrix.com>
Cc: "grant.likely@secretlab.ca" <grant.likely@secretlab.ca>,
	"devicetree-discuss@lists.ozlabs.org"
	<devicetree-discuss@lists.ozlabs.org>,
	"rob.herring@calxeda.com" <rob.herring@calxeda.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v2] ARM: DT: Add binding for GIC virtualization extentions (VGIC)
Date: Fri, 11 May 2012 15:42:34 +0100	[thread overview]
Message-ID: <4FAD255A.4080504@arm.com> (raw)
In-Reply-To: <4FAD1EDE.8010505@citrix.com>

On 11/05/12 15:14, David Vrabel wrote:
> On 09/05/12 18:57, Marc Zyngier wrote:
>> The GICv2 can have virtualization extension support, consisting
>> of an additional set of registers and interrupts. Add the necessary
>> binding to the GIC DT documentation.
> 
> This looks fine for Xen.

Thanks David. Can I add your Acked-by:?

	M.

> 
> David
> 
> 
>> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
>> ---
>>  Documentation/devicetree/bindings/arm/gic.txt |   35 +++++++++++++++++++++++-
>>  1 files changed, 33 insertions(+), 2 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/arm/gic.txt b/Documentation/devicetree/bindings/arm/gic.txt
>> index 9b4b82a..62eb8df 100644
>> --- a/Documentation/devicetree/bindings/arm/gic.txt
>> +++ b/Documentation/devicetree/bindings/arm/gic.txt
>> @@ -11,7 +11,9 @@ have PPIs or SGIs.
>>  Main node required properties:
>>  
>>  - compatible : should be one of:
>> +	"arm,cortex-a15-gic"
>>  	"arm,cortex-a9-gic"
>> +	"arm,cortex-a7-gic"
>>  	"arm,arm11mp-gic"
>>  - interrupt-controller : Identifies the node as an interrupt controller
>>  - #interrupt-cells : Specifies the number of cells needed to encode an
>> @@ -39,8 +41,9 @@ Main node required properties:
>>    the GIC cpu interface register base and size.
>>  
>>  Optional
>> -- interrupts	: Interrupt source of the parent interrupt controller. Only
>> -  present on secondary GICs.
>> +- interrupts	: Interrupt source of the parent interrupt controller on
>> +  secondary GICs, or VGIC maintainance interrupt on primary GIC (see
>> +  below).
>>  
>>  - cpu-offset	: per-cpu offset within the distributor and cpu interface
>>    regions, used when the GIC doesn't have banked registers. The offset is
>> @@ -57,3 +60,31 @@ Example:
>>  		      <0xfff10100 0x100>;
>>  	};
>>  
>> +
>> +* GIC virtualization extensions (VGIC)
>> +
>> +For ARM cores that support the virtualization extensions, additional
>> +properties must be described (they only exist if the GIC is the
>> +primary interrupt controller).
>> +
>> +Required properties:
>> +
>> +- reg : Additional regions specifying the base physical address and
>> +  size of the VGIC registers. The first additional region is the GIC
>> +  virtual interface control register base and size. The 2nd additional
>> +  region is the GIC virtual cpu interface register base and size.
>> +
>> +- interrupts : VGIC maintainance interrupt.
>> +
>> +Example:
>> +
>> +	interrupt-controller@2c001000 {
>> +		compatible = "arm,cortex-a15-gic";
>> +		#interrupt-cells = <3>;
>> +		interrupt-controller;
>> +		reg = <0x2c001000 0x1000>,
>> +		      <0x2c002000 0x1000>,
>> +		      <0x2c004000 0x2000>,
>> +		      <0x2c006000 0x2000>;
>> +		interrupts = <1 9 0xf04>;
>> +	};
> 
> 


-- 
Jazz is not dead. It just smells funny...

  reply	other threads:[~2012-05-11 14:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-09 17:57 [PATCH v2] ARM: DT: Add binding for GIC virtualization extentions (VGIC) Marc Zyngier
     [not found] ` <1336586277-28454-1-git-send-email-marc.zyngier-5wv7dgnIgG8@public.gmane.org>
2012-05-09 19:21   ` Arnd Bergmann
2012-05-09 19:36     ` Marc Zyngier
2012-05-09 20:27       ` Arnd Bergmann
     [not found]         ` <201205092027.50059.arnd-r2nGTMty4D4@public.gmane.org>
2012-05-09 20:42           ` Marc Zyngier
2012-05-09 20:47             ` Arnd Bergmann
     [not found]               ` <201205092047.06852.arnd-r2nGTMty4D4@public.gmane.org>
2012-05-09 21:34                 ` Marc Zyngier
2012-05-10 10:53                   ` Arnd Bergmann
     [not found]                     ` <201205101053.09954.arnd-r2nGTMty4D4@public.gmane.org>
2012-05-10 11:11                       ` Marc Zyngier
2012-05-11 15:11                   ` Grant Likely
2012-05-11 15:10                 ` Grant Likely
2012-05-11 14:14 ` David Vrabel
2012-05-11 14:42   ` Marc Zyngier [this message]
     [not found]     ` <4FAD255A.4080504-5wv7dgnIgG8@public.gmane.org>
2012-05-11 14:43       ` David Vrabel
     [not found]         ` <4FAD25A1.2080106-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org>
2012-05-11 15:15           ` Grant Likely

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=4FAD255A.4080504@arm.com \
    --to=marc.zyngier@arm.com \
    --cc=david.vrabel@citrix.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=rob.herring@calxeda.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).