diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2011-01-26 15:55:07 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-01-27 06:54:45 +0200 |
commit | bb34007e86aa2a7902ee60e0f6fa2f0e4cccbffe (patch) | |
tree | f928d9e6d79f4dbe3d7164d9955b64842f4ad4e3 /hw | |
parent | be7052c2a8f667f1dc42b06afcebb964ee0b03ff (diff) |
pci: bridge control fixup
PCI_BRIDGE_CTL_DISCARD_STATUS (bit 10 in bridge control register)
is W1C so we should not make it writeable, otherwise the assert(!(wmask
& w1cmask)) in pci_default_write_config() is hit
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reported-by: Isaku Yamahata <yamahata@valinux.co.jp>
Tested-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/pci.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -641,7 +641,6 @@ static void pci_init_wmask_bridge(PCIDevice *d) PCI_BRIDGE_CTL_FAST_BACK | PCI_BRIDGE_CTL_DISCARD | PCI_BRIDGE_CTL_SEC_DISCARD | - PCI_BRIDGE_CTL_DISCARD_STATUS | PCI_BRIDGE_CTL_DISCARD_SERR); /* Below does not do anything as we never set this bit, put here for * completeness. */ |