Message ID | 20250211112619.1901277-1-chandrashekar.devegowda@intel.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v1] Support BT remote wake. | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/SubjectPrefix | fail | "Bluetooth: " prefix is not specified in the subject |
tedd_an/BuildKernel | success | BuildKernel PASS |
tedd_an/CheckAllWarning | success | CheckAllWarning PASS |
tedd_an/CheckSparse | success | CheckSparse PASS |
tedd_an/BuildKernel32 | success | BuildKernel32 PASS |
tedd_an/TestRunnerSetup | success | TestRunnerSetup PASS |
tedd_an/TestRunner_l2cap-tester | success | TestRunner PASS |
tedd_an/TestRunner_iso-tester | success | TestRunner PASS |
tedd_an/TestRunner_bnep-tester | success | TestRunner PASS |
tedd_an/TestRunner_mgmt-tester | success | TestRunner PASS |
tedd_an/TestRunner_rfcomm-tester | success | TestRunner PASS |
tedd_an/TestRunner_sco-tester | success | TestRunner PASS |
tedd_an/TestRunner_ioctl-tester | success | TestRunner PASS |
tedd_an/TestRunner_mesh-tester | success | TestRunner PASS |
tedd_an/TestRunner_smp-tester | success | TestRunner PASS |
tedd_an/TestRunner_userchan-tester | success | TestRunner PASS |
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=932514 ---Test result--- Test Summary: CheckPatch PENDING 0.28 seconds GitLint PENDING 0.30 seconds SubjectPrefix FAIL 0.30 seconds BuildKernel PASS 24.89 seconds CheckAllWarning PASS 27.04 seconds CheckSparse PASS 30.47 seconds BuildKernel32 PASS 24.27 seconds TestRunnerSetup PASS 432.79 seconds TestRunner_l2cap-tester PASS 20.37 seconds TestRunner_iso-tester PASS 31.75 seconds TestRunner_bnep-tester PASS 10.22 seconds TestRunner_mgmt-tester PASS 121.61 seconds TestRunner_rfcomm-tester PASS 7.34 seconds TestRunner_sco-tester PASS 9.15 seconds TestRunner_ioctl-tester PASS 8.06 seconds TestRunner_mesh-tester PASS 5.92 seconds TestRunner_smp-tester PASS 6.83 seconds TestRunner_userchan-tester PASS 4.98 seconds IncrementalBuild PENDING 0.92 seconds Details ############################## Test: CheckPatch - PENDING Desc: Run checkpatch.pl script Output: ############################## Test: GitLint - PENDING Desc: Run gitlint Output: ############################## Test: SubjectPrefix - FAIL Desc: Check subject contains "Bluetooth" prefix Output: "Bluetooth: " prefix is not specified in the subject ############################## Test: IncrementalBuild - PENDING Desc: Incremental build with the patches in the series Output: --- Regards, Linux Bluetooth
Dear Chandrashekar, Thank you for your patch. Several comments on formal things. Am 11.02.25 um 12:26 schrieb Chandrashekar Devegowda: Your system time is set incorrectly and set to the future. > Changes to add hdev->wakeup call to support wake on BT feature. Please elaborate. What is the problem? How is it solved? How is it tested? > Signed-off-by: Chandrashekar Devegowda <chandrashekar.devegowda@intel.com> > Signed-off-by: Kiran K <kiran.k@intel.com> > --- > changes in v1: > - support for BT remote wake. Not necessary to note v1 changes. > drivers/bluetooth/btintel_pcie.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c > index b8b241a92bf9..e0633fab55a0 100644 > --- a/drivers/bluetooth/btintel_pcie.c > +++ b/drivers/bluetooth/btintel_pcie.c > @@ -1509,6 +1509,13 @@ static int btintel_pcie_setup(struct hci_dev *hdev) > return err; > } > > +static bool btintel_pcie_wakeup(struct hci_dev *hdev) > +{ > + struct btintel_pcie_data *data = hci_get_drvdata(hdev); > + > + return device_may_wakeup(&data->pdev->dev); > +} > + > static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data) > { > int err; > @@ -1533,6 +1540,7 @@ static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data) > hdev->hw_error = btintel_hw_error; > hdev->set_diag = btintel_set_diag; > hdev->set_bdaddr = btintel_set_bdaddr; > + hdev->wakeup = btintel_pcie_wakeup; > > err = hci_register_dev(hdev); > if (err < 0) { The diff looks good. Kind regards, Paul
diff --git a/drivers/bluetooth/btintel_pcie.c b/drivers/bluetooth/btintel_pcie.c index b8b241a92bf9..e0633fab55a0 100644 --- a/drivers/bluetooth/btintel_pcie.c +++ b/drivers/bluetooth/btintel_pcie.c @@ -1509,6 +1509,13 @@ static int btintel_pcie_setup(struct hci_dev *hdev) return err; } +static bool btintel_pcie_wakeup(struct hci_dev *hdev) +{ + struct btintel_pcie_data *data = hci_get_drvdata(hdev); + + return device_may_wakeup(&data->pdev->dev); +} + static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data) { int err; @@ -1533,6 +1540,7 @@ static int btintel_pcie_setup_hdev(struct btintel_pcie_data *data) hdev->hw_error = btintel_hw_error; hdev->set_diag = btintel_set_diag; hdev->set_bdaddr = btintel_set_bdaddr; + hdev->wakeup = btintel_pcie_wakeup; err = hci_register_dev(hdev); if (err < 0) {