iommu/vt-d: Do not re-use domain-ids from the old kernel
authorJoerg Roedel <jroedel@suse.de>
Fri, 12 Jun 2015 10:02:09 +0000 (12:02 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 16 Jun 2015 08:59:34 +0000 (10:59 +0200)
commitdbcd861f252d727ac856a3da2cba8a480a36ab2e
tree888c1b9cb3f9a39acc61886c97186698f85853b9
parent091d42e43d21b6ca7ec39bf5f9e17bc0bd8d4312
iommu/vt-d: Do not re-use domain-ids from the old kernel

Mark all domain-ids we find as reserved, so that there could
be no collision between domains from the previous kernel and
our domains in the IOMMU TLB.

Tested-by: ZhenHua Li <zhen-hual@hp.com>
Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c