Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-07 Thread Michael S. Tsirkin
On Thu, Jul 04, 2013 at 09:35:00AM -0700, Guenter Roeck wrote: On Thu, Jul 04, 2013 at 05:34:12PM +0300, Michael S. Tsirkin wrote: On Thu, Jul 04, 2013 at 07:25:23AM -0700, Guenter Roeck wrote: On Thu, Jul 04, 2013 at 10:20:23AM +0300, Michael S. Tsirkin wrote: On Thu, Jun 27, 2013 at

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-07 Thread Guenter Roeck
On Sun, Jul 07, 2013 at 11:15:11AM +0300, Michael S. Tsirkin wrote: On Thu, Jul 04, 2013 at 09:35:00AM -0700, Guenter Roeck wrote: On Thu, Jul 04, 2013 at 05:34:12PM +0300, Michael S. Tsirkin wrote: On Thu, Jul 04, 2013 at 07:25:23AM -0700, Guenter Roeck wrote: On Thu, Jul 04, 2013 at

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-07 Thread Michael S. Tsirkin
On Sun, Jul 07, 2013 at 07:39:01AM -0700, Guenter Roeck wrote: On Sun, Jul 07, 2013 at 11:15:11AM +0300, Michael S. Tsirkin wrote: On Thu, Jul 04, 2013 at 09:35:00AM -0700, Guenter Roeck wrote: On Thu, Jul 04, 2013 at 05:34:12PM +0300, Michael S. Tsirkin wrote: On Thu, Jul 04, 2013 at

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-04 Thread Michael S. Tsirkin
On Thu, Jun 27, 2013 at 10:00:52AM -0700, Guenter Roeck wrote: On Thu, Jun 27, 2013 at 10:45:01AM +0300, Michael S. Tsirkin wrote: On Wed, Jun 26, 2013 at 03:30:23PM -0700, Guenter Roeck wrote: Enable support for MSI interrupts if the device supports it. Since MSI interrupts are edge

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-04 Thread Guenter Roeck
On Thu, Jul 04, 2013 at 10:20:23AM +0300, Michael S. Tsirkin wrote: On Thu, Jun 27, 2013 at 10:00:52AM -0700, Guenter Roeck wrote: On Thu, Jun 27, 2013 at 10:45:01AM +0300, Michael S. Tsirkin wrote: On Wed, Jun 26, 2013 at 03:30:23PM -0700, Guenter Roeck wrote: Enable support for MSI

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-04 Thread Michael S. Tsirkin
On Thu, Jul 04, 2013 at 07:25:23AM -0700, Guenter Roeck wrote: On Thu, Jul 04, 2013 at 10:20:23AM +0300, Michael S. Tsirkin wrote: On Thu, Jun 27, 2013 at 10:00:52AM -0700, Guenter Roeck wrote: On Thu, Jun 27, 2013 at 10:45:01AM +0300, Michael S. Tsirkin wrote: On Wed, Jun 26, 2013 at

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-04 Thread Guenter Roeck
On Thu, Jul 04, 2013 at 05:34:12PM +0300, Michael S. Tsirkin wrote: On Thu, Jul 04, 2013 at 07:25:23AM -0700, Guenter Roeck wrote: On Thu, Jul 04, 2013 at 10:20:23AM +0300, Michael S. Tsirkin wrote: On Thu, Jun 27, 2013 at 10:00:52AM -0700, Guenter Roeck wrote: On Thu, Jun 27, 2013 at

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-06-27 Thread Michael S. Tsirkin
On Wed, Jun 26, 2013 at 03:30:23PM -0700, Guenter Roeck wrote: Enable support for MSI interrupts if the device supports it. Since MSI interrupts are edge triggered, it is no longer necessary to disable interrupts in the kernel and re-enable them from user-space. Instead, clearing the interrupt

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-06-27 Thread Guenter Roeck
On Thu, Jun 27, 2013 at 10:45:01AM +0300, Michael S. Tsirkin wrote: On Wed, Jun 26, 2013 at 03:30:23PM -0700, Guenter Roeck wrote: Enable support for MSI interrupts if the device supports it. Since MSI interrupts are edge triggered, it is no longer necessary to disable interrupts in the

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-06-27 Thread Guenter Roeck
On Thu, Jun 27, 2013 at 10:45:01AM +0300, Michael S. Tsirkin wrote: On Wed, Jun 26, 2013 at 03:30:23PM -0700, Guenter Roeck wrote: Enable support for MSI interrupts if the device supports it. Since MSI interrupts are edge triggered, it is no longer necessary to disable interrupts in the

[RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-06-26 Thread Guenter Roeck
Enable support for MSI interrupts if the device supports it. Since MSI interrupts are edge triggered, it is no longer necessary to disable interrupts in the kernel and re-enable them from user-space. Instead, clearing the interrupt condition in the user space application automatically re-enables