VT-d: replace another fixmap use with ioremap()
authorJan Beulich <jbeulich@suse.com>
Wed, 4 Jun 2014 09:24:33 +0000 (11:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 4 Jun 2014 09:24:33 +0000 (11:24 +0200)
commit9e47f7056ba9f4a3ecf67e41ce79443100036a20
treec5c956e9af6b5d54133de3e0a181909757766f52
parent6f4cc0ac41625a054861b417ea1fc3ab88e2e40a
VT-d: replace another fixmap use with ioremap()

... making the code more generic and limiting address space consumption
(however small it might be) to just those machines that need this
mapping (this is an erratum workaround after all).

At the same time properly map the full needed range from the base
address instead of just the third page and fix some formatting.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/quirks.c
xen/include/asm-x86/fixmap.h