[PATCH 0/3] tso: aarch64: Expose TSO for virtualized linux on Apple Silicon

Will Deacon will at kernel.org
Thu Apr 11 06:37:56 PDT 2024


Hi Zayd,

It makes a nice change to see an apple.com address on the mailing list!

On Wed, Apr 10, 2024 at 02:16:38PM -0700, Zayd Qumsieh wrote:
> x86 CPUs use a TSO memory model. Apple Silicon CPUs have the ability to
> selectively use a TSO memory model. This can be done by setting the
> ACTLR.TSOEN bit to 1. This feature is useful for x86 emulators, since it
> removes the need for emulators to insert memory barriers in order to abide
> by the TSO memory model. This patch series will add ACTLR.TSOEN support to
> virtualized linux on Apple Silicon machines. Userspace will be able to use
> a prctl to change the memory model of the CPU from the default ARM64 memory
> model to a TSO memory model.

FWIW: I've replied on the other series from Hector:

https://lore.kernel.org/lkml/20240411132853.GA26481@willie-the-truck/T/#t

Will



More information about the linux-arm-kernel mailing list