Message ID | 20240112123134.2deb3896.alex.williamson@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-25000-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:693c:2614:b0:101:6a76:bbe3 with SMTP id mm20csp396268dyc; Fri, 12 Jan 2024 11:32:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IGoFO8zY4J5RRrkEojYVllp5SJKpiQodgA5qlVWVj9Xz3nusBOVlDUdCcDhdYNfHL9H3o7L X-Received: by 2002:a92:d08b:0:b0:360:689:706 with SMTP id h11-20020a92d08b000000b0036006890706mr1755632ilh.54.1705087938911; Fri, 12 Jan 2024 11:32:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705087938; cv=none; d=google.com; s=arc-20160816; b=PXXS3W9h1myN5BRdFfjh2sBa0EXZK527iHug4Wzg5rUFcgRR7EmArNjET77YY5WiL0 3PGTTqGtM2fsc7XK6OF4W5xMfgf/m1sTO0aI5pkWrGxKw4OfHc+DMFjOHyVuURmUIdKq 1SQz9lU6o5kJ6HJfM7AXqsukbUizM5jM/lsXtxoBSMwIqPEGQS/2kKMYU5Azpof4b+GY TsyX+oEfHQtCFv0C52suEH3RevRQnQv9MBdoQP9kbW3daKO6Ei1rsySEtxVw/9XmFwAi Alul1zdf4aEGaNVSNnGx64cxnCOy8Pi4k3Be6cuLwPrz7V8MMdyAmo+GHBvrBsmhBith Oftw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=qARUiNn2Jrx1KvihHVdfIiteTOrgQb9MKbdKKhl244M=; fh=UQ1i8x8P4MZFcAbWsVpkx2SQvxHkLhqajne6V+rvbTQ=; b=GCVIEzgrdl7tj73DN9Gqr9toGgcZVvT0qbzUOmIZ+K8+cSZZbgXu8+0UTYA2K5zUkh wLY6XG3JGOO7wzw7jSCkBGHQ+vZu+CZqbnyhfWYy4+nr1WBs5FPauo4w1b0HrYqgGnRi Erl8rOjKy/Ex5wLSRImZMixkN+8pLuxiRADTr8u9UZVpETMyDw0vrNvTI7RhCOBOnGmL IrBGQ5HJkQsJtA3B93t9LigsQ/YwVucyI48jVwXN65CI/jkvoNm4Y8dd1mp5PU/+FhJb N6/MsvvAJAMh6hda3ppFUD3bKXI0ozJQ73V+150NeBD1+W+YnejKB+5bo0wy5qrTEJD5 40Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HrVLB5sh; spf=pass (google.com: domain of linux-kernel+bounces-25000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25000-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a63-20020a636642000000b005cde42fcb11si3781306pgc.707.2024.01.12.11.32.18 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 11:32:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HrVLB5sh; spf=pass (google.com: domain of linux-kernel+bounces-25000-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25000-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A102828685E for <ouuuleilei@gmail.com>; Fri, 12 Jan 2024 19:32:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F003168A5; Fri, 12 Jan 2024 19:31:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HrVLB5sh" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6276A16418 for <linux-kernel@vger.kernel.org>; Fri, 12 Jan 2024 19:31:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1705087899; 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=qARUiNn2Jrx1KvihHVdfIiteTOrgQb9MKbdKKhl244M=; b=HrVLB5shDNrEeq4NhRWb9vmEkdTTNYyv8RxrBoefv/tkLsJbc28j5+QP88K+cc9mUI6opf /9CDP+398/rOBIFuFYWKDEKnb9n+ug2BsXYdQdwsGcF8kMykCEt1l69KhVHYsP89gxe5i6 7EY9CXr3W8KIq7C3AFd4RhO/E6kQL8o= Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-46-66otMtfdPgWu8QLUZVWWpA-1; Fri, 12 Jan 2024 14:31:37 -0500 X-MC-Unique: 66otMtfdPgWu8QLUZVWWpA-1 Received: by mail-io1-f71.google.com with SMTP id ca18e2360f4ac-7bf2e91b0c4so16666939f.0 for <linux-kernel@vger.kernel.org>; Fri, 12 Jan 2024 11:31:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705087897; x=1705692697; 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=qARUiNn2Jrx1KvihHVdfIiteTOrgQb9MKbdKKhl244M=; b=TA0N/Fk6TKPbLe9QFF4EF42L+6Bk7alwBCXONxFiFcSC15xEXG4nLBfPIXNLvMSmza V369aqM6WTTzJgULckM89NzBhiHV7DDWEJAzXa3W82M8IsLPtRlCYjxnlN14WJAWA+TE o8V477eh2ipexcCWJRvIlEwYA0hsainPpxetVJjyksKdvxQn0CWOf/NylmxtxizBDvwB C0gebdVWXN1hz1ILJ6NfLTEnzfLHtZVQKFJqLub+M5z05meFSD4WZyAuSF8YlzkOsDUM T8DA4isVMMjDRnEVCsFR0yRVjobgNmXk4/offNsHNlrCsM+bCwm8jB+qcPAU7/E0ECrv Z3LA== X-Gm-Message-State: AOJu0Yx4t72CwsztfQPGfuGhyY11IUqBQuHL4XSWX4S/qJRLWutsQO+Y n2B/0qyb429I5eaUF0dmEX5OU/xS2K6v3ZeRuU5S9eNrFgCh40uNOn4nwKJilmX00mBLfZcACs+ 4NsVmTQdJrIgjM7ihDzQiRvIFvb6yvgkh X-Received: by 2002:a6b:e919:0:b0:7bf:2b94:5cc1 with SMTP id u25-20020a6be919000000b007bf2b945cc1mr818551iof.7.1705087896845; Fri, 12 Jan 2024 11:31:36 -0800 (PST) X-Received: by 2002:a6b:e919:0:b0:7bf:2b94:5cc1 with SMTP id u25-20020a6be919000000b007bf2b945cc1mr818538iof.7.1705087896477; Fri, 12 Jan 2024 11:31:36 -0800 (PST) Received: from redhat.com ([38.15.60.12]) by smtp.gmail.com with ESMTPSA id a1-20020a0566380b0100b0046d9e290a74sm1045304jab.7.2024.01.12.11.31.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 11:31:35 -0800 (PST) Date: Fri, 12 Jan 2024 12:31:34 -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>, mst@redhat.com Subject: [GIT PULL] VFIO updates for v6.8-rc1 Message-ID: <20240112123134.2deb3896.alex.williamson@redhat.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787914290517947911 X-GMAIL-MSGID: 1787914290517947911 |
Series |
[GIT,PULL] VFIO updates for v6.8-rc1
|
|
Pull-request
https://github.com/awilliam/linux-vfio.git tags/vfio-v6.8-rc1Message
Alex Williamson
Jan. 12, 2024, 7:31 p.m. UTC
Hi Linus, The following changes since commit 33cc938e65a98f1d29d0a18403dbbee050dcad9a: Linux 6.7-rc4 (2023-12-03 18:52:56 +0900) are available in the Git repository at: https://github.com/awilliam/linux-vfio.git tags/vfio-v6.8-rc1 for you to fetch changes up to 78f70c02bdbccb5e9b0b0c728185d4aeb7044ace: vfio/virtio: fix virtio-pci dependency (2024-01-10 15:10:41 -0700) ---------------------------------------------------------------- VFIO updates for v6.8-rc1 - Add debugfs support, initially used for reporting device migration state. (Longfang Liu) - Fixes and support for migration dirty tracking across multiple IOVA regions in the pds-vfio-pci driver. (Brett Creeley) - Improved IOMMU allocation accounting visibility. (Pasha Tatashin) - Virtio infrastructure and a new virtio-vfio-pci variant driver, which provides emulation of a legacy virtio interfaces on modern virtio hardware for virtio-net VF devices where the PF driver exposes support for legacy admin queues, ie. an emulated IO BAR on an SR-IOV VF to provide driver ABI compatibility to legacy devices. (Yishai Hadas & Feng Liu) - Migration fixes for the hisi-acc-vfio-pci variant driver. (Shameer Kolothum) - Kconfig dependency fix for new virtio-vfio-pci variant driver. (Arnd Bergmann) ---------------------------------------------------------------- Alex Williamson (2): Merge branches 'v6.8/vfio/debugfs', 'v6.8/vfio/pds' and 'v6.8/vfio/type1-account' into v6.8/vfio/next Merge branch 'v6.8/vfio/virtio' into v6.8/vfio/next Arnd Bergmann (1): vfio/virtio: fix virtio-pci dependency Brett Creeley (6): vfio/pds: Fix calculations in pds_vfio_dirty_sync vfio/pds: Only use a single SGL for both seq and ack vfio/pds: Move and rename region specific info vfio/pds: Pass region info to relevant functions vfio/pds: Move seq/ack bitmaps into region struct vfio/pds: Add multi-region support Feng Liu (4): virtio: Define feature bit for administration virtqueue virtio-pci: Introduce admin virtqueue virtio-pci: Introduce admin command sending function virtio-pci: Introduce admin commands Longfang Liu (3): vfio/migration: Add debugfs to live migration driver Documentation: add debugfs description for vfio MAINTAINERS: Add vfio debugfs interface doc link Pasha Tatashin (1): vfio/type1: account iommu allocations Shameer Kolothum (1): hisi_acc_vfio_pci: Update migration data pointer correctly on saving/resume Yishai Hadas (6): virtio-pci: Initialize the supported admin commands virtio-pci: Introduce APIs to execute legacy IO admin commands vfio/pci: Expose vfio_pci_core_setup_barmap() vfio/pci: Expose vfio_pci_core_iowrite/read##size() vfio/virtio: Introduce a vfio driver over virtio devices vfio/virtio: Declare virtiovf_pci_aer_reset_done() static Documentation/ABI/testing/debugfs-vfio | 25 ++ MAINTAINERS | 8 + drivers/vfio/Kconfig | 10 + drivers/vfio/Makefile | 1 + drivers/vfio/debugfs.c | 92 ++++ drivers/vfio/pci/Kconfig | 2 + drivers/vfio/pci/Makefile | 2 + drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 7 +- drivers/vfio/pci/pds/dirty.c | 309 ++++++++----- drivers/vfio/pci/pds/dirty.h | 18 +- drivers/vfio/pci/vfio_pci_rdwr.c | 57 +-- drivers/vfio/pci/virtio/Kconfig | 15 + drivers/vfio/pci/virtio/Makefile | 3 + drivers/vfio/pci/virtio/main.c | 576 +++++++++++++++++++++++++ drivers/vfio/vfio.h | 14 + drivers/vfio/vfio_iommu_type1.c | 8 +- drivers/vfio/vfio_main.c | 4 + drivers/virtio/Kconfig | 5 + drivers/virtio/Makefile | 1 + drivers/virtio/virtio.c | 37 +- drivers/virtio/virtio_pci_admin_legacy_io.c | 244 +++++++++++ drivers/virtio/virtio_pci_common.c | 14 + drivers/virtio/virtio_pci_common.h | 42 +- drivers/virtio/virtio_pci_modern.c | 259 ++++++++++- drivers/virtio/virtio_pci_modern_dev.c | 24 +- include/linux/vfio.h | 7 + include/linux/vfio_pci_core.h | 20 + include/linux/virtio.h | 8 + include/linux/virtio_config.h | 4 + include/linux/virtio_pci_admin.h | 23 + include/linux/virtio_pci_modern.h | 2 + include/uapi/linux/vfio.h | 1 + include/uapi/linux/virtio_config.h | 8 +- include/uapi/linux/virtio_pci.h | 68 +++ 34 files changed, 1754 insertions(+), 164 deletions(-) create mode 100644 Documentation/ABI/testing/debugfs-vfio create mode 100644 drivers/vfio/debugfs.c create mode 100644 drivers/vfio/pci/virtio/Kconfig create mode 100644 drivers/vfio/pci/virtio/Makefile create mode 100644 drivers/vfio/pci/virtio/main.c create mode 100644 drivers/virtio/virtio_pci_admin_legacy_io.c create mode 100644 include/linux/virtio_pci_admin.h
Comments
The pull request you sent on Fri, 12 Jan 2024 12:31:34 -0700:
> https://github.com/awilliam/linux-vfio.git tags/vfio-v6.8-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/244aefb1c64ad562b48929e6d85e07bc79e331d6
Thank you!