Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp587955lqh; Thu, 28 Mar 2024 10:11:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXXC/ZhdySXYN2Tlx6Oj9G3jouvwuV6UVTdVsqbKTxujfp1tgXQzvVs0yNqxeDA4fq+9dsnm2k6Ramz/nPT9nSMv1JQWhy6Ax7wEZ0gKQ== X-Google-Smtp-Source: AGHT+IFRiZT97jJMxF4Mrt7vgU2F1I4/zPfvkoRI271p7HgroJv0YkaCeZgtE5gy5REdEopopOHG X-Received: by 2002:a05:6a21:6da5:b0:1a3:c883:69fe with SMTP id wl37-20020a056a216da500b001a3c88369femr3946596pzb.3.1711645868441; Thu, 28 Mar 2024 10:11:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711645868; cv=pass; d=google.com; s=arc-20160816; b=Mgr+m1iKjyowX3sIVBzyVgdvcPz/8+WE6RCuCc/affvSN9TKMUVjJnNrRUEEbOBJGx y9DINutlS12tkk6pKB+TJ0/yKzX/N6FQy/Dbn5BchNSjOM2lDoteieAGHFkKDj6SHl13 FFxmo1QxuupjmFhS7YeByLPdMhCWBuEoFWJCtg/JFmqHpkyjSfhvTwkAQDM61+h+5ZXI vFF5dWHjAZRS0CbihSwSAiXS1sqzKLQ6NuOD9dPZqJTIx94GtcfCSB2CigGULAXXmaIZ PTM0Ebv9D9r4ZRbUBP1bduWYYKPVVRffd4O1j9N8GbXNfLMLfoUydXtMQEBcKuRpcYSF kT0Q== 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=y8/g+cHkPSXhHlEKcSVfgwp5KAJjPgctuVitEMx931o=; fh=2sxThlVAhwkkTVBQKGgIguKH5UXjVxQNtX7pY1EQUZc=; b=wXIG/n0Qamx/6I+Wl9WIS8zlOhqScH/kTudHqrOlDyWlva6+jI8QYBjkLriD2eqaS7 rogfMk0RqjOpHI82BXP4dBMNN85n1m6CROeSiGzzUbE64VZipmXprItq7TYShjt8et3x drVILY686gY9OUuRxPEOmDJX31vmtpSXIzav5Gf9Q23LLukQQxojKJFsrfPBM84l8hAU H/fW4Nm5BxpRVo284sPOzk67ioHbAt896Kyh8ri0lzSWbueCUSu7KDH7pg/1/tpC5UaT pNZhnJv/oZ0cp5s79C9M1uRI2zrPqsPK3PUrHzfpzOSrhis6glfyeh7+E3493xCuxcxH 2CdQ==; 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=VPUpwU4I; 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-5478-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5478-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id f22-20020a056a00229600b006ea877e0125si1897647pfe.323.2024.03.28.10.11.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 10:11:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-5478-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=@freebox-fr.20230601.gappssmtp.com header.s=20230601 header.b=VPUpwU4I; 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-5478-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-5478-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 B985F2A2112 for ; Thu, 28 Mar 2024 17:10:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DAB4840842; Thu, 28 Mar 2024 17:09:55 +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="VPUpwU4I" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 4568140841 for ; Thu, 28 Mar 2024 17:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711645795; cv=none; b=Jn5gPAXcSYxeqBdH6dgDOuJwEKTWVINo3PTJ98RBRfk8/+lhYzCrLVJvwqfoyd9VqFmKbg6VDrzQ/CTIXBJs0XwB5wB7GIrU5wAVll6KD/4OEE4l8GIOdrAKkqEKlDbxMExQB+uD2YJYn7xMf+etMmTt113dvLbCoGrdTOaT90s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711645795; c=relaxed/simple; bh=4aGtlYQa6LOd2OEmaA7FHOw6SQYqs0vT1Qz4Tis7MSs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HlBPbTxRuAvIbTs2bZmF9VTL46Jy8bN+wGi24IlXvOnnh/ymktVb0bZDpdlOFI59Cr3ortVhaNUlukKLesIU+IUSIKr+V8F3vrhN3V0BM+8k5Mo2+dAUBb3HF0A0R3FNSf/WipW5mDNTXY/SFKAQm9q4y9uKA6avYP5NoCgKFGE= 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=VPUpwU4I; arc=none smtp.client-ip=209.85.128.41 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-f41.google.com with SMTP id 5b1f17b1804b1-41494c0405eso7401425e9.3 for ; Thu, 28 Mar 2024 10:09:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1711645788; x=1712250588; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=y8/g+cHkPSXhHlEKcSVfgwp5KAJjPgctuVitEMx931o=; b=VPUpwU4I2a1Do4aFNdRh5a63esOYYUo4RY9x2pYYPz0rW0e0OePa96Ae1Fn+87NzjE C70CVl2i3EgQlrlInY47WgkAJNMeBu9PYH0d6IRYF/pBo8KJ/YLE/ZIuF3ydE1aDqn46 REZrGLZO0LqVbzxWiO0Pi2B1Fb06baU0NjlaTHLt6xvO+HVaPDzXjTii0BplnmJ3XSR+ t/yuKlbMZlk/k+Bsjy4k0vsGMT4S7vI3y28hkTWErDO5CCUWPzYKiOaAjHFvzoOPXQ7B noU0k252QBDvakeYGRscsgJck2ZVUzksxYRu7MpoM5hj307Lrw+T97Z6i+1HPdbkM3Nw FeqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711645788; x=1712250588; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y8/g+cHkPSXhHlEKcSVfgwp5KAJjPgctuVitEMx931o=; b=oloDEfhypWZn3c1vX8kVCKz1vosvzlq6Wr5d2aAgQLhUQi9y9LUwpbZoi3v50P/CxE SbOgMz87z4LD+oRPruY0jsT9/7Ofraf1S+E8otPylPmJHCA04rZzNOTGW1lXI+bGgRh7 frC6y2cGiYL5MfHRb8EufzfZQse9Dnbv8gPm9EKs3CmbiRxSrv/vGVZPj+M5Ib+49Fb+ R1eoAlCPHfh4wYjtPFSq+ZlbSJbigo4zuPlKCSSvYgFSzKR0rePqWxORrd3frDnFgDC8 JJL888tsOZ6a3SyqCEdtv42KHdBHYYHM91rP50M+aAwTBVTFYL7Vcw6ReFLUj/K7jVc8 DvGQ== X-Forwarded-Encrypted: i=1; AJvYcCU6rsYkFOpuvirWlC0/w2bnpS2ckImCuUiMvjMkSsZ7O7en0VhTuKPQa0DLRfnhhYouyKE+/7QHJgH8zoOK/mlbczUWRUmISbvJE+dZgZE= X-Gm-Message-State: AOJu0YyHVv3+719Qt0hPoxUtXv4kB/iQ+bbi+r+p6IYto87SEiwu/nlS Qmekh8HH33jGdjBw7Z5PZmRDL3FprCSWWXLuPgzLjzOkRVel+xpl1nlFbBE+lnM= X-Received: by 2002:a05:600c:3ba6:b0:415:43f2:332b with SMTP id n38-20020a05600c3ba600b0041543f2332bmr2148445wms.2.1711645788367; Thu, 28 Mar 2024 10:09:48 -0700 (PDT) Received: from [192.168.108.81] (freebox.vlq16.iliad.fr. [213.36.7.13]) by smtp.gmail.com with ESMTPSA id o10-20020a05600c510a00b004148a5e3188sm5997405wms.25.2024.03.28.10.09.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Mar 2024 10:09:47 -0700 (PDT) Message-ID: Date: Thu, 28 Mar 2024 18:09:47 +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: Re: [PATCH 1/2] dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop Content-Language: en-US To: Kalle Valo , Jeff Johnson , Dmitry Baryshkov Cc: ath10k , wireless , DT , Pierre-Hugues Husson , Arnaud Vrac , Jami Kettunen , Jeffrey Hugo , Bjorn Andersson , Konrad Dybcio References: <14daa98e-7fd3-4ebb-87bb-5d2c1fba679f@freebox.fr> <871q8wk7o3.fsf@kernel.org> <3392f356-7b19-483d-b9f8-3bd84068fa52@freebox.fr> <87wmqoilzf.fsf@kernel.org> <87cyse8j9m.fsf@kernel.org> <6d4b1381-c121-4cda-a8c9-9ccac56bd447@freebox.fr> <87plw87nsc.fsf@kernel.org> <0816f7bb-3c97-4b90-8e19-191552ea6e26@freebox.fr> <87h6hk7aee.fsf@kernel.org> <243a97b7-c298-4307-9f06-8b3a7c3e24fd@freebox.fr> <9293793d-00e8-42ce-87b2-05abc3b49387@freebox.fr> <4b7bf7cc-ede6-4c2a-983c-da4c8c09c5d1@quicinc.com> From: Marc Gonzalez In-Reply-To: <4b7bf7cc-ede6-4c2a-983c-da4c8c09c5d1@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26/03/2024 21:21, Jeff Johnson wrote: > On 3/26/2024 10:51 AM, Dmitry Baryshkov wrote: > >> On Tue, 26 Mar 2024 at 19:45, Marc Gonzalez wrote: >>> >>> [ It has been pointed out to me that the previous message was unclear. ] >>> [ Below is my 2nd attempt at a clearer message. ] >>> >>> Problem: firmware-5.bin has not been parsed yet when we have to handle >>> the ATH10K_QMI_EVENT_SERVER_ARRIVE case, so we can't rely on feature bits >>> to work around the lack of MSA_READY indicator. >> >> Then, I'd say, we have to resort to the DT property, unless Kalle or >> Jeff have other proposals. > > Another option is to follow the downstream driver model and only expect this > based upon static configuration within the driver. > > Downstream driver has: > if (priv->device_id == ADRASTEA_DEVICE_ID) { > ret = wlfw_msa_mem_info_send_sync_msg(priv); > ret = wlfw_msa_ready_send_sync_msg(priv); > } > > https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/platform/-/blob/wlan-platform.lnx.1.0.r4-rel/icnss2/main.c?ref_type=heads#L968 > > The downstream MSA logic (including some other code that populates MSA-related > fields in the QMI messages) is only invoked for ADRASTEA_DEVICE_ID. > > We could introduce a new hw_params parameter to have the same semantics. > > But I'm OK with the DT option as well. > > Kalle? I'll send a v2 series with the DT option + setting the quirk flag for all msm8998 devices. I'll include msm8998 board maintainers for feedback. Regards