]> Git Repo - linux.git/commit - drivers/iommu/dmar.c
iommu/dmar: Reserve mmio space used by the IOMMU, if the BIOS forgets to
authorDonald Dutile <[email protected]>
Mon, 4 Jun 2012 21:29:02 +0000 (17:29 -0400)
committerIngo Molnar <[email protected]>
Fri, 8 Jun 2012 10:15:43 +0000 (12:15 +0200)
commit6f5cf52114dd87f9ed091678f7dfc8ff21bbe2b3
tree51d0e821a0eae76c34181a1f8286c1480d6bcbc4
parentbf947fcb77ff858f223c49c76e2d130095fa2585
iommu/dmar: Reserve mmio space used by the IOMMU, if the BIOS forgets to

Intel-iommu initialization doesn't currently reserve the memory
used for the IOMMU registers. This can allow the pci resource
allocator to assign a device BAR to the same address as the
IOMMU registers. This can cause some not so nice side affects
when the driver ioremap's that region.

Introduced two helper functions to map & unmap the IOMMU
registers as well as simplify the init and exit paths.

Signed-off-by: Donald Dutile <[email protected]>
Acked-by: Chris Wright <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
drivers/iommu/dmar.c
include/linux/intel-iommu.h
This page took 0.05091 seconds and 4 git commands to generate.