[PATCH -mm 0/3] convert IOMMUs to use iova



This patchset convert the PPC64 IOMMU to use the iova code for free
area management.

The IOMMUs ignores low level drivers' restrictions, the maximum
segment size and segment boundary.

I fixed the former:

http://thread.gmane.org/gmane.linux.scsi/35602

The latter makes the free area management complicated. I'd like to
convert IOMMUs to use the iova code (that intel-iommu introduced) for
free area management and enable iova to handle segment boundary
restrictions, rather than fixing all the IOMMUs' free area management,

I converted the PPC64 IOMMU to see how things work. The patchset was
slightly tested with a pSeries box and seems to work.

This is against the latest Linus' git tree with David Miller's
genericizing iova patch:

http://www.ussg.iu.edu/hypermail/linux/kernel/0710.2/2910.html

This patchset is also available:

git://git.kernel.org/pub/scm/linux/kernel/git/tomo/linux-2.6-misc.git iova
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH -mm 0/3] convert IOMMUs to use iova
    ... The IOMMUs ignores low level drivers' restrictions, ... The latter makes the free area management complicated. ... convert IOMMUs to use the iova code ...
    (Linux-Kernel)
  • Re: [PATCH -mm 0/3] convert IOMMUs to use iova
    ... The IOMMUs ignores low level drivers' restrictions, ... The latter makes the free area management complicated. ... for free area management and enable iova to handle segment boundary ...
    (Linux-Kernel)
  • Re: [PATCH -mm 0/3] convert IOMMUs to use iova
    ... The IOMMUs ignores low level drivers' restrictions, ... The latter makes the free area management complicated. ... for free area management and enable iova to handle segment boundary ...
    (Linux-Kernel)
  • Re: 2.6.24-rc6-mm1
    ... but in the worst case it should only loop forever if I'm ... This adds IOMMU helper functions for the free area management. ... functions take care of LLD's segment boundary limit for IOMMUs. ...
    (Linux-Kernel)
  • Re: 2.6.24-rc6-mm1
    ... find_next_zero_bit also fails, its an endless loop) ... But this patch has other bugs that break POWER IOMMUs. ... This adds IOMMU helper functions for the free area management. ...
    (Linux-Kernel)