[PATCH] selftests/arm64: signal: fix inverted feature mask in diagnostics
Catalin Marinas
catalin.marinas at arm.com
Thu Nov 26 08:19:19 PST 2026
On Sat, Nov 14, 2026 at 04:10:13PM +0800, Long Wei wrote:
> When a testcase is skipped because an incompatible CPU feature is
> present, test_init() reports the feature set with:
>
> feats_incompatible & ~feats_supported
>
> That is the set of incompatible features which are *not* supported,
> i.e. always empty, instead of the incompatible features which actually
> triggered the skip. As a result the diagnostic prints an empty list and
> gives no hint about why the test was skipped.
>
> Use the supported set so the offending feature is reported:
>
> feats_incompatible & feats_supported
>
> Fixes: 32de73e89099 ("kselftest/arm64: signal: Allow tests to be incompatible with features")
> Signed-off-by: Long Wei <longwei27 at huawei.com>
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel
mailing list