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)
commit7c41a336c39f5e458ee419601c0f000a345bbefc
tree0c90b2a890fc295a410bd1cb84eb0875c84eb38f
parent601b737ecd1f780d1f3bddbaa6cfd58b208a79ae
intel-iommu: Fix phys_pfn in __domain_mapping for sglist pages

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