Re: [PATCH RFC v10 22/22] mm: Add basic tests for kpkeys_hardened_pgtables
From: Kevin Brodsky
Date: Wed Nov 11 2026 - 11:26:15 EST
On 10/11/2026 12:24, Mark Brown wrote:
> On Tue, Nov 10, 2026 at 10:01:36AM +0100, Kevin Brodsky wrote:
>
>> Do you mean adding the dependency KPKEYS_HARDENED_PGTABLES=y to
>> tools/testing/kunit/configs/all_tests.config? Indeed that would only be
>> meaningful on arm64 (for now). That said it wouldn't hurt other
>> architectures, so happy to add it there if you think that's worth it.
> Yes, or something like that - unfortunately KUnit checks to see if the
> config options appear in the configuration so something that vanishes on
> other architectures causes issues.
Alright, I guess there's not much we can do then, short of creating
arch-specific fragments.
> Perhaps the default for the config
> option ought to depend on KUNIT_ALL_TESTS?
Not sure I'm following, the config already has default KUNIT_ALL_TESTS?
- Kevin