Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1401533lqa; Mon, 29 Apr 2024 07:34:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJ8cOZsC66Z8SgtItapFI+gkbHsjYJY2LYGrnr7kCNIp/UhTUlG3egsI7jAyguOCDT2KVa/t8W9ofapP/tqfnjyJ8PbDwN/L7Qpbb4eg== X-Google-Smtp-Source: AGHT+IEBfoiV7fzet8fsBdZG3Kn9LJvmlh2rgokEtjZzqHQi+LcRkxpFUTN5Vusq7AOCN58tkl07 X-Received: by 2002:a05:6a00:1810:b0:6eb:3c2d:76e0 with SMTP id y16-20020a056a00181000b006eb3c2d76e0mr16377639pfa.11.1714401289603; Mon, 29 Apr 2024 07:34:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714401289; cv=pass; d=google.com; s=arc-20160816; b=diJ9EDffMLVUBiik+JwzB9wxel73l6gvWfIoa1KmD20fihoehS4WcnivtieWl7IybO Dp8X1E1yS3fV/zzZ7NjqZuys2sdYE7SvBW5oz+Ika9esCPPFr10+Te4mOq3jEg15USYN 4JJE7IDNKJYJC16VTSbK4ZyqqufxOh5XsGLIJxjwTUujFZ6C1U+h1Tluj+8vJoBZRX+r yXzL76iIR8jguXCsvI4y6So3F81ZK2HY9TOak5Snk3RQfiwdZfQsuq9LZjbP6JIKCBzo U5AeW4K/XWYdmPL6iM19zM8GvcEiHScf4XXk7m9+FSjk+WKBjWNHtgqgLPbjHXKkbkN/ XnpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=rGP2iA16V5Nst5OwKNnVBbqTeg1qcPV1rwQPISYCkp0=; fh=D2IfTgiLe5VZjUGVlfrrbaBpg8yqN5/LVnI4Wvpie7k=; b=nB992l2ZYj7EY/UxTvhvRLdtDpgwgxndkE9fLF2tF9fsVppLPfsSpx2+G0gxx7PzH6 v1ocbsxAg7wpkDaAq5RtaAqvhHC+PELVw+nPXUzH+TVkCr74i4EtuHty92ZEg/rcxdEs tgtl33Uw8Jf2jQRCX4/iButu+HsCw496BeAus2cPucMs7KRhKxhVhN/c4xKD7KqRQdQt zMFDOhjl0TgdbbgU8SYW0TZ5OmIxNEaZnCoH3j9CCm5oeRkTPSWZU8i/EMktqGKQfC51 sQ8JsjQpl4eRVLEpwx8o/cRc7dT9zYK9W8RlHxjhrEHEvl5uXTzkw9GM6VoI1r5l9V8n cf3Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@freebox-fr.20230601.gappssmtp.com header.s=20230601 header.b=LD+oAJp1; arc=pass (i=1 spf=pass spfdomain=freebox.fr dkim=pass dkdomain=freebox-fr.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-wireless+bounces-6991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6991-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id s3-20020a62e703000000b006ed26c096b0si19876238pfh.141.2024.04.29.07.34.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 07:34:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-6991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@freebox-fr.20230601.gappssmtp.com header.s=20230601 header.b=LD+oAJp1; arc=pass (i=1 spf=pass spfdomain=freebox.fr dkim=pass dkdomain=freebox-fr.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-wireless+bounces-6991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-6991-linux.lists.archive=gmail.com@vger.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 98FFEB25A6A for ; Mon, 29 Apr 2024 14:08:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 290FA7C6D4; Mon, 29 Apr 2024 14:08:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b="LD+oAJp1" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 649407BAF9 for ; Mon, 29 Apr 2024 14:08:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714399706; cv=none; b=OGROmUnk0LQP9MtPTIpTwSEI3QUGs5TS62vhd7BbOuTtCJhql+nx8Yn9ZhHiFkvlZDbsMvtXgwiMsOxGnMSkLeCa2qeUuy6/rBnp6GBfxrenXw4IzBfStl6KMyzWy2hYYUWxsQoW1huIYrD0GHk1RWWU1I5SFl7dJ6EvhyNA+tU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714399706; c=relaxed/simple; bh=WrCjqqS4I8VzWNdnSjP2v41ZlCPdZRUDzsyBoXAuSUg=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=D4rfPXkj8Qo/6BGEXz1cDZiju6N2MR+KBPIG055td/jfjqvoGTiZ9O+E6z0H6fxaVXF98ebuIIHdppG3PumTq2dUv/YLRzaQpIsJXjCUZzoytra1rFpRRc9bIqMV8Rke0UcVyRjXzjEqcmQ54R7t3+qOGVWXS+B90oEwN4tfGSM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr; spf=pass smtp.mailfrom=freebox.fr; dkim=pass (2048-bit key) header.d=freebox-fr.20230601.gappssmtp.com header.i=@freebox-fr.20230601.gappssmtp.com header.b=LD+oAJp1; arc=none smtp.client-ip=209.85.221.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=freebox.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=freebox.fr Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3499f1bed15so3219628f8f.1 for ; Mon, 29 Apr 2024 07:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1714399703; x=1715004503; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to :cc:subject:date:message-id:reply-to; bh=rGP2iA16V5Nst5OwKNnVBbqTeg1qcPV1rwQPISYCkp0=; b=LD+oAJp1ytflpXrnrbzP4asQgsLC/HTvdpRdEuh3ls/E8OP0pTerDOaB52bS8X5YtV QlAtriUgAKOxzNFmt3yTml8dR9UjECCkBlFEokalCSATLBjvH1zV5/+5FC+9DwH0B25V aBGd72T5NoeTN1dnlN+XbK8/3nwOnFLw9STVgFSb89uy42TFEx2bqGh18KBImBhSjfdA UCCRZo2CTBNBA+LdF3C49ydS5Nlrs8gSO0s+LrRKsRju/kkZFFmpkQ+MxGrlOWIobS4G /Sz1lVesym28O66XfvgQWNC0jrvLeENjXxmqHovbuaTaMJ5DC7Ldr4cePiiT78F68+ce VmDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714399703; x=1715004503; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=rGP2iA16V5Nst5OwKNnVBbqTeg1qcPV1rwQPISYCkp0=; b=ACQRdnedpa7pMI7frJKYv9rxAXuqzt6XKovof4N0nIJ2U9JA8ndv2ZO0x+rmeR5vlj yxsBDGxVhTfhtL/zEOzrCvPWkvwIczvG8fpwzKIhUTF/n2j3MpqECflNmfbojbvxc67a UKWZb39HnZiF6QTOxlOjaAK01+Np9lwLjwB4oq87xLwthTNKBtL/2O5bn8vPm5JuIHra wRhRkuNOpVh0ZfH1SU8/QpzY6tcWhAsgYcKE0UwlIIjKifjQ94g4nw6sS+yG2wD8NS2Y B5sZYxzd0sPzyedue9EJTpkgyjSzJYQUrgSUDkD0oYOZfMAO0QylH6XEpCw3y6XF55nN hBmg== X-Gm-Message-State: AOJu0YxWYjoS7Xr5ZihzlSCA5H8N4uKZ658O9pUGmg8Dl2wQ62TxZR8e HSEQIpxBuMY0nJhMjr2j+DiLIAFxPxBLBA5AAmLWCQK7BSUbQik7R+dmhpWaBTA= X-Received: by 2002:adf:f3c1:0:b0:343:8bd6:97cf with SMTP id g1-20020adff3c1000000b003438bd697cfmr5372945wrp.35.1714399702664; Mon, 29 Apr 2024 07:08:22 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id h1-20020a5d6881000000b0034615862c64sm29585477wru.110.2024.04.29.07.08.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 29 Apr 2024 07:08:22 -0700 (PDT) Message-ID: <0914f96e-fcfd-4088-924a-fc1991bce75f@freebox.fr> Date: Mon, 29 Apr 2024 16:07:27 +0200 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: [PATCH v3 3/3] arm64: dts: qcom: msm8998: set qcom,no-msa-ready-indicator for wifi From: Marc Gonzalez To: Kalle Valo , Jeff Johnson , 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: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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. cf. also https://wiki.postmarketos.org/wiki/Qualcomm_Snapdragon_835_(MSM8998)#WLAN Signed-off-by: Marc Gonzalez --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 67b8374ddf02f..4e6245095adfc 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -3234,6 +3234,7 @@ wifi: wifi@18800000 { iommus = <&anoc2_smmu 0x1900>, <&anoc2_smmu 0x1901>; qcom,snoc-host-cap-8bit-quirk; + qcom,no-msa-ready-indicator; }; }; }; -- 2.34.1