Re: [Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Alexey Kardashevskiy
On 09/11/2014 09:02 PM, Alexey Kardashevskiy wrote: > On 09/11/2014 08:38 PM, Gerd Hoffmann wrote: >> Hi, >> >>> Another question - I noticed that XHCI migration is broken in quite recent >>> upstream QEMU, smells like memory corruption. Is it just me or just PPC or >>> is it known issue? >> >> 2

Re: [Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Alexey Kardashevskiy
On 09/11/2014 08:38 PM, Gerd Hoffmann wrote: > Hi, > >> Another question - I noticed that XHCI migration is broken in quite recent >> upstream QEMU, smells like memory corruption. Is it just me or just PPC or >> is it known issue? > > 2.0 -> 2.1 migration being broken is a known issue (patch fo

Re: [Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Gerd Hoffmann
Hi, > Another question - I noticed that XHCI migration is broken in quite recent > upstream QEMU, smells like memory corruption. Is it just me or just PPC or > is it known issue? 2.0 -> 2.1 migration being broken is a known issue (patch for that one was on the list earlier this week, unfortunat

Re: [Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Alexey Kardashevskiy
On 09/11/2014 08:15 PM, Gerd Hoffmann wrote: > Hi, > >> To be precise, it is kdump. > > Ok, kdump is a different story, radically turn off all DMA is reasonable > in that case, normal driver shutdown might be unreliable after panic and > it also changes system state too much for a useful dump.

Re: [Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Gerd Hoffmann
Hi, > To be precise, it is kdump. Ok, kdump is a different story, radically turn off all DMA is reasonable in that case, normal driver shutdown might be unreliable after panic and it also changes system state too much for a useful dump. ohci (and probably others too, but without spamming the l

Re: [Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Alexey Kardashevskiy
On 09/11/2014 05:22 PM, Gerd Hoffmann wrote: > On Do, 2014-09-11 at 17:11 +1000, Alexey Kardashevskiy wrote: >> When the guest performs kexec() (for example, as a part of kdump), >> new kernel does PCI probing. As a part of it, PCI_COMMAND_MASTER >> gets disabled which disables bus master memory re

Re: [Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Gerd Hoffmann
On Do, 2014-09-11 at 17:11 +1000, Alexey Kardashevskiy wrote: > When the guest performs kexec() (for example, as a part of kdump), > new kernel does PCI probing. As a part of it, PCI_COMMAND_MASTER > gets disabled which disables bus master memory region. > Since ohci_frame_boundary() timer is not s

[Qemu-devel] [PATCH] ohci: Stop OHCI bus when PCI bus master is disabled

2014-09-11 Thread Alexey Kardashevskiy
When the guest performs kexec() (for example, as a part of kdump), new kernel does PCI probing. As a part of it, PCI_COMMAND_MASTER gets disabled which disables bus master memory region. Since ohci_frame_boundary() timer is not stopped at this point as OHCI device was not reset, the device tries ac