From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Guyader Subject: [PATCH] Intel GPU passthrough: Host bridge config space Date: Mon, 16 Jan 2012 16:00:25 +0000 Message-ID: <1326729625-26264-1-git-send-email-jean.guyader@eu.citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------true" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ian.Jackson@eu.citrix.com, allen.m.kay@intel.com, Jean Guyader List-Id: xen-devel@lists.xenproject.org --------------true Content-Type: text/plain; charset="UTF-8"; format=fixed Content-Transfer-Encoding: 8bit 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 --- hw/pt-graphics.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) --------------true Content-Type: text/x-patch; name="0001-Intel-GPU-passthrough-Host-bridge-config-space.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-Intel-GPU-passthrough-Host-bridge-config-space.patch" 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 */ --------------true 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.xensource.com http://lists.xensource.com/xen-devel --------------true--