Re: [PATCH] powerpc: Add pgprot_writecombine

2011-03-14 Thread Steve Wise
On 03/14/2011 01:33 PM, Nishanth Aravamudan wrote: On 01.03.2011 [17:00:47 +1100], Anton Blanchard wrote: A number of drivers are using pgprot_writecombine() to enable write combining on userspace mappings. Implement it on powerpc. Given this patch, should drivers/infiniband/hw/cxgb4/t4.h be

Re: [PATCH] powerpc: Add pgprot_writecombine

2011-03-14 Thread Nishanth Aravamudan
On 01.03.2011 [17:00:47 +1100], Anton Blanchard wrote: > > A number of drivers are using pgprot_writecombine() to enable write > combining on userspace mappings. Implement it on powerpc. Given this patch, should drivers/infiniband/hw/cxgb4/t4.h be updated?: static inline pgprot_t t4_pgprot_wc(p

[PATCH] powerpc: Add pgprot_writecombine

2011-02-28 Thread Anton Blanchard
A number of drivers are using pgprot_writecombine() to enable write combining on userspace mappings. Implement it on powerpc. Signed-off-by: Anton Blanchard --- diff --git a/arch/powerpc/include/asm/pgtable.h b/arch/powerpc/include/asm/pgtable.h index 89f1587..88b0bd9 100644 --- a/arch/powerpc