Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1163527rdb; Fri, 19 Jan 2024 10:01:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzUUQAbvXmuEH6cLWHe6GYi3Nckexzgm4qqWQHot8bEvTsbxLn9wbj9nWCO35Giu7JhjnC X-Received: by 2002:a17:902:a604:b0:1d5:3ea9:2adc with SMTP id u4-20020a170902a60400b001d53ea92adcmr267142plq.23.1705687312126; Fri, 19 Jan 2024 10:01:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705687312; cv=pass; d=google.com; s=arc-20160816; b=QD4DFxNl0eayRRomLNWDcT9kkk1VI17BxRq0jIIvk9ka+hzjuWTTmSnblj/+JRiyIR +wx4FnhOfqQYkdfRwvgjJoeFeIUGVxbXXEu0UEqIT5dmFB1zZfFGCvsvR4u8ZYE4/8fT wuMeIzBsTbj0EtlIqoJIEXW6ZC+QO/hvBhUpdJbhsryHjOwtcFaGoB4q/Oh+qK0hvUQ0 Ts2oXXGetPCrkTUcsS0LUFwfW3j/+loCo1N0n8Y9ZzozPRYOqWClHISX0UXHdVpdO4wc Mph2Xp39zJ3HUQqFolM/+qvAIdkqTpBM2yMU51v3P7GOkVW2+ZGznFLICPnmQhpy698N AquA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=x3T3+O1LvQHPEPgo9aRY8T8pOACNC7+ZPEmXJOsVZh0=; fh=Gw0ExhKU6xSgNBcMyiX8Vb8UHYxXbOOmWgGuSHS+5QI=; b=CMY/YEA8bmrCEAT4ZDb1yFDIRLic1YMh7KhWtTOVPoFEVxl/cwtlpoNNdjSk8oXQcV MJpkfbYOAyUNdlAM6fL1pNNBilQ5kegMTqDDX1f7o9sjle5q5tiXWC8g31DqyLhdxOCD NtftK0uxo4JCsrlaH8c7Za4X2/iQcewJcQ37yUCQPupemhWj1FlhUtMu7/rU3KMAtWAh NGU+NrYYoYhsRIJuzEw0z8uAkmHItSgB98RVgikpbpmyEzeSPMrTVQ2Yra6ex7DDXcJ1 Ez+kkR6dWODPGjxtxh+OdVTp9vkSo4CZnfXV4lgAv4hQ1C/kj7IonNm66/auVLMqo10T DP5w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Cc6d1e3Y; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-2273-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2273-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id e2-20020a170902744200b001d4ca2fcc4asi3670401plt.291.2024.01.19.10.01.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 10:01:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2273-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=@gmail.com header.s=20230601 header.b=Cc6d1e3Y; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-wireless+bounces-2273-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2273-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 A19DE2894CC for ; Fri, 19 Jan 2024 17:52:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E7F154BE2; Fri, 19 Jan 2024 17:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Cc6d1e3Y" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (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 3091F1E87C for ; Fri, 19 Jan 2024 17:52:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705686744; cv=none; b=TgJ4A/QGf0mryIJwbVMsKuwNRltqqpBsB3WrTxBlyiH5COXybjNINGfjZsbvby8hTl7+NMqcF14Uv62Spu4jGEvbqxWt4jwJS1eeEl0tLUG1tsa72vFIQ5w89iAvYieWuqZdgFM2R/1Ah29WHdpfVtbSWGVaGmfr8U8P78w9xOU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705686744; c=relaxed/simple; bh=xAz598ahmniymYjBSqo/OHOLGvdMfrCdpHhX0q8oMeA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ES0gpxAZk6WVJsEGrLNtZE3c+l07ZB6p0gnF1kdgX9bTRzaEbm8EBKNoW9nxFgXn2dh9OcuVVbmC/hhgQAQL5J4Kbju/b4ssYrq5P+vwtanlGH/Ai/zeF6pYaMCgr9qXnm04WI9TAuuc5grJbHE9mEi9f1lVEBtjKSkHAqtYw18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Cc6d1e3Y; arc=none smtp.client-ip=209.85.166.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-7bed9c7d33fso35386839f.1 for ; Fri, 19 Jan 2024 09:52:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705686742; x=1706291542; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=x3T3+O1LvQHPEPgo9aRY8T8pOACNC7+ZPEmXJOsVZh0=; b=Cc6d1e3YOZvQLk8z8/Og5QqE2E6iW9ZBx97RqBXOsj7nJq36Tu3xIpSBaHYhDnGVis xIr3c0VDixK3mWDiJppIfPaK2CqWgekx/fLd7F/l2P2h6iqcXt2rzjrKTyi+7BmPcnvK 9H6V77bGKf7uoPyRsh2/It/l1K8Sz9PAXj16OKATZzzzLAdDgI/SHArD0yj/Wic0nHxL Au3mmsAHJAxtEbgfo0GocJULi01sibTnFyoLFU0ofmPCahl52b15yhuf/znkusxAeXcX /x4MfdOyaDBFnc7IcbpVFgbS5Yp5j/CpCblsJFcMLutTfoiEVV7hdrohGKRhAbmx4ixH PN3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705686742; x=1706291542; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=x3T3+O1LvQHPEPgo9aRY8T8pOACNC7+ZPEmXJOsVZh0=; b=qV7QEoEK5B3+CnhCTHxSvgx3HVXcJ6GO9wszjMuV064RgPSS/GkGwy1xjT4uMytwyY 74WNdnNHDcGlc5+pwBiF42onGl8OlVGP8OSxGKxvYf9oYilvG6DVauHotxjKOLUCuvxW XLimej4gGjM0M2s7nYKhEsaJfugnqVZkBQd4yOdU1sG0ihk1JZzcodNN/6jSz7LlLtP9 7Z5+DsCpYJu4aKMSBOW9gHeTQKJAPSaLo7yntXjK0P0lJShSSJj604SFl5fX+TM6eJ1s S01rwdu3Tm9ZPTNTiHzVsV+kPLZPTXaexBREGOpEuLZAZRoTcdxHDmNT0LyOKLZUh1ry eQYg== X-Gm-Message-State: AOJu0YyKwBDPGeZzEOW5kexc7Sen2pMLHfXKfWfFpKekeMl3GLBPSltK 3yKTBUqV7OEw3eXEuC0tu+pPDr0ez6c4wIeGiLuvpB7ce0iAWTwiSPtIPr38 X-Received: by 2002:a05:6602:258b:b0:7bf:31bc:50a5 with SMTP id p11-20020a056602258b00b007bf31bc50a5mr61469ioo.22.1705686742182; Fri, 19 Jan 2024 09:52:22 -0800 (PST) Received: from [10.100.20.9] ([50.225.159.98]) by smtp.gmail.com with ESMTPSA id u19-20020a02aa93000000b0046ec7716dd9sm376690jai.119.2024.01.19.09.52.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jan 2024 09:52:21 -0800 (PST) Message-ID: <08457e37-49f4-4c51-998b-e577731c8022@gmail.com> Date: Fri, 19 Jan 2024 09:52:19 -0800 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: ath11k and vfio-pci support Content-Language: en-US To: Baochen Qiang , Kalle Valo Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org 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> From: James Prestwood In-Reply-To: <21e925bc-ee3e-4421-949b-b3839d2abdef@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Baochen, I guess you got this output when qemu/ath11k is not running, either qemu not started or ath11k module not loaded, right? Since MSI is not enabled in this output. > > 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! Thanks, James