diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-01-23 08:23:24 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-01-23 08:23:24 +0000 |
commit | a8059ffced29a7b3ab78829efe56682a417c2aff (patch) | |
tree | b15f6c7f02a5fe95269b03c9e989c0a0bc4201f2 /unmodified_drivers | |
parent | 8bf984160f9f49279f92c47a51948bca5a678294 (diff) | |
download | xen-a8059ffced29a7b3ab78829efe56682a417c2aff.tar.gz xen-a8059ffced29a7b3ab78829efe56682a417c2aff.tar.bz2 xen-a8059ffced29a7b3ab78829efe56682a417c2aff.zip |
VT-d: improve RMRR validity checking
In order to make Xen more defensive to VT-d related BIOS issue, this
patch ignores a DRHD if all devices under its scope are not pci
discoverable, and regards a DRHD as invalid and then disable whole
VT-d if some devices under its scope are not pci discoverable. But if
iommu=force is set, it will enable all DRHDs reported by BIOS, to
avoid any security vulnerability with malicious s/s re-enabling
"supposed disabled" devices. Pls note that we don't know the devices
under the "Include_all" DRHD are existent or not, because the scope of
"Include_all" DRHD won't enumerate common pci device, it only
enumerates I/OxAPIC and HPET devices.
Signed-off-by: Noboru Iwamatsu <n_iwamatsu@jp.fujitsu.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
Diffstat (limited to 'unmodified_drivers')
0 files changed, 0 insertions, 0 deletions