]> xenbits.xensource.com Git - xen.git/commit
VT-d: prune SAGAW recognition
authorJan Beulich <jbeulich@suse.com>
Wed, 24 Nov 2021 10:11:24 +0000 (11:11 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 24 Nov 2021 10:11:24 +0000 (11:11 +0100)
commit859d11b2791292c1b997242ac3ea5a38dc34c80e
treec66e724c258f4903e67b6fb5282d146e82f9cd7e
parent8c6ea4a78485047ea78f9c07d457a56f5227a08b
VT-d: prune SAGAW recognition

Bit 0 of SAGAW in the capability register has become reserved at or
before spec version 2.2. Treat it as such. Replace the effective open-
coding of find_first_set_bit(). Adjust local variable types.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/iommu.c