From: Raymond Berger <ray.berger@archive.org>
To: dev@deq.rocks
Cc: Sven Peter <sven@kernel.org>,
Marcel Holtmann <marcel@holtmann.org>,
Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
Janne Grunau <j@jannau.net>, Neal Gompa <neal@gompa.dev>,
asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/3] Bluetooth: hci_bcm4377: check hci_register_dev() for a negative return
Date: Sun, 29 Nov 2026 19:17:50 -0800 [thread overview]
Message-ID: <20261130031750.26239-1-ray.berger@archive.org> (raw)
In-Reply-To: <20261127132501.262651-2-dev@deq.rocks>
This is my first time replying on the kernel lists, so please do tell
me if I'm doing anything wrong.
Tested on a MacBookAir9,1 (BCM4377) with an out-of-tree re-probe on
resume (linux-t2-patches PR 87 [1]). Without this patch, both resumes
I tried with A2DP audio streaming at suspend hit this bug: the
re-probe registered the controller as hci1, the PCI core logged
"Driver probe function unexpectedly returned 1", and BR/EDR stayed
dead (page timeouts) until reboot. Reloading the driver then oopsed in
bcm4377_enqueue() from hci1's hci_cmd_work, which looks like the stale
registration your commit message describes.
With this patch on top of PR 87, 11 of 11 such resumes worked, with
two different speakers; with the whole v3 series, 3 of 3 did.
[1] https://github.com/t2linux/linux-t2-patches/pull/87
Tested-by: Raymond Berger <ray.berger@archive.org>
I used Claude Opus 5.5 to help run these tests and go through the
logs.
next prev parent reply other threads:[~2026-11-30 3:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 13:24 [PATCH v3 0/3] Bluetooth: hci_bcm4377: resume after ACPI S3 and ASPM Andre Eikmeyer
2026-11-27 13:24 ` [PATCH v3 1/3] Bluetooth: hci_bcm4377: check hci_register_dev() for a negative return Andre Eikmeyer
2026-11-30 3:17 ` Raymond Berger [this message]
2026-11-27 13:25 ` [PATCH v3 2/3] Bluetooth: hci_bcm4377: probe again after a resume through firmware Andre Eikmeyer
2026-11-30 3:20 ` Raymond Berger
2026-11-27 13:25 ` [PATCH v3 3/3] Bluetooth: hci_bcm4377: keep ASPM off only while the firmware boots Andre Eikmeyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261130031750.26239-1-ray.berger@archive.org \
--to=ray.berger@archive.org \
--cc=asahi@lists.linux.dev \
--cc=dev@deq.rocks \
--cc=j@jannau.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
--cc=marcel@holtmann.org \
--cc=neal@gompa.dev \
--cc=sven@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox