xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Jean Guyader <jean.guyader@eu.citrix.com>
To: xen-devel@lists.xensource.com
Cc: Ian.Jackson@eu.citrix.com, allen.m.kay@intel.com,
	Jean Guyader <jean.guyader@eu.citrix.com>
Subject: [PATCH] Intel GPU passthrough: Host bridge config space
Date: Mon, 16 Jan 2012 16:00:25 +0000	[thread overview]
Message-ID: <1326729625-26264-1-git-send-email-jean.guyader@eu.citrix.com> (raw)

[-- 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

             reply	other threads:[~2012-01-16 16:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-16 16:00 Jean Guyader [this message]
2012-01-31 16:52 ` [PATCH] Intel GPU passthrough: Host bridge config space 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326729625-26264-1-git-send-email-jean.guyader@eu.citrix.com \
    --to=jean.guyader@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=allen.m.kay@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).