Re: intel-iommu: iova_to_phys: fill in bits from iova when large pte

Marcelo Tosatti
2013-11-04T20:15:12Z

On Mon, Nov 04, 2013 at 10:07:54AM -0700, Greg Edwards wrote:
> On Fri, Nov 01, 2013 at 06:45:12PM -0700, Marcelo Tosatti wrote:
> >
> > intel_iommu_iova_to_phys returns incorrect physical address
> > when iova is translated by large pte.
> >
> > Fill in bits from iova when creating the physical address.
>
> Marcelo, for what it's worth, this patch alone didn't fix the BUG when
> using KVM PCI assignment with huge pages. I still needed the hva
> alignment patch as well.
>
> Greg

Yep, still a bugfix though.

Good catch, Greg.