Re: [PATCH] 8xx: fix user space TLB walk in dcbX fixup

2010-01-12 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 12/01/2010 09:44:09: > > On Tue, 2010-01-12 at 08:07 +0100, Joakim Tjernlund wrote: > > Benjamin Herrenschmidt wrote on 12/01/2010 > > 03:40:45: > > > > > > On Fri, 2010-01-08 at 17:46 +0100, Joakim Tjernlund wrote: > > > > The newly added fixup for buggy dcbX ins

Re: [PATCH] 8xx: fix user space TLB walk in dcbX fixup

2010-01-12 Thread Benjamin Herrenschmidt
On Tue, 2010-01-12 at 08:07 +0100, Joakim Tjernlund wrote: > Benjamin Herrenschmidt wrote on 12/01/2010 > 03:40:45: > > > > On Fri, 2010-01-08 at 17:46 +0100, Joakim Tjernlund wrote: > > > The newly added fixup for buggy dcbX insn's has > > > a bug that always trigger a kernel TLB walk so a user

Re: [PATCH] 8xx: fix user space TLB walk in dcbX fixup

2010-01-11 Thread Joakim Tjernlund
Benjamin Herrenschmidt wrote on 12/01/2010 03:40:45: > > On Fri, 2010-01-08 at 17:46 +0100, Joakim Tjernlund wrote: > > The newly added fixup for buggy dcbX insn's has > > a bug that always trigger a kernel TLB walk so a user space > > dcbX insn will cause a Kernel Machine Check if it hits DTLB er

Re: [PATCH] 8xx: fix user space TLB walk in dcbX fixup

2010-01-11 Thread Benjamin Herrenschmidt
On Fri, 2010-01-08 at 17:46 +0100, Joakim Tjernlund wrote: > The newly added fixup for buggy dcbX insn's has > a bug that always trigger a kernel TLB walk so a user space > dcbX insn will cause a Kernel Machine Check if it hits DTLB error. > > Signed-off-by: Joakim Tjernlund > --- > > I found th

[PATCH] 8xx: fix user space TLB walk in dcbX fixup

2010-01-08 Thread Joakim Tjernlund
The newly added fixup for buggy dcbX insn's has a bug that always trigger a kernel TLB walk so a user space dcbX insn will cause a Kernel Machine Check if it hits DTLB error. Signed-off-by: Joakim Tjernlund --- I found this problem in 2.4 and forward ported it to 2.6. I cannot test it so I canno