diff options
| author | Marcel Apfelbaum <marcel@redhat.com> | 2016-07-17 19:53:13 +0300 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-29 00:07:09 +0300 |
| commit | 16de88a4164f2e580b3b2ee67d1b9ac1dace1711 (patch) | |
| tree | 98483d9d02333e0f7ad0bef422da6ae9bee5c167 /hw/display/virtio-gpu-pci.c | |
| parent | 2df5a7b52f2b1923f59f47da4ac2fc5501b4bd3c (diff) | |
| download | focaccia-qemu-16de88a4164f2e580b3b2ee67d1b9ac1dace1711.tar.gz focaccia-qemu-16de88a4164f2e580b3b2ee67d1b9ac1dace1711.zip | |
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/display/virtio-gpu-pci.c')
0 files changed, 0 insertions, 0 deletions