Re: [PATCH] powerpc: align DTL buffer to AMS boundary

2011-04-13 Thread Nishanth Aravamudan
5:53 > > To: Ben Herrenschmidt > > Cc: linuxppc-...@ozlabs.org; Paul Mackerras; Anton Blanchard > > Subject: [PATCH] powerpc: align DTL buffer to AMS boundary > > > > PAPR specifies that DTL buffers can not cross AMS environments (aka > CMO > > in the

Re: [PATCH] powerpc: align DTL buffer to AMS boundary

2011-04-13 Thread David Laight
rras; Anton Blanchard > Subject: [PATCH] powerpc: align DTL buffer to AMS boundary > > PAPR specifies that DTL buffers can not cross AMS environments (aka CMO > in the PAPR) and can not cross a memory entitlement granule boundary > (4k) How big is the buffer being allocated? If i

[PATCH] powerpc: align DTL buffer to AMS boundary

2011-04-13 Thread Nishanth Aravamudan
PAPR specifies that DTL buffers can not cross AMS environments (aka CMO in the PAPR) and can not cross a memory entitlement granule boundary (4k). This is found in section 14.11.3.2 H_REGISTER_VPA of the PAPR. kmalloc does not guarantee an alignment of the allocation, though, beyond 8 bytes (at lea