Message ID | 20230224131232.113c5eef.alex.williamson@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1137021wrd; Fri, 24 Feb 2023 12:45:36 -0800 (PST) X-Google-Smtp-Source: AK7set9Kd9UxSB35LPr9cgjXDrbATcfc8C63PFNCM8K9z48WsX8eKhPi2RW9TltsC0XrsORL3nXU X-Received: by 2002:a17:903:2303:b0:19c:c961:ac15 with SMTP id d3-20020a170903230300b0019cc961ac15mr6836845plh.0.1677271536473; Fri, 24 Feb 2023 12:45:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677271536; cv=none; d=google.com; s=arc-20160816; b=nMdyRz9KULcPWCP+A2GAgey7muB2KZ9Hd/98ivxnXNQpv90jQk6wPoVNDHp/5fxl9C R/1tDy79JhZ2VEc86i6AYcYIF8wbpDAlGX1h4mrMtMLQ94vncwa4SKoRcw8/4cjgKvpD pCS3gm+HlUVL2S/fbbgovAH0F1z9htLiwTBPvZ71t77ojjadS0TO+sKOhRAiHloksMyv yvxugiUkqHuRQxOeThUDlsBQJhTVrj934J82KkYU5uXJp5z4LljPA8ofdokf5SR99Uop vVjmzD2bkiyd9gJkBsxIUnZJMzg41ynMoXdcLI7yeof9TZKnvhWrmKOS9ZuSa34Q2zWD lKqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=83oMZbrY2l0l38w3Usm1ZV2q90zXmL7guIkz2T8m0zw=; b=lfG9Qajy9wNZ9gS15kPfdEmjivk84aq2fdBrCnx8rtq7BwB5/dH7KvsQhdNRKHguCs ZclnjtT7sfBgD5DL/nw51gbocOfV2usnCtJM8MIOvHd1Jbl+GN3IC2dwtDvzz76MNh+U p1M4oxcBmqRAZCan2yW6DBMfwyoZ38oLWg9cf4re00hqHZl0e0LRxN4E22gQ4DfMNMr1 TtuT8HQ/wdyPXlVRRlQY0H6XllNYPzC55LNqyTMinvv2NKDaSJfDLnRbAT7iljbH3cmY gHNqrHoYLax/qmtrieb0Nzv9UljU9dHCjs0Q+NOy3CvuNlt0jcf0UeeW7YC4xuDXIydv zyVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=T8LVixns; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a16-20020a170902b59000b00198aa530a7dsi5891015pls.97.2023.02.24.12.45.22; Fri, 24 Feb 2023 12:45:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=T8LVixns; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229643AbjBXUN2 (ORCPT <rfc822;jeff.pang.chn@gmail.com> + 99 others); Fri, 24 Feb 2023 15:13:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229523AbjBXUN1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 24 Feb 2023 15:13:27 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3DA4231C5 for <linux-kernel@vger.kernel.org>; Fri, 24 Feb 2023 12:12:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677269556; 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=83oMZbrY2l0l38w3Usm1ZV2q90zXmL7guIkz2T8m0zw=; b=T8LVixnskwjcjHZJEsFQ/fZAgy/7Q6SaG6YxE8Y0Y7PEObcfsIJ514kzDwVH3zyr/Y1CDS qP+VcSjRlOAGA9VsmGPtRg10W2fx1fqq0KMkbyzd9NVQpDHyhl1Q/UrkDCW0f7piqGIUsm uPi/JFEQ2Trcvn760Aabq2HmzZYD+Ek= Received: from mail-il1-f197.google.com (mail-il1-f197.google.com [209.85.166.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-441-sQ_wUmtmO-6HxeTruDcs-w-1; Fri, 24 Feb 2023 15:12:34 -0500 X-MC-Unique: sQ_wUmtmO-6HxeTruDcs-w-1 Received: by mail-il1-f197.google.com with SMTP id y2-20020a929502000000b0031707c6b348so407059ilh.8 for <linux-kernel@vger.kernel.org>; Fri, 24 Feb 2023 12:12:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:subject:cc:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=83oMZbrY2l0l38w3Usm1ZV2q90zXmL7guIkz2T8m0zw=; b=HQX0kebtD6BjyTo8wXCb3muENVxdFYUQwi6h5lr+orbQJeJETwczg3IIEBUe+cCnmn H+cusdK5mdGyC4rgPxZbHvVsn8bJStidGUT5QP49dhx2HHbIWoqIQDDuT1Uh7KVfv5k5 82oJ3gjTEBh1iKW9pcXvQcZurzhaAdzwXRfN0U9nWQdrmg8Etd7Q9yviF56T2SMdjK2T z5FnHfOk49smmK/rZy1UayFqeK0vfLAWlygkLbSGBrQ9ETjrYemwiJbR/0hblVKifDAF KP2/xapFVfa7TFceVekm8rwXm23rPdm587WGOVTfBQZXYkzE/4yPXXnRfZlhyL9B/meL ysaQ== X-Gm-Message-State: AO0yUKU1dDlL0jUu7AZvWMjw59sT/PsNUMuGypQTR4CNKSJow1RDqdXI 1bfwG+VTqZUPNnpz21Q1xrwG+WY5iu9egVLoFfe+mh2Sbv1YxjgwCgM6iXGZAqBzIUvyB1VWiDW 46JJDq9bWlFEUqE6i/Az1LAKl X-Received: by 2002:a92:5204:0:b0:30f:3d9e:f80 with SMTP id g4-20020a925204000000b0030f3d9e0f80mr11472959ilb.25.1677269554225; Fri, 24 Feb 2023 12:12:34 -0800 (PST) X-Received: by 2002:a92:5204:0:b0:30f:3d9e:f80 with SMTP id g4-20020a925204000000b0030f3d9e0f80mr11472946ilb.25.1677269553943; Fri, 24 Feb 2023 12:12:33 -0800 (PST) Received: from redhat.com ([38.15.36.239]) by smtp.gmail.com with ESMTPSA id q28-20020a02cf1c000000b003c4f35c21absm4771590jar.137.2023.02.24.12.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 12:12:33 -0800 (PST) Date: Fri, 24 Feb 2023 13:12:32 -0700 From: Alex Williamson <alex.williamson@redhat.com> To: Linus Torvalds <torvalds@linux-foundation.org> Cc: <linux-kernel@vger.kernel.org>, "kvm@vger.kernel.org" <kvm@vger.kernel.org> Subject: [GIT PULL] VFIO updates for v6.3-rc1 Message-ID: <20230224131232.113c5eef.alex.williamson@redhat.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.35; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758746678521887707?= X-GMAIL-MSGID: =?utf-8?q?1758746678521887707?= |
Series |
[GIT,PULL] VFIO updates for v6.3-rc1
|
|
Pull-request
https://github.com/awilliam/linux-vfio.git tags/vfio-v6.3-rc1Message
Alex Williamson
Feb. 24, 2023, 8:12 p.m. UTC
Hi Linus, The following changes since commit 2241ab53cbb5cdb08a6b2d4688feb13971058f65: Linux 6.2-rc5 (2023-01-21 16:27:01 -0800) are available in the Git repository at: https://github.com/awilliam/linux-vfio.git tags/vfio-v6.3-rc1 for you to fetch changes up to d649c34cb916b015fdcb487e51409fcc5caeca8d: vfio: Fix NULL pointer dereference caused by uninitialized group->iommufd (2023-02-22 10:56:37 -0700) ---------------------------------------------------------------- VFIO updates for v6.3-rc1 - Remove redundant resource check in vfio-platform. (Angus Chen) - Use GFP_KERNEL_ACCOUNT for persistent userspace allocations, allowing removal of arbitrary kernel limits in favor of cgroup control. (Yishai Hadas) - mdev tidy-ups, including removing the module-only build restriction for sample drivers, Kconfig changes to select mdev support, documentation movement to keep sample driver usage instructions with sample drivers rather than with API docs, remove references to out-of-tree drivers in docs. (Christoph Hellwig) - Fix collateral breakages from mdev Kconfig changes. (Arnd Bergmann) - Make mlx5 migration support match device support, improve source and target flows to improve pre-copy support and reduce downtime. (Yishai Hadas) - Convert additional mdev sysfs case to use sysfs_emit(). (Bo Liu) - Resolve copy-paste error in mdev mbochs sample driver Kconfig. (Ye Xingchen) - Avoid propagating missing reset error in vfio-platform if reset requirement is relaxed by module option. (Tomasz Duszynski) - Range size fixes in mlx5 variant driver for missed last byte and stricter range calculation. (Yishai Hadas) - Fixes to suspended vaddr support and locked_vm accounting, excluding mdev configurations from the former due to potential to indefinitely block kernel threads, fix underflow and restore locked_vm on new mm. (Steve Sistare) - Update outdated vfio documentation due to new IOMMUFD interfaces in recent kernels. (Yi Liu) - Resolve deadlock between group_lock and kvm_lock, finally. (Matthew Rosato) - Fix NULL pointer in group initialization error path with IOMMUFD. (Yan Zhao) ---------------------------------------------------------------- Angus Chen (1): vfio: platform: No need to check res again Arnd Bergmann (1): vfio-mdev: add back CONFIG_VFIO dependency Bo Liu (1): vfio/mdev: Use sysfs_emit() to instead of sprintf() Christoph Hellwig (4): vfio-mdev: allow building the samples into the kernel vfio-mdev: turn VFIO_MDEV into a selectable symbol vfio-mdev: move the mtty usage documentation vfio-mdev: remove an non-existing driver from vfio-mediated-device Cornelia Huck (1): MAINTAINERS: step down as vfio reviewer Jason Gunthorpe (1): vfio: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations Matthew Rosato (2): vfio: fix deadlock between group lock and kvm lock vfio: no need to pass kvm pointer during device open Shay Drory (1): vfio/mlx5: Check whether VF is migratable Steve Sistare (7): vfio/type1: exclude mdevs from VFIO_UPDATE_VADDR vfio/type1: prevent underflow of locked_vm via exec() vfio/type1: track locked_vm per dma vfio/type1: restore locked_vm vfio/type1: revert "block on invalid vaddr" vfio/type1: revert "implement notify callback" vfio: revert "iommu driver notify callback" Tomasz Duszynski (1): vfio: platform: ignore missing reset if disabled at module init Yan Zhao (1): vfio: Fix NULL pointer dereference caused by uninitialized group->iommufd Yi Liu (2): vfio: Update the kdoc for vfio_device_ops docs: vfio: Update vfio.rst per latest interfaces Yishai Hadas (8): vfio/mlx5: Fix UBSAN note vfio/mlx5: Allow loading of larger images than 512 MB vfio/hisi: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations vfio/fsl-mc: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations vfio/platform: Use GFP_KERNEL_ACCOUNT for userspace persistent allocations vfio/mlx5: Improve the source side flow upon pre_copy vfio/mlx5: Improve the target side flow to reduce downtime vfio/mlx5: Fix range size calculation upon tracker creation ye xingchen (1): samples: fix the prompt about SAMPLE_VFIO_MDEV_MBOCHS Documentation/driver-api/vfio-mediated-device.rst | 108 +-------- Documentation/driver-api/vfio.rst | 82 +++++-- Documentation/s390/vfio-ap.rst | 1 - MAINTAINERS | 1 - arch/s390/Kconfig | 8 +- arch/s390/configs/debug_defconfig | 1 - arch/s390/configs/defconfig | 1 - drivers/gpu/drm/i915/Kconfig | 3 +- drivers/vfio/container.c | 7 +- drivers/vfio/fsl-mc/vfio_fsl_mc.c | 2 +- drivers/vfio/fsl-mc/vfio_fsl_mc_intr.c | 4 +- drivers/vfio/group.c | 46 +++- drivers/vfio/mdev/Kconfig | 8 +- drivers/vfio/mdev/mdev_sysfs.c | 2 +- drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 4 +- drivers/vfio/pci/mlx5/cmd.c | 79 +++++-- drivers/vfio/pci/mlx5/cmd.h | 28 ++- drivers/vfio/pci/mlx5/main.c | 261 ++++++++++++++++++---- drivers/vfio/pci/vfio_pci_config.c | 6 +- drivers/vfio/pci/vfio_pci_core.c | 7 +- drivers/vfio/pci/vfio_pci_igd.c | 2 +- drivers/vfio/pci/vfio_pci_intrs.c | 10 +- drivers/vfio/pci/vfio_pci_rdwr.c | 2 +- drivers/vfio/platform/vfio_platform_common.c | 12 +- drivers/vfio/platform/vfio_platform_irq.c | 8 +- drivers/vfio/vfio.h | 25 ++- drivers/vfio/vfio_iommu_type1.c | 248 +++++++++----------- drivers/vfio/vfio_main.c | 70 +++++- drivers/vfio/virqfd.c | 2 +- include/linux/vfio.h | 6 +- include/uapi/linux/vfio.h | 15 +- samples/Kconfig | 19 +- samples/vfio-mdev/README.rst | 100 +++++++++ 33 files changed, 756 insertions(+), 422 deletions(-) create mode 100644 samples/vfio-mdev/README.rst
Comments
The pull request you sent on Fri, 24 Feb 2023 13:12:32 -0700:
> https://github.com/awilliam/linux-vfio.git tags/vfio-v6.3-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/cac85e4616b1cf4a90844b952b49b9cbc4562530
Thank you!