Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1492668rdd; Thu, 11 Jan 2024 00:16:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHb8vVjQe+Mo4iRci532ev4JZ4MvJzz97syrVvFiOAwr1c45XpRTOhcz1BjNvQwZVy7bkb5 X-Received: by 2002:a05:6e02:184b:b0:35f:c0c2:4bd0 with SMTP id b11-20020a056e02184b00b0035fc0c24bd0mr1094017ilv.43.1704960996572; Thu, 11 Jan 2024 00:16:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704960996; cv=none; d=google.com; s=arc-20160816; b=lqlfaepA4mNA/WCs7V5cV87TbYBiT0n+rhN+q4exzw5F5QMKsU1lpmP/We5cHoeams U3cEZlroyCZq1N0HB6dpf6v8hWfeiDRMXN+8Y8tqE/+qcY0fIkEVnqyDF/SJ1NHUeuRQ aYG9Qs6pdxZl67OcG5GFc58Pg/3Wd4YYQ9SAscM95XXDMKXmXwob5ckiH8xKXUK4zpms gsDT0VZF0CZ4mveIcdaMsg7QFAyuJYv1Iw8H/qhMfFA4m2IDO3rrWLkfrvnZOMj2LkkP LNAAm0iX5ckf6uewf2fQZXYSb7xyfbZ8pcKO98chW5Nk4Dbo8KBi1CvZ5kMysgyJ59Xq CatQ== 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=Pn6FFwOYyKWpSsi3PhJOQymtBwtHM8IEqVHJUsCejxE=; fh=PwdsM+uQ5hSwwFnRKvamnzJW/Q9VZ5KxfPDHyP7pRnE=; b=AVWZ0Ci0ZjCWIgxd10ptB9iGw4FIy6sdVrHdJnUwdRmRn/oia1rPnaNFWE1fxXc9eV ouS0eRYwsk4kBJ9ttmU7CbkbxxPzb18LYm6vFI/Dsp08melfdTz/KqQJJErNbWUGHmDu 0RqyB0Z++37U+q4P2hEcM2pGUg1Urtnyw+/nY/DyzQSI3cAwqt9cZ+1MvBnPiY2od1xz ZHbdNpxN7Y1q1VnZ6+ZxSRuxfwmuBNkvVLZpWjV/oQ66F+tbKBaJNNCdJVZ13o4hzuKS nDKbuyVOnVYp1e8sxYeZLAslJvr4npmD7IaL8McTo8/qpgaXhQWdTu1y6i1hFsMK+z0O siWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RX+tTMYG; spf=pass (google.com: domain of linux-wireless+bounces-1702-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1702-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f1-20020a6547c1000000b005cf20bafa75si565958pgs.688.2024.01.11.00.16.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 00:16:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1702-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RX+tTMYG; spf=pass (google.com: domain of linux-wireless+bounces-1702-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1702-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 39D8C28697C for ; Thu, 11 Jan 2024 08:16:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E7EE6F512; Thu, 11 Jan 2024 08:16:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RX+tTMYG" 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 CE53AF505 for ; Thu, 11 Jan 2024 08:16:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4434FC433C7; Thu, 11 Jan 2024 08:16:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704960972; bh=BQudpe0VwbbOvUlPTJMdiM4Iwq5AM8cdBJqebzL7SxY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=RX+tTMYGZYyxemfO6jVBFJaiVmtcP84X0vzY+FE33UP/89hqvrALUF2VHhn5VwpUQ zSfVhFGazTHowBn7Ozy67iKb6tdaDgbpIfTiRcHZWqWRzckrIR1SgI47C5dFdvQ0bN WRjxCxws63Q6xJgx1KaTZZ0C8lMtHPTMI2nXDB1xN1VOF83e5VbFsiDdp9X5y40FHU jVnx7emlDt+0a3EjhKcxYnZXlp0LcQWtFS+1JKMn3hSp3eTMZYJZOzzYwso4nu/n6+ 1JC5R1z4enWFsJoueq1ftRsh6D7/jA8p9fvS1NR2stmipCVwHhQcHgAracGGn73Zcx fXH+RNNnwcTHA== From: Kalle Valo To: Baochen Qiang Cc: James Prestwood , , Subject: Re: ath11k and vfio-pci support References: <8734v5zhol.fsf@kernel.org> <87fa5220-6fd9-433d-879b-c55ac67a0748@gmail.com> <87r0ipcn7j.fsf@kernel.org> <356e0b05-f396-4ad7-9b29-c492b54af834@gmail.com> <26119c3f-9012-47bb-948e-7e976d4773a7@quicinc.com> Date: Thu, 11 Jan 2024 10:16:09 +0200 In-Reply-To: <26119c3f-9012-47bb-948e-7e976d4773a7@quicinc.com> (Baochen Qiang's message of "Thu, 11 Jan 2024 11:51:44 +0800") Message-ID: <87mstccmk6.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 Baochen Qiang writes: > On 1/10/2024 10:55 PM, James Prestwood wrote: >> Hi Kalle, >> On 1/10/24 5:49 AM, Kalle Valo wrote: >>> James Prestwood writes: >>> >>>>> 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/ >>>> >>>> Heh, I saw this pop up a day after I sent this and was wondering. Is >>>> this something I'd need on the host kernel, guest, or both? >>> >>> On the guest where ath11k is running. I'm not optimistic that this would >>> solve your issue, I suspect there can be also other bugs, but good to >>> know if the patch changes anything. >> >> Looks the same here, didn't seem to change anything based on the >> kernel logs. >> > Could you try this? > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/ath/ath11k/pci.c?id=39564b475ac5a589e6c22c43a08cbd283c295d2c This reminds me, I assumed James was testing with ath.git master branch (which has that commit) but I never checked that. So for testing please always use the master branch to get the latest and greatest ath11k: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/ There's a quite long delay from ath.git to official releases. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches