Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp848424rdd; Wed, 10 Jan 2024 01:00:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQ2wa7ZKZvhb8B+KNvPOksLFfPl/dZCRTvTX8M0s1kRLFlmNopn5wh1+63LhOQAFAH0pph X-Received: by 2002:a17:906:2ada:b0:a28:fd6b:7acf with SMTP id m26-20020a1709062ada00b00a28fd6b7acfmr408193eje.36.1704877249856; Wed, 10 Jan 2024 01:00:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704877249; cv=none; d=google.com; s=arc-20160816; b=Nhm9a/SXY7qDit68TsnFheE47uFp04bZ+1glg9LCXy+sW+uOMImrkxhCjmJkQN4FJm +J/IAv88jpjgUZHtJVHr2NumUM1uuKOTIeWO9dnmPMok4Q5keHFjUxaGAg/mrdlalwiy btRZmEs3DoRFm2caTzHkOPoLyQzUFgvGlotntge8/SlJakZVmYDUpUzCkC3633UAX+QJ NAQGaBxixcfUkktOCiKI+4wqRVogkqj9U5NywdATEV6t77RUpVF3ose0AnEzRQSstWkS /YB4qNXYfyl9JB0ij7yvCsnLBybJ45/cXlPE3Q9jpY6F7/5NnrglIzsZl4BXW9lQksRb 7oIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=aMv2kvT4ZNq2om+ApD+I6KyCti7bx6rGRDhzd9p/R2w=; fh=JF5j3FBrcxuWhRYqhgkxqbcoGdM//UYHzGCdUhzW/FI=; b=h7b/nm+zrMFhYeV7ODq3nGO0QThKOKASznItRKswVXVlSzqBnzmFP38sgfHByZb4GF 8R7f7i+wCRRmtRpaWz9MCgdINi0suKgp4IVn5vUmparnobZ9qYeCao3XKWTviMSBmAju oXEG/Wsr0PX7Pqw/YHtq+37eeMGXTbWqF39p/AJ+OLXuw48PDn97cl6n/Dikou1btdmV p22shwg8sISIMEds8AiLkHKEB3y2oL7sKUPwIsZmby3UNU9Wj2/9KeoWp65lIpGXBzpL rc45OMmHp1wX35YUCBGSdye5+AstDOxYENB4x6ygBu1btyaCfLfQ0QZKg1IPu6WqWzvD KU5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AIAPZcii; spf=pass (google.com: domain of linux-wireless+bounces-1651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jx19-20020a170906ca5300b00a2adf6e9abbsi1637173ejb.737.2024.01.10.01.00.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 01:00:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AIAPZcii; spf=pass (google.com: domain of linux-wireless+bounces-1651-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1651-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9792F1F25D42 for ; Wed, 10 Jan 2024 09:00:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FCA136B0D; Wed, 10 Jan 2024 09:00:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AIAPZcii" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 649222BCE3 for ; Wed, 10 Jan 2024 09:00:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2F081C433F1; Wed, 10 Jan 2024 09:00:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704877245; bh=3+z0SdPTREQrbn1cVrx7uav3ugSi/3MWwFhTgEerRc0=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=AIAPZciiyosFsW9jMaaEHumvKYvJUpzavuurVmZW/zggdoRg1bA4aZGbeIEQuXkPb R8eyNqsVAT9BjdDkDrl6McijKr84VXzkkKId1kPfnzFfqHxs5NUgkTQKRexQ5oJC4g 47NxF5X9De26V4lWR5P0VvtF/+wRkjzcGUhuYyvMHkp6eabRrNM5fZ+m4FnhW8raqY RdQcYl1v11YuzP97JOKfbw0IkwFznhVqeO2CbaJ/Q6tsOWMxDwRbmmzKNr3PleiC0l 4ZgK/uFCPWomGO1HDj6ZP8pZXEJ8UDztF9nzm/twgQ2ZdVYSU/lmsPFqtXdD13NB2F qHphwVDcfN8qg== From: Kalle Valo To: James Prestwood Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: ath11k and vfio-pci support References: Date: Wed, 10 Jan 2024 11:00:42 +0200 In-Reply-To: (James Prestwood's message of "Mon, 8 Jan 2024 05:17:15 -0800") Message-ID: <8734v5zhol.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain + ath11k list James Prestwood writes: > For a while now I've been using vfio-pci to pass through wireless > hardware to a Qemu VM. This makes testing kernel changes quick and > easy compared to swapping the host kernel for reach iterative change. > So far I've had very few issues doing this, maybe I've just been > lucky... I tried doing this with an ath11k (WCN6855) card and ran into > issues with the driver starting up. I'm wondering if its a > configuration issue or just a lack of support by ath11k? The card > works just fine when I use it on my host machine. Based on the logs it > may not even be related to ath11k as wmi-bmof seems to fail first, but > I'm not familiar with anything at the PCI level so I've got no idea > whats going on. There's a bug report about this: https://bugzilla.kernel.org/show_bug.cgi?id=216055 But I have also no idea what is causing this, I guess we are doing something wrong with the PCI communication? That reminds me, you could try this in case that helps: https://patchwork.kernel.org/project/linux-wireless/patch/20231212031914.47339-1-imguzh@gmail.com/ -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches