* [PATCH 0/6] ARM: shmobile: Use "arm,pl390" for GIC where appropriate
@ 2015-11-20 12:36 Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Geert Uytterhoeven
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-11-20 12:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Greg Kroah-Hartman
Cc: linux-sh, linux-arm-kernel, devicetree, Geert Uytterhoeven
Hi Simon, Magnus, Greg,
On several Renesas ARM SoCs, the GIC is described in DT as being a
Cortex A9 GIC, while it's actually a PL390. This is not only stated in
the documentation, but has been verified by reading the GICD_IIDR
register.
This series
1. Corrects the DT compatible value to match reality,
2. Updates the board staging drivers to match the above.
As both parts impact each other, I think it's best that all patches go
in through Simon's ARM/SHMOBILE tree.
Greg: can you please provide your ack for the last two patches?
Thanks!
Geert Uytterhoeven (6):
ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC
ARM: shmobile: r8a7740 dtsi: Use "arm,pl390" for GIC
ARM: shmobile: emev2 dtsi: Use "arm,pl390" for GIC
ARM: shmobile: r8a7778 dtsi: Use "arm,pl390" for GIC
staging: board: kzm9d: Use "arm,pl390"
staging: board: armadillo800eva: Use "arm,pl390"
arch/arm/boot/dts/emev2.dtsi | 2 +-
arch/arm/boot/dts/r7s72100.dtsi | 2 +-
arch/arm/boot/dts/r8a7740.dtsi | 2 +-
arch/arm/boot/dts/r8a7778.dtsi | 2 +-
drivers/staging/board/armadillo800eva.c | 2 +-
drivers/staging/board/kzm9d.c | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
--
1.9.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC
2015-11-20 12:36 [PATCH 0/6] ARM: shmobile: Use "arm,pl390" for GIC where appropriate Geert Uytterhoeven
@ 2015-11-20 12:36 ` Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 3/6] ARM: shmobile: emev2 " Geert Uytterhoeven
` (3 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-11-20 12:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Greg Kroah-Hartman
Cc: linux-sh, linux-arm-kernel, devicetree, Geert Uytterhoeven
Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed (thanks Chris, Wolfram!) by reading the
GICD_IIDR register, which reports 0x0000043b (PL390 = 0x00, ARM =
0x43b).
This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
You can read the GICD_IIDR register from U-Boot using
md 0xe8201008 1
---
arch/arm/boot/dts/r7s72100.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 5f22d6dcdd141f9c..0c3b9e341ce7fd8e 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -329,7 +329,7 @@
};
gic: interrupt-controller@e8201000 {
- compatible = "arm,cortex-a9-gic";
+ compatible = "arm,pl390";
#interrupt-cells = <3>;
#address-cells = <0>;
interrupt-controller;
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/6] ARM: shmobile: r8a7740 dtsi: Use "arm,pl390" for GIC
[not found] ` <1448023017-21816-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2015-11-20 12:36 ` Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 5/6] staging: board: kzm9d: Use "arm,pl390" Geert Uytterhoeven
1 sibling, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-11-20 12:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Greg Kroah-Hartman
Cc: linux-sh-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven
Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed by reading the GICD_IIDR register, which reports
0x0000043b (PL390 = 0x00, ARM = 0x43b).
This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.
Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
You can read the GICD_IIDR register from Hermit using
frob
peek 0xc2800008
---
arch/arm/boot/dts/r8a7740.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index 4d58cdc3a026b2a4..08846c72cf1a64a3 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -39,7 +39,7 @@
};
gic: interrupt-controller@c2800000 {
- compatible = "arm,cortex-a9-gic";
+ compatible = "arm,pl390";
#interrupt-cells = <3>;
interrupt-controller;
reg = <0xc2800000 0x1000>,
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/6] ARM: shmobile: emev2 dtsi: Use "arm,pl390" for GIC
2015-11-20 12:36 [PATCH 0/6] ARM: shmobile: Use "arm,pl390" for GIC where appropriate Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Geert Uytterhoeven
@ 2015-11-20 12:36 ` Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 4/6] ARM: shmobile: r8a7778 " Geert Uytterhoeven
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-11-20 12:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Greg Kroah-Hartman
Cc: linux-sh, linux-arm-kernel, devicetree, Geert Uytterhoeven
Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed (thanks Simon!) by reading the GICD_IIDR
register, which reports 0x0000043b (PL390 = 0x00, ARM = 0x43b).
This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
You can read the GICD_IIDR register from U-Boot using
md 0xe0028008 1
---
arch/arm/boot/dts/emev2.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/emev2.dtsi b/arch/arm/boot/dts/emev2.dtsi
index edad0c4eea3505b7..57795da616cb4085 100644
--- a/arch/arm/boot/dts/emev2.dtsi
+++ b/arch/arm/boot/dts/emev2.dtsi
@@ -44,7 +44,7 @@
};
gic: interrupt-controller@e0020000 {
- compatible = "arm,cortex-a9-gic";
+ compatible = "arm,pl390";
interrupt-controller;
#interrupt-cells = <3>;
reg = <0xe0028000 0x1000>,
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/6] ARM: shmobile: r8a7778 dtsi: Use "arm,pl390" for GIC
2015-11-20 12:36 [PATCH 0/6] ARM: shmobile: Use "arm,pl390" for GIC where appropriate Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 3/6] ARM: shmobile: emev2 " Geert Uytterhoeven
@ 2015-11-20 12:36 ` Geert Uytterhoeven
[not found] ` <1448023017-21816-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-11-20 12:36 ` [PATCH 6/6] staging: board: armadillo800eva: " Geert Uytterhoeven
4 siblings, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-11-20 12:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Greg Kroah-Hartman
Cc: linux-sh, linux-arm-kernel, devicetree, Geert Uytterhoeven
Replace the "arm,cortex-a9-gic" compatible value for the GIC by
"arm,pl390", as the documentation states it is a PL390.
This has been confirmed by reading the GICD_IIDR register, which reports
0x0000043b (PL390 = 0x00, ARM = 0x43b).
This has no effect on runtime behavior, as currently the GIC driver
treats both compatible values the same.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
You can read the GICD_IIDR register from U-Boot using
md 0xfe438008 1
---
arch/arm/boot/dts/r8a7778.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi
index da76f5d95875ce11..fd10197c7dba6d7d 100644
--- a/arch/arm/boot/dts/r8a7778.dtsi
+++ b/arch/arm/boot/dts/r8a7778.dtsi
@@ -61,7 +61,7 @@
};
gic: interrupt-controller@fe438000 {
- compatible = "arm,cortex-a9-gic";
+ compatible = "arm,pl390";
#interrupt-cells = <3>;
interrupt-controller;
reg = <0xfe438000 0x1000>,
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/6] staging: board: kzm9d: Use "arm,pl390"
[not found] ` <1448023017-21816-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-11-20 12:36 ` [PATCH 2/6] ARM: shmobile: r8a7740 " Geert Uytterhoeven
@ 2015-11-20 12:36 ` Geert Uytterhoeven
1 sibling, 0 replies; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-11-20 12:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Greg Kroah-Hartman
Cc: linux-sh-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
Must be applied together with "ARM: shmobile: emev2 dtsi: Use
"arm,pl390" for GIC"!
Greg: Can you please provide your ack? Thanks!
---
drivers/staging/board/kzm9d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/board/kzm9d.c b/drivers/staging/board/kzm9d.c
index 8d1eb09bc66ef413..05a6d434d307fe0f 100644
--- a/drivers/staging/board/kzm9d.c
+++ b/drivers/staging/board/kzm9d.c
@@ -11,7 +11,7 @@ static struct resource usbs1_res[] __initdata = {
static void __init kzm9d_init(void)
{
- board_staging_gic_setup_xlate("arm,cortex-a9-gic", 32);
+ board_staging_gic_setup_xlate("arm,pl390", 32);
if (!board_staging_dt_node_available(usbs1_res,
ARRAY_SIZE(usbs1_res))) {
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 6/6] staging: board: armadillo800eva: Use "arm,pl390"
2015-11-20 12:36 [PATCH 0/6] ARM: shmobile: Use "arm,pl390" for GIC where appropriate Geert Uytterhoeven
` (3 preceding siblings ...)
[not found] ` <1448023017-21816-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2015-11-20 12:36 ` Geert Uytterhoeven
[not found] ` <1448023017-21816-7-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
4 siblings, 1 reply; 11+ messages in thread
From: Geert Uytterhoeven @ 2015-11-20 12:36 UTC (permalink / raw)
To: Simon Horman, Magnus Damm, Greg Kroah-Hartman
Cc: linux-sh, linux-arm-kernel, devicetree, Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
Must be applied together with "ARM: shmobile: r8a7740 dtsi: Use
"arm,pl390" for GIC"!
Greg: Can you please provide your ack? Thanks!
---
drivers/staging/board/armadillo800eva.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/board/armadillo800eva.c b/drivers/staging/board/armadillo800eva.c
index 9c41652ee908b5e8..912c96b0536def7c 100644
--- a/drivers/staging/board/armadillo800eva.c
+++ b/drivers/staging/board/armadillo800eva.c
@@ -97,7 +97,7 @@ static const struct board_staging_dev armadillo800eva_devices[] __initconst = {
static void __init armadillo800eva_init(void)
{
- board_staging_gic_setup_xlate("arm,cortex-a9-gic", 32);
+ board_staging_gic_setup_xlate("arm,pl390", 32);
board_staging_register_devices(armadillo800eva_devices,
ARRAY_SIZE(armadillo800eva_devices));
}
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 6/6] staging: board: armadillo800eva: Use "arm,pl390"
[not found] ` <1448023017-21816-7-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2015-12-11 16:28 ` Greg Kroah-Hartman
2015-12-14 5:05 ` Simon Horman
0 siblings, 1 reply; 11+ messages in thread
From: Greg Kroah-Hartman @ 2015-12-11 16:28 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Simon Horman, Magnus Damm, linux-sh-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA
On Fri, Nov 20, 2015 at 01:36:57PM +0100, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
> ---
> Must be applied together with "ARM: shmobile: r8a7740 dtsi: Use
> "arm,pl390" for GIC"!
>
> Greg: Can you please provide your ack? Thanks!
Acked-by: Greg Kroah-Hartman <gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 6/6] staging: board: armadillo800eva: Use "arm,pl390"
2015-12-11 16:28 ` Greg Kroah-Hartman
@ 2015-12-14 5:05 ` Simon Horman
2015-12-14 5:16 ` Greg Kroah-Hartman
0 siblings, 1 reply; 11+ messages in thread
From: Simon Horman @ 2015-12-14 5:05 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Geert Uytterhoeven, Magnus Damm, linux-sh, linux-arm-kernel,
devicetree
On Fri, Dec 11, 2015 at 11:28:30AM -0500, Greg Kroah-Hartman wrote:
> On Fri, Nov 20, 2015 at 01:36:57PM +0100, Geert Uytterhoeven wrote:
> > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > ---
> > Must be applied together with "ARM: shmobile: r8a7740 dtsi: Use
> > "arm,pl390" for GIC"!
> >
> > Greg: Can you please provide your ack? Thanks!
>
> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thanks Greg,
I have taken the liberty of assuming that ack also applies to
patch 5/6 of this series, the other staging/board patch in
this series.
I have queued up this series accordingly.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 6/6] staging: board: armadillo800eva: Use "arm,pl390"
2015-12-14 5:05 ` Simon Horman
@ 2015-12-14 5:16 ` Greg Kroah-Hartman
2015-12-14 6:29 ` Simon Horman
0 siblings, 1 reply; 11+ messages in thread
From: Greg Kroah-Hartman @ 2015-12-14 5:16 UTC (permalink / raw)
To: Simon Horman
Cc: Geert Uytterhoeven, Magnus Damm, linux-sh, linux-arm-kernel,
devicetree
On Mon, Dec 14, 2015 at 02:05:26PM +0900, Simon Horman wrote:
> On Fri, Dec 11, 2015 at 11:28:30AM -0500, Greg Kroah-Hartman wrote:
> > On Fri, Nov 20, 2015 at 01:36:57PM +0100, Geert Uytterhoeven wrote:
> > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > ---
> > > Must be applied together with "ARM: shmobile: r8a7740 dtsi: Use
> > > "arm,pl390" for GIC"!
> > >
> > > Greg: Can you please provide your ack? Thanks!
> >
> > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
>
> Thanks Greg,
>
> I have taken the liberty of assuming that ack also applies to
> patch 5/6 of this series, the other staging/board patch in
> this series.
Oops, yes, good call, thanks for doing this.
greg k-h
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 6/6] staging: board: armadillo800eva: Use "arm,pl390"
2015-12-14 5:16 ` Greg Kroah-Hartman
@ 2015-12-14 6:29 ` Simon Horman
0 siblings, 0 replies; 11+ messages in thread
From: Simon Horman @ 2015-12-14 6:29 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Geert Uytterhoeven, Magnus Damm, linux-sh, linux-arm-kernel,
devicetree
On Sun, Dec 13, 2015 at 09:16:47PM -0800, Greg Kroah-Hartman wrote:
> On Mon, Dec 14, 2015 at 02:05:26PM +0900, Simon Horman wrote:
> > On Fri, Dec 11, 2015 at 11:28:30AM -0500, Greg Kroah-Hartman wrote:
> > > On Fri, Nov 20, 2015 at 01:36:57PM +0100, Geert Uytterhoeven wrote:
> > > > Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> > > > ---
> > > > Must be applied together with "ARM: shmobile: r8a7740 dtsi: Use
> > > > "arm,pl390" for GIC"!
> > > >
> > > > Greg: Can you please provide your ack? Thanks!
> > >
> > > Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> >
> > Thanks Greg,
> >
> > I have taken the liberty of assuming that ack also applies to
> > patch 5/6 of this series, the other staging/board patch in
> > this series.
>
> Oops, yes, good call, thanks for doing this.
No problem.
For the record I have queued up these patches for v4.6 as I
believe that the ARM SoC maintainers prefer not to have
driver changes depending on DT changes and the first four patches
of this series are DT changes.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-12-14 6:29 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20 12:36 [PATCH 0/6] ARM: shmobile: Use "arm,pl390" for GIC where appropriate Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 1/6] ARM: shmobile: r7s72100 dtsi: Use "arm,pl390" for GIC Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 3/6] ARM: shmobile: emev2 " Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 4/6] ARM: shmobile: r8a7778 " Geert Uytterhoeven
[not found] ` <1448023017-21816-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-11-20 12:36 ` [PATCH 2/6] ARM: shmobile: r8a7740 " Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 5/6] staging: board: kzm9d: Use "arm,pl390" Geert Uytterhoeven
2015-11-20 12:36 ` [PATCH 6/6] staging: board: armadillo800eva: " Geert Uytterhoeven
[not found] ` <1448023017-21816-7-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-12-11 16:28 ` Greg Kroah-Hartman
2015-12-14 5:05 ` Simon Horman
2015-12-14 5:16 ` Greg Kroah-Hartman
2015-12-14 6:29 ` Simon Horman
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).