From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752034AbbJDUpP (ORCPT ); Sun, 4 Oct 2015 16:45:15 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:36396 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751766AbbJDUpN (ORCPT ); Sun, 4 Oct 2015 16:45:13 -0400 Subject: Re: [PATCH v3 0/3] uio: add MSI/MSI-X support to uio_pci_generic driver To: linux-kernel@vger.kernel.org, mst@redhat.com, hjk@hansjkoch.de, corbet@lwn.net, gregkh@linuxfoundation.org References: <1443991398-23761-1-git-send-email-vladz@cloudius-systems.com> Cc: bruce.richardson@intel.com, avi@cloudius-systems.com, gleb@cloudius-systems.com, stephen@networkplumber.org, alexander.duyck@gmail.com From: Vlad Zolotarov Message-ID: <56118FD6.5020902@cloudius-systems.com> Date: Sun, 4 Oct 2015 23:45:10 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <1443991398-23761-1-git-send-email-vladz@cloudius-systems.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is the same v3 but with the correct email address of Greg. In the first iteration the first letter of the email was missing... ;) On 10/04/15 23:43, Vlad Zolotarov wrote: > This series add support for MSI and MSI-X interrupts to uio_pci_generic driver. > > Currently uio_pci_generic supports only legacy INT#x interrupts source. However > there are situations when this is not enough, for instance SR-IOV VF devices that > simply don't have INT#x capability. For such devices uio_pci_generic will simply > fail (more specifically probe() will fail). > > When IOMMU is either not available (e.g. Amazon EC2) or not acceptable due to performance > overhead and thus VFIO is not an option users that develop user-space drivers are left > without any option but to develop some proprietary UIO drivers (e.g. igb_uio driver in Intel's > DPDK) just to be able to use UIO infrastructure. > > This series provides a generic solution for this problem while preserving the original behaviour > for devices for which the original uio_pci_generic had worked before (i.e. INT#x will be used by default). > > New in v3: > - Add __iomem qualifier to temp buffer receiving ioremap value. > > New in v2: > - Added #include to uio_pci_generic.c > > Vlad Zolotarov (3): > uio: add ioctl support > uio_pci_generic: add MSI/MSI-X support > Documentation: update uio-howto > > Documentation/DocBook/uio-howto.tmpl | 29 ++- > drivers/uio/uio.c | 15 ++ > drivers/uio/uio_pci_generic.c | 410 +++++++++++++++++++++++++++++++++-- > include/linux/uio_driver.h | 3 + > include/linux/uio_pci_generic.h | 36 +++ > 5 files changed, 467 insertions(+), 26 deletions(-) > create mode 100644 include/linux/uio_pci_generic.h >