[PATCH 1/2] arm/mm: L2CC shared mutex with ARM TZ

Etienne CARRIERE ST etienne.carriere at st.com
Wed Nov 14 06:02:24 EST 2012


> > Thanks for notifying. I will look at the recent release to see if our 
> > architecture complies with Kernel code.
> > 
> > Our mutex implementation is based on 0/1 lock/unlock value in target 
> > mutex DDR cell.
> 
> Right, so we have another bug here: it is incompatible with the current ARM 
> spinlock implementation - and using it on the same memory location as a 
> spinlock will corrupt the spinlock.

Right.
I see our architecture complies with kernels before v3.6-rc1.
Until then, it seems we can use our patch, but we must plan something else for the more recent kernels.

etienne



More information about the linux-arm-kernel mailing list