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

