Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7577654rdb; Thu, 4 Jan 2024 00:21:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJybT1gFjbPLa9ZklF3MbDnb9xzxO5rAPkk1O4pp0//bm5qPJoEc2YGLbaS6UVuQDGMRbO X-Received: by 2002:a05:6a00:1b43:b0:6d9:9613:cb9e with SMTP id o3-20020a056a001b4300b006d99613cb9emr279094pfv.29.1704356497129; Thu, 04 Jan 2024 00:21:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704356497; cv=none; d=google.com; s=arc-20160816; b=Y0HbKyEOplW2GsUXFMijG+LSvSk+WYVM1+mZVxYKWvLbe6tx4k2Dfjhd/25nQXCop8 hsmhxMismx2NFbtGj61A56ulTFCl9CKngUXEWscsYzgZ/Th94/AIBxuhytfjiRtDmh7W D7RWAhRknPL8emc5SGm03DNDT453I+kVvU4b/2RHF/q6Rn+cZ+rVPbAbilWTshFbe/WV V6oBpNrJWfbkLNmQGFlkzesmwJWDxXLsEkuiy1ECJCcw1sfNzDI4DaAEQbbTOg6rMhTr onPQyLnHFmW59CD6vCULfUAtO0kNyMMWVPP/0V/KdFwZv0evbny1YelKtwwRp6Piy/jd kxlQ== ARC-Message-Signature: i=1; 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=cAOvOt2326zNQqW7c+RiC3oqHfgId8v+pPx6wibjCvQ=; fh=kjwkjQvubxbslYs5tqjsh2rNp38RizxvryAo5U71Im0=; b=WO4YIZ4GRKCvZvynfazDkaQwhkKNI3xz/hf9HpESpmCJoK/nAoQnUvWM03cWHkzTHF LYnZ3z30mkQ8IcJqSpTvPlhem07aLIdfBOC+AL/51yVbH7zhnRlC6PaNIMsy0gJuzAa/ UQMKjj9lwQpnvJwsR+5m//X51y56ps9f7HePeGa01GIViCupR7rKKlamVLPtVYGsKCPB gcVCm9kOt90HIYgNh5PFWl9FjZAsqqnP3ejOxMlgLFllERgvELJ0irIXDPAYZXLDOkT3 j5qfhl/o6wIhTbivM5RO2pggXtmoBM147gPMYZgo8hG6CjfxoxSioVeuQaHi1bJrPDhy cSlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=W63L+Qw5; spf=pass (google.com: domain of linux-bluetooth+bounces-878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-878-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 w20-20020aa78594000000b006d9aa425766si19089312pfn.103.2024.01.04.00.21.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 00:21:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-878-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=W63L+Qw5; spf=pass (google.com: domain of linux-bluetooth+bounces-878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-878-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 0FD1B284123 for ; Thu, 4 Jan 2024 08:21:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A93CF20315; Thu, 4 Jan 2024 08:21:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="W63L+Qw5" 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 0C948200C6; Thu, 4 Jan 2024 08:21:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8088FC433C8; Thu, 4 Jan 2024 08:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704356486; bh=zS2xNl0qvwto+EsZXnidzfKrWR+w3hw0vpx+ygIbVFk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=W63L+Qw5C8WyRqetzCAJ9q/xzcqkQQglWV6S9e4dan1w8kfgrzm8P541++DLV2fAi CiDg0sxrfr5cdKYOlw6hufTlFewl6rJL8Vf+TElcqJ/M9cfAPdnfv7bWVouPwIwjdL vPjzj194KXg24JaqOg1QAb5iF4uIwuvSq/OE8KEfDSDVFcTDltqBjV2m1K5GE8ArQI BHs3QiA0cC8cdnX7tTumyVvoYyToOi1svB4pk8VIPtnf6Pb850250CVZC5NE32IRBA h/nfxnCL70ukO+TszNYxpfan0NQLaWsbtE4irMz7fodVl2YuEQyjeLfEseDOYlLM7M mYeq/Ap77g5rQ== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rLIyg-0007SD-2x; Thu, 04 Jan 2024 09:21:22 +0100 Date: Thu, 4 Jan 2024 09:21:22 +0100 From: Johan Hovold To: Sven Peter Cc: Aditya Garg , Paul Menzel , Felix Zhang , linux-bluetooth@vger.kernel.org, stable@vger.kernel.org, Johan Hovold , Hector Martin , Bagas Sanjaya , Alyssa Rosenzweig , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , Orlando Chamberlain , kekrby@gmail.com, admin@kodeit.net, Janne Grunau , asahi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] Bluetooth: Fix Bluetooth for BCM4377 on T2 Intel MacBooks Message-ID: References: <86B7DC5B-B25A-4D55-BBC7-A1C3EE8AC703@svenpeter.dev> 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: <86B7DC5B-B25A-4D55-BBC7-A1C3EE8AC703@svenpeter.dev> On Thu, Jan 04, 2024 at 08:50:19AM +0100, Sven Peter wrote: > > On 4. Jan 2024, at 08:47, Aditya Garg wrote: > >> On 28-Dec-2023, at 5:41 PM, Johan Hovold wrote: > >> Ok, good, then this patch and the one I posted are mostly equivalent > >> assuming that the BCM4378/4387 return an invalid address during setup. > >> > >> This patch may be preferred as it does not need to rely on such > >> assumptions, though. > > So what's the final take on this? Which one is gonna be merged upstream? > > I would’ve preferred this one (possibly with a better commit message) > since it’s more explicit and doesn’t rely on additional assumptions > but it looks like Johan’s version was already merged. Which addresses do BCM4378/4387 return before they are configured? Should be easy enough to verify that the current check for invalid addresses catches those or otherwise add them to the list. Johan