linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* LDREX and STREX in heterogeneous system?
@ 2022-11-09  8:34 richard clark
  2022-11-09  9:25 ` Catalin Marinas
  0 siblings, 1 reply; 6+ messages in thread
From: richard clark @ 2022-11-09  8:34 UTC (permalink / raw)
  To: catalin.marinas, mark.rutland; +Cc: linux-arm-kernel

Hi Catalin and Mark,

Suppose in a heterogeneous system, there're cortex-M7 and cortex-A72
sharing the same bus. Does the below code sequence work as (ldr/str)ex
expected?

r2 point to a uncached shared memory between M7 and A72

M7                                      A72
ldrex r1, [r2]
      ------------------------->  strex r0, r1, [r2]

Richard

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2022-11-17 14:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-09  8:34 LDREX and STREX in heterogeneous system? richard clark
2022-11-09  9:25 ` Catalin Marinas
2022-11-10  3:27   ` richard clark
2022-11-11 22:40     ` Catalin Marinas
2022-11-17  1:32       ` richard clark
2022-11-17 14:06         ` Catalin Marinas

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