Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp352918lqt; Mon, 18 Mar 2024 09:35:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwjPIhzdSTmwwBNVotTu4r0WWY7wibCk4oYnRcBvC3ZPNGO28a00x98iKCKlQjBvJYMU7mlVM57H2kEciy3Klsi1OWD/AtlydLMuL88A== X-Google-Smtp-Source: AGHT+IEXYlW8Q1xWjv2J1PqoJ5E0sakwZ6/5Ab6gI/2oknQQ6RcqvAteazmxl6XHcsTdpUV6BxkT X-Received: by 2002:a05:6a00:1810:b0:6e6:f6db:3f57 with SMTP id y16-20020a056a00181000b006e6f6db3f57mr269111pfa.13.1710779700324; Mon, 18 Mar 2024 09:35:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710779700; cv=pass; d=google.com; s=arc-20160816; b=debTwbWYxtzjNPn5NWA3H9vyGFi/decCKPsaKHfq+QLTQHxYG2rK+T77YoN8zHAZRD gzH5kdUk3DjW9uumTjlFHYZRKDuyaMMu57z67ms58ItvJYCZVsTbEX5Z04H11vBtT3Y9 g/a1QK9+tRafUkppOTYaAHOYWTTkr9wh6SbaF6SLu+zavsHttNudVT/tWRsJch4nIJYS 22Vi1vBpUBaYz0IdssRkUfq4Ii5YyZaShVWqr0DgKEftzL7bC/53rrvBHYO8j8cKexuh O5PRYcPP/C52YBJYNpmNO44+/lyJO1mgZWNe80YAUb71ZmrT31MgMu/0ZB+PFbYsebSH 5+ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ppjoD7cwjnCsn0u5jJwAlBrj2aA19SXa+PkY7CA/tt4=; fh=8xx20a95/xk6TpTEzY7g6eksTVIGVlPUhSlPYA7vmlI=; b=hynYuOXIjMDCre0YoIg+IQ2W+Ipoq6eKydgXGN/zyfhWpNaRdygejhp6Cj8aCiYGze lLxmkQ2q5FzJPsVuSm/qomCNXGgdt5mdq0bRyUFfmviP35XqnIuFVq252rWlxwiqXffc rW3762uCWR2JmWz3fhJgJCC3uUJnm8qCu3msDLLZalJxg8CQGLSxV6TGC21aWxsLghWQ Ju55tcRP0QeeoyjKgU1TzkZqlHgm5sCSp1JptbsXf1Q45BdGnK5sh1nu4fzqpIP8G4Hk CwfGwyjdaoq3ifg3bZe2rkNqs5hXHi/nXe8tlICEXKbwgYDawGEJQv081TQ4GWA7Zjje CdHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mQJgdcVa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-2594-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2594-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. [139.178.88.99]) by mx.google.com with ESMTPS id y9-20020aa78549000000b006e67509f179si9229622pfn.68.2024.03.18.09.35.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 09:35:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2594-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=@kernel.org header.s=k20201202 header.b=mQJgdcVa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-bluetooth+bounces-2594-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2594-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 05233281D05 for ; Mon, 18 Mar 2024 16:35:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2B2554BEF; Mon, 18 Mar 2024 16:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mQJgdcVa" X-Original-To: linux-bluetooth@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 2DC3954760; Mon, 18 Mar 2024 16:34:44 +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=1710779685; cv=none; b=hz9yIIfnMPg9x7jEzf8GvW9SKvD6jnZKY4BTYBtWuISizBJBv+7QbM20Cz/9L/R0q93c/g6I3a9JsYMx94ahZiXux7d5iZld0voNL6DDzIoITDfzuCmPoSOn0BUoylljoccxna1xbKhGuzMiVoyySfFh1TGmrcp7/dwvbj0lhFA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710779685; c=relaxed/simple; bh=jt/sOoOzj0a59OXvgu+Bf8PPmNVWQEkERkh0u3TimXI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=vGqxfxKz9JhK3jG5q7NhpTJblBD6MFBvvH3MvGAmlszp59Rh3Rq5WKYt0e049enJKbNlIGBmnB+JHIXQOm2qS63wRTExRsbk6h2TBp/GIvp7y21hA7JBpmvmhZ9ZQsYv2mK5JJ7kC7aiSHZ7V/ids1+Gb4e4nGFambU3/UYbD7c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mQJgdcVa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFFA9C433C7; Mon, 18 Mar 2024 16:34:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710779684; bh=jt/sOoOzj0a59OXvgu+Bf8PPmNVWQEkERkh0u3TimXI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mQJgdcVa5Z/a9TsWkbwMrJ6UUhgpVmB6zeYC3joMYxAGhyyNapKgPZ1GtN5Qs15oQ KKJ1TYve31MsC6UDDoqVxSR+/KJTdL7+6zP9vrP7jNCBLgDDKRjaKxktazMCj7s7F9 fsWZkzT/HK6jSmCVRgtUfau3KwQcpEHefQJhk9yobVV8Er7XqTVtYYmU2Z5SHJ50NW ghGekwJtua3ofo1dbntAC49ZVmACcAyjfaOCXOfVgOGv3MgcxuiN/QciwCbNRBEx82 xteZwwjB8wtfsq51rRzD4eu8flbOxawuL4vtU8s4JLfAbpGWFFDm38pVchhipdA3Iq F/jUzMg4WC+JA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rmFwo-000000003Jy-35AB; Mon, 18 Mar 2024 17:34:50 +0100 Date: Mon, 18 Mar 2024 17:34:50 +0100 From: Johan Hovold To: Doug Anderson , Rob Herring Cc: Dmitry Baryshkov , Johan Hovold , Marcel Holtmann , Luiz Augusto von Dentz , Krzysztof Kozlowski , Conor Dooley , Johan Hedberg , Matthias Kaehlcke , Bjorn Andersson , Konrad Dybcio , linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] dt-bindings: bluetooth: add new wcn3991 compatible to fix bd_addr Message-ID: References: <20240318110855.31954-1-johan+linaro@kernel.org> <20240318110855.31954-2-johan+linaro@kernel.org> <20240318144806.GA3963554-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Mar 18, 2024 at 08:58:40AM -0700, Doug Anderson wrote: > On Mon, Mar 18, 2024 at 8:47 AM Johan Hovold wrote: > > On Mon, Mar 18, 2024 at 08:31:09AM -0700, Doug Anderson wrote: > > Thanks for the details. Sounds like we could get away with adding a new > > property for the broken firmware in this case, which should resolve this > > nicely without having to deprecate anything. > > > > Could you carry such a devicetree patch out-of-tree until the firmware > > has been fixed? > > IMO we shouldn't try to fix the firmware at all. Given the fact that > it took me a year to get a firmware uprev completed for one trogdor > variant for fixes that actually had functional impact, it's possible > we'll never actually get an uprev completed that includes this fix or > it will happen years from now when nobody remembers about it. I'm also > certain this whole issue will also cause a bunch of debugging over the > years if we try to fix it in firmware like that. There are cases where > people end up running with old firmware since the developer workflow > doesn't automatically update it. > > The handling should be added upstream and we should just accept that > the trogdor firmware gets it backward. Fair enough. Rob, are you OK with adding a 'qcom,local-bd-address-broken' or similarly named property to indicate that the boot firmware passes the address in the wrong order? I'd then add that property to sc7180-trogdor.dtsi in mainline. Johan