devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Simon Horman <horms@verge.net.au>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	Sudeep Holla <sudeep.holla@arm.com>,
	Linux-sh list <linux-sh@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCH v5 0/4] ARM: shmobile: r8a7740/sh73a0 DT Cache Handling
Date: Wed, 25 Nov 2015 09:45:20 +0100	[thread overview]
Message-ID: <CAMuHMdXeb-hWhAXFtKDpnc_nuBgzi7usxPOmKY9kNmwM4A+54w@mail.gmail.com> (raw)
In-Reply-To: <20151125015048.GN20596@verge.net.au>

Hi Simon,

On Wed, Nov 25, 2015 at 2:50 AM, Simon Horman <horms@verge.net.au> wrote:
> On Mon, Nov 23, 2015 at 02:55:58PM +0100, Geert Uytterhoeven wrote:
>> This patch series add minimal L1 and L2 cache descriptions to DT for
>> r8a7740 and sh73a0, and migrates the shmobile DT-based generic r8a7740
>> platform from calling l2x0_of_init() to the generic l2c OF
>> initialization.
>>
>> Note that the conversion to the generic l2c OF initialization is not
>> done yet for sh73a0, as this initializes the L2 cache earlier, breaking
>> the (fragile) sh73a0 secondary CPU bringup code.
>>
>> Also note that this conversion should be done on r8a7778, and r8a7779,
>> too.
>
> Based on your work I have prepared a DT patch for the r8a7779.

Thanks for following up.

> I don't think that a C patch is necessary, please correct me if I am wrong.

Yes you do!
Without machine_desc.l2x_aux_{val,mask}, the information in DT is not used.
Cfr. arch/arm/mach-shmobile/setup-r8a7740.c

> Regarding the r8a7778: My reading of the documentation is that although a
> pl310 L2 cache controller is present it is not available for use as there
> is no L2 cache memory present. For this reason I do not think any patches
> are required for the r8a7798.

I agree after consulting the datasheet.

>> Dependencies:
>>   - This series applies to renesas-devel-20151123-v4.4-rc2,
>>   - Patch 3 depends on patch 1,
>>   - Patch 4 depends on patch 3.
>>
>> Given C code changesets depending on DT changesets in the same branch
>> are frowned upon, you may want to postpone patches 3 and 4 to v4.6.
>> Of course I'll sleep better if you just apply all 4 of them now ;-)
>
> I have queued up the DT changes for v4.5.
> And tentatively queued up the C changes for v4.6.

Thank you!

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

  reply	other threads:[~2015-11-25  8:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23 13:55 [PATCH v5 0/4] ARM: shmobile: r8a7740/sh73a0 DT Cache Handling Geert Uytterhoeven
2015-11-23 13:55 ` [PATCH v5 1/4] ARM: shmobile: r8a7740 dtsi: Add L2 cache-controller node Geert Uytterhoeven
     [not found] ` <1448286962-16897-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2015-11-23 13:56   ` [PATCH v5 2/4] ARM: shmobile: sh73a0 " Geert Uytterhoeven
2015-11-23 13:56 ` [PATCH v5 3/4] ARM: shmobile: r8a7740: Migrate to generic l2c OF initialization Geert Uytterhoeven
2015-11-23 13:56 ` [PATCH v5 4/4] ARM: shmobile: r8a7740: Remove mapping of L2 cache controller registers Geert Uytterhoeven
2015-11-25  1:50 ` [PATCH v5 0/4] ARM: shmobile: r8a7740/sh73a0 DT Cache Handling Simon Horman
2015-11-25  8:45   ` Geert Uytterhoeven [this message]
2015-11-26  3:46     ` 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=CAMuHMdXeb-hWhAXFtKDpnc_nuBgzi7usxPOmKY9kNmwM4A+54w@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=sudeep.holla@arm.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).