devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] ARM: renesas: Use SMP jump stub SRAM region from DT
@ 2017-07-04 15:41 Geert Uytterhoeven
  2017-07-04 15:41 ` [PATCH 1/9] dt-bindings: sram: Document renesas,smp-sram Geert Uytterhoeven
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2017-07-04 15:41 UTC (permalink / raw)
  To: Magnus Damm, Mark Rutland, Rob Herring, Simon Horman
  Cc: linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven

	Hi Magnus, Mark, Rob, Simon,

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

 .../devicetree/bindings/sram/renesas,smp-sram.txt  | 27 ++++++++++++++++++
 arch/arm/boot/dts/r8a7743.dtsi                     |  8 ++++++
 arch/arm/boot/dts/r8a7745.dtsi                     |  8 ++++++
 arch/arm/boot/dts/r8a7790.dtsi                     |  8 ++++++
 arch/arm/boot/dts/r8a7791.dtsi                     |  8 ++++++
 arch/arm/boot/dts/r8a7792.dtsi                     |  8 ++++++
 arch/arm/boot/dts/r8a7793.dtsi                     |  8 ++++++
 arch/arm/boot/dts/r8a7794.dtsi                     |  8 ++++++
 arch/arm/mach-shmobile/pm-rcar-gen2.c              | 33 ++++++++++++++++++++--
 9 files changed, 113 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sram/renesas,smp-sram.txt

-- 
2.7.4

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.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
--
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] 15+ messages in thread

end of thread, other threads:[~2017-07-10  9:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-04 15:41 [PATCH 0/9] ARM: renesas: Use SMP jump stub SRAM region from DT Geert Uytterhoeven
2017-07-04 15:41 ` [PATCH 1/9] dt-bindings: sram: Document renesas,smp-sram Geert Uytterhoeven
2017-07-10  1:08   ` Rob Herring
2017-07-04 15:41 ` [PATCH 2/9] ARM: shmobile: rcar-gen2: Obtain jump stub region from DT Geert Uytterhoeven
2017-07-04 15:41 ` [PATCH 3/9] ARM: dts: r8a7743: Reserve SRAM for the SMP jump stub Geert Uytterhoeven
     [not found] ` <1499182903-31339-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2017-07-04 15:41   ` [PATCH 4/9] ARM: dts: r8a7745: " Geert Uytterhoeven
2017-07-04 15:41   ` [PATCH 5/9] ARM: dts: r8a7790: " Geert Uytterhoeven
2017-07-04 15:41   ` [PATCH 7/9] ARM: dts: r8a7792: " Geert Uytterhoeven
2017-07-04 15:41 ` [PATCH 6/9] ARM: dts: r8a7791: " Geert Uytterhoeven
2017-07-04 15:41 ` [PATCH 8/9] ARM: dts: r8a7793: " Geert Uytterhoeven
2017-07-04 15:41 ` [PATCH 9/9] ARM: dts: r8a7794: " Geert Uytterhoeven
2017-07-04 16:44 ` [PATCH 0/9] ARM: renesas: Use SMP jump stub SRAM region from DT Geert Uytterhoeven
2017-07-10  8:39   ` Simon Horman
     [not found]     ` <20170710083926.GI13680-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2017-07-10  8:44       ` Geert Uytterhoeven
2017-07-10  9:31         ` 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).