[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8c2a2753-145e-4de5-84fe-9a900af6a2ee@sirena.org.uk>
Date: Mon, 1 Dec 2025 17:15:43 +0000
From: Mark Brown <broonie@...nel.org>
To: Aaron Thompson <dev@...ont.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Danilo Krummrich <dakr@...nel.org>,
Jonathan Corbet <corbet@....net>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Aishwarya.TCV@....com
Subject: Re: [PATCH 2/2] debugfs: Remove broken no-mount mode
On Thu, Nov 20, 2025 at 10:26:33AM +0000, Aaron Thompson wrote:
> debugfs access modes were added in Linux 5.10 (Dec 2020) [1], but the
> no-mount mode has behaved effectively the same as the off mode since
> Linux 5.12 (Apr 2021) [2]. The only difference is the specific error
> code returned by the debugfs_create_* functions, which is -ENOENT in
> no-mount mode and -EPERM in off mode.
I'm seeing regressions in -next in a lot of testing stuff which bisect
to this patch. I've got a test that looks at the deferred probe list to
see if it's empty, and the mm split_huge_page_test which uses a debugfs
file called split_huge_pages. Neither of these mount debugfs for
themselves, they just assume it'll be there - it looks like that's not
happening any more but I didn't investigate properly.
I don't immediately see what's getting confused, DEBUG_FS_ALLOW_ALL is
the default and not overridden by anything in any defconfig so
debugfs_enabled still ought to be being set, but I didn't actually try
to debug this yet.
Sample bisect:
git bisect start
# status: waiting for both good and bad commits
# bad: [95cb2fd6ce0ad61af54191fe5ef271d7177f9c3a] Add linux-next specific files for 20251201
git bisect bad 95cb2fd6ce0ad61af54191fe5ef271d7177f9c3a
# status: waiting for good commit(s), bad commit known
# good: [4ffc97b7687d1b355f08f464e212fb1085ec5c34] Merge branch 'tip/urgent' of https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git bisect good 4ffc97b7687d1b355f08f464e212fb1085ec5c34
# good: [87d5c4addc7e535618586e7205191a7f402288ba] Merge branch 'master' of https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
git bisect good 87d5c4addc7e535618586e7205191a7f402288ba
# good: [a4ad48eac682ccdc21e2f16b8f27abbf615d8d3d] Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
git bisect good a4ad48eac682ccdc21e2f16b8f27abbf615d8d3d
# bad: [b99f4ac0a6c7ccf37be14f5ef61b160b1c8a74b0] Merge branch 'driver-core-next' of https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
git bisect bad b99f4ac0a6c7ccf37be14f5ef61b160b1c8a74b0
# good: [24cefd05bbf969c95fff3733da174e8a352c1cb2] Merge branch 'master' of https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git bisect good 24cefd05bbf969c95fff3733da174e8a352c1cb2
# good: [a5d0f36158717334aa85753fab8dedfa0dfeeaca] Merge branch 'riscv_kvm_next' of https://github.com/kvm-riscv/linux.git
git bisect good a5d0f36158717334aa85753fab8dedfa0dfeeaca
# good: [f16919001053bba074af696571831d4d3e7f86bc] Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git
git bisect good f16919001053bba074af696571831d4d3e7f86bc
# good: [4f7961a0cc56637fb5df8d118e72ab12160e6c11] Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git
git bisect good 4f7961a0cc56637fb5df8d118e72ab12160e6c11
# good: [0a75f3d90e7ab9cd182327fca4b4e3bce379afe5] devres: Move devm_alloc_percpu() and related to devres.h
git bisect good 0a75f3d90e7ab9cd182327fca4b4e3bce379afe5
# good: [2a522e38f813c7fab9e49ebdfbfaba4c05b06579] Merge branch 'for-leds-next' of https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git
git bisect good 2a522e38f813c7fab9e49ebdfbfaba4c05b06579
# good: [f10c23fa159c5481dfe0025e619dc5ef844f6ce1] tick/nohz: avoid showing '(null)' if nohz_full= not set
git bisect good f10c23fa159c5481dfe0025e619dc5ef844f6ce1
# good: [f940e425c6fbcf5282e8daddb9351239e2343598] Merge branch 'for-next' of https://github.com/cminyard/linux-ipmi.git
git bisect good f940e425c6fbcf5282e8daddb9351239e2343598
# good: [ac1ab906d7a98e34be95ef63b81ff828cc432346] driver core: WQ_PERCPU added to alloc_workqueue users
git bisect good ac1ab906d7a98e34be95ef63b81ff828cc432346
# good: [3ae94a55d047d133fad1e6c811befe4347b75791] debugfs: Remove redundant access mode checks
git bisect good 3ae94a55d047d133fad1e6c811befe4347b75791
# bad: [f278809475f6835b56de78b28dc2cc0c7e2c20a4] debugfs: Remove broken no-mount mode
git bisect bad f278809475f6835b56de78b28dc2cc0c7e2c20a4
# first bad commit: [f278809475f6835b56de78b28dc2cc0c7e2c20a4] debugfs: Remove broken no-mount mode
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists