]> xenbits.xensource.com Git - xen.git/commit
VT-d: fix mask applied to DMIBAR in desktop chipset XSA-59 workaround
authorJan Beulich <jbeulich@suse.com>
Tue, 3 Jun 2014 10:21:12 +0000 (12:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 3 Jun 2014 10:21:12 +0000 (12:21 +0200)
commit2bc830e4fea6f4ecc974dfe09fab27b01b9b633a
tree630adf417e44a3faa7661fce8e2ee8161bb5078b
parent45ce6fb083335abf82f5b7d301bcc91261c94925
VT-d: fix mask applied to DMIBAR in desktop chipset XSA-59 workaround

In commit  ("VT-d: suppress UR signaling for desktop chipsets")
the mask applied to the value read from DMIBAR is to narrow, only the
comment accompanying it was correct. Fix that and tag the literal
number as "long long" at once to avoid eventual compiler warnings.

The widest possible value so far is 39 bits; all chipsets covered here
but having less than this number of bits have the remaining bits marked
reserved (zero), and hence there's no need for making the mask chipset
specific.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Yang Zhang <yang.z.zhang@intel.com>
master commit: f8ecf31c31906552522c2a1b0d1cada07d78876e
master date: 2014-05-26 12:28:46 +0200
xen/drivers/passthrough/vtd/quirks.c