[PATCH 0/9] ARM: renesas: Use SMP jump stub SRAM region from DT

Simon Horman horms at verge.net.au
Mon Jul 10 01:39:27 PDT 2017


On Tue, Jul 04, 2017 at 06:44:48PM +0200, Geert Uytterhoeven wrote:
> On Tue, Jul 4, 2017 at 5:41 PM, Geert Uytterhoeven
> <geert+renesas at glider.be> wrote:
> > The R-Car Gen2 platform code for CPU core bringup needs to copy a jump
> > stub to on-SoC SRAM.  Currently it uses a hardcoded address pointing to
> > ICRAM1.
> >
> > This patch series adds support to specify this region from DT.  It
> > consists of 3 parts:
> >   - DT binding documentation for reserving SRAM for the jump stub,
> >   - A platform code update to retrieve the information from DT, if
> >     present (of course backwards-compatibility with old DTBs is
> >     preserved),
> >   - DT updates to reserve an SRAM region in DT on all R-Car Gen2 and
> >     RZ/G1 SoCs.
> >
> > The DT patches in this series depend on "[PATCH 0/7] ARM: dts: renesas:
> > Add Inter Connect RAM".
> >
> > Note that the current jump stub in Linux is 12 bytes long.  The patches
> > reserve 16 bytes of SRAM.  Should this be increased?  The mapping
> > granularity is PAGE_SIZE anyway.
> >
> > Thanks for your comments!
> >
> > Geert Uytterhoeven (9):
> >   dt-bindings: sram: Document renesas,smp-sram
> >   ARM: shmobile: rcar-gen2: Obtain jump stub region from DT
> >   ARM: dts: r8a7743: Reserve SRAM for the SMP jump stub
> >   ARM: dts: r8a7745: Reserve SRAM for the SMP jump stub
> >   ARM: dts: r8a7790: Reserve SRAM for the SMP jump stub
> >   ARM: dts: r8a7791: Reserve SRAM for the SMP jump stub
> >   ARM: dts: r8a7792: Reserve SRAM for the SMP jump stub
> >   ARM: dts: r8a7793: Reserve SRAM for the SMP jump stub
> >   ARM: dts: r8a7794: Reserve SRAM for the SMP jump stub
> 
> Forgot to mention: this has been tested on r8a7790/lager, r8a7791/koelsch,
> r8a7792/blanche, r8a7793/gose, and r8a7794/alt (r8a7794 needs an
> unrelated fix to enable SMP).

Geert, these seem nice and clean to me.
Are they ready to be applied?



More information about the linux-arm-kernel mailing list