<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>From: Etienne Carriere <etienne.carriere@stericsson.com><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Dear all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>A need for a shared mutex between linux and TrustZone has raised on ST-Ericsson ux500 platforms and coming ux600 platforms.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The 1st patch contains the target modifications in L2X0 driver in the kernel main track.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The 2nd patch (romcode-shared_mutex.c) is an example of how such feature could be used by platform specific code.<o:p></o:p></p><p class=MsoNormal>This patch does not target merge on kernel main track.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Patch were extracted from local kernel tree and may not apply straight on pristine kernel tree. I hope they clearly describe our purpose.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In the hope to get your feedback,<o:p></o:p></p><p class=MsoNormal>Regards.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Etienne Carriere (2)<o:p></o:p></p><p class=MsoNormal> arm: mm: l2cc external shared mutex support<o:p></o:p></p><p class=MsoNormal> mach-ux500: tee: l2cc TEE shared mutex support<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> arch/arm/include/asm/outercache.h | 9 ++++<o:p></o:p></p><p class=MsoNormal> arch/arm/mm/cache-l2x0.c | 87 +++++++++++++++++++++++++++++----------<o:p></o:p></p><p class=MsoNormal> arch/arm/mach-ux500/romcode-shared_mutex.c | 111 +++++++++++++++++++++++++++++<o:p></o:p></p><p class=MsoNormal> 3 files changed, 1<span lang=FR>85</span> insertions(+), 22 deletions(-)<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>--<o:p></o:p></p><p class=MsoPlainText>1.7.11.3<o:p></o:p></p><p class=MsoNormal><span lang=FR><o:p> </o:p></span></p></div></body></html>