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 39E8ACC6B30 for ; Thu, 15 Oct 2026 00:07:02 +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=AMbgrAnSfqz0V+Jt4pbpPTrqzb 66G/+CMfYPekm21RQRMdcTqh+sRBt0yzH0Rc0QWtzqR9BL7zLimKWxVyElGK6d8zyWoM6HAYe/PqL 2SKe5hbiMmi/VDWi+Y19RIw9RFtHlxhGfbzu6VzF7HAFjiGLJoCxFUVQzbUFWmtXT7CIKOzsM+MrJ teGCZFjAqp4sm2VAEo+Rzr0t14Jw6Snq7tNj7eyCQ+I2q8bhX6EztcaWl4Omj7EpFrtTYS5nP5Cp7 og0vbB3ASower/CDS28/ifDtu8HvpilwirKuR9N81U0uWtEjUbWyLQJlYkO/PafpSIOrhI5EuBR1t EXpUgT2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1xH8zn-0000000GUH7-2Q6n; Thu, 15 Oct 2026 00:06:55 +0000 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1xH8zk-0000000GUGN-2BTA for ath11k@lists.infradead.org; Thu, 15 Oct 2026 00:06:53 +0000 Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-93e64d52949so446445885a.1 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=NpDWbRLIFt/x9uLxq72ik5zJ7vQkpJYIrwDxXUoUfaLsmRRDMDLDgJpWuopE/E7nP8 GpOq8Ib87G4nXHSIHW93SdtuENtdogaSxgSjPLuJLNG9kLpJwtwYDEZ84g26h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992: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_669376_B81F4FDD X-CRM114-Status: GOOD ( 24.57 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "ath11k" Errors-To: ath11k-bounces+ath11k=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