diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-01-21 09:12:01 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-01-21 09:12:01 +0000 |
commit | 3a007e1577a578f525f4c2b895cf098e9c72509a (patch) | |
tree | 52afb9e6d2629ffe94f4e68d8d1287443167a590 /tools/xentrace | |
parent | 1ac4cf5651e58f177621450342a943ee5457cf0a (diff) | |
download | xen-3a007e1577a578f525f4c2b895cf098e9c72509a.tar.gz xen-3a007e1577a578f525f4c2b895cf098e9c72509a.tar.bz2 xen-3a007e1577a578f525f4c2b895cf098e9c72509a.zip |
VT-d: improve RMRR validity checking
Currently, Xen checks RMRR range and disables VT-d if RMRR range is
set incorrectly in BIOS rigorously. But, actually we can ignore the
RMRR if the device under its scope are not pci discoverable, because
the RMRR won't be used by non-existed or disabled devices.
This patch ignores the RMRR if the device under its scope are not pci
discoverable, and only checks the validity of RMRRs that are actually
used. In order to avoid duplicate pci device detection code, this
patch defines a function pci_device_detect for it.
Signed-off-by: Weidong Han <weidong.han@intel.com>
Diffstat (limited to 'tools/xentrace')
0 files changed, 0 insertions, 0 deletions