intel-iommu: Introduce domain_pfn_mapping()
commit61df744314079e8cb8cdec75f517cf0e704e41ef
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 28 Jun 2009 10:55:58 +0000 (28 11:55 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 29 Jun 2009 12:33:59 +0000 (29 13:33 +0100)
tree55fd23fd2b1e909e203876d3d3b0d2eec879c675
parent1c5a46ed49e37f56f8aa9000bb1c2ac59670c372
intel-iommu: Introduce domain_pfn_mapping()

... and use it in the trivial cases; the other callers want individual
(and bisectable) attention, since I screwed them up the first time...

Make the BUG_ON() happen on too-large virtual address rather than
physical address, too. That's the one we care about.

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