aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/config/linux
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2021-11-09 16:30:35 +0100
committerDmitry Vyukov <dvyukov@google.com>2021-11-09 18:13:49 +0100
commit85c102245a7c19586b9f2eff2a331e2b31697f25 (patch)
tree04b2d2aa9a475c2d72f5434d5995fc7edecd3fd7 /dashboard/config/linux
parentf549c8707e71276f8ce5396b0d64b4f2ec536ff4 (diff)
dashboard/config/linux: refactor lockdep configs into lockdep.yml
All of lockdep comes with a number of config options, so let's refactor it into a separate lockdep.yml, which makes it easier to disable selectively.
Diffstat (limited to 'dashboard/config/linux')
-rw-r--r--dashboard/config/linux/bits/debug.yml17
-rw-r--r--dashboard/config/linux/bits/lockdep.yml21
-rw-r--r--dashboard/config/linux/main.yml1
3 files changed, 22 insertions, 17 deletions
diff --git a/dashboard/config/linux/bits/debug.yml b/dashboard/config/linux/bits/debug.yml
index 5f75b30a6..099c02be2 100644
--- a/dashboard/config/linux/bits/debug.yml
+++ b/dashboard/config/linux/bits/debug.yml
@@ -6,23 +6,6 @@
config:
# Instances that use nonoise also ignore WARNINGs, so they don't want panic_on_warn.
- CMDLINE: [append, "panic_on_warn=1"]
- - LOCKDEP
- - LOCKDEP_BITS: [16, v5.13]
- - LOCKDEP_CHAINS_BITS: [17, v5.13]
- - LOCKDEP_STACK_TRACE_BITS: [20, v5.13]
- - LOCKDEP_STACK_TRACE_HASH_BITS: [14, v5.13]
- - LOCKDEP_CIRCULAR_QUEUE_BITS: [12, v5.13]
- - PROVE_LOCKING
- - DEBUG_ATOMIC_SLEEP
- - PROVE_RCU
- - RCU_EQS_DEBUG
- - DEBUG_LOCK_ALLOC
- - DEBUG_RT_MUTEXES
- - DEBUG_SPINLOCK
- - DEBUG_MUTEXES
- - DEBUG_WW_MUTEX_SLOWPATH
- - DEBUG_RWSEMS: [v4.16]
- - DEBUG_IRQFLAGS: [v5.12]
- DEBUG_VM
- DEBUG_VM_RB
diff --git a/dashboard/config/linux/bits/lockdep.yml b/dashboard/config/linux/bits/lockdep.yml
new file mode 100644
index 000000000..be271b294
--- /dev/null
+++ b/dashboard/config/linux/bits/lockdep.yml
@@ -0,0 +1,21 @@
+# Copyright 2021 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+config:
+ - LOCKDEP
+ - LOCKDEP_BITS: [16, v5.13]
+ - LOCKDEP_CHAINS_BITS: [17, v5.13]
+ - LOCKDEP_STACK_TRACE_BITS: [20, v5.13]
+ - LOCKDEP_STACK_TRACE_HASH_BITS: [14, v5.13]
+ - LOCKDEP_CIRCULAR_QUEUE_BITS: [12, v5.13]
+ - PROVE_LOCKING
+ - DEBUG_ATOMIC_SLEEP
+ - PROVE_RCU
+ - RCU_EQS_DEBUG
+ - DEBUG_LOCK_ALLOC
+ - DEBUG_RT_MUTEXES
+ - DEBUG_SPINLOCK
+ - DEBUG_MUTEXES
+ - DEBUG_WW_MUTEX_SLOWPATH
+ - DEBUG_RWSEMS: [v4.16]
+ - DEBUG_IRQFLAGS: [v5.12]
diff --git a/dashboard/config/linux/main.yml b/dashboard/config/linux/main.yml
index 3dbe15cdd..b82ea3791 100644
--- a/dashboard/config/linux/main.yml
+++ b/dashboard/config/linux/main.yml
@@ -53,6 +53,7 @@ includes:
- smack.yml: [smack]
- slab.yml: [slab]
- debug.yml: [-nonoise, -kmsan, -kcsan, -kmemleak]
+ - lockdep.yml: [-nonoise, -kmsan, -kcsan, -kmemleak]
- kmemleak.yml: [kmemleak]
- kasan.yml: [kasan]
- mte.yml: [mte]