Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp446083lqs; Tue, 5 Mar 2024 06:46:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXWgCa0PAces4Y3TF3vDmQTiFvvOIg9YBqgXR2npOHEUB3vmjz8l5BcDkDzFI6O52QSA/XogvmSEWalNa7WxdXYoYOq0TRCOQf4BN/j7w== X-Google-Smtp-Source: AGHT+IGik7GKT9zEfFULtA4PfnX5FWxFoXmWHom5J1sRV2Mi4guhUK1zOge0wpVqYXmdp2cek7lm X-Received: by 2002:a05:6830:1083:b0:6e4:dc9f:de55 with SMTP id y3-20020a056830108300b006e4dc9fde55mr2039455oto.11.1709649976605; Tue, 05 Mar 2024 06:46:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709649976; cv=pass; d=google.com; s=arc-20160816; b=bn3gqF6hF9MH+ahilXPpj26gkbEX74y/QtHPM4LTr0JgtBRdeh7pqRpaomDJy5KYdp DFrPRXegFh2FsAlbxM1Ha5MV+dvJqRELpZvQfo1asRAzofSD2I9/ZclAHLnZY5XzB3lS 3kMAnJiRRphEJqFabwKex82IHBISfv9nz6UDtU79W2qoP6liya6pSbOwS3GSFRUKBNlo ooSu+Y2z9mWeLYe5xK11FuYq9+0DUOuSkcJdHWDt/lCqDT7NEglG5dVjsa/Unt0gAJEo e9sQOFnE9xpNh3bzrIRsPk/2ykhKm4Y+B7YFnSPv49I+UIm/FhyLRzGsP04Iimulv4PG NE6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=Zwirrf8wPgoSCPKi2Ry9tKgv/K7swTtD68L+AY8rEg0=; fh=syc/dYY0MgtDmVAzVhqTcSrgEoNDdO2TDE+eCzDCkyE=; b=vpuymJLKUU0aoVUMLt7tmT6pwYiczvmmC7B+ahmsG1fMeYXYilJ6YgRJehl10QwEaf SW8fYRCvVmuGYKMgVr23JuJ6xJ9dqxcTznHWy0v1X9nzrWU2t/XwsSLIQ/3y2U6n/6/u +Z0CNFIXh26D0Sku612GB4cluyMnLoFLWerOIv6kMpl/xs/XZDGUpD4AZ/OY7xh4QI+8 OrDfYqXTfsdW93PdZvQg8QsHzLR05gGy1IZeatUQIyEZjNrtmd3io4pX0Ye1jh6ljkDr OVD12RZ0cNAOsvyLInvDwQF00VNdHdix0pm1JZuT3IavLTQuejPudPq3g2qHiuW9mcVp HU9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lGWKnq0w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4382-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 v4-20020a631504000000b005dc1330fadcsi9903753pgl.6.2024.03.05.06.46.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 06:46:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-4382-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=@kernel.org header.s=k20201202 header.b=lGWKnq0w; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-4382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-4382-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 453FE28B28F for ; Tue, 5 Mar 2024 14:46:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6AF6986AD4; Tue, 5 Mar 2024 14:45:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lGWKnq0w" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4189D86AD0; Tue, 5 Mar 2024 14:45:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709649958; cv=none; b=ibJrqKsx7y5Qpn4ZkEZ01saPO0uw4dY0lc5QX+b47aAPnRudJGmirkUoAUCAJHP/1rg3dkW+UKJ4+PUdZlC7on3sE3YNtqgQx3cRECZMU5VcZzKhGkrp+C1eu/sg+gnN+mBrCDSarbTf8Vi4i8W5gwRdpb+PCHjW/8ybt1InYTk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709649958; c=relaxed/simple; bh=5G7PGZMu/aicnTYhUQekw8jRSJeEEv9A1txZjh/ZQaY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=R6Hn1Lk3qbMqvzk/RduxDWoupB2UDjJFM1TLX7ZH5b5kuxXLmbJJJ5i8/qxQnrvNVvahQAIBIfNfKvTqDnjC0yt93L89nZSBSyDmnoGzF0DOc3SIUJsbeQ6pdP1v6yZzX3M9NyLLUoyZ00rWGq8jGDPiWFzfN2Pa67OkRtt11qI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lGWKnq0w; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 887A2C433C7; Tue, 5 Mar 2024 14:45:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709649957; bh=5G7PGZMu/aicnTYhUQekw8jRSJeEEv9A1txZjh/ZQaY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=lGWKnq0wV1cArcaiC2IzwVjteX5G4wZqCSqTxVLf/cpk9GBnqCMW3KwK5rTcGT6bU IYx0ZCL7h2tpD87hypAGK4hAqa2VIxSLFr0jy6brDbetzzDy+e7mQyEG3FEp+FpKXK H+nit08zQDFy0jmjBgYYBRym2UryE6Rzuc979eVouGqJxn6RaX6yBdNnG8Qmkqr2jO Z4QI4gN1zCgfScCNj9AEv4s6YlEX3RUuvpgxboIaaDd6kHJ1eHBKfhM8q/3aIrCKCH 0uk2S5D4bNjoR3Fe5D42ycNLoAlM+uLIDcBN3RZ7l5/wq4mw+gmFw1VujtvFPH9DMP dsS55+2k6pCKQ== From: Kalle Valo To: Conor Dooley Cc: Marc Gonzalez , Jeff Johnson , ath10k , wireless , DT , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Pierre-Hugues Husson , Jami Kettunen , Jeffrey Hugo Subject: Re: [PATCH 1/2] dt-bindings: net: wireless: ath10k: add qcom,no-msa-ready-indicator prop References: <14daa98e-7fd3-4ebb-87bb-5d2c1fba679f@freebox.fr> <871q8wk7o3.fsf@kernel.org> <3392f356-7b19-483d-b9f8-3bd84068fa52@freebox.fr> <87wmqoilzf.fsf@kernel.org> <20240229-ageless-primal-7a0544420949@spud> Date: Tue, 05 Mar 2024 16:45:53 +0200 In-Reply-To: <20240229-ageless-primal-7a0544420949@spud> (Conor Dooley's message of "Thu, 29 Feb 2024 18:40:57 +0000") Message-ID: <87le6w7n4u.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Conor Dooley writes: > On Wed, Feb 28, 2024 at 06:37:08PM +0200, Kalle Valo wrote: >> Marc Gonzalez writes: > >> > 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? >> >> Sorry, not following you here. But I'll try to answer anyway: >> >> I have understood that Device Tree is supposed to describe hardware, not >> software. This is why having this property in DT does not look right >> place for this. For example, if the ath10k firmware is fixed then DT >> would have to be changed even though nothing changed in hardware. But of >> course DT maintainers have the final say. > > I dunno, if the firmware affects the functionality of the hardware in a > way that cannot be detected from the operating system at runtime how > else is it supposed to deal with that? This is why we implemented in ath10k firmware-N.bin with all sorts of meta data about the firmware. There are a lots of different ath10k firmware branches and they have differences which ath10k needs to take into account. firmware-N.bin tells all that info to ath10k runtime, per firmware release. > The devicetree is supposed to describe hardware, yes, but at a certain > point the line between firmware and hardware is invisible :) > Not describing software is mostly about not using it to determine > software policy in the operating system. For me it feels wrong to use DT for handling WLAN firmware differences. For example, what if the ath10k firmware in linux-firmware is fixed? Are we expecting that DT in existing boards is updated? But how is the DT update going to be synced with linux-firmware releases? Sure, in this case it most likely won't matter but as a generic solution this looks very fragile to me. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches