Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp605224lqh; Thu, 28 Mar 2024 10:39:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMyzu9tC3HkfFsc20ASLa0W/imMEfTAYeGwVGwNsM4y8CxSJeAQXbUv2OVNVs1w5HW/7m+6RevLsCKKEURY7h2GHc28Yx0z5p+DR/ibw== X-Google-Smtp-Source: AGHT+IHl9i65rX2qEXPnjCS4yK6KX/lJ2PsnpB2wFaCzTBNJcPd8qkVDnKoA7oft7bNh2KJogolg X-Received: by 2002:a17:902:db02:b0:1df:f639:2f5c with SMTP id m2-20020a170902db0200b001dff6392f5cmr4511615plx.5.1711647599075; Thu, 28 Mar 2024 10:39:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711647599; cv=pass; d=google.com; s=arc-20160816; b=Fr2YGoLTHbuQldyfMvUBLVb8FiPRV4b3YdBXMWkBQEoeu8iYfgnBFoJi9TAP/MBkM7 VgmkTmGZ1iMMlUCilSVXlU3H2Gwwww6qbNW3fOKi9hTjO5OH+xEAm1PDzq/MDSQ48ef4 51+dQJUB/55vUkOb99Uwi/X7vqnuAvvG4G0GAJqWHII39D1kQ8TF7hU1Fva8A16v5nWT tazM9aU7SCSQGsqnz47oIcjaAPYIqDyls0J2ftfUHgfFMUeaheurW1nWMuqIRE8B0t6b h2ucECreAas5DFv0IO2S/nuAvlwC+sCcwT3p806wlXVcvgXXUUVWAsJZVKwct3F7Q5Pt NCEg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=hBEyfkaUFeTURJJG6e68DKf7jzMPW6cXTRuGJ56eTuE=; fh=VeNIEHD8OsT4Ng+B2TNgr6/0VeqclAexKoibR/3paKo=; b=EK0NZNefH7s5xMt3oFSd3rFC0CbLZihoTdqrKtpZEEcDN/8pwBiTp2/qH1qsjE8Y2n uBnEYZ9BicpinxUyDfIDa125N3nzLNUR3OmwHa57VRsAnaJYeb4Hl/jSV62CayRTquGy LPPGnNU/tSqKNIWlcL7evJeSmsHxga9ih6vdNS+EYjScCUgXokynT8oMyv521J6zU9Hj 2MF3ruZJrrUjq5cbrps/6SvCCaSsJH99R4RbOdb7pH7eVv9ad9a/ensNI2hYUJv6tPPK Icg2k6KlbVLBJpIIxer8rAr6rTvpQfxQC6t6CSdQUsTLHf6y7H9CQMLIdexMeZTgU5ss 6y/A==; 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=2ksCpSdO; 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-5484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5484-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q7-20020a17090311c700b001dfcea892bfsi1811213plh.526.2024.03.28.10.39.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 10:39:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@freebox-fr.20230601.gappssmtp.com header.s=20230601 header.b=2ksCpSdO; 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-5484-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5484-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id C0EF2294AE4 for ; Thu, 28 Mar 2024 17:39:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3A6912FF99; Thu, 28 Mar 2024 17:39:42 +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="2ksCpSdO" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 F1502126F19 for ; Thu, 28 Mar 2024 17:39:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711647582; cv=none; b=MpJ5hn0CGNcw5DFBE+c1dPMPgvCf57WUlbGjbLkd4GQ1ytruPpfCdYRM9wnWB/PWVHv5BNmaCPkSsBDJRrqhSRFFWBg5U9PIzYftaimnmsThHZGWm4tbIX4bWNqMgQnVkcIUjfbZ5apb66dAA0XAFgkwxM1Xv+CBhaATTId9bpQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711647582; c=relaxed/simple; bh=n9AZLgNzUWhIouE9WldfNOkBR0VBSzrpKYlVGIWtLck=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=soEvnXxRXJudCxX9E8/M3rCfhHDz/uiYkx4aYMAhwhEI0F56PxOVvqWpVxmJROM4BbMQ48mIhpheAbgV9LhatQIyj1ZM0EZpz2wrZjUzTzoQudeHkMFLJ1nx68AFnRzx9GKvNGHmVVkBB8NmZFet+MDN9hohsIuNPpQFvR0dTRM= 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=2ksCpSdO; arc=none smtp.client-ip=209.85.128.48 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-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4154614b47eso4713375e9.1 for ; Thu, 28 Mar 2024 10:39:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1711647579; x=1712252379; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=hBEyfkaUFeTURJJG6e68DKf7jzMPW6cXTRuGJ56eTuE=; b=2ksCpSdOeWSy4yRcxR1JD6VmfV0+VVxya3AXsPU8+jn6Dp1ukEb7zaxlT4KSL2EZ+t u6LXizB5GK4T3yHScXDLN3fTPCvXdWSj5o8FK3yQNs5kiJi+3DueXtlPaHsA/mit9Oi1 S2fX8Rd1L/3JqEqVWf5DPMWm/dTJR3NNSzisEmYnxPDVMD42yitwVUyNpgwC9DhqJBXg sfyUlJA686CWusVD2daRszqAMNZSTkfO2OP2ERffjlD81zs9xw8tMdDWl+FDLl6v/c+X /Bd0COoZUYvrk7hQ92owg8z5aoiALffysl4AtcHRcijgT3NuSitzqOuli6yiHWrYLDPQ 1sug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711647579; x=1712252379; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hBEyfkaUFeTURJJG6e68DKf7jzMPW6cXTRuGJ56eTuE=; b=pUcRHS93YeEhM0UnR9WzaWGMB2znRapprkn3TW9fjWp8y/RM7dCXxcYy2sHnmYgKjq WqIEOYlkLra0F7oa/Jhg3RyoQM77eye+VXgi+JbGI3yAmT0h0RBUkKNfoeuDLczUx31r KY5PDTEBJZDlnxT7hRS0cAzTjOtitL+/3TuFWq0xcYx9LsStNj3gD+yzIV5MiDMzP2Bz LkNQ3uODq5mtIhFeFoYZXB6TniEOJRxZ76hopJCXz5AAHkcAwOYYVby/pDbi2teEYabV ylB9IbcsoVsHmuScqK6I9HSaGldNorDsT1+RI6GnAexrfbDCA+zp+Gr4b1Llc8fJwefa Bz9w== X-Gm-Message-State: AOJu0Yx1caUOOuxlqU+v57Y9KyhBvuqBQrD6LLs8Ljg3xbxjgYoHoe4A QfFXflpTDjgV3Sl3tYCKwOMjrykQAcxnBoICG2bH2Dl90pp6/Mwh0/zE/jDf6vw= X-Received: by 2002:a05:600c:2285:b0:414:5e9d:ad31 with SMTP id 5-20020a05600c228500b004145e9dad31mr102964wmf.13.1711647579570; Thu, 28 Mar 2024 10:39:39 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id o10-20020a05600c510a00b004148a5e3188sm6066643wms.25.2024.03.28.10.39.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 10:39:39 -0700 (PDT) Message-ID: <5cdad89c-282a-4df5-a286-b8404bc4dd81@freebox.fr> Date: Thu, 28 Mar 2024 18:39:13 +0100 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 v2 3/3] arm64: dts: qcom: msm8998: set qcom,no-msa-ready-indicator for wifi Content-Language: en-US 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 References: 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 026b6b97785b5..681a80f4dc9db 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -3185,6 +3185,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