[PATCH 0/2] L2CC shared mutex with ARM TZ
etienne.carriere at st.com
Tue Nov 13 11:07:55 EST 2012
From: Etienne Carriere <etienne.carriere at stericsson.com>
A need for a shared mutex between linux and TrustZone has raised on ST-Ericsson ux500 platforms and coming ux600 platforms.
This patch series shows how we intend to modify ARM L2 cache driver to allow platforms to register a shared mutex between Linux and TrustZone code.
The 1st patch contains the target modifications in L2X0 driver in the kernel main track.
The 2nd patch (romcode-shared_mutex.c) is an example of how such feature could be used by platform specific code.
This patch does not target merge on kernel main track.
Patch were extracted from local kernel tree and may not apply straight on pristine kernel tree. I hope they clearly describe our purpose.
In the hope to get your feedback,
Etienne Carriere (2)
arm: mm: l2cc external shared mutex support
mach-ux500: tee: l2cc TEE shared mutex support
arch/arm/include/asm/outercache.h | 9 ++++
arch/arm/mm/cache-l2x0.c | 87 +++++++++++++++++++++++++++++----------
arch/arm/mach-ux500/romcode-shared_mutex.c | 111 +++++++++++++++++++++++++++++
3 files changed, 185 insertions(+), 22 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linux-arm-kernel