Re: [Qemu-devel] Incorrect memory region address with large 64-bit PCI BARs

2017-03-13 Thread Michael S. Tsirkin
On Sun, Mar 12, 2017 at 11:16:44AM +, Mark Cave-Ayland wrote: > On 12/03/17 03:56, Michael S. Tsirkin wrote: > > > After looking at it some more, I think the issue is merely with how info > > mtree presents information, which confuses instead of helping when > > overlap triggers. Specifically

Re: [Qemu-devel] Incorrect memory region address with large 64-bit PCI BARs

2017-03-12 Thread Mark Cave-Ayland
On 12/03/17 03:56, Michael S. Tsirkin wrote: > After looking at it some more, I think the issue is merely with how info > mtree presents information, which confuses instead of helping when > overlap triggers. Specifically > 01ff-01ff (prio 0, i/o): pci-mmio > ...

Re: [Qemu-devel] Incorrect memory region address with large 64-bit PCI BARs

2017-03-11 Thread Michael S. Tsirkin
On Sun, Mar 12, 2017 at 03:46:57AM +0200, Michael S. Tsirkin wrote: > On Sat, Mar 11, 2017 at 10:37:09AM +, Mark Cave-Ayland wrote: > > I've been looking at an issue with virtio BARs being mapped incorrectly > > on qemu-system-sparc64, and as part of this investigation found that > > some

Re: [Qemu-devel] Incorrect memory region address with large 64-bit PCI BARs

2017-03-11 Thread Michael S. Tsirkin
On Sat, Mar 11, 2017 at 10:37:09AM +, Mark Cave-Ayland wrote: > I've been looking at an issue with virtio BARs being mapped incorrectly > on qemu-system-sparc64, and as part of this investigation found that > some 64-bit PCI BAR memory regions don't appear correctly in "info mtree". > > The

[Qemu-devel] Incorrect memory region address with large 64-bit PCI BARs

2017-03-11 Thread Mark Cave-Ayland
I've been looking at an issue with virtio BARs being mapped incorrectly on qemu-system-sparc64, and as part of this investigation found that some 64-bit PCI BAR memory regions don't appear correctly in "info mtree". The easiest way to see this is to launch QEMU as below and then check the output