On Wed, Mar 2, 2016 at 11:37 AM, David Kiarie <[email protected]> wrote: > On Wed, Mar 2, 2016 at 11:29 AM, Joerg Roedel <[email protected]> wrote: >> On Wed, Mar 02, 2016 at 03:45:39AM +0300, David Kiarie wrote: >>> Hello, >>> >>> This patch seems to have introduced a bug - >>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4eeca8c5e72fad752eba9efc293c924d65faa86e >>> >>> As the commit message says, it should check for regions behind the >>> next_bit but it checks for regions beyond. >> >> Hmm, the patch looks good to me. Do you actually see a reproducible >> issue with it? > > Yep, I can't tell what exactly is happening but it seems to break > Qemu emulated IOMMU. I haven't tried on real hardware.
What effect is setting the value next_bit to last invalidated index supposed to have ? > >> >> >> Joerg >> _______________________________________________ iommu mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/iommu
