From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) (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 2D77822F0F for ; Mon, 13 Nov 2023 23:31:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="gDnZGryz" Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2802b744e52so4667478a91.0 for ; Mon, 13 Nov 2023 15:31:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699918263; x=1700523063; darn=lists.linux.dev; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=kDZ1cIdWgAZuXI5ozto7uEtbIC72lCm4PFb4eXmL6CE=; b=gDnZGryzi+ruPCMhtP7Zp3dgQt0o3Tw9EPKg9sGwO8+wemog/OdSLYnkivAtS4Ojtm ACHeylj3+QcGl6Vx9FCCdjub+MwpvoFEjTryPEl7N0wN2oV+gvVSxEiit3mLRE8ksZPb 7VPPKTdUt0WHV/FiDdKK4S5xYF/dbgeEs3+csMVOv3Z/QWOFDEsLCUqhX8lL+t+txSEl ODBoMkQvKjno1JYHDHvyJK+sQjhvCH7yjX7eZK5OO6FZshZFAiMjKVxkRv5IjbhuOLR6 LIHclGn8jX3eZWerK5i+G/rKTysYYHJnIZbRIYpUwpQoYjqYZpuJi9HtIRRRYRj+AKza P56g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699918263; x=1700523063; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kDZ1cIdWgAZuXI5ozto7uEtbIC72lCm4PFb4eXmL6CE=; b=b+lEo/D8ezI9CwQvrNjS+kKRnCxcp8eWJOrF5YbfZWRI8V60OPpKAwJEUQOZWGCgza yradYJ/nEKpCMJCFD5+nsqjH4eSN5viSn5RsgNN2DzWV7wiZ2WGD5VCZloJyh0YHxWwg UyLdFNW5QrD+C0u8TNEw/QoJ9q/0E3LVKvOMaikav8MOjgtOw7etBX39aRe6RSxtP+o+ 6QkOuDJt2OaD7YytaQlCfX3FVXtZvU+W7BYIDKm43o2Bu3UmkoR6bn2tyrCs7Y5rMD11 serKvEHMMgsWbf8TB8W6u2W2y3B9f4AikVtINTyjK7tII/0pL7JSkDY4nlP2ovHIhHDv eMuA== X-Gm-Message-State: AOJu0YyetA6jvlYS/TP6Qqv+wb2jwpK5+iAUzDQT+voQWbT6TQokTaAS jHcGBO2g0iYar6W57DZCpQI= X-Google-Smtp-Source: AGHT+IHxx+SJCVs7SPPaBNARSsTIQL2a78Bq6VjpoYvEXoFTIZ8zIJb8O8RxQL5Rcvn7Bfimz39oGg== X-Received: by 2002:a17:90b:180f:b0:280:4af4:1a41 with SMTP id lw15-20020a17090b180f00b002804af41a41mr1507089pjb.15.1699918263286; Mon, 13 Nov 2023 15:31:03 -0800 (PST) Received: from archie.me ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id k9-20020a170902694900b001cc0e3a29a8sm4529918plt.89.2023.11.13.15.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 15:31:02 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id 8131A101BF818; Tue, 14 Nov 2023 06:31:00 +0700 (WIB) Date: Tue, 14 Nov 2023 06:31:00 +0700 From: Bagas Sanjaya To: Aditya Garg , Hector Martin , Sven Peter , Alyssa Rosenzweig , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Cc: Orlando Chamberlain , Kerem Karabay , Aun-Ali Zaidi , Asahi Linux Mailing List , Linux Kernel Mailing List , Linux Bluetooth Subject: Re: [REGRESSION] Bluetooth is not working on Macs with BCM4377 chip starting from kernel 6.5 Message-ID: References: <22582194-DE99-45E5-ABEE-C1C7900DA523@live.com> Precedence: bulk X-Mailing-List: asahi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6D6G11eLM7jDJgCQ" Content-Disposition: inline In-Reply-To: <22582194-DE99-45E5-ABEE-C1C7900DA523@live.com> --6D6G11eLM7jDJgCQ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 13, 2023 at 08:57:35PM +0000, Aditya Garg wrote: > Starting from kernel 6.5, a regression in the kernel is causing Bluetooth= to not work on T2 Macs with BCM4377 chip. >=20 > Journalctl of kernel 6.4.8 which has Bluetooth working is given here: htt= ps://pastebin.com/u9U3kbFJ >=20 > Journalctl of kernel 6.5.2, which has Bluetooth broken is given here: htt= ps://pastebin.com/aVHNFMRs >=20 > Also, the bug hasn=E2=80=99t been fixed even in 6.6.1, as reported by use= rs. Can you bisect this regression please? >=20 > Some relevant bits imo: >=20 > =E2=80=A2 Sep 19 21:24:36 RudyUbuMbp kernel: hci_bcm4377 0000:73:00.1= : can't disable ASPM; OS doesn't have ASPM control >=20 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: Call Trace: > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: dump_stack_lvl+0x48/0x70 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: dump_stack+0x10/0x20 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: __ubsan_handle_shift_out= _of_bounds+0x156/0x310 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: ? ttwu_do_activate+0x80/= 0x290 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: ? raw_spin_rq_unlock+0x1= 0/0x40 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: ? try_to_wake_up+0x292/0= x6c0 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: ? sched_slice+0x76/0x140 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: ? reweight_entity+0x15c/= 0x170 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: __reg_op.cold+0x14/0x38 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: bitmap_release_region+0x= e/0x20 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: bcm4377_handle_ack+0x8c/= 0x130 [hci_bcm4377] > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: bcm4377_poll_completion_= ring+0x196/0x330 [hci_bcm4377] > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: ? rcu_gp_kthread_wake+0x= 57/0x90 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: bcm4377_irq+0x77/0x140 [= hci_bcm4377] > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: __handle_irq_event_percp= u+0x4c/0x1b0 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: handle_irq_event+0x39/0x= 80 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: handle_edge_irq+0x8c/0x2= 50 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: __common_interrupt+0x4f/= 0x110 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: common_interrupt+0x45/0x= b0 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: asm_common_interrupt+0x2= 7/0x40 > =E2=80=A2 Nov 14 01:29:28 RudyUbuMbp kernel: RIP: 0033:0x7f17b5fd8bca Anyway, thanks for the regression report. I'm adding it to regzbot: #regzbot ^introduced: v6.4..v6.5 --=20 An old man doll... just what I always wanted! - Clara --6D6G11eLM7jDJgCQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCZVKxsQAKCRD2uYlJVVFO o7pdAQCnfRXRPTO65yNiy5w0iigPO8iwskixInYi/GKY5Njt/wD/Zkgd2bApc+JF H8fRsVcs7KNkBGy8IHSdCWeFO/IWLw4= =vFNS -----END PGP SIGNATURE----- --6D6G11eLM7jDJgCQ--