Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1744754lqa; Mon, 29 Apr 2024 19:19:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMwjC5kpWTAwvsqJaPraJEz+Nm2lqSzCgYk1JO+F1lJM1J14SQOhkzgqLvVLarGIGwLyNVrbd28R0MxRg8eeP6Esr1+3AIMchXpl3Hgg== X-Google-Smtp-Source: AGHT+IEDo/Jhi6DS6NvxoE3eIp0FmJl+0e7KRCh3IfvR9GpJnxb4VYO34z7iMVo2q/XODTfm1S4U X-Received: by 2002:a05:690c:6a03:b0:61a:cde6:6542 with SMTP id ih3-20020a05690c6a0300b0061acde66542mr12293475ywb.16.1714443554393; Mon, 29 Apr 2024 19:19:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714443554; cv=pass; d=google.com; s=arc-20160816; b=cwbNBbsRA2jNBMy18iJ7C/xsyKtCE2YCk82GBh4eA2Odnn+F2L5csOwquK4QAf4Lm9 hv2QF/v8lPBdXEY6LYc5xsXEuR9sKtsCx3GVAIpDNlQ4uD6COYhC/29xJQgRiyubh3yu pSnEPwUAFv1n3S0QBeZeCpp5uka7SlYp+UA7k/TyYQM8PkMUS9tydwh4CwZz4uMfjfs4 qLSvtBNeqX1XaCkk/NMcBqWEdxMonjrh3g+HF02MJn79ZhMdqLVmRYT48lerXY8MjgQv 7md/Yx/ehcPoYQlDWWcJHK1KbRDRH5KyMHd/qJ4L5qjbV8o+AvPOryoAPOVZFm5rQcxA SEww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4CllrCgnnFB2Wr4UN0fdYd/y9OMoKqDaEtt4RXkUtBY=; fh=ZyxqWbm8O2toRFVkbsLvoll4NmNVvAmFEkNWd/a/DCw=; b=wCvjLuZSDIPfL6wxCjQ/iIIR/jDem+ExpqhG9CQ1JoqeiMm6UR9xYlLo2FXHbuIGxI 7avaKYz/KdYS8jygb17l0LCNoLtwhYdBgzNmsUVDToPsTMnkqB6y4E/4L5MfgzHevtK4 p+6BiA/ZLphbZ6DPJ1iF72+18JYo210c4aRKKOt3VvLqxMwtb6bGSF5yj/la17UV3kgy saxIu5cgtoSCl4J/DcmJc/hVhm8bbNxF/VrFpGJ01+OEaAcqk2baCc2jeCD2p/JSenw5 t6R9Seof4joGMskPcYDRtORimeCVPt64jc4GN2lzssIuO82kp7aIfCvk8TwwQ7SjNYdB sdMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iML3sVke; 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-7019-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id by31-20020a056a02059f00b00613ba9e312esi2929717pgb.100.2024.04.29.19.19.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 19:19:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-7019-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=@quicinc.com header.s=qcppdkim1 header.b=iML3sVke; 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-7019-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-7019-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B6C0A281AC3 for ; Tue, 30 Apr 2024 02:19:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C2EC98C10; Tue, 30 Apr 2024 02:19:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="iML3sVke" X-Original-To: linux-wireless@vger.kernel.org Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 514261C33; Tue, 30 Apr 2024 02:19:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714443549; cv=none; b=UgXmLcD9QAvHXCZN16mBPeHIiPU/TliBdSvD9PxxEn/S0Pk+SGG+CqR9AwPbVBHbxA+mn2j7f0Z4GinHPdB32gEi4yPM//5wHmzBn5gcsdHk2Q6mhV9yuS9ZNV9J7gYlFLIXMK86G/mO54URY7XOiLS/g4It2QGAPAZ5U34Rg48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714443549; c=relaxed/simple; bh=Z7K0gOXFRxt3LwB2Y7bmrDi+yGHhiUXJA33b4WlHP5I=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=B5vdZp6zotXffXphBRmbizDnQa7gS8kAaW/Q6TYZFIfG+2JUvyLPTKuid43eGKPXeXYGy5Pku/sq1KpIyRUlD5SB68xvgP5WaFL1GFzU8dnaw63U9xebUHsFKUk/OUruAQ4n11fkcu/ojtJ1xInCgkwEHK9MD3lrPkY27U0ljwU= 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=iML3sVke; arc=none smtp.client-ip=205.220.180.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 (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 43U28gUO025662; Tue, 30 Apr 2024 02:18:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=qcppdkim1; bh=4CllrCgnnFB2Wr4UN0fdY d/y9OMoKqDaEtt4RXkUtBY=; b=iML3sVkeDd+7ObHktgmy4sHyMiR/aPJyKaFES okXBz1bc8g/W7X45l1Pq34qXsGli/VlBVFfERsEg9YUWz0iKy36GE+Qs7gpevLTD WdePWsdwyEG6b24ECKUBSeakOxszRZHPJPaXhFwApYO3dVICfFbAFuO/eUH70ZLA 1+g+HzDl3AvGb3qWs9zKBIoJ3iF/MxLuXAT4SGxHUjYJ/l2/d+tilge5Wq3nwk6c jAP3m9MndE7irpRo0JzdbftDIudlO85eXEAKxREA+YemLZVYk4/cpLUwebt3HsAn 86d661YyGZ9sGmW2jcfr6vqa/zuaqBERWyQu2HGcSZ0ISq0TA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3xtqkr8102-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 02:18:57 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 43U2ItiO002112 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Apr 2024 02:18:55 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 29 Apr 2024 19:18:55 -0700 Date: Mon, 29 Apr 2024 19:18:54 -0700 From: Bjorn Andersson To: Bryan O'Donoghue CC: Marc Gonzalez , Kalle Valo , "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 Subject: Re: [PATCH v3 0/3] Work around missing MSA_READY indicator for msm8998 devices Message-ID: References: <463bcd2f-c741-4120-b7ae-2bb55d5211e3@linaro.org> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <463bcd2f-c741-4120-b7ae-2bb55d5211e3@linaro.org> X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: vNH_vqNqQ1j1KxSTV5KOc7DibHJOU5Ps X-Proofpoint-ORIG-GUID: vNH_vqNqQ1j1KxSTV5KOc7DibHJOU5Ps 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-29_22,2024-04-29_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=999 malwarescore=0 phishscore=0 mlxscore=0 clxscore=1011 lowpriorityscore=0 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2404010003 definitions=main-2404300016 On Tue, Apr 30, 2024 at 12:24:40AM +0100, Bryan O'Donoghue wrote: > On 29/04/2024 15:01, Marc Gonzalez wrote: > > Work around missing MSA_READY indicator in ath10k driver > > (apply work-around for all msm8998 devices) > > > > CHANGELOG v3 > > - Add a paragraph in binding commit to explain why we use > > a DT property instead of a firmware feature bit. > > - Warn if the "no_msa_ready_indicator" property is true, > > but we actually receive the indicator. > > > > Marc Gonzalez (3): > > dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop > > wifi: ath10k: do not always wait for MSA_READY indicator > > arm64: dts: qcom: msm8998: set qcom,no-msa-ready-indicator for wifi > > > > Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml | 5 +++++ > > arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 + > > drivers/net/wireless/ath/ath10k/qmi.c | 11 +++++++++++ > > drivers/net/wireless/ath/ath10k/qmi.h | 1 + > > 4 files changed, 18 insertions(+) > > > > I wonder if you could infer the workaround based on firmware version, > instead of kernel passed flag ? > It's been a while, but I attempted this for the similar workaround for SDM845 RB3 et al. I vaguely remember concluding that the different devices I worked on, had firmware from different branches without any suitable version scheme to use for such comparison - which is why we have "qcom,snoc-host-cap-8bit-quirk;" in those nodes (which apparently is not documented in the yaml). I'd also rather see us ask Marc spending time on some more fruitful exercise... Regards, Bjorn