aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-bridge
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2016-07-17 19:53:13 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-07-29 00:07:09 +0300
commit16de88a4164f2e580b3b2ee67d1b9ac1dace1711 (patch)
tree98483d9d02333e0f7ad0bef422da6ae9bee5c167 /hw/pci-bridge
parent2df5a7b52f2b1923f59f47da4ac2fc5501b4bd3c (diff)
hw/apci: handle 64-bit MMIO regions correctly
In build_crs(), the calculation and merging of the ranges already happens in 64-bit, but the entry boundaries are silently truncated to 32-bit in the call to aml_dword_memory(). Fix it by handling the 64-bit MMIO ranges separately. This fixes 64-bit BARs behind PXBs. Reported-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-bridge')
0 files changed, 0 insertions, 0 deletions