Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1767575lqm; Fri, 3 May 2024 06:12:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVFB1e2Ouc08PxOH4leN/uVRkqxwRAYFqRzf7CuP0Qz7Adjf+HlxLb5EQMc1AWFOLSMoqQ7wtE/wI3tFp1xs6wYB542vJWGtneZUsFSXA== X-Google-Smtp-Source: AGHT+IH7XbyHjcz/l3kJZLB0lzD+OFsgJF6HWCbqKd8GM2Dmtq4LA1tzOt9KlE8GKDOlqJjV6B+5 X-Received: by 2002:a50:99d4:0:b0:56f:e71b:74e3 with SMTP id n20-20020a5099d4000000b0056fe71b74e3mr1663692edb.39.1714741956709; Fri, 03 May 2024 06:12:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714741956; cv=pass; d=google.com; s=arc-20160816; b=WoSB21jQd//p0oyKNRRqYdSa/q3ZS9c6FGUTLJmX00MEadsaD6be2OKO+g/Lsx6VO+ +uIRTJKO9bIIeSvOtyODxo1hECqydOVCH0t34M7wn78FTWC689PPjaal9n6MrH5tAvwp 1fAfvjPjDn55n/uruG14E8UX6x6Np518Vn6KygP0FXxGjzrs4noqbyLBVxO8YgS8ynkh q9gm6NTQMaaq0nMnigBBp6tXo7bQqKR1CiTCE56j6rTw8/2pZntVgySONFof16a1Hd0c knSeY0Vj8I1Iirv7XBdjWayD3cx50kTDS7tox6oYSJWJpE9Hz2QqSwpeA3SPewQvBRE/ PSrQ== 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=O34z7L5eMFrdmzHn36eQcMVr8C3BjMC98zV26gr1ifo=; fh=029kuYAq1hc6mF1SMOQ2x0i7+BRmAYgL/pzlnEU+puQ=; b=n5VZx8pQoDs1DGHquRnAQK62Qz36Dq4QRIQmgUelKKmF2tniyD136AqTiXN76vRD0r RpoR1C9WhV82l1Jy7rB4FdJ+BYKfoeWbdYzsPl4oLLTDfLxUKDnVhNSidqwqctUcOqBL YASYFPqG/uYC+09yJdNwes5TcQvpC4dBd9VlcQ/u/AgxLl5xunvGt9zaGfd1f/9cBnih 8yshbtbqs+qV5CcK/ZN/f+sfU8DFTDVRmca/UP6oZpc+ui588vH5t0NAD15P+49pVPwy glXBspKC1iFU99i0sIdxqTAYJ58lr34DcqBaJ+QQxC0pJx8MfItNmb5I6+vUbsgsqZOj D1cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DBqI4fqa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7145-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. [147.75.80.249]) by mx.google.com with ESMTPS id y12-20020a50e60c000000b0056c07b4ac22si1520707edm.58.2024.05.03.06.12.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 06:12:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DBqI4fqa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7145-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7145-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 679221F219FD for ; Fri, 3 May 2024 13:12:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B4925153575; Fri, 3 May 2024 13:12:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DBqI4fqa" 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 90C391514E4 for ; Fri, 3 May 2024 13:12:32 +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=1714741952; cv=none; b=dym2DZYU0Hd5Jf/dsj0t525umLtMShJgrp0Nb9yyey8hoXQyItKOd0v2RoDLZlY1CquRfmOXVAbegCw/B1gzYIguF/T4DZ5BCKBbjibouEa7ZV6u24NrcOVo0hrXk9muZxHBM/hRj4t2UNqtl/Yx6f7dEDGS8pVxPnFl8zyQNcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714741952; c=relaxed/simple; bh=jBar2W6RBh1+V35XaFhWDL8yZRs0q9RXTXHdlT0dLZc=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=cDYzevMvIqkqwqbtSW8i7MA4p0mk9wYIKyZViiGrewTxMp80Q0R3JfZ8NqB1VdvaMv9T9EzGrBRGRMC1N1otPCdLVQf0q+/qAH52dNGbD0vDwWNi5KTE4EWsYQ1z2Mj2EDhZqFwOyWWvD24qEKwisQZmg5Beg2c0FAhHJp+Kvd4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DBqI4fqa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 787ECC116B1; Fri, 3 May 2024 13:12:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714741952; bh=jBar2W6RBh1+V35XaFhWDL8yZRs0q9RXTXHdlT0dLZc=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=DBqI4fqa7jYGNW0KwMMfbO9a7KR1ELmYvkUEtzfj67AAbFcuY1DKWS10tNz2vCi0/ pdkEqlAFhsz8FyYkR3FCWctALv2f09Ofw6Cwy+PAzQ+EvF9YDvg8PS+DS9Y0Ou/DfO zb8aD/eitwXiGljtvCDisMfrQtJV7Jsm9kxj2j/h86eQzstK43I+hwQE0aK8KDuk6h PDBtBiYs/zC75N2HMC1IgMN6ofEjAPGWg/J2zk7s6RAT6GB8ZkIWsw2CbzHin/z49w UhWx5g7F9HM6hyT74alA7T8Fi4XFwkLp0TkhxVFdjNZCLcuzhwmKg+5RlP/6EFW3Xw ImggDibAOGCJQ== 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 v3 1/3] wifi: ath12k: Refactor the hardware recovery procedure From: Kalle Valo In-Reply-To: <20240425090307.3233434-2-quic_periyasa@quicinc.com> References: <20240425090307.3233434-2-quic_periyasa@quicinc.com> To: Karthikeyan Periyasamy Cc: , , Karthikeyan Periyasamy User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171474194939.1512332.8024949318765059348.kvalo@kernel.org> Date: Fri, 3 May 2024 13:12:31 +0000 (UTC) Karthikeyan Periyasamy wrote: > Currently, in multi-wiphy models, the recovery handler access mac80211 > HW from the radio/link structure. This will be incorrect for single wiphy > model, as they will hold multiple link/radio structures. To fix this, > access mac80211 HW based on the number of hardware in the SoC/chip. This > approach makes the recovery handler compatible with both multi wiphy and > single wiphy models. > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Karthikeyan Periyasamy > Acked-by: Jeff Johnson > Signed-off-by: Kalle Valo 3 patches applied to ath-next branch of ath.git, thanks. ecd509b6f263 wifi: ath12k: Refactor the hardware recovery procedure 9b4e5caaf590 wifi: ath12k: Refactor the hardware state acaa84009fad wifi: ath12k: Add lock to protect the hardware state -- https://patchwork.kernel.org/project/linux-wireless/patch/20240425090307.3233434-2-quic_periyasa@quicinc.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches