2023-07-04 17:14:13

by Pauli Virtanen

[permalink] [raw]
Subject: [PATCH BlueZ] doc/tester-config: enable DEBUG_KERNEL, PROVE_RCU, DEBUG_ATOMIC_SLEEP

Add more lock/sleep debugging to the default tester config.

Enable DEBUG_KERNEL since olddefconfig won't enable PROVE_LOCKING
without it. Enable PROVE_RCU to also check RCU usage. Enable
DEBUG_ATOMIC_SLEEP to catch those as well.
---
doc/test-runner.txt | 3 +++
doc/tester.config | 3 +++
2 files changed, 6 insertions(+)

diff --git a/doc/test-runner.txt b/doc/test-runner.txt
index 019c23188..43ce42be6 100644
--- a/doc/test-runner.txt
+++ b/doc/test-runner.txt
@@ -74,9 +74,12 @@ Lock debuging
To catch locking related issues the following set of kernel config
options may be useful:

+ CONFIG_DEBUG_KERNEL=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_LOCK_ALLOC=y
+ CONFIG_DEBUG_ATOMIC_SLEEP=y
CONFIG_PROVE_LOCKING=y
+ CONFIG_PROVE_RCU=y
CONFIG_LOCKDEP=y
CONFIG_DEBUG_MUTEXES=y
diff --git a/doc/tester.config b/doc/tester.config
index 4429a7222..099eddc79 100644
--- a/doc/tester.config
+++ b/doc/tester.config
@@ -47,10 +47,13 @@ CONFIG_UNIX=y

CONFIG_UHID=y

+CONFIG_DEBUG_KERNEL=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_LOCK_ALLOC=y
+CONFIG_DEBUG_ATOMIC_SLEEP=y
CONFIG_PROVE_LOCKING=y
+CONFIG_PROVE_RCU=y
CONFIG_LOCKDEP=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_KASAN=y
--
2.41.0



2023-07-04 18:30:29

by bluez.test.bot

[permalink] [raw]
Subject: RE: [BlueZ] doc/tester-config: enable DEBUG_KERNEL, PROVE_RCU, DEBUG_ATOMIC_SLEEP

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=762441

---Test result---

Test Summary:
CheckPatch PASS 0.45 seconds
GitLint PASS 0.34 seconds
BuildEll PASS 26.77 seconds
BluezMake PASS 789.58 seconds
MakeCheck PASS 11.67 seconds
MakeDistcheck PASS 156.73 seconds
CheckValgrind PASS 249.52 seconds
CheckSmatch PASS 335.72 seconds
bluezmakeextell PASS 101.89 seconds
IncrementalBuild PASS 665.74 seconds
ScanBuild PASS 1035.97 seconds



---
Regards,
Linux Bluetooth

2023-07-05 18:18:19

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH BlueZ] doc/tester-config: enable DEBUG_KERNEL, PROVE_RCU, DEBUG_ATOMIC_SLEEP

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <[email protected]>:

On Tue, 4 Jul 2023 20:06:51 +0300 you wrote:
> Add more lock/sleep debugging to the default tester config.
>
> Enable DEBUG_KERNEL since olddefconfig won't enable PROVE_LOCKING
> without it. Enable PROVE_RCU to also check RCU usage. Enable
> DEBUG_ATOMIC_SLEEP to catch those as well.
> ---
> doc/test-runner.txt | 3 +++
> doc/tester.config | 3 +++
> 2 files changed, 6 insertions(+)

Here is the summary with links:
- [BlueZ] doc/tester-config: enable DEBUG_KERNEL, PROVE_RCU, DEBUG_ATOMIC_SLEEP
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=80f2fa14b6d4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html