Re: [PATCH] powerpc: Correct VIO bus accounting problem in CMO env.

2009-01-28 Thread Brian King
Acked by: Brian King Robert Jennings wrote: > In the VIO bus code the wrappers for dma alloc_coherent and free_coherent > calls are rounding to IOMMU_PAGE_SIZE. Taking a look at the underlying > calls, the actual mapping is promoted to PAGE_SIZE. Changing the > rounding in these two functions f

[PATCH] powerpc: Correct VIO bus accounting problem in CMO env.

2009-01-22 Thread Robert Jennings
In the VIO bus code the wrappers for dma alloc_coherent and free_coherent calls are rounding to IOMMU_PAGE_SIZE. Taking a look at the underlying calls, the actual mapping is promoted to PAGE_SIZE. Changing the rounding in these two functions fixes under-reporting the entitlement used by the syste