Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D229EC44525 for ; Wed, 21 Jan 2026 12:50:34 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1viXfD-0002So-E0; Wed, 21 Jan 2026 07:50:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1viXer-0002Ex-RO for qemu-arm@nongnu.org; Wed, 21 Jan 2026 07:50:08 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1viXen-0002BQ-QV for qemu-arm@nongnu.org; Wed, 21 Jan 2026 07:50:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1768999795; h=from:from:reply-to: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: in-reply-to:in-reply-to:references:references; bh=vHKoWbVSlaEoA9TLXK/mcp3NsfvDU5iP0ZrSWefJUfU=; b=dbRZ8rxoh3TidGHVWnLCsVZR9I0TS2WQcWPBhHhGqZJD73F3aeekack243nzY2D4c+HFVf A8XUaoQDzLQtsNDfg64lP2D8hLAHPjPF85D+yP0e1g48pccBPUsKKWE2hKuluypJC/3Zxb fTI4y/6V07cP/hBKQNYNHZoo/D/h468= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-170-K8-OJGYUM3a6tbpuQQtMZg-1; Wed, 21 Jan 2026 07:49:54 -0500 X-MC-Unique: K8-OJGYUM3a6tbpuQQtMZg-1 X-Mimecast-MFC-AGG-ID: K8-OJGYUM3a6tbpuQQtMZg_1768999793 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-432c05971c6so718259f8f.1 for ; Wed, 21 Jan 2026 04:49:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768999793; x=1769604593; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:reply-to:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=vHKoWbVSlaEoA9TLXK/mcp3NsfvDU5iP0ZrSWefJUfU=; b=W0spxjFB+seRqTjtOOEMabhGv1DRDb/vQjUondrjejylaNTi95LSsCcd6KQXoXKoC0 3WjVAPoVynt9LBIwgpU/NkT0xrv8aBs+yj2+ax2kq8xJO/A7mq4cQWSQmYA47ZROi8yz iPhnHOEZJzgjpFS5KDzmabGIZDC8hSwbh+Wcbql6p74tTh9fhytFryeg6rFErQR6zE3c M8lYYLI+RT/EBEA2GnBa79qeYK2yrlZFOFTaDY5LN2SsSZUMy5oInTM0N5XH9gKeUO5v 4qYlk/fAXWZaCUnX4fCxdkZnuJ0NfGMLV74XDemRpwA2tozpAJDhjb8YtyTFGdOUP0qU Gzqg== X-Forwarded-Encrypted: i=1; AJvYcCWvvfjt+oh3i0h1zdICcseavnrb2D8tUYSiUPlu7qCrDod0wTMutuFDA5CZGdPou0RtY+XgU2fStQ==@nongnu.org X-Gm-Message-State: AOJu0Yw3huQfEWsoDnfYzD8YeDPdgoAX/MJ2elLHUFkB3vIwiaEv26Wr YNEMOWs17gzU+bZyHY2WJ2O09N5jCkKym+JhsTPpYyNZbbpNxmotMPfY9fLyOrZUoUt/ncr3dC3 wQsmzFggC4o5ClS7Ci9vx3AXhcXCVxNVh72+IZsI0wRAzivqRgFtgfg== X-Gm-Gg: AZuq6aKxteZXYTga4sZwIRJTqu8OOMZYdSInjNl9L2cmhKHwQr9kpSraWamGBukRilZ Nu9PKl1j2r0z4azii7pnmhMu0FxsBGvKInXesQTxLBzVPvBxQXAV/dl8yxPmn8wN3hH5Nfatz1Y Wmpp1mchoDgsG427aVtqNzc8F2zEmPfiP89fceA2O4zkYa5YbtmcuGQFCS/yMMJyNP1nBAPvP0x G4r5lSI9IBsp2gjimhzYZmWdvaoCDCLN19W9wxPvcK8PS+B7VTH8wUIEeU7y3aQienmX63We/QI wTPNHEnPyiVejfTNew5xi15zuBefsCQbuRtTL17Py9Yu7QiK2FtyqP/6uuisrGlqtPIRPA6AtwK q/qXlFRr5MSuzkdWVftGhOOezxpwbVCL12gMSMxwWqyhYUt5MNvY5Y690ug== X-Received: by 2002:a05:6000:1acd:b0:435:9e32:2b85 with SMTP id ffacd0b85a97d-4359e32307fmr2934378f8f.29.1768999792992; Wed, 21 Jan 2026 04:49:52 -0800 (PST) X-Received: by 2002:a05:6000:1acd:b0:435:9e32:2b85 with SMTP id ffacd0b85a97d-4359e32307fmr2934339f8f.29.1768999792616; Wed, 21 Jan 2026 04:49:52 -0800 (PST) Received: from ?IPV6:2a01:e0a:f0e:9070:527b:9dff:feef:3874? ([2a01:e0a:f0e:9070:527b:9dff:feef:3874]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435a431c189sm256307f8f.24.2026.01.21.04.49.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Jan 2026 04:49:52 -0800 (PST) Message-ID: Date: Wed, 21 Jan 2026 13:49:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 0/3] vfio: Add DMABUF support for PCI BAR regions To: Shameer Kolothum , qemu-arm@nongnu.org, qemu-devel@nongnu.org Cc: alex@shazbot.org, clg@redhat.com, cohuck@redhat.com, mst@redhat.com, nicolinc@nvidia.com, nathanc@nvidia.com, mochs@nvidia.com, jgg@nvidia.com, jonathan.cameron@huawei.com, zhenzhong.duan@intel.com, vivek.kasireddy@intel.com, kjaju@nvidia.com References: <20260121114111.34045-1-skolothumtho@nvidia.com> From: Eric Auger In-Reply-To: <20260121114111.34045-1-skolothumtho@nvidia.com> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 81zwQCAm8o8tkhdJcW6VUh4DkN4-wITT27mjYay0ue8_1768999793 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=eric.auger@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.069, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: eric.auger@redhat.com Errors-To: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org On 1/21/26 12:41 PM, Shameer Kolothum wrote: > Hi, > > Linux now provides a VFIO dmabuf exporter to expose PCI BAR memory for P2P > use cases. This adds support for vfio devices to create a dmabuf for > each mapped BAR region. > > Changes from v3: > https://lore.kernel.org/qemu-devel/20260116092950.15796-1-skolothumtho@nvidia.com/ > > - Folded in patch #2 to linux-headers update to avoid bisect failure > due to build error. > > The dmabuf support was sanity tested on an NVIDIA grace paltform. > > Please take a look and let me know. > > Thanks, > Shameer > > Nicolin Chen (1): > hw/vfio/region: Create dmabuf for PCI BAR per region > > Shameer Kolothum (2): > linux-headers: Update to Linux v6.19-rc1 > hw/vfio: Add helper to retrieve device feature > > hw/net/virtio-net.c | 11 +- > hw/vfio/container.c | 2 +- > hw/vfio/device.c | 9 ++ > hw/vfio/listener.c | 4 +- > hw/vfio/region.c | 65 +++++++++- > hw/vfio/trace-events | 1 + > include/hw/vfio/vfio-device.h | 3 + > include/standard-headers/drm/drm_fourcc.h | 25 ++-- > include/standard-headers/linux/ethtool.h | 5 + > .../linux/input-event-codes.h | 14 ++- > include/standard-headers/linux/pci_regs.h | 89 ++++++++++++++ > include/standard-headers/linux/virtio_net.h | 3 +- > include/standard-headers/linux/virtio_pci.h | 2 +- > linux-headers/asm-arm64/kvm.h | 2 +- > linux-headers/asm-arm64/unistd_64.h | 1 + > linux-headers/asm-generic/unistd.h | 4 +- > linux-headers/asm-loongarch/kvm.h | 1 + > linux-headers/asm-loongarch/unistd.h | 6 + > linux-headers/asm-loongarch/unistd_64.h | 1 + > linux-headers/asm-mips/unistd_n32.h | 1 + > linux-headers/asm-mips/unistd_n64.h | 1 + > linux-headers/asm-mips/unistd_o32.h | 1 + > linux-headers/asm-powerpc/unistd_32.h | 1 + > linux-headers/asm-powerpc/unistd_64.h | 1 + > linux-headers/asm-riscv/kvm.h | 3 + > linux-headers/asm-riscv/unistd_32.h | 1 + > linux-headers/asm-riscv/unistd_64.h | 1 + > linux-headers/asm-s390/bitsperlong.h | 4 - > linux-headers/asm-s390/unistd.h | 4 - > linux-headers/asm-s390/unistd_64.h | 9 +- > linux-headers/asm-x86/kvm.h | 1 + > linux-headers/asm-x86/unistd_32.h | 1 + > linux-headers/asm-x86/unistd_64.h | 1 + > linux-headers/asm-x86/unistd_x32.h | 1 + > linux-headers/linux/iommufd.h | 10 ++ > linux-headers/linux/kvm.h | 11 ++ > linux-headers/linux/mshv.h | 116 +++++++++++++++++- > linux-headers/linux/psp-sev.h | 66 ++++++---- > linux-headers/linux/vfio.h | 28 +++++ > 39 files changed, 450 insertions(+), 60 deletions(-) > For the whole series: Reviewed-by: Eric Auger Tested-by: Eric Auger Thanks Eric