Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2075317lqo; Mon, 13 May 2024 07:16:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUUrW11vNtc4GqDG+pQPp4RLeVASvvWF7Do2cWvJ5l0fc0C+foJjYYCP0G8SLx2kUNKJjljRKuBq3TeCXeRwdH8vwnDYlFR+R8pqUD5wg== X-Google-Smtp-Source: AGHT+IFy63lYF2IabxlN7Cm3CiXzG2GQN3wUq4TPSTcBKEVepZONwL+FyA4H+GjxXGe5jYYfIsol X-Received: by 2002:a05:6512:3a8f:b0:51e:876d:17d0 with SMTP id 2adb3069b0e04-5221016b5dcmr10882111e87.52.1715609768926; Mon, 13 May 2024 07:16:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715609768; cv=pass; d=google.com; s=arc-20160816; b=zc9vkpRk43V2K/vKiZy0NA1QJhysrx+rNh4kKzS/ZoKx5E4hBhQVLpDQf5BS8ZlKXR WLMzFEJqIReEpK36/EhMYso03g0EwKOR7i+4e2aLeCT5zRYFyEWbDjGsT9OvAEs7E+93 w8+mrnVaCefyWx8M6Qn2h03cbJlyIO4SmcAKATt2TRifbN+ZGFY2SdcRB9dOf/f6EPy4 auMhiV0MleSWpxUhj35IFtCyhahIFjoxddrE6kAkmr8ZCJH8sVxUc0L8IsbDbF6M75xX 7/ExFIeZ4cBoAm3//lHmrs3Vdi3bShe2axKNvSNvYgZF3qQYeQ2sN8p2z3fxley6/Yaj g+qg== 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=jB84jq3Crj6axci5gs8xEI1E2bZQv9Fgj6RlYg17wys=; fh=meQTDW0V07wQT0v7yvVjV2Aeo+n5F2pPc7UQlpygnF8=; b=Oj1BN+sFJ1osa+22sOYE96BFsNm3UR9aTs+zSKt/xWmTCg9qwgim3hlZhyY004c1ho Y84AVEjdmJG1OzRPgmRPjGRPBYMjFB2R9Jl6u7YQQttno60sYL4nk0ObV08kwUdKj2Ko 6rk74PPEBont2tgkhgTyFXJxmuvOiVEWZGL1RjFFgj+Ms76inKNL4kFYMFUNPvYp8ghw vag1AmTWQzX8N0HK87kgv2EUl7dtuTx662L00crwIhbRS2w2TJo8D+I5+sY7IVRUcqVo 02TEDBJJPJI0OaF6xxtLFznZJbEsXZ5ezAW+AHEbHSayGvtXTA4njr5Oc+ISEPFIXZKb FrKg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DNmtCVJw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7596-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7596-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 4fb4d7f45d1cf-574b3cf219asi2658779a12.515.2024.05.13.07.16.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:16:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7596-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=DNmtCVJw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-7596-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7596-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 A33651F2164D for ; Mon, 13 May 2024 14:16:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 40663153803; Mon, 13 May 2024 14:16:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DNmtCVJw" 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 1266350279; Mon, 13 May 2024 14:16:04 +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=1715609765; cv=none; b=oZMjnp1LcdFhMjhc01/T/vG3UXoOLHEdVk6bEKO+07sB9W6aZpub21QILLg84j+jQqdWhG/6AKXt0c9gujDCjcIXxRFSzXiQr2+FnMT/6ZbbZa0/GcYV5aWLvN8I9nOBcMwR/ww4Es3ilTYlC2U64Z4nXeUd9dWMOaUr3wS4z00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715609765; c=relaxed/simple; bh=ztDLgSBwpXs1XqFtFOt86T1h2DMz/XQmvsHWKSx1FeM=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=qH3IfW0t/e68Mfr+US5q7Zjow8q0Qi9wcQzEn5V7cEPxjschRGGLuplNHY4IJE2dMVX++RbFNSWle5UkqcUop2q3iz+bRMnfc5N88nyTkIOK29jycLNBiuVkSdYRL3aPF9hVMi9hFpVOGUzATxfC6SEcaz7LBrE3Ahvsli2Z+d0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DNmtCVJw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C2D4C32781; Mon, 13 May 2024 14:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715609764; bh=ztDLgSBwpXs1XqFtFOt86T1h2DMz/XQmvsHWKSx1FeM=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=DNmtCVJwPDEsfWvcPiiLOyHBC4Rmy3N3hPBcJgLbFVdGL8tHpmNpfu4Vbqle0QPY4 PsFmfqWo0euv1DYfjyazS7BPjAgu2LTVgezqGPm9PxM7e0esVeZqPW7t+v6T93jjh+ oLp/uW4uSLL1EqSJvj66pxuE+tM1rIPn1thedJosCmoambJFEWpeKmB0BwLKxxxN1o BFiIuyhP0Mmr5KCKhLM7KXupG3G7/QIeb6U1p0wxqNaetUNsFDNkd9ZSNwR+7tDXwX g40rXpANPwJFhlLLJbNdWUtZt88PHFvjJDLpgwPj3gv6RlI/Gf62diIjizSch2FHXZ nPSCPQ1o9+U1Q== 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] dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop From: Kalle Valo In-Reply-To: <54ac2295-36b4-49fc-9583-a10db8d9d5d6@freebox.fr> References: <54ac2295-36b4-49fc-9583-a10db8d9d5d6@freebox.fr> To: Marc Gonzalez Cc: Jeff Johnson , ath10k , wireless , DT , MSM , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson , Arnaud Vrac , Bjorn Andersson , Konrad Dybcio , Jami Kettunen , Jeffrey Hugo , Dmitry Baryshkov , Alexey Minnekhanov User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <171560975908.1690511.498631481702370762.kvalo@kernel.org> Date: Mon, 13 May 2024 14:16:00 +0000 (UTC) Marc Gonzalez wrote: > The ath10k driver waits for an "MSA_READY" indicator > to complete initialization. If the indicator is not > received, then the device remains unusable. > > cf. ath10k_qmi_driver_event_work() > > Several msm8998-based devices are affected by this issue. > Oddly, it seems safe to NOT wait for the indicator, and > proceed immediately when QMI_EVENT_SERVER_ARRIVE. > > Jeff Johnson wrote: > > The feedback I received was "it might be ok to change all ath10k qmi > to skip waiting for msa_ready", and it was pointed out that ath11k > (and ath12k) do not wait for it. > > However with so many deployed devices, "might be ok" isn't a strong > argument for changing the default behavior. > > Kalle Valo first suggested setting a bit in firmware-5.bin to trigger > work-around in the driver. However, firmware-5.bin is parsed too late. > So we are stuck with a DT property. > > Signed-off-by: Marc Gonzalez > Reviewed-by: Bjorn Andersson > Acked-by: Jeff Johnson > Acked-by: Rob Herring (Arm) > Signed-off-by: Kalle Valo 2 patches applied to ath-next branch of ath.git, thanks. 71b6e321e302 dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop 6d67d18014a8 wifi: ath10k: do not always wait for MSA_READY indicator -- https://patchwork.kernel.org/project/linux-wireless/patch/54ac2295-36b4-49fc-9583-a10db8d9d5d6@freebox.fr/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches