Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2080852lqa; Tue, 30 Apr 2024 07:43:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGtlFSJ96mswJ8d7DH/yYjldwmO5Ep8NZ9roPjMrkYYRdZmLaXBl/YtDSLz6N85z9tImZEn4f/gOJVUxbbIXjU3Fo74e3DhKfTJ/IWvA== X-Google-Smtp-Source: AGHT+IEYU3KahwN9sEg4SU1Kr1VUMtk0keY7arM3y21Kte8UKWnkBJBKT6IHK3gTF7rUKRfIoI+J X-Received: by 2002:a05:6214:124:b0:6a0:a98a:4881 with SMTP id w4-20020a056214012400b006a0a98a4881mr10688508qvs.21.1714488217317; Tue, 30 Apr 2024 07:43:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714488217; cv=pass; d=google.com; s=arc-20160816; b=zflZrmXMVoOEZ9c2dpQJ0NHXfIKP6jCgipwzhN7hnZpJvyY7e1vV/4d8Ma/aHw5r7D 1jiTyDe3BG5QgO6s5Jiq1HaSmF2J+/OvNQDDJ775gjgTUgSZabL8iskVanhDWvJUlTbE wMWpS42CO814g8mhNR6iw0AERCnFsnLHJ/q+Qy3trsC0xUYK3KrN+8PjSyQRThNTVRqx OA1MHl5JXa8bbR2J+rkdIeThNK7I4Vgl1Axs8LCE/wx5X14g0LJz0onaj2tSssUqAvCh YXRkBtvAzgJeXd3VTt4zKjmoJ3og5GWmOg9eI/LnFKQB7PWo+a46drIV8vfJOctYxZYA +vTQ== 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=xRmTvtPx6sCG/uARUIsnlYBSKLHeX9cIeBWJC2FBX4M=; fh=+JQ8O3U207/j7SClrNuevrxstUGbZN+N81KHU1V0hBQ=; b=W9QoXACaM1MYd8PC4uHo0mjgW5yqS6U69Hp2ISjHbnzUu02ek8ueawl4zD/dx/47W0 vkgac8VGRAx/mXuQikwAzVVETtZPAQRWFWKCOqma2vzE4NlV07Pofvk2chXCopt1Yise srqQVVsAjHrctYnq+rUJHqrJAKVVJxdPVfZEoaOpp40H7qWJp/CV+is1N7KzsUFXO/sc b5kX7F9Iq0Z+PL7sjHSRssmQI3BWbW8qgZd/vQlldNnJc3Y5a1WraC5l/JCgGJEsHVL2 3mMHKoCw4zEr8SVxy2TMYdax3SXq72GL8D80MXQwk4HlzbrAtKIj6+6iIxjeyBQde4cn umlg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TJMZu+7n; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-7051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id iw11-20020a0562140f2b00b006a0d705c503si3169393qvb.523.2024.04.30.07.43.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:43:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=TJMZu+7n; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-wireless+bounces-7051-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7051-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id A39231C222B4 for ; Tue, 30 Apr 2024 14:43:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A3BE1176FB2; Tue, 30 Apr 2024 14:39:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="TJMZu+7n" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 2D46017555C; Tue, 30 Apr 2024 14:39:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714487993; cv=none; b=EnYZHL7Urlvi6ovq2fTh9tkOC/E4R1nnL2cBs524/aKPq5V+pzFK26sGlWV8DinQFSu9WlFqG0QldGgEDdHCI2sTM4X8OOMFD7IM0WotDMc8JNIf/qcTg5fXbxD5Qs13ZkBuIIbbeQXBvySnLTfb2+QqF5RrDeEvLZ+FJIaH0iQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714487993; c=relaxed/simple; bh=gqkY2QFAlC0+b/I0lNB+iDtQckNA/CV5PcO13hRdINw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=VvaOu5SGBgqcaKzw3eVOpI16sySPCcIIkYGazGhoheRuM4d5wi6DBeZQvXIlEoGwestamvGXPTWilEEBOqIs1ByYACcaarsfRA1it9N0cFZJR8ABxsXFWu0NAxrtLmn/AX+SnbZ+1GZreUH6z2bI+cGLn95Fyc1SJqnfKBstB4E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=TJMZu+7n; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43U7B9oS031377; Tue, 30 Apr 2024 14:39:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=xRmTvtPx6sCG/uARUIsnlYBSKLHeX9cIeBWJC2FBX4M=; b=TJ MZu+7nkGRZex2qIubmsqiLkha9m4nBLsN2xAe83y7TuJc+Cb3WUfhsIMBOHE65qF n7xECvV5X4KrZOexRiadspBj6Vb/YNNOzPkEYv+Ei1gdufZ1Vw4wGSsTJINm2JE+ vLdv/gyB/GjBHrm17ezGhzmN4Wx26Ls0CHg6yyUZf4TuRNWQQk/ZxCrXvx3SkIg9 hFc5cLq1ZLr7mFvTNj1/kA6aOd15IOmnA71OzJ2jEecCF+T91+rTnovF4ii9zfym 95iLabFkOw4t86GFxDLiLrMMvDYCEUtqBmw4uyzDARzGYjeJ1hQwWIPx7DwUxxeH 1zvK0xkfXrEPgBQLVdYw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xtv1hs433-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:39:36 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43UEdZou008329 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 14:39:35 GMT Received: from [10.110.13.147] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 30 Apr 2024 07:39:34 -0700 Message-ID: <17aa40b0-2e18-41f0-bfb3-b3c7e098ff75@quicinc.com> Date: Tue, 30 Apr 2024 07:39:33 -0700 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: [PATCH v3 1/3] dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop Content-Language: en-US To: Marc Gonzalez , Kalle Valo , ath10k CC: 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 References: <54ac2295-36b4-49fc-9583-a10db8d9d5d6@freebox.fr> From: Jeff Johnson In-Reply-To: <54ac2295-36b4-49fc-9583-a10db8d9d5d6@freebox.fr> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: TcCmJlj1I7Tv5Qt7qJfaw6fB1_k7K08E X-Proofpoint-ORIG-GUID: TcCmJlj1I7Tv5Qt7qJfaw6fB1_k7K08E X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-30_08,2024-04-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 adultscore=0 spamscore=0 clxscore=1011 suspectscore=0 impostorscore=0 phishscore=0 bulkscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404300103 On 4/29/2024 7:04 AM, 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: Pierre-Hugues Husson > Signed-off-by: Marc Gonzalez > --- > Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml > index 9b3ef4bc37325..9070a41f7fc07 100644 > --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml > +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml > @@ -122,6 +122,11 @@ properties: > Whether to skip executing an SCM call that reassigns the memory > region ownership. > > + qcom,no-msa-ready-indicator: > + type: boolean > + description: > + Don't wait for MSA_READY indicator to complete init. > + > qcom,smem-states: > $ref: /schemas/types.yaml#/definitions/phandle-array > description: State bits used by the AP to signal the WLAN Q6. with SOB cleaned up: Acked-by: Jeff Johnson