From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C318C137750; Sat, 30 May 2026 18:52:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780167124; cv=none; b=PQP7eoIEkarn4LpPGWpNnL527zs8yfv8pqSr7cCoe79iD7OSAItGG1qujj9WHwwu2KOZNDdDiYJMGSQoMhjQoegq3O6KGwfl4p2FWc4YZ4dzhI3woPQeEz3jVJyThHdFap8/BkmuBDH6+wXwrDiVRX69Ki4IHNYek5HGqLwSo+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780167124; c=relaxed/simple; bh=M151g43a0Xxal9++zQAF2alyLRFhmuWJG2s+EmDHCp0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XnypYq7HImjm2HOxAECdg9lxdvck+tTOs4NT+NwURz1yYr1VieqT/tMiiD/dMrRaW1qxGqeoB1mhLAAHSchfvVs21bDTyj5Eu3bTMv488mO4qrlgUPrqwPycZGO5+94n7GZm/unS5Vo/MHGw4pOML0BPv5uvz1xknrAKIA+hkWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dDG//H98; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="dDG//H98" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1546F1F00893; Sat, 30 May 2026 18:52:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780167123; bh=s1Scfd+vtMzR6macG/oZji4uApusxvQWL+FfL2WVUCY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=dDG//H98znowjkRjZJvRnFNKE1tBnNikzJGDWCoKH7IMOAzg59ktmlxducklXzKYm j4DiAf8MJ0Vjt/HOQPUqS21B2pCU7CRrg3R0dAqkOfUwShu4GNQ+iK7ZwObeAISol5 5hGnPQDcsiVv+8cITtI4rgMHgyvKH8318GCihZlc= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, David Gow , Shuah Khan , Sasha Levin Subject: [PATCH 5.10 569/589] kunit: config: Enable KUNIT_DEBUGFS by default Date: Sat, 30 May 2026 18:07:30 +0200 Message-ID: <20260530160239.579573848@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260530160224.570625122@linuxfoundation.org> References: <20260530160224.570625122@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: David Gow [ Upstream commit 17e4c68ff35090d8cb743e3c82c09f92fda1ebda ] The KUNIT_DEBUGFS option is currently enabled based on the value of KUNIT_ALL_TESTS, but it really doesn't have anything to do with the set of enabled tests, so just enable it by default anyway. In particular, this shouldn't be only visible if KUNIT_ALL_TESTS is set, which is quite confusing. Link: https://lore.kernel.org/r/20260425034155.53913-1-david@davidgow.net Fixes: beaed42c427d ("kunit: default KUNIT_* fragments to KUNIT_ALL_TESTS") Signed-off-by: David Gow Signed-off-by: Shuah Khan Signed-off-by: Sasha Levin --- lib/kunit/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/kunit/Kconfig b/lib/kunit/Kconfig index 00909e6a24438..9eb78ea5e90fc 100644 --- a/lib/kunit/Kconfig +++ b/lib/kunit/Kconfig @@ -15,8 +15,8 @@ menuconfig KUNIT if KUNIT config KUNIT_DEBUGFS - bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS - default KUNIT_ALL_TESTS + bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" + default y help Enable debugfs representation for kunit. Currently this consists of /sys/kernel/debug/kunit//results files for each -- 2.53.0