RE: [PATCH 2/2] powerpc/e6500: hw tablewalk: fix recursive tlb lock on cpu 0

2014-05-30 Thread mihai.cara...@freescale.com
-Original Message- From: Linuxppc-dev [mailto:linuxppc-dev- bounces+mihai.caraman=freescale@lists.ozlabs.org] On Behalf Of Scott Wood Sent: Friday, May 23, 2014 12:45 AM To: linuxppc-dev@lists.ozlabs.org Cc: Wood Scott-B07421 Subject: [PATCH 2/2] powerpc/e6500: hw tablewalk

Re: [PATCH 2/2] powerpc/e6500: hw tablewalk: fix recursive tlb lock on cpu 0

2014-05-30 Thread Scott Wood
Cc: Wood Scott-B07421 Subject: [PATCH 2/2] powerpc/e6500: hw tablewalk: fix recursive tlb lock on cpu 0 Commit 82d86de25b9c99db546e17c6f7ebf9a691da557e TLB lock recursive introduced a bug whereby cpu 0 uses the same value for lock held as is used to indicate that the lock is free

[PATCH 2/2] powerpc/e6500: hw tablewalk: fix recursive tlb lock on cpu 0

2014-05-22 Thread Scott Wood
Commit 82d86de25b9c99db546e17c6f7ebf9a691da557e TLB lock recursive introduced a bug whereby cpu 0 uses the same value for lock held as is used to indicate that the lock is free. This means that cpu 1 can acquire the lock whenever it wants, regardless of whether cpu 0 has it locked, which in turn