public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Standard/common method for booting secondary cores
@ 2015-04-20 22:43 Mason
  2015-04-21 11:41 ` Dave Martin
  2015-04-21 11:41 ` Mark Rutland
  0 siblings, 2 replies; 5+ messages in thread
From: Mason @ 2015-04-20 22:43 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

With the current push for CONFIG_ARCH_MULTIPLATFORM,
I'm wondering if things like starting secondary cores
have been "standardized"/factorized to the point where
I can just use some default implementation?

I think the implementation I'm using as a starting
point uses SMC calls. I think we are using "TrustZone"
where Linux runs in NS (non secure) mode, and a tiny
proprietary OS runs in secure mode.

IIUC (which is probably NOT the case), when Linux runs
in NS mode, some operations that are typically carried
out at boot/init are not allowed, such as

- starting secondary cores
- configuring the L2 cache controller

and this must be done by the secure OS via SMC?

I'd be happy to be given pointers to internet references
and do my own reading. I've bookmarked a few on related
subjects:

http://events.linuxfoundation.org/sites/events/files/slides/clement-smp-bring-up-on-arm-soc.pdf
http://www.linux-arm.org/pub/LinuxPlatform/RealViewLink/Booting_ARM_Linux_SMP_on_MPCore.doc
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0388g/Beihjjgb.html
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.prd29-genc-009492c/index.html

Are the arch/arm/common/mcpm_* files relevant?

Regards.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-04-21 12:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-20 22:43 Standard/common method for booting secondary cores Mason
2015-04-21 11:41 ` Dave Martin
2015-04-21 12:20   ` Mason
2015-04-21 12:46     ` Dave Martin
2015-04-21 11:41 ` Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox