linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 5/6][RFC] arm64: renesas: Add r8a7795 SoC support
Date: Mon, 15 Jun 2015 12:40:46 +0000	[thread overview]
Message-ID: <CAMuHMdUrt_5tph7hJ8s2xH_M+0YGXO7y_xAFkHvgXrA0KDMzwg@mail.gmail.com> (raw)
In-Reply-To: <87y4jlvait.wl%kuninori.morimoto.gx@renesas.com>

On Mon, Jun 15, 2015 at 2:22 PM, Khiem Nguyen
<khiem.nguyen.xt@rvc.renesas.com> wrote:
>> +               /* 1core only at this point */
>> +               a53_0: cpu@100 {
>> +                       compatible = "arm,cortex-a53","arm,armv8";
>> +                       reg = <0x100>;
>> +                       device_type = "cpu";
>> +               };
>> +       };

>> +       gic: interrupt-controller@0xf1010000 {
>> +               compatible = "arm,gic-400", "arm,cortex-a15-gic";
>> +               #interrupt-cells = <3>;
>> +               #address-cells = <0>;
>> +               interrupt-controller;
>> +               reg = <0x0 0xf1010000 0 0x1000>,
>> +                     <0x0 0xf1020000 0 0x2000>;
>> +               interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(6) |
>> IRQ_TYPE_LEVEL_HIGH)>;
>
>
> Since there's only 1 CPU in this DTS, I guess the value should be 1, instead
> of 6.
> I remembered that Geert has a discussion thread about this matter. Geert ?

That's correct, cfr.
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-January/313194.html
which suggests the above was just copied from juno.dts.

However, as the single CPU in the dtsi is vpu@100, not cpu@0, I'm not sure
"GIC_CPU_MASK_SIMPLE(1)" is the right value anyway...

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

  parent reply	other threads:[~2015-06-15 12:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15  4:54 [PATCH 5/6][RFC] arm64: renesas: Add r8a7795 SoC support Kuninori Morimoto
2015-06-15  7:46 ` Magnus Damm
2015-06-15  8:11 ` Geert Uytterhoeven
2015-06-15  8:23 ` Kuninori Morimoto
2015-06-15  8:30 ` Kuninori Morimoto
2015-06-15  8:41 ` Gaku Inami
2015-06-15  8:44 ` Geert Uytterhoeven
2015-06-15 12:22 ` Khiem Nguyen
2015-06-15 12:40 ` Geert Uytterhoeven [this message]
2015-06-17  1:05 ` Simon Horman
2015-06-17  7:22 ` Geert Uytterhoeven
2015-06-17  8:38 ` Simon Horman

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=CAMuHMdUrt_5tph7hJ8s2xH_M+0YGXO7y_xAFkHvgXrA0KDMzwg@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=linux-sh@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).