Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1152797rdb; Fri, 19 Jan 2024 09:40:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IHl55aD87vJqVkGtv8LodmZGbQL6MW+COuMWLSzweg0BTL48TfHoIStvTnS7PeKg/N/UeXz X-Received: by 2002:a50:fa85:0:b0:559:6ddc:50a9 with SMTP id w5-20020a50fa85000000b005596ddc50a9mr270186edr.15.1705686048901; Fri, 19 Jan 2024 09:40:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705686048; cv=pass; d=google.com; s=arc-20160816; b=s4Ybi90VOf2cDh0+TygxPHXSdATlVGEQO1gE9hRdZ1R2mjxF0iH60+87Sxxe+x+rJo CtS1AD/lUkpaP8cVbf0tA2KzBeQwK3P4mushfti8ES7WrvHYLg7khaBmPDXAK6AsE90V Hmr4tuPv+1kDFzTqT1/goZ1Z6tvVARkqrpkG9LLHWa6tzc3vE5AFTvgO7Ah167pSDM9g 84rZl1sHYlhKEUznop3XlQO7bKTIlyAmRLw7Ia43vnnRhXFg7s6dFIx0NlM3lB926zl6 UgAgN+/bHVzoU3KcUkgEeDHrvV6/cp3l1hWs7/AjUpnPki1vkVzSrBW9oKfaBXFcI1ZD wYUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=BQ5PYkT4RKUrwX7YB4vCY9uAiA4MuDuGqi1ElflzC5M=; fh=q0pWxAdL0cyDcfHi0eFkTCBsBNeBmItsjEnoI8WnNeM=; b=x8haQSMb5y9Oq/OGnp8fn/h9pkYE/GCc9vXO0xRAyqbAeNZI6t5ldbgu81lXugN69T L+e0tJGIW+qq2MD00EUBYN86mzDJU2zntvxaaUDwenoYl8cnQOPKgqdzjj6IOs/mqwzS buoa2M3K5ajGFWindeFhFqQnwO+e1LLXGyC93GMsxTk+k+2/ju0n3DibpdSBjERBeu3H 01FTojLkei3GSN8YJxh6obL93qpW7nRSXGl7mcMT6Bdx6PFhJNWKk0s1Mps5ppSSSuEy m5JPEYJzVzDbMkP2dzb3pupfmL8MhxcbSb6rAWNoGUTz1iVfzILd1NaQz6YyndsdjjeG S7Aw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mPrpfTnx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2270-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2270-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 fg12-20020a056402548c00b005589cfba52asi8463116edb.194.2024.01.19.09.40.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 09:40:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2270-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=mPrpfTnx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2270-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2270-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 9F1AA1F24FA3 for ; Fri, 19 Jan 2024 17:40:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCA4755E66; Fri, 19 Jan 2024 17:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mPrpfTnx" 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 97D6055E5D for ; Fri, 19 Jan 2024 17:40:44 +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=1705686044; cv=none; b=sMVknKm6pOw2wzmhMW//wXOki8XAz0Nu/5BJWBaBahUEYx8JWaYQtfQhfz/BbRV9Stpl6GvUWrMAdLnEmBVjkv3+HQZH9MyGvZKJAwGvSDnngXFtS39+vAtlQs/FpvzS8QjsY8estdTDqVQpEhwZdKZrQ8pEqRbpC0UyTjTlQ4I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705686044; c=relaxed/simple; bh=9ZC5lpAq+brLDF9QYvgZJodAtrcRqMAVlasT0Wxje4g=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=oKmqgmfbbkH/t3XcZ8Z/Zlr6MDHh57v9NKsAsdi4smM75eEv/l2Df+eEpNhhC4+1o41WnQyXpKFo/zHkwnwrmj6XvahWEFRNIyzeudq+qHChBDD8kjerkfy7xIfh2DdvEuEhS6EE6RzoSYTIW1IMDsOpcO11VsSTP1Keh47RiX0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mPrpfTnx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1EDA4C433F1; Fri, 19 Jan 2024 17:40:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705686044; bh=9ZC5lpAq+brLDF9QYvgZJodAtrcRqMAVlasT0Wxje4g=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=mPrpfTnxTa2gdl00xoW4NfwBCP1Tlq463XSwhCmZ67K+e8sSHMNYQH6lrK6xjH0qu M68JN7BpA9IUghZCQ3VnSuTAdwmGq2T4CqER0ISE/SKWB3Hx+N9UqFZIcjASGBefNV pc4IJnw0Ly77mAGf5bXpgNE251di6mC5P7J3XZ2HFAkzEvkX049rFWn5T1h8vkoQet /xWGXT31Buaaus6NEB8doG4xwjMQOR9YmrOQwjGaAmk1z4QzehF3qvjveWulDawn5b OYDNp1HhJgxxwpAHbQS2grzr8f6fDvLM6BvsGClZmHTDHdpz9kz4Rwooh4LlI7qECh dcTEtLBHwb4QQ== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH] wifi: ath12k: add support for collecting firmware log From: Kalle Valo In-Reply-To: <20240115023726.2866-1-quic_bqiang@quicinc.com> References: <20240115023726.2866-1-quic_bqiang@quicinc.com> To: Baochen Qiang Cc: , , User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170568604129.3232677.2722276055685320027.kvalo@kernel.org> Date: Fri, 19 Jan 2024 17:40:42 +0000 (UTC) Baochen Qiang wrote: > Currently there is no way to collect firmware log because firmware > does not send it to host. Also host does not handle WMI_DIAG_EVENTID > which is used by firmware to upload firmware log. > > So add support for it by firstly enabling firmware log upload via a > QMI message, and secondly processing WMI DIAG event to expose it to > userspace via trace event. > > This change applies to both WCN7850 and QCN9274. > > Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4 > > Signed-off-by: Baochen Qiang > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 9f9df1a2535f wifi: ath12k: add support for collecting firmware log -- https://patchwork.kernel.org/project/linux-wireless/patch/20240115023726.2866-1-quic_bqiang@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches