Re: [PATCH v2] Force 4K pages for IO addresses.

2008-03-18 Thread Tony Breeds
On Wed, Mar 19, 2008 at 07:31:25AM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2008-03-18 at 09:45 -0500, Nathan Lynch wrote: > > The ibm,drc-names property of the root node should have "HEA" strings > > in it on systems where EHEA can potentially be present. > > Ah good, I didn't know. That wi

Re: [PATCH v2] Force 4K pages for IO addresses.

2008-03-18 Thread Benjamin Herrenschmidt
On Tue, 2008-03-18 at 09:45 -0500, Nathan Lynch wrote: > Benjamin Herrenschmidt wrote: > > > > On Mon, 2008-03-17 at 19:34 -0500, Olof Johansson wrote: > > > On Mon, Mar 17, 2008 at 02:54:19PM +1100, Tony Breeds wrote: > > > > Currently HEA requires 4K pages for IO resources. Just set the pages

Re: [PATCH v2] Force 4K pages for IO addresses.

2008-03-18 Thread Nathan Lynch
Benjamin Herrenschmidt wrote: > > On Mon, 2008-03-17 at 19:34 -0500, Olof Johansson wrote: > > On Mon, Mar 17, 2008 at 02:54:19PM +1100, Tony Breeds wrote: > > > Currently HEA requires 4K pages for IO resources. Just set the pages > > > size to > > > IO to 4K. > > > > Well, that's too bad. Why

Re: [PATCH v2] Force 4K pages for IO addresses.

2008-03-17 Thread Benjamin Herrenschmidt
On Mon, 2008-03-17 at 19:34 -0500, Olof Johansson wrote: > On Mon, Mar 17, 2008 at 02:54:19PM +1100, Tony Breeds wrote: > > Currently HEA requires 4K pages for IO resources. Just set the pages size > > to > > IO to 4K. > > Well, that's too bad. Why penalize all platforms for it? > > I.e.: Nack

Re: [PATCH v2] Force 4K pages for IO addresses.

2008-03-17 Thread Olof Johansson
On Mon, Mar 17, 2008 at 02:54:19PM +1100, Tony Breeds wrote: > Currently HEA requires 4K pages for IO resources. Just set the pages size to > IO to 4K. Well, that's too bad. Why penalize all platforms for it? I.e.: Nack, we use 64K iopages on pa6t and it works well. No need to waste tlb and erat

[PATCH v2] Force 4K pages for IO addresses.

2008-03-16 Thread Tony Breeds
Currently HEA requires 4K pages for IO resources. Just set the pages size to IO to 4K. Signed-off-by: Tony Breeds <[EMAIL PROTECTED]> --- * Updated the comment aswell, sorry. * Paul please consider this for 2.6.25 arch/powerpc/mm/hash_utils_64.c | 13 + 1 files changed, 5 insertio