Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1160801rdb; Fri, 19 Jan 2024 09:57:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IGobDMbrOBnRk5F/gLbcLYGuyxNuJfm6J3hyotagcXUgUbROnnOaWsJWTLWdimnwQIFvePP X-Received: by 2002:ae9:e316:0:b0:783:7df:7c7c with SMTP id v22-20020ae9e316000000b0078307df7c7cmr288224qkf.67.1705687062725; Fri, 19 Jan 2024 09:57:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705687062; cv=pass; d=google.com; s=arc-20160816; b=jrwrXNdZRKXN0G9u2oHXMOaiZxh7AfwOaq3cvt/aXqJbsB6oGQSp3nJVpXEKLK+gQr PizCwoQj+5bQmFmJl0TjKhQPZk7xySQKA9ZimwdGOSjqkKtP4K/tu+AMJYF9E/JUFvBV vZIzIXHisbpvAS7+a0eQfMvrkdbJ45gV5v+LAEnQo90TDyBoZgcvTgkfXgEWKE2JYxES qQhqr2h9Y7CXXcOUJ+1SiEfS4C23mIud3tRFJwGC9o5y7CN4niSBBwbRZWRFcggcr4WH H4aZJ+rwq5FW55RroAhrDFu6AHOgYh7OuGgfaVo9BtN1rfJUhnVL8TnIHOMqt90pQ+6j whdA== ARC-Message-Signature: i=2; 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=WNYtM6AiBylxlIk97xM/9i7woT1uLMtcNB251ymB91o=; fh=0+q+pe671ZjunKT/v2aM5yoJ/5TrP1PRz+U0oYd1vWA=; b=hO0TiS2lB/6ssEq15N4EJ20fbqb4OLvG6SibmeaNmQOSfpb4G/s6EoiyAUBOBAqvF9 K2BJ9iautI3I5A9CxUJ6ckc2pB1uNnPFS/d/ocdnJd2HcI0hCxXvI9r7mSrzqD0tSy8M kpLTn6SmVS16/jllM6eRgWvQiUDG1sc5xBOIWrF3DJBQYZvdqsvKP96GP+ZVAONjyg2Z t8Lnv8qTtPTWuf3qqfgwzIlj6HYh4wr+ArH/JgaBLOV8MRsS5XhlReWGZL/BuXlArvRm hpgrWqV6cqko9rWPyQ+1nlkB2e5TZYKfdOpDHOAHGRM+xu0UUecn/kygM5vquRJIBlgO XeNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=maCrIHqR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2274-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2274-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j7-20020ae9c207000000b007814e1c733dsi16309404qkg.444.2024.01.19.09.57.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 09:57:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2274-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=maCrIHqR; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2274-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2274-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 3BB8F1C20B12 for ; Fri, 19 Jan 2024 17:57:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4038954BE2; Fri, 19 Jan 2024 17:57:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="maCrIHqR" 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 132AE4C3D4 for ; Fri, 19 Jan 2024 17:57:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705687057; cv=none; b=fjEDK8YcJyEKSU7oD6cMDSkDBPCC5FPLlWfICsjMppAwzLygW7RzCbhoo5ZbCCQ45wJXyVbv80fHY0bzamrySflxGuyq0igWtjf7jbWuZQiA0aLuwwgDJcMdao1seesGQh/pFApIw5wYdBEes6afxELSyUF3cqG+5ea6jK3jrvY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705687057; c=relaxed/simple; bh=glpfq4hbtmxDnxhNCbJl2gUxB9QM02op/pILNZ0Ylu4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=pO062g2vfucyyrpoIwsCUeVa7U4+4GtTLKenQYj76F3V2sUlv/UaUXWlJIHw6H+7kiqp0kPeRNkwCEtX9Mqv9UCqAZ+tExZU6qttTErAkAZ6XKXi8th8hBLifQy+aDyWswHaW8A6e7C8jrjbHFcQXPcGNYZYpkqvDJHovlKX0Ys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=maCrIHqR; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 712C0C433C7; Fri, 19 Jan 2024 17:57:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705687056; bh=glpfq4hbtmxDnxhNCbJl2gUxB9QM02op/pILNZ0Ylu4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=maCrIHqR24O988odrnn7jwbVzCa6G8tnsFuwBgPWbHbCfyGh6C7Wu5dId0x46WT7B geMVEnqref7lKhJfZIkSNhC3zFS/Jxa1c3QI73JIF2ofh0/nNNpmG4nA+6qCdw/x2b TiNAIk2Pa89/BDF/CUBs9Ph1Nsq8eJohS1YdPcsTppqtYUZ91v2UcLhdjzY6tZNNYV L0e5ZOYXJlM7SZ6TFQYkeUSGY2hl5j2u56GIbNhaVoX9AojLuF29FF2K/yTE+gc6y5 Mrwg6jlreWcu8Cogq41JV+zVCwQmVzfdHbjvAjzg48xVN1FQ4lvq+NLUNaDrcyfg2a HzbkVWTEPZdFg== From: Kalle Valo To: James Prestwood Cc: Baochen Qiang , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org 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> <87mstccmk6.fsf@kernel.org> <8734v4auc4.fsf@kernel.org> <285b84d0-229c-4c83-a7d6-4c3c23139597@quicinc.com> <4607fb37-8227-49a3-9e8c-10c9b117ec7b@gmail.com> <3d22a730-aee5-4f2a-9ddc-b4b5bd4d62fe@quicinc.com> <16cfd010-b62d-4385-92d1-002820a8db38@quicinc.com> <21e925bc-ee3e-4421-949b-b3839d2abdef@quicinc.com> <08457e37-49f4-4c51-998b-e577731c8022@gmail.com> Date: Fri, 19 Jan 2024 19:57:33 +0200 In-Reply-To: <08457e37-49f4-4c51-998b-e577731c8022@gmail.com> (James Prestwood's message of "Fri, 19 Jan 2024 09:52:19 -0800") Message-ID: <87o7dh2oky.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 James Prestwood writes: >> Sorry I should have made it clear: >> step1: start qemu and load ath11k without changing anything, then >> you get those errors; >> step2: keep qemu running and ath11k there, don't unload it. Then >> check lspci output in host to get the MSI vector. >> step3: Back in qemu, hard code MSI vector to the one you get in >> step2, then rebuild and reload ath11k. > > Thank you for the clarification, this worked like a charm! Very nice, huge thanks to Baochen for finding the workaround! James, let us know how it works for you in the long run. This would definitely help automating ath11k testing so I'm very interested about this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches