From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD4AA2F84F for ; Thu, 15 Oct 2026 00:06:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792022813; cv=none; b=akkrrYyhDv/XLzJcyCJXsf11TsIeqcVRtYK9VZbYuzxLcqIQMyhV8edJm8jO18gFZtEbk6DJ2Jm3pPhYtNwCaISTG6Ar1gVKtcVLJfSGB/lk9q2gJK/pnOQ/y56zLl9toaL8D3XbeO8cgvUPi5/3W7YgzBDH2k3R6WwG0MN23rw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792022813; c=relaxed/simple; bh=Y1j2IAmDNpy/11ji2yeubu8arnWuY9EaUML0l2Bnxww=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bxFQQ2uuvUoXxaFmqac6mEhaLrtkTLqEhXvA8k7wx7G+Q19O0I7QEFpZXcR/LxSNa1KclbbN9EoHgi46jt9qu1+yrCnWP8kyEU/EJWikNT2/kxdmoUXi0UaZvE4NwDhzVLhkEWd5/CuScHLoCMKuvjbpsot0x74WG+8ZmzkHt1c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=luBmiaKG; arc=none smtp.client-ip=209.85.219.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="luBmiaKG" Received: by mail-qv1-f45.google.com with SMTP id 6a1803df08f44-917c04630c2so59225126d6.3 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=vger.kernel.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=luBmiaKGhfat1XeT7DWB2qnyqFKL1auwhlq1cTgJlMZP2ddopIZhMBcg8S70yXK4ZF ljOABYdvkNJwJ5R0kveTmIKwavh0wh0LNTCXF96BE4xIcf5helzRNvUCpwDuUyJRrxSa gqpjzmQHmaUNJwQm0KP8SE+ku41eswSWBir5KN/uwK/vEvd2WnIJmFhQEX8lOD3H9PD5 AMT1SpnqPj7qFDn58d7whX7HnS8giP388N9YQ5nz18ZbDSOfUuo+JmACuV3jbi+t52m1 i+XsyP/sT1Dd41A8v7IQXfwA2aZuRUWZrJKgX4EIDVOLRX91ncV1Ijew/co2Yh96CPKj 3WJg== 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=m6rOtIgtnRDBJmzJxKg5fEcbrePxGAd3xf+iT0QTgZmgGp1Hsp6oVtygOuoRStDx6C hy7CDSmOPqihRdy5cnE+hZDdvngwkGrY4ExkEH8YwQcWl4Xm106x+VS2jobDqf8UsYIl K/FL1W1KYImWVbrELpVJMUm63nqd7fOeM9IRjzvVDreRzOYdE2On/DeAVeMdFTCKzCTe iL7Ncx/WlCv56+sqJrLODVLn1XjpRRpTfmC/SnnggrVEn8umazDbVKoChICOzzOFOb4J t4cqvnWcJDEob/0OBsaRAwIWff7lyfjr69h/FRpVAcbnXoDQXWoRMW7RmQZfLaxPNjfl mKDQ== X-Forwarded-Encrypted: i=1; AKwUvBwBvQBV3gDNOu5XY/ky7tZZtTUqGhOb974uctDfzUFODcetTavkfhP3vxKagzSKAHsMQfk=@vger.kernel.org X-Gm-Message-State: AFq9FYK9v7DzU2jRgHQwyt0A+pStyLHpjJ/RamggcilrOZVw2GSFPQcj z3CtILdveUJmgCVJNfydJmzAtC4lQRobZzhNVuBdT4vDr6AfgTkplCa6MCbGbTv/72Q= X-Gm-Gg: AYBFou3yN59+P0b9h/KkLxSf+yR0UP/aJoMsWpdze7b+jZ9BzeffOr19BwpEUa1iWE6 IGnOITuA+ykk4dXPW/+ped5tr4F6TJVMJpgjbAvYGrpA5fThyfqqB1Al3DL9p4GVEZMEz4pqxMz MSy2tw0rcICYJ9zwve5hj/fmZqctwAxa62288pXX6rAYCyW+QzRgI7yDBmCDEAU1Is4b5mGb9JF czf9I/0uJfMRF/eydpoN8N0y21c6zr0ssYreqBAmJmQ3xPSOnYvM9ro4v69Zu8V6Qxbg/sTIpUy pLcQnBLh/VWwGvFiRsB2UuGu/mLDkdloUm3fi3n0ScMsegc71YRJDVQ8iycxygGRiEq8FMLOjzs lMXyX2aEy68I8FHXf4FrHYwgxgZ6S2lJnIuofk1AlZ5KG9PzPO8o/EqSNLUDZwVXWiaSZ6ZZYEt /+4z8YgF3oaT4NPMDorDnuUVfbhLNnrVDY9I+kSXNetwE/j45Ly00xBVySSefb9fP2kX9skAxy8 Gn6/16HLdsH1j5x9L01lMaiDK20WK+UvusjiKtHm61mMfnCJMl06B0q 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> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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