Re: [PATCH v13 8/9] selftests/livepatch: Add state test for provides/obsoletes
From: Miroslav Benes
Date: Fri Nov 13 2026 - 07:08:02 EST
On Mon, 26 Oct 2026 21:36:50 +0800, Yafang Shao <laoar.shao@xxxxxxxxx> wrote:
> Livepatches with different provides ids must not share the same state
> id, unless the second livepatch replaces the first one via obsoletes.
>
> Add provides/obsoletes module parameters to test_klp_state and
> test_klp_state2, and cover both cases: reusing a state id across
> different provides ids is rejected, while it is allowed when the new
> livepatch obsoletes the old one.
>
> [...]
Acked-by: Miroslav Benes <mbenes@xxxxxxx>
--
Miroslav