All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Zyngier <marc.zyngier@arm.com>
To: Chanwoo Choi <cw00.choi@samsung.com>
Cc: "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@arm.com
Subject: Re: [PATCH 07/27] irqchip: Declare cortex-a7's irqchip to initialize gic from dt
Date: Thu, 10 Apr 2014 11:04:59 +0100	[thread overview]
Message-ID: <878urd33g4.fsf@approximate.cambridge.arm.com> (raw)
In-Reply-To: <1397122124-15690-8-git-send-email-cw00.choi@samsung.com> (Chanwoo Choi's message of "Thu, 10 Apr 2014 10:28:24 +0100")

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.

Mark, what do you think? I think this has been discussed in the past
already.

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

WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <marc.zyngier@arm.com>
To: Chanwoo Choi <cw00.choi@samsung.com>
Cc: "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@arm.com
Subject: Re: [PATCH 07/27] irqchip: Declare cortex-a7's irqchip to initialize gic from dt
Date: Thu, 10 Apr 2014 11:04:59 +0100	[thread overview]
Message-ID: <878urd33g4.fsf@approximate.cambridge.arm.com> (raw)
In-Reply-To: <1397122124-15690-8-git-send-email-cw00.choi@samsung.com> (Chanwoo Choi's message of "Thu, 10 Apr 2014 10:28:24 +0100")

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.

Mark, what do you think? I think this has been discussed in the past
already.

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

WARNING: multiple messages have this Message-ID (diff)
From: marc.zyngier@arm.com (Marc Zyngier)
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 11:04:59 +0100	[thread overview]
Message-ID: <878urd33g4.fsf@approximate.cambridge.arm.com> (raw)
In-Reply-To: <1397122124-15690-8-git-send-email-cw00.choi@samsung.com> (Chanwoo Choi's message of "Thu, 10 Apr 2014 10:28:24 +0100")

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.

Mark, what do you think? I think this has been discussed in the past
already.

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

  reply	other threads:[~2014-04-10 10:05 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 [this message]
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
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=878urd33g4.fsf@approximate.cambridge.arm.com \
    --to=marc.zyngier@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=mark.rutland@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.