Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27955182rwd; Tue, 4 Jul 2023 10:14:13 -0700 (PDT) X-Google-Smtp-Source: APBJJlEszKs0S+wKTz7JTagYBfYHQs8e1/QHi5tDKsQcL1ZyaJbSKdQFD5B2hhPSAEHjKSYU9+fo X-Received: by 2002:a05:6a00:1250:b0:67a:6ba0:3a6 with SMTP id u16-20020a056a00125000b0067a6ba003a6mr13200169pfi.21.1688490853060; Tue, 04 Jul 2023 10:14:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688490853; cv=pass; d=google.com; s=arc-20160816; b=DpORCzIBIkYzJHkOSxmH7Lzitcyy2Uabi6dpi5h9yfGHTIFcv9BmYNGU2Qbg6kCydC FxDf3Crlj1HtujsC2j/YTBZ2OpaUW8nvCBtR8vf+Cc/Rj3BOuniprNrR3H33Uceg5mJ3 u69aseBU6TP7Tf8oBxhkxPd9gcZewUwMATUtjHg3C9pts3VCxGiG/0YhZLYsotHW3sdq 8zrWbhMQleTgLK5hHEOmWK+477uTVUxFnj+IpK4f3h/rgEKII9g6yB7feqDs+2/ns15H NPqct51z9K1tG2LSZKcgZxHQ/p1y/3idtQ0ROwzomiVEtwJDe7gFCfkdjvaDTf9Tt3BR AHxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eHO4A7bt4cjZVAZOZ+/OEa1ArWt99JHanNEHKTDRs7I=; fh=ExGhjNQEFJgRqHmYATVc5UXZbS7abAmaHDitrfHKOuE=; b=G5juYjbf5Ah2NnlwRRF3DyZM1SlhnNB9K+j6Hhv+a86AMSmHOoY2WeeaPfoZXDHz13 +oL+IhZjOHVr0zaAoPRM45Nd4SMkGoPlVUnkQMFCcSdE2UgrgL/BZk8sYX9W0orVFKVQ XfLIGiQgNHnk4E4IISGkZJJhtsx5m/+9ysyrSEGDPxM4BlRakQ9pS0qwsuThUHS9qi0r 7e8g5goK+fyXH0TpNBajim3uapdGhooC8R9QzRkVdkOai7TB+IWTXR1GVwL3mew/MBb/ hcYk0Y9myBLRxjEyi4cFUa30guUWce3c3vR7SLH66+lx5tbovZ0bA6J4pJN8+3EhWGOL lAcg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=TZbuZDX0; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x20-20020aa79414000000b00682574b6ef1si10548519pfo.381.2023.07.04.10.13.49; Tue, 04 Jul 2023 10:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@iki.fi header.s=meesny header.b=TZbuZDX0; arc=pass (i=1); spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231592AbjGDRG7 (ORCPT + 99 others); Tue, 4 Jul 2023 13:06:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231482AbjGDRG6 (ORCPT ); Tue, 4 Jul 2023 13:06:58 -0400 Received: from meesny.iki.fi (meesny.iki.fi [IPv6:2001:67c:2b0:1c1::201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0295FE70 for ; Tue, 4 Jul 2023 10:06:56 -0700 (PDT) Received: from monolith.lan (91-152-120-101.elisa-laajakaista.fi [91.152.120.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pav) by meesny.iki.fi (Postfix) with ESMTPSA id 4QwTjT3TDrzykW; Tue, 4 Jul 2023 20:06:53 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1688490413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=eHO4A7bt4cjZVAZOZ+/OEa1ArWt99JHanNEHKTDRs7I=; b=TZbuZDX0ZZk00n/E82ujJgso/6PYSLqPdgAUJfWVmFmNJbRR912IvQPo4UGQ58t26RbHMH wP1ci7EL0vtSkiNIxUOqqS6T0w9ohz8twT7Nq3xWmQ5oTZLae311qGenuDhIq9MkVfMZV4 RMYGrl8dgzwetIiOTuioXiuJ0smRxo0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1688490413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=eHO4A7bt4cjZVAZOZ+/OEa1ArWt99JHanNEHKTDRs7I=; b=F8J1EuTwqP1DQHMEnHr3FmouG5XtYuBuaC1vzNXMu8EmWZKbkKDACKQalqgLFC2y81ufaT JAFrzUUBr+JtW5meWETHCbUe6zxNgloc4rMl3vNrHorz7/wwvDk5Uu0yRR8jknL1wpoW4i cjR3zB8jOrFCbZBbFmUtXxqqI0tyfRI= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=pav smtp.mailfrom=pav@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1688490413; a=rsa-sha256; cv=none; b=lva2UpfPsml+tOil2Atj1SEsFFaTRgD3oA1J6IWd8F3fiEKQZjToCvSjBQhVVHkJ1jpMbE Zf1x9T7XhnfRJH5npwmD59w2gBZrsOfqJEELsNC/DPysZu8+vlNWy6uOtVgI/n0I5wSD3z 3gD4pVzH1ZGpfhphsBGKu4zN7dNw51I= From: Pauli Virtanen To: linux-bluetooth@vger.kernel.org Cc: Pauli Virtanen Subject: [PATCH BlueZ] doc/tester-config: enable DEBUG_KERNEL, PROVE_RCU, DEBUG_ATOMIC_SLEEP Date: Tue, 4 Jul 2023 20:06:51 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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