From patchwork Fri Feb 22 22:22:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 10827057 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 CEB3914E1 for ; Fri, 22 Feb 2019 22:22:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9DFF328DB for ; Fri, 22 Feb 2019 22:22:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AE36832A7F; Fri, 22 Feb 2019 22:22:58 +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 563E6328DB for ; Fri, 22 Feb 2019 22:22:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726604AbfBVWWx (ORCPT ); Fri, 22 Feb 2019 17:22:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42878 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725774AbfBVWWx (ORCPT ); Fri, 22 Feb 2019 17:22:53 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0CB09C057F48; Fri, 22 Feb 2019 22:22:53 +0000 (UTC) Received: from x1.home (ovpn-116-24.phx2.redhat.com [10.3.116.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id C18415D704; Fri, 22 Feb 2019 22:22:52 +0000 (UTC) Date: Fri, 22 Feb 2019 15:22:52 -0700 From: Alex Williamson To: Linus Torvalds Cc: "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" Subject: VFIO updates for v5.1-rc1 Message-ID: <20190222152252.0e08eab2@x1.home> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Fri, 22 Feb 2019 22:22:53 +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 v5.1 merge window. The following changes since commit 8834f5600cf3c8db365e18a3d5cac2c2780c81e5: Linux 5.0-rc5 (2019-02-03 13:48:04 -0800) are available in the Git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v5.1-rc1 for you to fetch changes up to 0cfd027be1d6def4a462cdc180c055143af24069: vfio_pci: Enable memory accesses before calling pci_map_rom (2019-02-18 14:57:50 -0700) ---------------------------------------------------------------- VFIO updates for v5.1-rc1 - Switch mdev to generic UUID API (Andy Shevchenko) - Fixup platform reset include paths (Masahiro Yamada) - Fix usage of MINORMASK (Chengguang Xu) - Remove noise from duplicate spapr table unsets (Alexey Kardashevskiy) - Restore device state after PM reset (Alex Williamson) - Ensure memory translation enabled for PCI ROM access (Eric Auger) ---------------------------------------------------------------- Alex Williamson (1): vfio/pci: Restore device state on PM transition Alexey Kardashevskiy (1): vfio/spapr_tce: Skip unsetting already unset table Andy Shevchenko (1): vfio-mdev: Switch to use new generic UUID API Chengguang Xu (4): vfio: expand minor range when registering chrdev region samples/vfio-mdev/mbochs: expand minor range when registering chrdev region samples/vfio-mdev/mdpy: expand minor range when registering chrdev region samples/vfio-mdev/mtty: expand minor range when registering chrdev region Eric Auger (1): vfio_pci: Enable memory accesses before calling pci_map_rom Masahiro Yamada (1): vfio: platform: reset: fix up include directives to remove ccflags-y drivers/vfio/mdev/mdev_core.c | 16 ++-- drivers/vfio/mdev/mdev_private.h | 5 +- drivers/vfio/mdev/mdev_sysfs.c | 6 +- drivers/vfio/pci/vfio_pci.c | 90 ++++++++++++++++++---- drivers/vfio/pci/vfio_pci_config.c | 2 +- drivers/vfio/pci/vfio_pci_private.h | 6 ++ drivers/vfio/platform/reset/Makefile | 2 - .../vfio/platform/reset/vfio_platform_amdxgbe.c | 2 +- .../vfio/platform/reset/vfio_platform_bcmflexrm.c | 2 +- .../platform/reset/vfio_platform_calxedaxgmac.c | 2 +- drivers/vfio/vfio.c | 8 +- drivers/vfio/vfio_iommu_spapr_tce.c | 3 +- include/linux/mdev.h | 2 +- samples/vfio-mdev/mbochs.c | 8 +- samples/vfio-mdev/mdpy.c | 8 +- samples/vfio-mdev/mtty.c | 17 ++-- 16 files changed, 125 insertions(+), 54 deletions(-)