From patchwork Thu Nov 5 20:51:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 11885089 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E839C388F7 for ; Thu, 5 Nov 2020 20:52:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CAB3B20724 for ; Thu, 5 Nov 2020 20:52:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="YTVB0KHB" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732043AbgKEUwB (ORCPT ); Thu, 5 Nov 2020 15:52:01 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:56192 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgKEUwB (ORCPT ); Thu, 5 Nov 2020 15:52:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604609520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1/9hAMj/ihEHlpI+S/GvjO7/yU7iXYK7gBElq3upyrE=; b=YTVB0KHBX3VPBgY3zgEk0lp+rf+VWWHU/66+NzWtLKYVzPQz1DkczMCLXzKshDI9BF2jDQ 946z1E2uJ2J6e7ujQIJLGmqNfqPti94IMA22gKckwoadgkr4R/fRbdc4B0/jftYn3sote0 Z6CdBAHwFZeQ1ZxDQHQfGKk+pjkxobE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-165-yPmPi2XSMt-F5vdNMcLh-A-1; Thu, 05 Nov 2020 15:51:58 -0500 X-MC-Unique: yPmPi2XSMt-F5vdNMcLh-A-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B36E58030A8; Thu, 5 Nov 2020 20:51:57 +0000 (UTC) Received: from w520.home (ovpn-112-213.phx2.redhat.com [10.3.112.213]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7B9F7508E8; Thu, 5 Nov 2020 20:51:57 +0000 (UTC) Date: Thu, 5 Nov 2020 13:51:57 -0700 From: Alex Williamson To: Linus Torvalds Cc: , "kvm@vger.kernel.org" Subject: [GIT PULL] VFIO fixes for v5.10-rc3 Message-ID: <20201105135157.72abcadb@w520.home> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Hi Linus, The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891: Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the Git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v5.10-rc3 for you to fetch changes up to e4eccb853664de7bcf9518fb658f35e748bf1f68: vfio/pci: Bypass IGD init in case of -ENODEV (2020-11-03 11:07:40 -0700) ---------------------------------------------------------------- VFIO fixes for v5.10-rc3 - Remove code by using existing helper (Zenghui Yu) - fsl-mc copy-user return and underflow fixes (Dan Carpenter) - fsl-mc static function declaration (Diana Craciun) - Fix ioeventfd sleeping under spinlock (Alex Williamson) - Fix pm reference count leak in vfio-platform (Zhang Qilong) - Allow opening IGD device w/o OpRegion support (Fred Gao) ---------------------------------------------------------------- Alex Williamson (1): vfio/pci: Implement ioeventfd thread handler for contended memory lock Dan Carpenter (2): vfio/fsl-mc: return -EFAULT if copy_to_user() fails vfio/fsl-mc: prevent underflow in vfio_fsl_mc_mmap() Diana Craciun (1): vfio/fsl-mc: Make vfio_fsl_mc_irqs_allocate static Fred Gao (1): vfio/pci: Bypass IGD init in case of -ENODEV Zenghui Yu (1): vfio/type1: Use the new helper to find vfio_group Zhang Qilong (1): vfio: platform: fix reference leak in vfio_platform_open drivers/vfio/fsl-mc/vfio_fsl_mc.c | 10 +++++-- drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c | 2 +- drivers/vfio/pci/vfio_pci.c | 2 +- drivers/vfio/pci/vfio_pci_rdwr.c | 43 ++++++++++++++++++++++------ drivers/vfio/platform/vfio_platform_common.c | 3 +- drivers/vfio/vfio_iommu_type1.c | 17 ++++------- 6 files changed, 50 insertions(+), 27 deletions(-)