From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DC7F3CC6B30 for ; Thu, 15 Oct 2026 00:06:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3XFik+OiPTKZRBTKKsNSHHZcnVJeKmiSTNRzSNQWFTw=; b=cNtsbKwGsfwne52+wNYRR1I6xN x0fxH7QpJVyvsXKf2LeZw6EbC1ly4JlaRy1F6moMh/bbYXuJNwS0pIM2F4UsVEPQXuJdl1BuAa6Gd tZ2gBOGD1N7Cl/34jiyJVXjmFyZEgI6gReCKnLfhTtp5M8K8/0+OqZbS967mE3xsVlrdhHPXjmF29 nKHCEFmVd3BIxkqaQtrL0dmyQNHI0LBFhDJ2Mw8Z098e3ryjU2FlQiQR7GlSnDUWkMs+L9aBpwhTN YZa6iDNObUJa2ZraWqg+VIGKiHIvFQuobT5nk1ZWfb2BS/OC7wh5LryQVO8Ym9CnsLhJp/qQbqg6/ 2ApQQMpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xH8zn-0000000GUHB-2k10; Thu, 15 Oct 2026 00:06:55 +0000 Received: from mail-qv1-xf36.google.com ([2607:f8b0:4864:20::f36]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xH8zk-0000000GUGM-1yrB for ath12k@lists.infradead.org; Thu, 15 Oct 2026 00:06:54 +0000 Received: by mail-qv1-xf36.google.com with SMTP id 6a1803df08f44-91b83459526so40642266d6.2 for ; Wed, 14 Oct 2026 17:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1792022811; x=1792627611; darn=lists.infradead.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=3XFik+OiPTKZRBTKKsNSHHZcnVJeKmiSTNRzSNQWFTw=; b=W6JfZZIeqPOAXlLUZbDOn3Fa6oNtkFs1/rzXYbYLAHZbG+HiYH2Qb3szRe60b/yjPb lgm46R/R//zwY7/tRCp9TL6FDIYstpuipk5XXCP8xEAnI+k4MtYGU8i43v8UFUnmXcHE MS7LopZ2fKYn4ULeSC5wbsGigwYey9Fo0YGnBplociG4pPXTq30JhFHmSjPWJkSfp6+x EyiwotNmcy0qwlSAAvsgUylqlLBTfaTJiCp8zE9flxu44XGb2O9vtaGaHXe9N10Ofsdg ACYnopyGxiUoOk8pDL6/AsnqEkwp9z/Qx1NsAZ3+JBO7uUw0WyfYExCyg44/gPcfaWWT 67IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792022811; x=1792627611; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=3XFik+OiPTKZRBTKKsNSHHZcnVJeKmiSTNRzSNQWFTw=; b=UxsS+XEhlxhBw41hVFl+wyiGdIASliyDsPP8amyx11JyoqUvDMMDn5lPwBuubVZSbL M7V6Xpyry7AYsKPvIjtISOPdM9pQBRsHq9r0UUIfAzZBP4qpzwuEDEpgytjoiqEUF4XV 72cwOauQrbnbxQnEkbrAwa2FPVWB9qh2r12Og2vnb5UusAn79sKEz5xSGTsVaq8yt/+x 5W9xWSf8ttOnFBmKq3eyrk0Rg7cykmtBYbCyN/phrAIXkp87Jbjh643Eo5o2ucZeDqmC e7ijcdKEFXEZGzR4oU/IFGUx2sZynyxGgshe7m+15ODVOOXX01oqvGtWIHljP0wZGOCD iJcQ== X-Forwarded-Encrypted: i=1; AKwUvBx4Jchs9CZ60H1bRq66wOVRfh+ZDNYKm6VyLkKTb1uFed+6yf9yEm6fr2OWnbOH9K9Pf5b4csk=@lists.infradead.org X-Gm-Message-State: AFq9FYKyAWqAyXKGO5eYgF4KRMhLOMQ4g5J5DiJgoaqLvQg7kP+0hlRI QyiBrZybZEibl7u9IpZhceZpVMFDQG21Y8dvCm/p0oeVaFOYAImWBK7Lp3ZlVR/PgOA= X-Gm-Gg: AYBFou1JjLw8rwEJ3y2m/u1MLeFyGKQNQ+GvBbG74SGFFedjfrz5d3itoum3xHaBmdz D1fQ8hPdAeC8M5/Y5TnIUb8JSG+T6gy0zzB/izFlj7/eB3trORmFMuU3C+ojHGPAk2navekqrxR yXwEdaV5XVahPryXWH5YvQN300Lr4o8pJLI68D1QTjJWCfipzk39TCqw24nOQTIxOL+q6CV78hF yGCN8X/Rb/eVBLgok6p3FsPEuIatHHhF/HQfNCaoaEh+yTETBI/5vTjZT+y7DeLilmW+aXR6b84 RdvqDa+yHf17mvt19EeLGGLFd69MJDr6V3rB0C0gepTQT0XCh22Fs5kFafBaiCrf86alsm5Wz3z g195jhtJn+od/kOykL2Jmk5nB8h3+ApS/5QTj8mkVWN6qR0CNguCmgDd/g6KQfYzijFtva1/QjQ 4ytDsGTzElAUYda8IQmVsFg0j3b6RDKJWoeHIPs1Se4QlsRiSsSxkrnUWYqSg/AihKSAAg9yJUP rBi+Y/bJeoKfLyM+Ocp4Zq1Q/3/yhh9OLgVqrInhldo8m3TKIygaMUC X-Received: by 2002:a05:620a:2992:b0:93b:e5e9:23d9 with SMTP id af79cd13be357-93ebd229343mr2677174285a.23.1792022810691; Wed, 14 Oct 2026 17:06:50 -0700 (PDT) Received: from ziepe.ca (hlfxns010zw-159-2-239-150.pppoe-dynamic.high-speed.ns.bellaliant.net. [159.2.239.150]) by smtp.gmail.com with ESMTPSA id af79cd13be357-93ef5051333sm620942285a.28.2026.10.14.17.06.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2026 17:06:49 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1xH8zh-0000000EzB1-0n38; Wed, 14 Oct 2026 21:06:49 -0300 Date: Wed, 14 Oct 2026 21:06:49 -0300 From: Jason Gunthorpe To: Michael Kelley Cc: Jose Ignacio Tornos Martinez , "alex@shazbot.org" , "ath11k@lists.infradead.org" , "ath12k@lists.infradead.org" , "bhelgaas@google.com" , "jjohnson@kernel.org" , "johannes@sipsolutions.net" , "kevin.tian@intel.com" , "kvm@vger.kernel.org" , "linux-arm-msm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-wireless@vger.kernel.org" , "mani@kernel.org" , "skolothumtho@nvidia.com" , "yishaih@nvidia.com" Subject: Re: [PATCH 0/7] Enable Qualcomm WiFi PCIe passthrough to VMs Message-ID: <20261015000649.GP14213@ziepe.ca> References: <20261013140345.GK14213@ziepe.ca> <20261013154225.214531-1-jtornosm@redhat.com> <20261014150047.GO14213@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261014_170652_669060_AC273204 X-CRM114-Status: GOOD ( 24.57 ) X-BeenThere: ath12k@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath12k" Errors-To: ath12k-bounces+ath12k=archiver.kernel.org@lists.infradead.org On Wed, Oct 14, 2026 at 08:46:33PM +0000, Michael Kelley wrote: > From: Jason Gunthorpe Sent: Wednesday, October 14, 2026 8:01 AM > > > > On Tue, Oct 13, 2026 at 05:42:25PM +0200, Jose Ignacio Tornos Martinez wrote: > > > Thank you for the direction on device MSI domains. The Hyper-V > > > reference is difficult for me to follow for this case. Could > > > you point me to some existing KVM/VFIO equivalent, or similar > > > example for my use case? Any pointers to relevant code, > > > documentation, or previous discussions on this topic would be > > > very helpful to get started in the right direction. > > > > > > Also, where would this need to be implemented? Kernel only > > > because it is already supported in QEMU in a general way, or > > > kernel and QEMU for some specifics? > > > > I spent some time with AI to research this and drafted up some slop > > for you that outlines a bunch of ideas and explains how some of the > > bits work today. Not saying this is something to follow but it should > > be a good starting point to come up with a good idea. > > This is a nice summary of what Hyper-V does. It looks right to me > based on my experience with that driver (pci-hyperv.c) over the > years. > > I wrote the documentation in Documentation/virt/hyperv/vpci.rst. > With your permission, I'd like to adapt some of your material below > and add it to vpci.rst, primarily to provide some broader context > on the "why" and the implications of the overall approach. I'm > not sure how soon that will be, but it will go on my "to do" list. Sure, no worries do with it as you like! Jason