Bluetooth: btrtl: Add Realtek devcoredump support
authorHilda Wu <hildawu@realtek.com>
Thu, 27 Apr 2023 03:27:55 +0000 (11:27 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Aug 2023 18:35:14 +0000 (11:35 -0700)
commit044014ce85a17c0b7fab8e5df0925792010c29b2
treea32109760ce4e1c34420273924d1c3440d44869c
parentae75336131337f926d61b7fd86a0cca3146a7620
Bluetooth: btrtl: Add Realtek devcoredump support

Catch debug exception from controller and driver, and trigger a
devcoredump using hci devcoredump APIs. The debug exception data
will be parsed in userspace.

Signed-off-by: Alex Lu <alex_lu@realsil.com.cn>
Signed-off-by: Hilda Wu <hildawu@realtek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btrtl.c
drivers/bluetooth/btrtl.h
drivers/bluetooth/btusb.c