Received: by 2002:a05:7208:3003:b0:81:def:69cd with SMTP id f3csp4286254rba; Tue, 2 Apr 2024 12:22:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPBwMrU21HsMHYupVc9zJN8vO/l6adDsDid8BxvNz9ZQrfADOCHV8gQlqiHEMifolFnWjWLLTp+FA1ubA8E6vjcvsxea+4DFo8ieKUzw== X-Google-Smtp-Source: AGHT+IHkAtiNXu8uHyBPL4sRR2KcdPPB8xwHqRCLRROWBJGPWf2MdvD44yMwH+kobcp0e0ccPbPf X-Received: by 2002:a50:d7d9:0:b0:568:180a:284b with SMTP id m25-20020a50d7d9000000b00568180a284bmr6808635edj.37.1712085769425; Tue, 02 Apr 2024 12:22:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712085769; cv=pass; d=google.com; s=arc-20160816; b=Zkc9d4CVWrmHi7GcCCBwVbH7KC0HI75lIcXchg4rNWqipC2EONYEvGU1KfWNpnQsd/ fPA6YkRdUnjLJ+ot/1tGybSGy55xy0g3SbDlqbld4V9E15AaCd63GYtDSKtpniQ1Gfqq zuhJwOwwOf0uz5u0Z+3WDQRCn7DKG4Gwp+dAdQ2GwwMJ6GoKE9hH0kgmRWKgdJXKlVpb gAJXpfRF0UesekEZ8wl/RD/Y0/icbjU962WZIuztCs0g4U7kSh3oQGy+/KKYHDFV+q39 slSqKPQ+LfTfxYI/vf3ANrYI/h6uyIZbzinmKYjOgKrYXF8AdF24yvtvCg1Z6NCjTOOi rYpw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=Da5e3no1vFHzxLLTd7RoCIPu3XSpzvc3CS46CEGoz3A=; fh=R3Rv29060uwqAQdfGWelm/UNHl0Av2plShUMalU7Eo0=; b=l4ngpngxD2lD7Gx1hulTfPsn/DVtlEVEesgCHIugBAiKnpIRmS5bOZRyJgTQEBpILZ QdwI9CWXJsHAT4a2sTMS+3kMVArNwxKxRzXM9lIXkyHnGMXgpLdu6uZtvzubxlXFysSi E4zKG87JONWtjF+Pr/gH0L6rBw/vUco8xKwPhJiLLeUHlTQqh9ah/U+QpX2ntM3HbwpL /Apn2TmY5K/PKiWYHkYGBs6L/+NV7V4SN2fpvMyRf4zK0eN4l1VhEcFBa6g5fmkHfhpk +neZz6nADmnBnJA2Kn2qLs4eL7WlMysyrMr9c2EaGsrHaHDqzF6NMznCWi5CYAQidgld Qufw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HBcq5SXJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-wireless+bounces-5760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ek15-20020a056402370f00b0056be397b8d4si6289852edb.433.2024.04.02.12.22.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 12:22:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HBcq5SXJ; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-wireless+bounces-5760-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7FFE21F21A24 for ; Tue, 2 Apr 2024 19:22:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AECBF15B578; Tue, 2 Apr 2024 19:22:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="HBcq5SXJ" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) (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 1B3E415B54E for ; Tue, 2 Apr 2024 19:22:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712085732; cv=none; b=jYy3LSODVVQoF5hCqlNHFDJI7C0oIKvVdhragTbaItZdtxUy/MllbKyNRn/rySBCkCrzHKOcnKuzF0Y3HzFPmIKtDKEHM++Um/qpxvn1rdZaE9XBdvNKUrF7xG0JiCrZkf3qV3qbcw7bjTjpGgdrUSEPWk+TAFxxGd1nFQmVygY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712085732; c=relaxed/simple; bh=6VDPc8dC1JcqYo92ZRzDEKLFmlwwzK5oDT6XJCq6Wmo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=JpqBuM+wBKIDpT4yzZoxNaKflQXt+0txTBzj5Q6kefzkSmwh4ddd+FhS4eLDGOMoJDBbPxFTMkPZsZ5bnIlxaRv5dpTy8w8L0HOp7CzliSzLAR3QGWU9LqJvJAb/lbzWEr8cS2c665LnRESeJLkHFIX7MvLpdEb+Re8+mpJsXn0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=HBcq5SXJ; arc=none smtp.client-ip=209.85.128.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-60a068e26d8so56223667b3.3 for ; Tue, 02 Apr 2024 12:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712085730; x=1712690530; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Da5e3no1vFHzxLLTd7RoCIPu3XSpzvc3CS46CEGoz3A=; b=HBcq5SXJLrViHgjstgpubax9Dlp2IzKa8hCEpBI8pthNcyHTYnoz37yxw7mkYlmN08 EaEzpXIhWTw/z5r9z4xMlg+axmY2l2PDoLeUscCAjbwZedS4fo6DNjuhy0kk5c6NAY0Y fxSSkftECQTpxamrvr5AIqXm+LncfWFDK58lw7BlftAdPzZVQb+1TC671iardq0sv/k3 4uulcRkTyO2ZDLpaymZ/6RXtECjXkB1EP+nL2oMMI9XmOAnN7xM+NF++q4tI1+RUay3r FeT/0koZgvFfnjcN4BEbU0oGusrt8OjWwmTZuCQDp9cTM/gpDb5ZTDl5R7XU0CiDaysu GRBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712085730; x=1712690530; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Da5e3no1vFHzxLLTd7RoCIPu3XSpzvc3CS46CEGoz3A=; b=hhluHDbmnpAqsoDJ53hA2sqLdT1QDDaLOop+gMBdhqwWeG2SXnRkB0EXZawOtrNwmP dVT3S/6sgP7OheAn0JetVNY6UOaiWsev3C+c5GB3GIvpC5Lfl4ROR/oO4cIiJA4lp7y4 sc+E7B4ZjD6zoeGgAFvebn4kQgPM44VR0LzgP0O7OPgj61D3Fjn87brWfDu8qHlpLEn0 oalUaN1pHCen3ZQjKLOu+JGOwN3uYqOwMuQebUX3iIZ1prPj2Z9gdyxI3cZFAoJMIw8d 580YSL6wEr6Rgrrh6IP2y7VolxzQv2i04ceaa7feLTShEyhT88ulagRYSniLM3tj9xjg XKXQ== X-Forwarded-Encrypted: i=1; AJvYcCXU+vIfOY2EM7Vk/SofGwhpcp+Gebu2pLkKANN+vzArF+0JEuogbGE6r16duNe2ka/Ac723Bt5k2lijn8dgKm5visLZqjYJhpnv1R+0mb4= X-Gm-Message-State: AOJu0YwjSrL3Ix+1soK5VcvrvZQYPjaO2ckwcyi6/OTUtXdDxOnVVe0/ 5uYMmJj8qlOROhSw1qNicLYVJ/YG97xAW70KKdrKPmhl94f7hhMSUYtW2hNpoTKBC7uWqhxb5w5 Y8FNwKkOThSynSq/93QA9Lc4YAvC5m18My3wucg== X-Received: by 2002:a25:a028:0:b0:dbf:ec4:311f with SMTP id x37-20020a25a028000000b00dbf0ec4311fmr11410085ybh.58.1712085729697; Tue, 02 Apr 2024 12:22:09 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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> <8ef4f56c-83a3-4b26-877e-f1c7a0307e98@postmarketos.org> In-Reply-To: <8ef4f56c-83a3-4b26-877e-f1c7a0307e98@postmarketos.org> From: Dmitry Baryshkov Date: Tue, 2 Apr 2024 22:21:58 +0300 Message-ID: Subject: Re: [PATCH v2 3/3] arm64: dts: qcom: msm8998: set qcom,no-msa-ready-indicator for wifi To: Alexey Minnekhanov Cc: Marc Gonzalez , Konrad Dybcio , Krzysztof Kozlowski , Kalle Valo , Jeff Johnson , ath10k , wireless , DT , MSM , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson , Arnaud Vrac , Bjorn Andersson , Jami Kettunen , Jeffrey Hugo Content-Type: text/plain; charset="UTF-8" On Tue, 2 Apr 2024 at 21:25, Alexey Minnekhanov wrote: > > > > On 02.04.2024 18:55, Dmitry Baryshkov wrote: > > I'd say, we should take a step back and actually verify how this was > > handled in the vendor kernel. > > > AFAIK there is no such thing in vendor kernel driver for this, as > this startup procedure is likely handled entirely in userspace in > cnss_daemon. > > By the way this workaround is needed also for Wi-Fi in sdm630/660, > so no not only msm8998 suffers from this. Interesting. I have an sdm660 platform. I think I should be able to check these workarounds then. > > > This sounds more like a firmware feature, not a hardware feature > > > having this property in DT does not look right > > I agree with these 2 points above. This can be handled more nicely > as firmware feature encoded in firmware-5.bin using ath10k-fwencoder > and not involve any new DT compatibles or properties. I think Marc has already tried this. The firmware-N.bin, so-called "boot firmware" (because for normal devices it also contains the actual firmware), is loaded much later. See https://lore.kernel.org/ath10k/243a97b7-c298-4307-9f06-8b3a7c3e24fd@freebox.fr/ Probably we have an option of loading the firmware earlier, so that at this stage we already know the quirks set in the firmware-5.bin. But note, I haven't checked if at this point the driver has all the information to select correct firmware blob. -- With best wishes Dmitry