All of lore.kernel.org
 help / color / mirror / Atom feed
From: armdev <armdev.ftm@gmail.com>
To: Marc Zyngier <marc.zyngier@arm.com>
Cc: Chanwoo Choi <cw00.choi@samsung.com>,
	"kgene.kim@samsung.com" <kgene.kim@samsung.com>,
	"t.figa@samsung.com" <t.figa@samsung.com>,
	"linux-samsung-soc@vger.kernel.org" 
	<linux-samsung-soc@vger.kernel.org>,
	"hyunhee.kim@samsung.com" <hyunhee.kim@samsung.com>,
	"sw0312.kim@samsung.com" <sw0312.kim@samsung.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"yj44.cho@samsung.com" <yj44.cho@samsung.com>,
	"inki.dae@samsung.com" <inki.dae@samsung.com>,
	"kyungmin.park@samsung.com" <kyungmin.park@samsung.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	Mark Rutland <Mark.Rutland@arm.com>
Subject: Re: [PATCH 07/27] irqchip: Declare cortex-a7's irqchip to initialize gic from dt
Date: Thu, 10 Apr 2014 16:12:56 +0530	[thread overview]
Message-ID: <907CEE7C-19F2-495C-BE8F-712AE4B0A0E1@gmail.com> (raw)
In-Reply-To: <87zjjt1n73.fsf@approximate.cambridge.arm.com>


On 10-Apr-2014, at 4:11 pm, Marc Zyngier <marc.zyngier@arm.com> wrote:

> On Thu, Apr 10 2014 at 11:30:41 am BST, armdev <armdev.ftm@gmail.com> wrote:
>> On 10-Apr-2014, at 3:51 pm, Marc Zyngier <marc.zyngier@arm.com> wrote:
>> 
>>> On Thu, Apr 10 2014 at 11:09:02 am BST, armdev <armdev.ftm@gmail.com> wrote:
>>>> On 10-Apr-2014, at 3:34 pm, Marc Zyngier <marc.zyngier@arm.com> wrote:
>>>> 
>>>>> On Thu, Apr 10 2014 at 10:28:24 am BST, Chanwoo Choi <cw00.choi@samsung.com> wrote:
>>>>>> This patch declare coretex-a7's irqchip to initialze gic from dt
>>>>>> with "arm,cortex-a7-gic" data.
>>>>>> 
>>>>>> Cc: Thomas Gleixner <tglx@linutronix.de>
>>>>>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>>>>>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>>>>>> ---
>>>>>> drivers/irqchip/irq-gic.c | 1 +
>>>>>> 1 file changed, 1 insertion(+)
>>>>>> 
>>>>>> diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
>>>>>> index 4300b66..8e906e4 100644
>>>>>> --- a/drivers/irqchip/irq-gic.c
>>>>>> +++ b/drivers/irqchip/irq-gic.c
>>>>>> @@ -1069,6 +1069,7 @@ gic_of_init(struct device_node *node, struct device_node *parent)
>>>>>> }
>>>>>> IRQCHIP_DECLARE(cortex_a15_gic, "arm,cortex-a15-gic", gic_of_init);
>>>>>> IRQCHIP_DECLARE(cortex_a9_gic, "arm,cortex-a9-gic", gic_of_init);
>>>>>> +IRQCHIP_DECLARE(cortex_a7_gic, "arm,cortex-a7-gic", gic_of_init);
>>>>>> IRQCHIP_DECLARE(msm_8660_qgic, "qcom,msm-8660-qgic", gic_of_init);
>>>>>> IRQCHIP_DECLARE(msm_qgic2, "qcom,msm-qgic2", gic_of_init);
>>>>> 
>>>>> Frankly, this patch adds no value. Are we going to add
>>>>> "arm,cortex-a12-gic", "arm,cortex-a17-gic", "arm,cortex-a53-gic",
>>>>> "arm,cortex-a57-gic"? And that's just to mention the ARM Ltd cores...
>>>>> 
>>>>> Instead, how about defining a generic "arm,gic" property, and mandate
>>>>> that new DT files are using that? We can always use a more precise
>>>>> compatible for quirks.
>>>>> 
>>>> 
>>>> How about keeping it simple and tied to arm gic versions
>>>> arm,gicv1, arm,gicv2, arm,gicv2ve
>>> 
>>> That's a variation on the same theme. As for GICv2, we don't need to
>>> distinguish between having the Virtualization Extentions, the binding
>>> already allows you to tell one from the other.
>>> 
>> So if there be just 2 types of gic, it would be simple.
> 
> Not exactly. We just happen to support two revisions of the GIC
> architecture with the same binding. GICv3 has an entierely separate
> binding.
> 
>> gicv1 - 2 address sets (gicc and gicd)
> 
> Yes.
> 
>> gicv2 - 4 sets (gicc gicd gicv gich) and 1 maintenance interrupt. Right?
> 
> No.
> 
> The presence of the GICV, GICH and maintenance interrupt are indicative
> of the support for the Virtualization Extentions. GICv2 itself can
> perfectly be built without it.

