Bluetooth: btintel_pcie: Trigger device coredump on hardware exception
PATCH 1/1 Bluetooth: btintel_pcie: Trigger device coredump on hardware exception
Driver dumps device core dump on firmware exception.
--- drivers/bluetooth/btintel_pcie.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/bluetooth/btintel_pcie.c +5 -0
@@ -60,6 +60,7 @@ MODULE_DEVICE_TABLE(pci, btintel_pcie_table);#define BTINTEL_PCIE_MAGIC_NUM 0xA5A5A5A5#define BTINTEL_PCIE_TRIGGER_REASON_USER_TRIGGER 0x17A2 +#define BTINTEL_PCIE_TRIGGER_REASON_FW_ASSERT 0x1E61/* Alive interrupt context */ enum {
@@ -1202,6 +1203,10 @@ static void btintel_pcie_msix_hw_exp_handler(struct btintel_pcie_data *data)if (test_and_set_bit (BTINTEL_PCIE_HWEXP_INPROGRESS , &data->flags))return ; + +/* Trigger device core dump when there is HW exception */ +if (!test_and_set_bit (BTINTEL_PCIE_COREDUMP_INPROGRESS , &data->flags)) + data->dmp_hdr.trigger_reason =BTINTEL_PCIE_TRIGGER_REASON_FW_ASSERT ;queue_work (data->workqueue, &data->rx_work); }
Signature · 1 line
2.43.0
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=940159
---Test result---
Test Summary:
CheckPatch PENDING 0.25 seconds GitLint PENDING 0.23 seconds SubjectPrefix PASS 0.10 seconds BuildKernel PASS 25.05 seconds CheckAllWarning PASS 27.66 seconds CheckSparse PASS 30.73 seconds BuildKernel32 PASS 24.91 seconds TestRunnerSetup PASS 435.45 seconds TestRunner_l2cap-tester PASS 21.36 seconds TestRunner_iso-tester PASS 31.99 seconds TestRunner_bnep-tester PASS 4.85 seconds TestRunner_mgmt-tester PASS 122.68 seconds TestRunner_rfcomm-tester PASS 10.31 seconds TestRunner_sco-tester PASS 12.72 seconds TestRunner_ioctl-tester PASS 8.95 seconds TestRunner_mesh-tester FAIL 6.39 seconds TestRunner_smp-tester PASS 7.32 seconds TestRunner_userchan-tester PASS 5.09 seconds IncrementalBuild PENDING 0.93 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner Output:
Total: 10, Passed: 9 (90.0%), Failed: 1, Not Run: 0
Failed Test Cases
Mesh - Send cancel - 2 Failed 0.117 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:
---
Regards,
Linux Bluetooth