dmar: fix using early fixmap mapping for DMAR table parsing
commitf6dd5c3106fb283e37d915eeb33019ef40510f85
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 3 Sep 2008 23:58:32 +0000 (3 16:58 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:04 +0000 (16 16:53 +0200)
tree61d95e10b63847c8dfdc13e40e7e3291427d3123
parenta11b5abef50722e42a7d13f6b799c4f606fcb797
dmar: fix using early fixmap mapping for DMAR table parsing

Very early detection of the DMAR tables will setup fixmap mapping. For
parsing these tables later (while enabling dma and/or interrupt remapping),
early fixmap mapping shouldn't be used. Fix it by calling table detection
routines again, which will call generic apci_get_table() for setting up
the correct mapping.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/pci/dmar.c
include/linux/dmar.h