[PW_SID:1074376] [v1] Bluetooth: btintel_pcie:Support Product level reset.#37
[PW_SID:1074376] [v1] Bluetooth: btintel_pcie:Support Product level reset.#37BluezTestBot wants to merge 2 commits intoworkflowfrom
Conversation
bluez/action-ci uses master as default branch for workflow which is incorrect for kernel. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
When driver encounters a TOP exception, ACPI methods will be called for Product level reset since Wifi and BT share the same TOP, BT driver will first reprobe the wifi driver and then reprobe BT. Tested by: 1) Simulating TOP exception: sudo hcitool cmd 3f 4d 0A 00 And verified that the device went through PLDR by checking the ACPI debug logs. 2) Toggle of sysfs attribute for BT reset for FLR i.e echo 1 > /sys/class/bluetooth/hci0/reset Signed-off-by: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com>
|
CheckPatch |
|
GitLint |
|
SubjectPrefix |
|
BuildKernel |
|
CheckAllWarning |
|
CheckSparse |
|
BuildKernel32 |
|
TestRunnerSetup |
|
TestRunner_l2cap-tester |
|
TestRunner_iso-tester |
|
TestRunner_bnep-tester |
|
TestRunner_mgmt-tester |
|
TestRunner_rfcomm-tester |
|
TestRunner_sco-tester |
|
TestRunner_ioctl-tester |
|
TestRunner_mesh-tester |
|
TestRunner_smp-tester |
|
TestRunner_userchan-tester |
|
TestRunner_6lowpan-tester |
|
IncrementalBuild |
When driver encounters a TOP exception, ACPI methods will be called
for Product level reset since Wifi and BT share the same TOP, BT driver
will first reprobe the wifi driver and then reprobe BT.
Tested by:
And verified that the device went through PLDR by checking the ACPI
debug logs.
echo 1 > /sys/class/bluetooth/hci0/reset
Signed-off-by: Chandrashekar Devegowda chandrashekar.devegowda@intel.com
drivers/bluetooth/btintel.c | 6 +-
drivers/bluetooth/btintel.h | 7 ++
drivers/bluetooth/btintel_pcie.c | 163 +++++++++++++++++++++++++++++--
drivers/bluetooth/btintel_pcie.h | 6 ++
4 files changed, 171 insertions(+), 11 deletions(-)