Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2646814rbb; Wed, 28 Feb 2024 08:12:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUWlliLQQWhD2PZHwVzgFrDyMkW03KfHLaslEnSjZORwkPUifkEwFsgxE274oVsWYIEatFX28ufYLAbaCG331kjiFr/1+klmcQf+eK3eA== X-Google-Smtp-Source: AGHT+IEyr4Ui1WrXM4v8wRCDKdtVSKDb7rXyuGjkNCCosz28ESpoTqC3hVWZBxnQpSZlrdRBFgXn X-Received: by 2002:a62:e40c:0:b0:6e4:84db:e30e with SMTP id r12-20020a62e40c000000b006e484dbe30emr23933pfh.32.1709136770725; Wed, 28 Feb 2024 08:12:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709136770; cv=pass; d=google.com; s=arc-20160816; b=P0sAtUiHIwfPgbkK6QK4UvXC8+sBfEOKPigyyjIjP5lWnHhlXpe0hDI/bvcTmWAEjQ puwP/gBgeK6FaiZXfOhqDQy4BvQ1OxMGLhJUhuZJjIlKxr58oXwj5Hv/0sypnlKDZLJW uFjOs3THfv4cMYzkHRg/emBfRCu2NWiCVrge6KNEqyh8bYhyuoCKtDs3wQ9CLtKXBf3y f3J5osSKWeioQGwADfl2brspUceaGuCB06A7MKSQ6nDA4vFsEk/Ir8vQelYsqRh2MHHI WhGFh4Je4EpuCe4bLgp8gGQoRHZGlS7GITQ7Z01YF+iI0vl8P5ubmX4JfF08KPGKLbwY PnFw== 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=M3BBUgnVwR3soaWOrmj3I3bXyg9YVedXAOrnYNtyhrU=; fh=NOa/sJepUspqlaxeDGQN7wIfxxn7tCDDC7w5qtGPdMo=; b=yTd+RMgAVWfoDYAEGDqL8rYb9mtWEcR7tt+28ew5fWYxI03AMxkR5MzNN+39gpTMQO 4XWYSE0Io+/49fqspXPE2wcgWZjmYD37LG53/S6ig1QwabXNx/2IAjIXLwchl6RA8H1+ SlmxkbfabIZ3io9bYCpHkz3MBs3TfcrbSoMaDzgg3J68ZACTtwa7xqy53Hgrgv3Em3Bp qCaQEsWF+1PgCtoL/qUefsDh26ZTYrDXuzi5YyNmjNTEopGVFIkonlfraBmEjq7h6pZg 0/rY9bn1e+uNC5JMTAFvm9E00FtEh94hTcobDUob2npOVNt+AOiFgAAUHhunlEjbk20y Uomw==; 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=mlSCuIkj; 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-4208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4208-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 j4-20020a63fc04000000b005d8b81271dbsi7597511pgi.286.2024.02.28.08.12.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 08:12:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4208-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=mlSCuIkj; 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-4208-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4208-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 5B143284148 for ; Wed, 28 Feb 2024 16:12:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C561015CD4A; Wed, 28 Feb 2024 16:12:17 +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="mlSCuIkj" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 B32151C10 for ; Wed, 28 Feb 2024 16:12:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709136737; cv=none; b=OEYdU3yUqz6CnW30tD1/WQSAlRwLNnPQA5iEQ8PXXJeonfuqIB2j3LOY6Na22GbSBAQdqRlttyW8M5ujdDKXc7OWD7KgwPNOhzf+PJs11WWI0ZZ3yocTYXwEO5OWbWP2W+VqPNUuF79GJncDzQ5tTNAEgNvx87qI1OdC0A53g3M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709136737; c=relaxed/simple; bh=Bk/tiaNN2lMtAJpfzBNuyzp4nRnb/ODtaK+6b/dlsE4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Rpbl/8uf36kqSAVgoBr5XrIdqftL5maHGpGrnpDxfP0Jy47Hi4lTOlKFakvcaMEdwEHfzbgYjyqLCvA7DTnafLfxtn4w3Ym39qSAjjA1NH08kpepUqgcNmTkf5MOQb2s+lrfsEY2RhtczazYi6bABEnA47Z/bgZEbuBPow3nnvM= 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=mlSCuIkj; arc=none smtp.client-ip=209.85.208.178 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-lj1-f178.google.com with SMTP id 38308e7fff4ca-2d288bac3caso45045261fa.2 for ; Wed, 28 Feb 2024 08:12:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebox-fr.20230601.gappssmtp.com; s=20230601; t=1709136733; x=1709741533; 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=M3BBUgnVwR3soaWOrmj3I3bXyg9YVedXAOrnYNtyhrU=; b=mlSCuIkjvxs2xtRzwCDjGffiBYYw6iCkXUgBZ1xHw0SVCE27dinE7ZDKSYPHKtcvGZ DkgoAZm/5AAmTr1RT4ZmGvJjkE1WRTFnY2+zfA8jrfjRrCVwOduNQg+WoGTPMc0i0xCP NqPs1Nbdvug77zQZy9VwSZgenpjOZ5e20JpvjwWegxNgwP8hn7Yy1HN4fnrRq9yg9UPS krX8KudVhg72Ci7zIcfDKg5TnZgObPCLyigWrx/ubhSnJXZzoMiQoKPgREwk1GQ1jf5s 7xgcvxCPo8zkFZ31in8n8J7yv6T4jtl+7ANteHi2P/MFnomxzW/BWh7Zk3wXBupv2xwS GT4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709136733; x=1709741533; 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=M3BBUgnVwR3soaWOrmj3I3bXyg9YVedXAOrnYNtyhrU=; b=IhS9edsX6y27R2zkRaDMYBKzShUgXDgVNTxQ9KnHPHd2pv+/lXUj9B9xl/XfQYIVAD VzLRJiy98VgEi67tFPgkIBPf01dWkXwAvpLhDfHDFXvXe8m06In/3sVzIBIE+my2cIG7 f+0VvRt35yrVd4qiixXVGS/3+H9FyOZY/Wu7FTSYb44J/VAUUEAXS/7KJ70AbHtIOFov xqZcCgFgLsRLc/VWDc0VQgkhysoFVP/t5mq/iB1l3fSPSDm0lQnUWx0jW6ODJ08ZZmB0 VkJlb3Vf/A6n2OmTYgH3RZF2OS+KYbFdutomBpjik0J7KCFCTUs36PDUIOWe093tt8Sx QYdA== X-Forwarded-Encrypted: i=1; AJvYcCW5P8VHuBVyitO1Krh8fZh1OQFRn0jUqVbO3CnVXTtBK16R0cTvegVuNo07IkyPZ6F0PnnxiDTa8/qnprhjZQKfE9QrMpzmVgM0+nIDAig= X-Gm-Message-State: AOJu0Yy6iBuE7zItFBOaiAih+fCwre9vVvR1edHRFhQH5dZMb2MY3nl0 2qufN/iaRyDHBBOFYhMtXh4sEEN/TE0Qoa2KvUu/mjZklEE6RV8M97+C1gL8TKc= X-Received: by 2002:a05:651c:23b:b0:2d2:99a3:e508 with SMTP id z27-20020a05651c023b00b002d299a3e508mr3410724ljn.38.1709136732828; Wed, 28 Feb 2024 08:12:12 -0800 (PST) Received: from ?IPV6:2a02:8428:2a4:1a01:6dfa:263f:dd7e:9456? ([2a02:8428:2a4:1a01:6dfa:263f:dd7e:9456]) by smtp.gmail.com with ESMTPSA id x1-20020a05600c2a4100b00410dd253008sm2487000wme.42.2024.02.28.08.12.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Feb 2024 08:12:12 -0800 (PST) Message-ID: <3392f356-7b19-483d-b9f8-3bd84068fa52@freebox.fr> Date: Wed, 28 Feb 2024 17:12:11 +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 Cc: Jeff Johnson , ath10k , wireless , DT , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson , Jami Kettunen , Jeffrey Hugo References: <14daa98e-7fd3-4ebb-87bb-5d2c1fba679f@freebox.fr> <871q8wk7o3.fsf@kernel.org> From: Marc Gonzalez In-Reply-To: <871q8wk7o3.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 28/02/2024 15:03, Kalle Valo wrote: > Marc Gonzalez writes: > >> The driver waits for this indicator before proceeding, >> yet some WCNSS firmwares apparently do not send it. >> On those devices, it seems safe to ignore the indicator, >> and continue loading the firmware. >> >> Signed-off-by: Pierre-Hugues Husson >> Signed-off-by: Marc Gonzalez >> --- >> Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml | 8 ++++++++ >> 1 file changed, 8 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml >> index 7758a55dd3286..145fa1a3c1c6a 100644 >> --- a/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml >> +++ b/Documentation/devicetree/bindings/net/wireless/qcom,ath10k.yaml >> @@ -121,6 +121,14 @@ properties: >> Whether to skip executing an SCM call that reassigns the memory >> region ownership. >> >> + qcom,no-msa-ready-indicator: >> + type: boolean >> + description: >> + The driver waits for this indicator before proceeding, >> + yet some WCNSS firmwares apparently do not send it. >> + On those devices, it seems safe to ignore the indicator, >> + and continue loading the firmware. > > This sounds more like a firmware feature, not a hardware feature. What > about having a flag in enum ath10k_fw_features in firmware-2.bin? Are you using the word "feature" as in "it was done purposefully" ? This looks very much like a FW bug to my untrained eye. Is enum ath10k_fw_features also supposed to include work-arounds? Sorry, I've grepped over the entire Linux source code, and I cannot find where ath10k_fw_features is used, other than in ath10k_core_get_fw_feature_str(). As mentioned in my other reply, there are several msm8998-based devices affected by this issue. Is it not appropriate to consider a kernel-based work-around? Regards