then does gicv2-ve makes sense ?
> 
> 	M.
> -- 
> Jazz is not dead. It just smells funny.


WARNING: multiple messages have this Message-ID (diff)
From: armdev.ftm@gmail.com (armdev)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 07/27] irqchip: Declare cortex-a7's irqchip to initialize gic from dt
Date: Thu, 10 Apr 2014 16:12:56 +0530	[thread overview]
Message-ID: <907CEE7C-19F2-495C-BE8F-712AE4B0A0E1@gmail.com> (raw)
In-Reply-To: <87zjjt1n73.fsf@approximate.cambridge.arm.com>


On 10-Apr-2014, at 4:11 pm, Marc Zyngier <marc.zyngier@arm.com> wrote:

> On Thu, Apr 10 2014 at 11:30:41 am BST, armdev <armdev.ftm@gmail.com> wrote:
>> On 10-Apr-2014, at 3:51 pm, Marc Zyngier <marc.zyngier@arm.com> wrote:
>> 
>>> On Thu, Apr 10 2014 at 11:09:02 am BST, armdev <armdev.ftm@gmail.com> wrote:
>>>> On 10-Apr-2014, at 3:34 pm, Marc Zyngier <marc.zyngier@arm.com> wrote:
>>>> 
>>>>> On Thu, Apr 10 2014 at 10:28:24 am BST, Chanwoo Choi <cw00.choi@samsung.com> wrote:
>>>>>> This patch declare coretex-a7's irqchip to initialze gic from dt
>>>>>> with "arm,cortex-a7-gic" data.
>>>>>> 
>>>>>> Cc: Thomas Gleixner <tglx@linutronix.de>
>>>>>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>>>>>> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
>>>>>> ---
>>>>>> drivers/irqchip/irq-gic.c | 1 +
>>>>>> 1 file changed, 1 insertion(+)
>>>>>> 
>>>>>> diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
>>>>>> index 4300b66..8e906e4 100644
>>>>>> --- a/drivers/irqchip/irq-gic.c
>>>>>> +++ b/drivers/irqchip/irq-gic.c
>>>>>> @@ -1069,6 +1069,7 @@ gic_of_init(struct device_node *node, struct device_node *parent)
>>>>>> }
>>>>>> IRQCHIP_DECLARE(cortex_a15_gic, "arm,cortex-a15-gic", gic_of_init);
>>>>>> IRQCHIP_DECLARE(cortex_a9_gic, "arm,cortex-a9-gic", gic_of_init);
>>>>>> +IRQCHIP_DECLARE(cortex_a7_gic, "arm,cortex-a7-gic", gic_of_init);
>>>>>> IRQCHIP_DECLARE(msm_8660_qgic, "qcom,msm-8660-qgic", gic_of_init);
>>>>>> IRQCHIP_DECLARE(msm_qgic2, "qcom,msm-qgic2", gic_of_init);
>>>>> 
>>>>> Frankly, this patch adds no value. Are we going to add
>>>>> "arm,cortex-a12-gic", "arm,cortex-a17-gic", "arm,cortex-a53-gic",
>>>>> "arm,cortex-a57-gic"? And that's just to mention the ARM Ltd cores...
>>>>> 
>>>>> Instead, how about defining a generic "arm,gic" property, and mandate
>>>>> that new DT files are using that? We can always use a more precise
>>>>> compatible for quirks.
>>>>> 
>>>> 
>>>> How about keeping it simple and tied to arm gic versions
>>>> arm,gicv1, arm,gicv2, arm,gicv2ve
>>> 
>>> That's a variation on the same theme. As for GICv2, we don't need to
>>> distinguish between having the Virtualization Extentions, the binding
>>> already allows you to tell one from the other.
>>> 
>> So if there be just 2 types of gic, it would be simple.
> 
> Not exactly. We just happen to support two revisions of the GIC
> architecture with the same binding. GICv3 has an entierely separate
> binding.
> 
>> gicv1 - 2 address sets (gicc and gicd)
> 
> Yes.
> 
>> gicv2 - 4 sets (gicc gicd gicv gich) and 1 maintenance interrupt. Right?
> 
> No.
> 
> The presence of the GICV, GICH and maintenance interrupt are indicative
> of the support for the Virtualization Extentions. GICv2 itself can
> perfectly be built without it.

