Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Long Wei <longwei27@huawei.com>
Cc: will@kernel.org, shuah@kernel.org, mark.rutland@arm.com,
	broonie@kernel.org, kevin.brodsky@arm.com,
	linux-arm-kernel@lists.infradead.org,
	linux-kselftest@vger.kernel.org, hewenliang4@huawei.com
Subject: Re: [PATCH] selftests/arm64: signal: fix inverted feature mask in diagnostics
Date: Thu, 26 Nov 2026 16:19:19 +0000	[thread overview]
Message-ID: <awhcB558hdejyj66@arm.com> (raw)
In-Reply-To: <20261114081013.964933-1-longwei27@huawei.com>

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@huawei.com>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>


      parent reply	other threads:[~2026-11-26 16:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14  8:10 [PATCH] selftests/arm64: signal: fix inverted feature mask in diagnostics Long Wei
2026-11-15 12:12 ` Mark Brown
2026-11-26 16:19 ` Catalin Marinas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=awhcB558hdejyj66@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=broonie@kernel.org \
    --cc=hewenliang4@huawei.com \
    --cc=kevin.brodsky@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=longwei27@huawei.com \
    --cc=mark.rutland@arm.com \
    --cc=shuah@kernel.org \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox