[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [Qemu-devel] [PATCH RFC 16/17] hw/pci-bridge: hack - disable
From: |
Marcel Apfelbaum |
Subject: |
[Qemu-ppc] [Qemu-devel] [PATCH RFC 16/17] hw/pci-bridge: hack - disable shpc bar (will be removed from the series) |
Date: |
Thu, 22 Jan 2015 21:52:42 +0200 |
Windows disables the pci-bridge if shpc bar has a memory conflict.
Until this problem is solved, this hack can be used for tests.
Signed-off-by: Marcel Apfelbaum <address@hidden>
---
hw/pci-bridge/pci_bridge_dev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/pci-bridge/pci_bridge_dev.c b/hw/pci-bridge/pci_bridge_dev.c
index 252ea5e..20e43ce 100644
--- a/hw/pci-bridge/pci_bridge_dev.c
+++ b/hw/pci-bridge/pci_bridge_dev.c
@@ -73,8 +73,10 @@ static int pci_bridge_dev_initfn(PCIDevice *dev)
}
/* TODO: spec recommends using 64 bit prefetcheable BAR.
* Check whether that works well. */
+/*
pci_register_bar(dev, 0, PCI_BASE_ADDRESS_SPACE_MEMORY |
PCI_BASE_ADDRESS_MEM_TYPE_64, &bridge_dev->bar);
+*/
return 0;
msi_error:
slotid_cap_cleanup(dev);
--
2.1.0
- Re: [Qemu-ppc] [Qemu-devel] [PATCH RFC 10/17] hw/pci: removed 'rootbus nr is 0' assumption from qmp_pci_query, (continued)
[Qemu-ppc] [Qemu-devel] [PATCH RFC 08/17] hw/pci: made pci_bus_num a PCIBusClass method, Marcel Apfelbaum, 2015/01/22
[Qemu-ppc] [Qemu-devel] [PATCH RFC 06/17] hw/pci: move pci bus related code to separate files, Marcel Apfelbaum, 2015/01/22
[Qemu-ppc] [Qemu-devel] [PATCH RFC 11/17] hw/pci: implement iteration over multiple host bridges, Marcel Apfelbaum, 2015/01/22
[Qemu-ppc] [Qemu-devel] [PATCH RFC 12/17] hw/pci: introduce PCI Expander Bridge (PXB), Marcel Apfelbaum, 2015/01/22
[Qemu-ppc] [Qemu-devel] [PATCH RFC 13/17] hw/pci: inform bios if the system has more than one pci bridge, Marcel Apfelbaum, 2015/01/22
[Qemu-ppc] [Qemu-devel] [PATCH RFC 15/17] hw/pxb: add map_irq func, Marcel Apfelbaum, 2015/01/22
[Qemu-ppc] [Qemu-devel] [PATCH RFC 14/17] hw/pci: piix - suport multiple host bridges, Marcel Apfelbaum, 2015/01/22
[Qemu-ppc] [Qemu-devel] [PATCH RFC 16/17] hw/pci-bridge: hack - disable shpc bar (will be removed from the series),
Marcel Apfelbaum <=
[Qemu-ppc] [Qemu-devel] [PATCH RFC 17/17] hw/acpi: hack - generate dummy region ranges for first acpi-build (will be removed from the series), Marcel Apfelbaum, 2015/01/22