Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp7578273rdb; Thu, 4 Jan 2024 00:23:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IHY2md+HV/IQ4nw3yEx/UhQ1Th4oIaHSvAfCGgS9ewWKn/oDwuCdJUSp7oUiS7hFBRuJbWV X-Received: by 2002:ac8:7e8b:0:b0:428:2267:c05b with SMTP id w11-20020ac87e8b000000b004282267c05bmr317754qtj.58.1704356613446; Thu, 04 Jan 2024 00:23:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704356613; cv=none; d=google.com; s=arc-20160816; b=GW1oXU45a+K+FDbLTDA7ptX3RZ2kBmhCMEmWPowrn9RJWwtKcBN8kDE4+2pHB1DZBn G67YnvTzoFIYPXJt34AdSo1KyO7B7StRpKFPjuEwH/TXdipok9OA8kolZBSmSu9NyLe8 rLNKs1oUM7mYt9dmDbbncTvR/9IZzQoTdCM8PbLfo5lSIGmBRTwy3pBBqNaQrtK68gN5 6H4g8qTvrfvmihukHV36gNkfx8qRJHWZ7dvueZl1bWpndY73jDT9NEvQfiQeDaTnct6F exrNcT9nCBxrRta1RQIfa/agapCuTvOvx7/xngJZUOAFuQWraWBVrN/OZKnama8+bDo8 RSQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:from :content-transfer-encoding:feedback-id:dkim-signature:dkim-signature; bh=rz7t4L7SKYLUwAKIGyc8115AY3LogDATd1ChHOD/0oc=; fh=FoyiT4LqJw3VYtIda6gqBl7eDyXbMUNxa3Vwqh9P1Jo=; b=mxWFCH7DTcRig7iIdwom5J1JcpvMvFOUoPxBCT4BR56afwVQBKri91Z9S8ZSfL5vnK 8gVjyrxR13NOpYkkZzbPUBHkGq8Tlnz8UiWGVsaPEucidWGodjaHwSQtk+mxipiVgzrG MJkKsRW5U08g5xp5vRUIR8pCuV4tQZNRTswLN+1TBVyowZVKiMPr+mdqaWFdEc05xseC aFcboV8sj+j/ql3dQN6VfOho2QEEql5yJpY0o26Re4gVRlPFGNzboomYmwbBWnIpoHw+ iTK/4pHWCcuaifJC/uyP7CFyIN+BgrhMuVP3wcj45gorVrGg8BfOfdshKh2UlphfyB/C Ar4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm2 header.b=CuxMj0Yh; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=cQByYA58; spf=pass (google.com: domain of linux-bluetooth+bounces-879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svenpeter.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y21-20020a05622a005500b0042877916414si748512qtw.553.2024.01.04.00.23.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Jan 2024 00:23:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@svenpeter.dev header.s=fm2 header.b=CuxMj0Yh; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=cQByYA58; spf=pass (google.com: domain of linux-bluetooth+bounces-879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-879-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=svenpeter.dev 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 373291C20D25 for ; Thu, 4 Jan 2024 08:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3FBC720307; Thu, 4 Jan 2024 08:23:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=svenpeter.dev header.i=@svenpeter.dev header.b="CuxMj0Yh"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="cQByYA58" X-Original-To: linux-bluetooth@vger.kernel.org Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (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 CFF0B2030A; Thu, 4 Jan 2024 08:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=svenpeter.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=svenpeter.dev Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 7E7363200B6C; Thu, 4 Jan 2024 03:23:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 04 Jan 2024 03:23:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svenpeter.dev; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1704356601; x=1704443001; bh=rz7t4L7SKYLUwAKIGyc8115AY3LogDAT d1ChHOD/0oc=; b=CuxMj0YhgZgVN9nQlbqv3g8O25QP8c+q1hw0w+1UCP7cRpON tAgmiiyEt9adMomTbE6qKlpNGA4nzSLuSj755y6s/OFFL85a70r/wCB/4Sm9PQcl HZSLArZJq077/V4pagBmFPhw0EmD+3aGmgp6W6xh/5pFTk04ZV1wKCNzK3VahFm0 ZbolZjpMQdkGPWNtctCeDQaodfzTme20DCxO+93RnfAN+3QgC3p9JXh8vC1fHBwY M6/bks/2MOJMhNdmoZkX+02J0zTHILTQPBdcGRu8aTK7gPjMClNEuLCCBXY9Okk8 Y6ir2gZCE8XTVemZZ5jhh/94V6z16MHFwrogLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704356601; x= 1704443001; bh=rz7t4L7SKYLUwAKIGyc8115AY3LogDATd1ChHOD/0oc=; b=c QByYA58xbiVKL++txKhgK+9GfySSwu7RVubvk6l00OXBzK6Sb7a4SwhHnq23vbee 8d/JYJ5Y/Mh8wkHdRsNv8/NY3Fi/58OS+g7Qoc9JV2O8Miz3eRSPVyOZQuLhekFM xj7/D41hgOBi7k0JS1sCAM9zn0Krg1XpSg51EBkuhEYZVti1Uhy0nV6c40yL7O4N gX2jkJVFPFqpS43BKHOKX30zb1+f+OKWNJ6HbEWiT3jXZE1I8A/6dCNnj3mZ0Dgz Glp8dOwHFFiD7AIx7nR7qqkLEN6N/xJzxIpo+a3LkvZof37ddtpvCUMy6yjpkwil vmYvllIHwpKpqhitnzG9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegiedgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtgffhggfufffkfhevjgfvofesthhqmhdthhdtjeenucfhrhhomhepufhv vghnucfrvghtvghruceoshhvvghnsehsvhgvnhhpvghtvghrrdguvghvqeenucggtffrrg htthgvrhhnpedvhfdtudduvdeujeeufffgudekvdefvefgueeiiedvledtheegieevffdt teekudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsvhgvnhesshhvvghnphgvthgvrhdruggvvh X-ME-Proxy: Feedback-ID: i51094778:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 4 Jan 2024 03:23:20 -0500 (EST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Sven Peter Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v3] Bluetooth: Fix Bluetooth for BCM4377 on T2 Intel MacBooks Date: Thu, 4 Jan 2024 09:23:08 +0100 Message-Id: <4D53181A-F6AC-4571-9E84-3B19AB37ADFE@svenpeter.dev> References: 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 In-Reply-To: To: Johan Hovold X-Mailer: iPhone Mail (21C66) >=20 > On 4. Jan 2024, at 09:21, Johan Hovold wrote: >=20 > =EF=BB=BFOn 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=E2=80=AFPM, Johan Hovold wro= te: >=20 >>>> Ok, good, then this patch and the one I posted are mostly equivalent >>>> assuming that the BCM4378/4387 return an invalid address during setup. >>>>=20 >>>> This patch may be preferred as it does not need to rely on such >>>> assumptions, though. >=20 >>> So what's the final take on this? Which one is gonna be merged upstream?= >>=20 >> I would=E2=80=99ve preferred this one (possibly with a better commit mess= age) >> since it=E2=80=99s more explicit and doesn=E2=80=99t rely on additional a= ssumptions >> but it looks like Johan=E2=80=99s version was already merged. >=20 > 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. >=20 > Johan I think the check used to work for BRCM4378 when I originally wrote the driv= er but I don=E2=80=99t have any BRCM4387 hardware so can=E2=80=99t test that= myself. Sven