VT-d: Tylersburg errata apply to further steppings
authorJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 13:11:11 +0000 (15:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 13:11:11 +0000 (15:11 +0200)
commit26b885cbdd2458b32434a4d20b921b49bd623adb
tree0873b3741f5b50155cd83f07d5bdce113ebb4d8b
parenta9d7c2541415dad9b9707ab1e302691d2844f271
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>
master commit: 517a90d1ca09ce00e50d46ac25566cc3bd2eb34d
master date: 2021-08-18 09:44:14 +0200
xen/drivers/passthrough/vtd/quirks.c