All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][XSA-59] VT-d: suppress UR signaling for further desktop chipsets
@ 2014-09-16  7:18 Jan Beulich
  2014-09-18  5:28 ` Zhang, Yang Z
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2014-09-16  7:18 UTC (permalink / raw)
  To: xen-devel; +Cc: Yang Z Zhang, Kevin Tian

[-- Attachment #1: Type: text/plain, Size: 1601 bytes --]

This extends commit d6cb14b34f ("VT-d: suppress UR signaling for
desktop chipsets") as per the finally obtained list of affected
chipsets from Intel.

Also pad the IDs we had listed there before to full 4 hex digits.

This is CVE-2013-3495 / XSA-59.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
I already raised the obvious questions connected to the appearance of
Broadwell here: Are its server chipsets affected then too, i.e. does
the server side set of IDs need extension as well? Is the issue going
to be fixed in hardware at some point, or will we need to indefinitely
extend the set of IDs here?

--- a/xen/drivers/passthrough/vtd/quirks.c
+++ b/xen/drivers/passthrough/vtd/quirks.c
@@ -466,10 +466,12 @@ void pci_vtd_quirk(const struct pci_dev 
                action, seg, bus, dev, func);
         break;
 
-    case 0x100: case 0x104: case 0x108: /* Sandybridge */
-    case 0x150: case 0x154: case 0x158: /* Ivybridge */
-    case 0xa04: /* Haswell ULT */
-    case 0xc00: case 0xc04: case 0xc08: /* Haswell */
+    case 0x0040: case 0x0044: case 0x0048: /* Nehalem/Westmere */
+    case 0x0100: case 0x0104: case 0x0108: /* Sandybridge */
+    case 0x0150: case 0x0154: case 0x0158: /* Ivybridge */
+    case 0x0a04: /* Haswell ULT */
+    case 0x0c00: case 0x0c04: case 0x0c08: /* Haswell */
+    case 0x1600: case 0x1604: case 0x1608: /* Broadwell */
         bar = pci_conf_read32(seg, bus, dev, func, 0x6c);
         bar = (bar << 32) | pci_conf_read32(seg, bus, dev, func, 0x68);
         pa = bar & 0x7ffffff000UL; /* bits 12...38 */




[-- Attachment #2: VT-d-mask-UR-more-desktop-chipsets.patch --]
[-- Type: text/plain, Size: 1655 bytes --]

VT-d: suppress UR signaling for further desktop chipsets

This extends commit d6cb14b34f ("VT-d: suppress UR signaling for
desktop chipsets") as per the finally obtained list of affected
chipsets from Intel.

Also pad the IDs we had listed there before to full 4 hex digits.

This is CVE-2013-3495 / XSA-59.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
---
I already raised the obvious questions connected to the appearance of
Broadwell here: Are its server chipsets affected then too, i.e. does
the server side set of IDs need extension as well? Is the issue going
to be fixed in hardware at some point, or will we need to indefinitely
extend the set of IDs here?

--- a/xen/drivers/passthrough/vtd/quirks.c
+++ b/xen/drivers/passthrough/vtd/quirks.c
@@ -466,10 +466,12 @@ void pci_vtd_quirk(const struct pci_dev 
                action, seg, bus, dev, func);
         break;
 
-    case 0x100: case 0x104: case 0x108: /* Sandybridge */
-    case 0x150: case 0x154: case 0x158: /* Ivybridge */
-    case 0xa04: /* Haswell ULT */
-    case 0xc00: case 0xc04: case 0xc08: /* Haswell */
+    case 0x0040: case 0x0044: case 0x0048: /* Nehalem/Westmere */
+    case 0x0100: case 0x0104: case 0x0108: /* Sandybridge */
+    case 0x0150: case 0x0154: case 0x0158: /* Ivybridge */
+    case 0x0a04: /* Haswell ULT */
+    case 0x0c00: case 0x0c04: case 0x0c08: /* Haswell */
+    case 0x1600: case 0x1604: case 0x1608: /* Broadwell */
         bar = pci_conf_read32(seg, bus, dev, func, 0x6c);
         bar = (bar << 32) | pci_conf_read32(seg, bus, dev, func, 0x68);
         pa = bar & 0x7ffffff000UL; /* bits 12...38 */

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][XSA-59] VT-d: suppress UR signaling for further desktop chipsets
  2014-09-16  7:18 [PATCH][XSA-59] VT-d: suppress UR signaling for further desktop chipsets Jan Beulich
@ 2014-09-18  5:28 ` Zhang, Yang Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Yang Z @ 2014-09-18  5:28 UTC (permalink / raw)
  To: Jan Beulich, xen-devel; +Cc: Tian, Kevin, Dugger, Donald D

Jan Beulich wrote on 2014-09-16:
> This extends commit d6cb14b34f ("VT-d: suppress UR signaling for
> desktop chipsets") as per the finally obtained list of affected
> chipsets from Intel.
> 
> Also pad the IDs we had listed there before to full 4 hex digits.
> 
> This is CVE-2013-3495 / XSA-59.
> 
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Yang Zhang <yang.z.zhang@intel.com>

> ---
> I already raised the obvious questions connected to the appearance of
> Broadwell here: Are its server chipsets affected then too, i.e. does
> the server side set of IDs need extension as well? Is the issue going
> to be fixed in hardware at some point, or will we need to indefinitely
> extend the set of IDs here?

I guess it is not easy for hardware to make some changes to fix it. Don may know more about it.

> 
> --- a/xen/drivers/passthrough/vtd/quirks.c
> +++ b/xen/drivers/passthrough/vtd/quirks.c
> @@ -466,10 +466,12 @@ void pci_vtd_quirk(const struct pci_dev
>                 action, seg, bus, dev, func);
>          break;
> -    case 0x100: case 0x104: case 0x108: /* Sandybridge */
> -    case 0x150: case 0x154: case 0x158: /* Ivybridge */
> -    case 0xa04: /* Haswell ULT */
> -    case 0xc00: case 0xc04: case 0xc08: /* Haswell */
> +    case 0x0040: case 0x0044: case 0x0048: /* Nehalem/Westmere */
> +    case 0x0100: case 0x0104: case 0x0108: /* Sandybridge */
> +    case 0x0150: case 0x0154: case 0x0158: /* Ivybridge */
> +    case 0x0a04: /* Haswell ULT */
> +    case 0x0c00: case 0x0c04: case 0x0c08: /* Haswell */
> +    case 0x1600: case 0x1604: case 0x1608: /* Broadwell */
>          bar = pci_conf_read32(seg, bus, dev, func, 0x6c);
>          bar = (bar << 32) | pci_conf_read32(seg, bus, dev, func, 0x68);
>          pa = bar & 0x7ffffff000UL; /* bits 12...38 */
>


Best regards,
Yang

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-18  5:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-16  7:18 [PATCH][XSA-59] VT-d: suppress UR signaling for further desktop chipsets Jan Beulich
2014-09-18  5:28 ` Zhang, Yang Z

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.