Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4252207rba; Tue, 2 Apr 2024 11:22:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX37BX7PrGclaudkbooTmAFlVnjaB5fWHA6d3tl42sZEyiKDv8hFZZqxJMCWr3otxdiBqfLss6+Dtbb63CPSJnTwb7Dyy7OPkbajVfshA== X-Google-Smtp-Source: AGHT+IGtqpQIlnMhTnx+ckZBeMPt1/y1XhL2b/heoJU8rxKesABvIEzrihwbywg0llckTzEdZNKy X-Received: by 2002:a05:620a:2ae6:b0:78a:59df:2763 with SMTP id bn38-20020a05620a2ae600b0078a59df2763mr12568075qkb.42.1712082161883; Tue, 02 Apr 2024 11:22:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712082161; cv=pass; d=google.com; s=arc-20160816; b=Qos2O/umeYNTc3CScUPKIj8Q2HR/0VhGdPK3Cm5SizRPiTXNXvd2BRGh2shL4IZJGz 3AST1vx8HprsG0DbQRCROv9Hh+vn6yrfj9L/TBhEhMmnIzecoBxaLJQ60W9R3wk4d5qo XGqPCx+6OpSL6eCDH2yTj9PB7RQSUqM18NijjADIudcw2Wo5Nkb7gSpVhxnOGfwN+cBo aK/C8kCOtEZ0U+bC3sTwfTVkolOfLKbA+9zNtrgnOIsXdgxT7RL7ExVUYdifEUOHeaeN 0oAlh0rRxQzF4Ig/mBKfZycaI+1TMYVx5U3RphpxryJGdSMKmh6obIpPAP5ebB/IrDyS 0u9g== 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=1P6lCXGL05+i1lMIsQ7f0v/gdohz3mD8/93L+hdgx8k=; fh=8u8ZnPc3eB3xW3DsJRV7jgW7DxrvkNEM/UYBHLB4VIo=; b=Ce7O8Z84Co8Y9xMf4OXKfL6Y74M6/EoDSAoGXQTIWM5V8vPsbIUuYrU9KrDNMJ1vZZ SshvQ5nKg9x2vAh4BKKrSxKemQQ9QPENtLmKAyOp/n5Cil+VnxNXls8Z5oIHlYxLCqmm MrCrVLm9fsx4Qa3HeIIwYwQTRF72kgccEeGVbeip4sSTtrMxQ4ycgl1KNbMNXzAbHYHI EFMt5TETpo/QFzsOPPOkknAjmkg0J1Ok1RIbR01eGGT8EmTiKFQGgnkgOEoWYTZ7a7Vz o78JLU8ZaulB2w1UTrVwyamkgmHpEk3D+1hzGWaxuzkYIOgNKSHVISqUzYc2ZywDhwph PQAQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ioC1Dld9; 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-5757-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5757-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. [147.75.199.223]) by mx.google.com with ESMTPS id b19-20020a05620a0f9300b0078a463c0035si12270540qkn.294.2024.04.02.11.22.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 11:22:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5757-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ioC1Dld9; 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-5757-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5757-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 9ABCF1C2264A for ; Tue, 2 Apr 2024 18:22:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A790A15AD8E; Tue, 2 Apr 2024 18:22:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="ioC1Dld9" 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 01D2215AD89; Tue, 2 Apr 2024 18:22:37 +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=1712082159; cv=none; b=O+n7gVmEWOkSxdIyrKUkjiOtGFz3qhFRIEM+uDBcTFmVv8c3yBTj9mUJjIBDie/M+jJ/V2fD8GFMIo7Xk1/SJW4qx24EN8AaMtsPH/9Z9v5FwNYqPtbepltAl5hgKQxgDFFINgFFGVD6XEoyocBVBxQ6rtk7mSZe6K0hNeJPEik= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712082159; c=relaxed/simple; bh=XWzKWTjIVaOsuGpLWHGifN3ybvP+Hob3PazpV/oQoNQ=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=XUlMAJ/7Gh+1oDpdFqgTCHjvdYFfzVF1fcxKeCC9niytzCYgyF+VfH2Ptm8hdP5eJXiA2SzaozoU/TKG3SfhktEf6wQQnefiQbPGLoRBKe24IvHDAFlCjNI692/VbtmOo+gyjajMGFRDEmCUAhCjyJQ464kU/jHW8IiHyfYxE7E= 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=ioC1Dld9; 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 (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 432HE0Qd004187; Tue, 2 Apr 2024 18:22:23 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=1P6lCXGL05+i1lMIsQ7f0v/gdohz3mD8/93L+hdgx8k=; b=io C1Dld9hy88+kFw4SzQlW4J3xTTreB6pXhcTow1GmtQ04zmEbvTSozHIgaZBYr6pk OUc9FCnQm3eAblCF3FNJ+GNZSJXSfpeanzt8hNjXyzHc3kSOCOW28BkXdnhzEHHB CJMT6tKv5R03ieG9jm47z8aMuqKIa62KdxxWsgJBzVYZlFs8ETZg6cPuu6nHw3Jm zD85yGLzgK2+aNPs5v2liekOFamlxOU5dAw2Whs8aN4e1ZgGEpQkxZ8dImY8K3Co 9wLkc6oUGoKQckZQbP+7nuQEZJSrcN7c8zSwU6fTyA7qZsN1Zj7cxAuQMWdzM8FA ki+WjSTyMLHHYP64Sd6A== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x8ny5g77x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Apr 2024 18:22:23 +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 432IMM8K025645 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 2 Apr 2024 18:22:22 GMT Received: from [10.227.110.203] (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.4; Tue, 2 Apr 2024 11:22:21 -0700 Message-ID: <36890ee7-ab9e-448c-ae30-7a75ac28b496@quicinc.com> Date: Tue, 2 Apr 2024 11:22:21 -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 v2 3/3] arm64: dts: qcom: msm8998: set qcom,no-msa-ready-indicator for wifi Content-Language: en-US To: Dmitry Baryshkov , Marc Gonzalez CC: Konrad Dybcio , Krzysztof Kozlowski , Kalle Valo , ath10k , wireless , DT , MSM , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson , Arnaud Vrac , Bjorn Andersson , Jami Kettunen , Jeffrey Hugo References: <5cdad89c-282a-4df5-a286-b8404bc4dd81@freebox.fr> <252618e8-9e80-4774-a96c-caa7f838ef01@linaro.org> <502322f1-4f66-4922-bc4e-46bacac23410@linaro.org> <0ca1221b-b707-450f-877d-ca07a601624d@freebox.fr> From: Jeff Johnson In-Reply-To: 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: BZ45NmR5DTuKqoKSo_ocI3CiLNdpmfFC X-Proofpoint-ORIG-GUID: BZ45NmR5DTuKqoKSo_ocI3CiLNdpmfFC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-02_12,2024-04-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 mlxscore=0 mlxlogscore=999 clxscore=1011 bulkscore=0 adultscore=0 impostorscore=0 spamscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2404020136 On 4/2/2024 8:55 AM, Dmitry Baryshkov wrote: > I'd say, we should take a step back and actually verify how this was > handled in the vendor kernel. (error handling and other non-QMI code removed from the following for readability) In ath10k we unconditionally call the following in ath10k_qmi_event_server_arrive(): ret = ath10k_qmi_host_cap_send_sync(qmi); ret = ath10k_qmi_msa_mem_info_send_sync_msg(qmi); ret = ath10k_qmi_setup_msa_permissions(qmi); ret = ath10k_qmi_msa_ready_send_sync_msg(qmi); ret = ath10k_qmi_cap_send_sync_msg(qmi); In vendor icnss2 there is conditional logic in icnss_driver_event_server_arrive(): if (priv->device_id == WCN6750_DEVICE_ID || priv->device_id == WCN6450_DEVICE_ID) { ret = wlfw_host_cap_send_sync(priv); } if (priv->device_id == ADRASTEA_DEVICE_ID) { ret = wlfw_msa_mem_info_send_sync_msg(priv); ret = wlfw_msa_ready_send_sync_msg(priv); } ret = wlfw_cap_send_sync_msg(priv); reference: https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/platform/-/blob/wlan-platform.lnx.1.0.r1-rel/icnss2/main.c?ref_type=heads#L890 /jeff