[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aKW4CApORh7o73nz@pathway.suse.cz>
Date: Wed, 20 Aug 2025 13:56:56 +0200
From: Petr Mladek <pmladek@...e.com>
To: Ricardo B. Marlière <rbm@...e.com>
Cc: Josh Poimboeuf <jpoimboe@...nel.org>, Jiri Kosina <jikos@...nel.org>,
Miroslav Benes <mbenes@...e.cz>,
Joe Lawrence <joe.lawrence@...hat.com>,
Shuah Khan <shuah@...nel.org>, live-patching@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Marcos Paulo de Souza <mpdesouza@...e.com>
Subject: Re: [PATCH] selftests/livepatch: Ignore NO_SUPPORT line in dmesg
On Tue 2025-08-19 14:37:01, Ricardo B. Marlière wrote:
> Some systems might disable unloading a livepatch and when running tests on
> them they fail like the following:
>
> $ ./run_kselftest.sh -c livepatch
> TAP version 13
> 1..8
> # selftests: livepatch: test-livepatch.sh
> # TEST: basic function patching ... not ok
> #
> # --- expected
> # +++ result
> # @@ -5,6 +5,7 @@ livepatch: 'test_klp_livepatch': starting
> # livepatch: 'test_klp_livepatch': completing patching transition
> # livepatch: 'test_klp_livepatch': patching complete
> # % echo 0 > /sys/kernel/livepatch/test_klp_livepatch/enabled
> # +livepatch: attempt to disable live patch test_klp_livepatch, setting
> NO_SUPPORT taint flag
> # livepatch: 'test_klp_livepatch': initializing unpatching transition
> # livepatch: 'test_klp_livepatch': starting unpatching transition
> # livepatch: 'test_klp_livepatch': completing unpatching transition
> #
> # ERROR: livepatch kselftest(s) failed
This seems to be a SUSE-specific feature. The upstream kernel does not
even know the NO_SUPPORT taint flag.
This patch is not for upstream. But we should add it into SUSE
kernel sources.
Best Regards,
Petr
Powered by blists - more mailing lists