Re: [PATCH RFC v10 22/22] mm: Add basic tests for kpkeys_hardened_pgtables

From: Mark Brown

Date: Tue Nov 10 2026 - 06:56:40 EST


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. Perhaps the default for the config
option ought to depend on KUNIT_ALL_TESTS?

Attachment: signature.asc
Description: PGP signature