ARM: renesas: Use SMP jump stub SRAM region from DT
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 9 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] ARM: renesas: Use SMP jump stub SRAM region from DT
Quoted 35 lines · Geert Uytterhoeven
Quoted 22 lines · Geert Uytterhoeven
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 andRZ/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_SIZEanyway.Thanks for your comments!
Quoted 10 lines
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
Quoted 3 lines
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?