xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Intel GPU passthrough: Host bridge config space
@ 2012-01-16 16:00 Jean Guyader
  2012-01-31 16:52 ` Kay, Allen M
  2012-02-20 16:22 ` Ian Jackson
  0 siblings, 2 replies; 5+ messages in thread
From: Jean Guyader @ 2012-01-16 16:00 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian.Jackson, allen.m.kay, Jean Guyader

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


Expose more host bridge config space value to make
the driver happy for all the different revisions
of the device.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
---
 hw/pt-graphics.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Intel-GPU-passthrough-Host-bridge-config-space.patch --]
[-- Type: text/x-patch; name="0001-Intel-GPU-passthrough-Host-bridge-config-space.patch", Size: 643 bytes --]

diff --git a/hw/pt-graphics.c b/hw/pt-graphics.c
index fec7390..17ce8c0 100644
--- a/hw/pt-graphics.c
+++ b/hw/pt-graphics.c
@@ -74,6 +74,9 @@ uint32_t igd_pci_read(PCIDevice *pci_dev, uint32_t config_addr, int len)
     {
         case 0x00:        /* vendor id */
         case 0x02:        /* device id */
+        case 0x08:        /* revision id */
+        case 0x2c:        /* sybsystem vendor id */
+        case 0x2e:        /* sybsystem id */
         case 0x50:        /* SNB: processor graphics control register */
         case 0x52:        /* processor graphics control register */
         case 0xa0:        /* top of memory */

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

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread
[parent not found: <1326377225-28900-1-git-send-email-y>]
* [PATCH] Intel GPU passthrough: Host bridge config space
@ 2012-01-12 14:07 y
  0 siblings, 0 replies; 5+ messages in thread
From: y @ 2012-01-12 14:07 UTC (permalink / raw)
  To: xen-devel; +Cc: Ian.Jackson, allen.m.kay, Jean Guyader

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


Expose more host bridge config space value to make
the driver happy for all the different revisions
of the device.

Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
---
 hw/pt-graphics.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Intel-GPU-passthrough-Host-bridge-config-space.patch --]
[-- Type: text/x-patch; name="0001-Intel-GPU-passthrough-Host-bridge-config-space.patch", Size: 643 bytes --]

diff --git a/hw/pt-graphics.c b/hw/pt-graphics.c
index fec7390..17ce8c0 100644
--- a/hw/pt-graphics.c
+++ b/hw/pt-graphics.c
@@ -74,6 +74,9 @@ uint32_t igd_pci_read(PCIDevice *pci_dev, uint32_t config_addr, int len)
     {
         case 0x00:        /* vendor id */
         case 0x02:        /* device id */
+        case 0x08:        /* revision id */
+        case 0x2c:        /* sybsystem vendor id */
+        case 0x2e:        /* sybsystem id */
         case 0x50:        /* SNB: processor graphics control register */
         case 0x52:        /* processor graphics control register */
         case 0xa0:        /* top of memory */

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

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

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

end of thread, other threads:[~2012-02-20 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-16 16:00 [PATCH] Intel GPU passthrough: Host bridge config space Jean Guyader
2012-01-31 16:52 ` Kay, Allen M
2012-02-20 16:22 ` Ian Jackson
     [not found] <1326377225-28900-1-git-send-email-y>
2012-01-12 14:10 ` Jean Guyader
  -- strict thread matches above, loose matches on Subject: below --
2012-01-12 14:07 y

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).