Re: [Qemu-devel] [PATCH 4/6] msi: Invoke msi/msix_reset from PCI core

2011-12-04 Thread Jan Kiszka
On 2011-12-04 15:48, Michael S. Tsirkin wrote: > On Sun, Dec 04, 2011 at 03:35:38PM +0100, Jan Kiszka wrote: >> On 2011-12-04 15:24, Michael S. Tsirkin wrote: >>> On Sun, Dec 04, 2011 at 02:22:12PM +0100, Jan Kiszka wrote: From: Jan Kiszka There is no point in pushing this burden to

Re: [Qemu-devel] [PATCH 4/6] msi: Invoke msi/msix_reset from PCI core

2011-12-04 Thread Michael S. Tsirkin
On Sun, Dec 04, 2011 at 03:35:38PM +0100, Jan Kiszka wrote: > On 2011-12-04 15:24, Michael S. Tsirkin wrote: > > On Sun, Dec 04, 2011 at 02:22:12PM +0100, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> There is no point in pushing this burden to the devices, they may rather > >> forget to call

Re: [Qemu-devel] [PATCH 4/6] msi: Invoke msi/msix_reset from PCI core

2011-12-04 Thread Jan Kiszka
On 2011-12-04 15:24, Michael S. Tsirkin wrote: > On Sun, Dec 04, 2011 at 02:22:12PM +0100, Jan Kiszka wrote: >> From: Jan Kiszka >> >> There is no point in pushing this burden to the devices, they may rather >> forget to call them (like intel-hda and ahci ATM). Instead, reset >> functions are now

Re: [Qemu-devel] [PATCH 4/6] msi: Invoke msi/msix_reset from PCI core

2011-12-04 Thread Michael S. Tsirkin
On Sun, Dec 04, 2011 at 02:22:12PM +0100, Jan Kiszka wrote: > From: Jan Kiszka > > There is no point in pushing this burden to the devices, they may rather > forget to call them (like intel-hda and ahci ATM). Instead, reset > functions are now called from pci_device_reset and pci_bridge_reset. >

[Qemu-devel] [PATCH 4/6] msi: Invoke msi/msix_reset from PCI core

2011-12-04 Thread Jan Kiszka
From: Jan Kiszka There is no point in pushing this burden to the devices, they may rather forget to call them (like intel-hda and ahci ATM). Instead, reset functions are now called from pci_device_reset and pci_bridge_reset. They do nothing if the MSI/MSI-X is not in use. CC: Alexander Graf CC: