]> err.no Git - linux-2.6/commit
powerpc/pseries: Optimize IOMMU setup
authorPaul Mackerras <paulus@samba.org>
Mon, 5 Dec 2005 03:19:10 +0000 (14:19 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 5 Dec 2005 03:19:10 +0000 (14:19 +1100)
commit6fbb618f5da0424adcba5f666035e4772a8df526
tree599edd9f3bce29e3153b086bec87862e78bb889d
parente8a167accb47de528d2ffddc0f13f8e84eaa71de
powerpc/pseries: Optimize IOMMU setup

The previous commit will use the page-at-a-time hypervisor call for
setting up IOMMU entries when we are using 64k pages and setting up
one 64k page, even though that means 16 calls to the hypervisor, since
the hypervisor still works on 4k pages.  This optimizes this case by
using the multi-page IOMMU setup hypervisor call instead.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pseries/iommu.c