|
| From: | Gerd Hoffmann |
| Subject: | Re: [Qemu-devel] [PATCH v2 03/10] xhci: Fix reset of MSI function |
| Date: | Fri, 11 May 2012 10:16:11 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120422 Thunderbird/10.0.4 |
On 05/10/12 22:08, Jan Kiszka wrote:
> Call msi_reset on device reset as still required by the core.
Note: msi on xhci is disabled by default (and also broken as far I know).
> +static void xhci_reset(void *opaque)
> +{
> + XHCIState *xhci = opaque;
> +
if (xhci->msi)
> + msi_reset(&xhci->pci_dev);
}
> + xhci_reset_full(xhci);
> +}
And can't we let the pci core handle it so we don't need ugly wrappers
like this?
cheers,
Gerd
| [Prev in Thread] | Current Thread | [Next in Thread] |