From patchwork Fri Dec 21 16:31:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 10740705 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A425A924 for ; Fri, 21 Dec 2018 16:31:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9237A28536 for ; Fri, 21 Dec 2018 16:31:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8671928538; Fri, 21 Dec 2018 16:31:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 31CCA28541 for ; Fri, 21 Dec 2018 16:31:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731882AbeLUQbb (ORCPT ); Fri, 21 Dec 2018 11:31:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49070 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725941AbeLUQbb (ORCPT ); Fri, 21 Dec 2018 11:31:31 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 196BB7FDE4; Fri, 21 Dec 2018 16:31:31 +0000 (UTC) Received: from x1.home (ovpn-116-92.phx2.redhat.com [10.3.116.92]) by smtp.corp.redhat.com (Postfix) with ESMTP id B648E1001F3D; Fri, 21 Dec 2018 16:31:30 +0000 (UTC) Date: Fri, 21 Dec 2018 09:31:30 -0700 From: Alex Williamson To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [GIT PULL] VFIO updates for v4.21-rc1 Message-ID: <20181221093130.3c2fc1dc@x1.home> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 21 Dec 2018 16:31:31 +0000 (UTC) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, An early pull request for the next merge window. Happy holidays! The following changes since commit 40e020c129cfc991e8ab4736d2665351ffd1468d: Linux 4.20-rc6 (2018-12-09 15:31:00 -0800) are available in the Git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v4.21-rc1 for you to fetch changes up to 8ba35b3a0046d6573c98f00461d9bd1b86250d35: vfio-mdev/samples: Use u8 instead of char for handle functions (2018-12-17 11:07:13 -0700) ---------------------------------------------------------------- VFIO updates for v4.21 - Replace global vfio-pci lock with per bus lock to allow concurrent open and release (Alex Williamson) - Declare mdev function as static (Paolo Cretaro) - Convert char to u8 in mdev/mtty sample driver (Nathan Chancellor) ---------------------------------------------------------------- Alex Williamson (1): vfio/pci: Parallelize device open and release Nathan Chancellor (1): vfio-mdev/samples: Use u8 instead of char for handle functions Paolo Cretaro (1): vfio/mdev: add static modifier to add_mdev_supported_type drivers/vfio/mdev/mdev_sysfs.c | 4 +- drivers/vfio/pci/vfio_pci.c | 160 ++++++++++++++++++++++++++++++------ drivers/vfio/pci/vfio_pci_private.h | 6 ++ samples/vfio-mdev/mtty.c | 26 +++--- 4 files changed, 157 insertions(+), 39 deletions(-)