linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Trustzone: DSB before/after SMC
@ 2015-10-27 13:31 Mason
  2015-10-27 13:43 ` Mark Rutland
  0 siblings, 1 reply; 6+ messages in thread
From: Mason @ 2015-10-27 13:31 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

I have a few questions about SMC. (I'm using Cortex-A9)

Platforms that use SMC often/always execute DSB beforehand.

1a) Is DSB required before SMC?
1b) Is DSB required  after SMC?
2a) Is DSB required before returning to non-secure OS?
2b) Is DSB required  after returning to non-secure OS?
3) Is this documented in the ARM ARM?

Bonus question: if DSB is required before SMC, why didn't ARM
make SMC implicitly do a DSB?

Regards.

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

end of thread, other threads:[~2015-10-27 15:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-27 13:31 Trustzone: DSB before/after SMC Mason
2015-10-27 13:43 ` Mark Rutland
2015-10-27 14:05   ` Mason
2015-10-27 14:37     ` Mark Rutland
2015-10-27 14:54       ` Måns Rullgård
2015-10-27 15:01       ` Mason

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).