]> xenbits.xensource.com Git - xen.git/commit
VT-d: Tylersburg errata apply to further steppings
authorJan Beulich <jbeulich@suse.com>
Wed, 18 Aug 2021 07:44:14 +0000 (09:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 18 Aug 2021 07:44:14 +0000 (09:44 +0200)
commit517a90d1ca09ce00e50d46ac25566cc3bd2eb34d
tree7b5763564dd4bdeab18977d32af7dceee5eff7ba
parent6b1ca51b1a91d002636518afe4a8a50ba7212495
VT-d: Tylersburg errata apply to further steppings

While for 5500 and 5520 chipsets only B3 and C2 are mentioned in the
spec update, X58's also mentions B2, and searching the internet suggests
systems with this stepping are actually in use. Even worse, for X58
erratum #69 is marked applicable even to C2. Split the check to cover
all applicable steppings and to also report applicable errata numbers in
the log message. The splitting requires using the DMI port instead of
the System Management Registers device, but that's then in line (also
revision checking wise) with the spec updates.

Fixes: 6890cebc6a98 ("VT-d: deal with 5500/5520/X58 errata")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/drivers/passthrough/vtd/quirks.c