intel-iommu: Fix phys_pfn in __domain_mapping for sglist pages
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 28 May 2011 23:57:50 +0000 (00:57 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 28 May 2011 23:58:51 +0000 (00:58 +0100)
We were setting phys_pfn to the physical *address* not PFN. That's not going
to work well.

In fact phys_pfn is mostly redundant with pteval anyway. Perhaps we can kill
one or the other...

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/intel-iommu.c

Simple merge