pci: set memory type for memory behind the bridge
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 21 Feb 2012 13:49:01 +0000 (15:49 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Mar 2012 22:41:39 +0000 (00:41 +0200)
commit15ab7a75335108c76700bea67602017fe305350d
treebb4f3ace224e6edce6bc23f1a20dd50678b9edb6
parent4eb812f7603f57dc63f6b74e3c464a60ed5bc91b
pci: set memory type for memory behind the bridge

As we make upper bits in IO and prefetcheable memory
registers writeable, we should declare support
for 64 bit prefetcheable memory and 32 bit io
in the bridge.

This changes the default for apb, dec, but I'm guessing
they got the defaults wrong by accident.
Alternatively, we could let bridges declare lack of
64 bit support and make the upper bits read-only zero.

Reported-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c