From: "Jan Beulich" Subject: [PATCH 2/2] VT-d: extend XSA-59 workaround to XeonE5 v3 (Haswell) Date: Fri, 19 Dec 2014 08:41:34 +0000 Message-ID: <5493F2CE0200007800050E62@mail.emea.novell.com> References: <5493F0870200007800050E47@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartE5D02FAE.1__=" Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Y1t7v-0003ma-JG for xen-devel@lists.xenproject.org; Fri, 19 Dec 2014 08:41:35 +0000 In-Reply-To: <5493F0870200007800050E47@mail.emea.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel Cc: Yang Z Zhang , Kevin Tian , Donald D Dugger List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartE5D02FAE.1__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Note that the datasheet lacks PCI IDs for Dev 1 Fn 0-1, so their IDs are being added based on what https://pci-ids.ucw.cz/read/PC/8086 says. Signed-off-by: Jan Beulich --- a/xen/drivers/passthrough/vtd/quirks.c +++ b/xen/drivers/passthrough/vtd/quirks.c @@ -431,6 +431,7 @@ void pci_vtd_quirk(const struct pci_dev=20 * - Potential security issue if malicious guest trigger VT-d = faults. */ case 0x0e28: /* Xeon-E5v2 (IvyBridge) */ + case 0x2f28: /* Xeon-E5v3 (Haswell) */ case 0x342e: /* Tylersburg chipset (Nehalem / Westmere systems) */ case 0x3728: /* Xeon C5500/C3500 (JasperForest) */ case 0x3c28: /* Sandybridge */ @@ -443,6 +444,9 @@ void pci_vtd_quirk(const struct pci_dev=20 /* Xeon E5/E7 v2 */ case 0x0e00: /* host bridge */ case 0x0e01: case 0x0e04 ... 0x0e0b: /* root ports */ + /* Xeon E5 v3 */ + case 0x2f00: /* host bridge */ + case 0x2f01 ... 0x2f0b: /* root ports */ /* Tylersburg (EP)/Boxboro (MP) chipsets (NHM-EP/EX, WSM-EP/EX) */ case 0x3400 ... 0x3407: /* host bridges */ case 0x3408 ... 0x3411: case 0x3420 ... 0x3421: /* root ports */ --=__PartE5D02FAE.1__= Content-Type: text/plain; name="xsa59-XeonE5-v3.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xsa59-XeonE5-v3.patch" VT-d: extend XSA-59 workaround to XeonE5 v3 (Haswell)=0A=0ANote that the = datasheet lacks PCI IDs for Dev 1 Fn 0-1, so their IDs=0Aare being added = based on what https://pci-ids.ucw.cz/read/PC/8086 says.=0A=0ASigned-off-by:= Jan Beulich =0A=0A--- a/xen/drivers/passthrough/vtd/qui= rks.c=0A+++ b/xen/drivers/passthrough/vtd/quirks.c=0A@@ -431,6 +431,7 @@ = void pci_vtd_quirk(const struct pci_dev =0A * - Potential security = issue if malicious guest trigger VT-d faults.=0A */=0A case = 0x0e28: /* Xeon-E5v2 (IvyBridge) */=0A+ case 0x2f28: /* Xeon-E5v3 = (Haswell) */=0A case 0x342e: /* Tylersburg chipset (Nehalem / Westmere = systems) */=0A case 0x3728: /* Xeon C5500/C3500 (JasperForest) */=0A = case 0x3c28: /* Sandybridge */=0A@@ -443,6 +444,9 @@ void pci_vtd_quirk(c= onst struct pci_dev =0A /* Xeon E5/E7 v2 */=0A case 0x0e00: /* = host bridge */=0A case 0x0e01: case 0x0e04 ... 0x0e0b: /* root ports = */=0A+ /* Xeon E5 v3 */=0A+ case 0x2f00: /* host bridge */=0A+ = case 0x2f01 ... 0x2f0b: /* root ports */=0A /* Tylersburg (EP)/Boxboro = (MP) chipsets (NHM-EP/EX, WSM-EP/EX) */=0A case 0x3400 ... 0x3407: /* = host bridges */=0A case 0x3408 ... 0x3411: case 0x3420 ... 0x3421: /* = root ports */=0A --=__PartE5D02FAE.1__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__PartE5D02FAE.1__=--