• Paul Mackerras's avatar
    powerpc/pseries: Optimize IOMMU setup · 6fbb618f
    Paul Mackerras authored
    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: default avatarPaul Mackerras <paulus@samba.org>
    6fbb618f
iommu.c 15.8 KB