then does gicv2-ve makes sense ?
> 
> 	M.
> -- 
> Jazz is not dead. It just smells funny.

  reply	other threads:[~2014-04-10 10:43 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10  9:28 [PATCH 00/27] Support new Exynos3250 SoC based on Cortex-A7 dual core Chanwoo Choi
2014-04-10  9:28 ` Chanwoo Choi
2014-04-10  9:28 ` Chanwoo Choi
2014-04-10  9:28 ` [PATCH 01/27] ARM: EXYNOS: Add Exynos3250 SoC ID Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:43   ` Arnd Bergmann
2014-04-10  9:43     ` Arnd Bergmann
2014-04-10  9:43     ` Arnd Bergmann
2014-04-11  1:31     ` Chanwoo Choi
2014-04-11  1:31       ` Chanwoo Choi
2014-04-14  6:20       ` Chanwoo Choi
2014-04-14  6:20         ` Chanwoo Choi
2014-04-10  9:28 ` [PATCH 02/27] ARM: EXYNOS: Add IO mapping for non-secure SYSRAM of Exynos3250 Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:45   ` Arnd Bergmann
2014-04-10  9:45     ` Arnd Bergmann
2014-04-10  9:45     ` Arnd Bergmann
2014-04-10  9:57     ` Chanho Park
2014-04-10  9:57       ` Chanho Park
2014-04-10  9:28 ` [PATCH 03/27] ARM: EXYNOS: Add IO mapping for PMU " Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:46   ` Arnd Bergmann
2014-04-10  9:46     ` Arnd Bergmann
2014-04-10  9:46     ` Arnd Bergmann
2014-04-14  6:04     ` Chanwoo Choi
2014-04-14  6:04       ` Chanwoo Choi
2014-04-10  9:28 ` [PATCH 04/27] ARM: EXYNOS: Support secondary CPU boot of Exynos4212 Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:28 ` [PATCH 05/27] ARM: EXYNOS: Support secondary CPU boot of Exynos3250 Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:28 ` [PATCH 06/27] ARM: EXYNOS:: Enter a15 lowpower mode for Exynos3250 based on Cortex-a7 Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:40   ` Arnd Bergmann
2014-04-10  9:40     ` Arnd Bergmann
2014-04-10 10:38     ` Chanwoo Choi
2014-04-10 10:38       ` Chanwoo Choi
2014-04-10  9:51   ` Marc Zyngier
2014-04-10  9:51     ` Marc Zyngier
2014-04-10  9:51     ` Marc Zyngier
2014-04-10 10:56     ` Chanwoo Choi
2014-04-10 10:56       ` Chanwoo Choi
2014-04-10 10:56       ` Chanwoo Choi
2014-04-10 12:07       ` Marc Zyngier
2014-04-10 12:07         ` Marc Zyngier
2014-04-10 12:07         ` Marc Zyngier
2014-04-11  0:36         ` Chanwoo Choi
2014-04-11  0:36           ` Chanwoo Choi
2014-04-11  0:36           ` Chanwoo Choi
2014-04-10  9:28 ` [PATCH 07/27] irqchip: Declare cortex-a7's irqchip to initialize gic from dt Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10 10:04   ` Marc Zyngier
2014-04-10 10:04     ` Marc Zyngier
2014-04-10 10:04     ` Marc Zyngier
2014-04-10 10:09     ` armdev
2014-04-10 10:09       ` armdev
2014-04-10 10:09       ` armdev
2014-04-10 10:21       ` Marc Zyngier
2014-04-10 10:21         ` Marc Zyngier
2014-04-10 10:21         ` Marc Zyngier
2014-04-10 10:30         ` armdev
2014-04-10 10:30           ` armdev
2014-04-10 10:30           ` armdev
2014-04-10 10:41           ` Marc Zyngier
2014-04-10 10:41             ` Marc Zyngier
2014-04-10 10:41             ` Marc Zyngier
2014-04-10 10:42             ` armdev [this message]
2014-04-10 10:42               ` armdev
2014-04-10 10:42               ` armdev
2014-04-10 10:50               ` Marc Zyngier
2014-04-10 10:50                 ` Marc Zyngier
2014-04-10 10:50                 ` Marc Zyngier
2014-04-10 10:37     ` Chanho Park
2014-04-10 10:37       ` Chanho Park
2014-04-10 10:46       ` Marc Zyngier
2014-04-10 10:46         ` Marc Zyngier
2014-04-10 10:46         ` Marc Zyngier
2014-04-10 13:02     ` Mark Rutland
2014-04-10 13:02       ` Mark Rutland
2014-04-10 13:02       ` Mark Rutland
2014-04-10  9:28 ` [PATCH 08/27] pinctrl: exynos: Add driver data for Exynos3250 Chanwoo Choi
2014-04-10  9:28   ` Chanwoo Choi
2014-04-10 18:42   ` Linus Walleij
2014-04-10 18:42     ` Linus Walleij
2014-04-10 18:42     ` Linus Walleij
2014-04-10 19:17     ` Tomasz Figa
2014-04-10 19:17       ` Tomasz Figa
2014-04-10 19:17       ` Tomasz Figa
2014-04-11  0:44       ` Chanwoo Choi
2014-04-11  0:44         ` Chanwoo Choi
2014-04-11  0:44         ` Chanwoo Choi
2014-04-10  9:32 ` [PATCH 00/27] Support new Exynos3250 SoC based on Cortex-A7 dual core Chanwoo Choi
2014-04-10  9:32   ` Chanwoo Choi
2014-04-10  9:37 Chanwoo Choi
2014-04-10  9:37 ` [PATCH 07/27] irqchip: Declare cortex-a7's irqchip to initialize gic from dt Chanwoo Choi
2014-04-10  9:37   ` Chanwoo Choi

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=907CEE7C-19F2-495C-BE8F-712AE4B0A0E1@gmail.com \
    --to=armdev.ftm@gmail.com \
    --cc=Mark.Rutland@arm.com \
    --cc=cw00.choi@samsung.com \
    --cc=hyunhee.kim@samsung.com \
    --cc=inki.dae@samsung.com \
    --cc=kgene.kim@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=sw0312.kim@samsung.com \
    --cc=t.figa@samsung.com \
    --cc=tglx@linutronix.de \
    --cc=yj44.cho@samsung.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 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.