]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: mt7921s: fix firmware coredump retrieve
authorMark Chen <mark-yw.chen@mediatek.com>
Wed, 12 Jan 2022 07:39:11 +0000 (15:39 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:56 +0000 (13:57 +0200)
commitc20594254ebaa4048564cac30254c0f7391acdbd
treed1e1cebbac4e05060c6411c707bf985d87bd1283
parentc6049161291737242d5a008bd8ebe0409b175a43
Bluetooth: mt7921s: fix firmware coredump retrieve

[ Upstream commit 2fc967cc0dadad6735448cfbcbc77fe0ea30203d ]

According to the MCU firmware behavior, as the driver is aware of the
notification of the interrupt source FW_MAILBOX_INT that shows the MCU
completed delivered a core dump piece to the host, the driver must
acknowledge the MCU with the register PH2DSM0R bit PH2DSM0R_DRIVER_OWN
to notify the MCU to handle the next core dump piece.

Fixes: db57b625912a ("Bluetooth: btmtksdio: add support of processing firmware coredump and log")
Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Mark Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/bluetooth/btmtksdio.c