Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp659097lqb; Wed, 29 May 2024 07:06:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKzJ5UyPwPPBAKWNqbQWeF2ZHUIdWSAThW3tCajOXH7XwhtpazmRpzcUVnOdtbZzfk0Z3iAfQqsiCJYvPBD+fqQVKsqSXZx2D94h4wDA== X-Google-Smtp-Source: AGHT+IEyh5C4dqfSzyairOjwPf/0kJ5DnghaL+CeBhuCR4g7IBq7GRjzIU4ES/BHBKokaFhkyyI4 X-Received: by 2002:a50:a6d8:0:b0:579:c0d6:a5ef with SMTP id 4fb4d7f45d1cf-579c0d6ac63mr6542487a12.41.1716991573465; Wed, 29 May 2024 07:06:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716991573; cv=pass; d=google.com; s=arc-20160816; b=JJjKJz5uQ7MgP+CiYcAw0nER92DcbcTGBOIliBu/5ULcGjUtHi8uf+NeuMqNV/mJHl Go6LsMo5EVxGL68PoUO+iYjOvbloONBCYPCQMj9O8i8XDaudnShOyntjABQNl/nLIwjT sLrt2qHrHo4Y9LTcwrEgFJMuTsuaHrVymDZilAkLhMyeihq0z9eoe64aSpaPuI/wyMe3 SFDOZB24RVpP37srGJJlunXo6XeUp5O89IWEcTzJ43TF7BrSWZcvX3aGg1ihD7NkBmcL C+0CCV8WrgX5pNXmHqZLnQufEQC+U5nWiKljqAjv9iEjfv4mp3xUoProF5a9N+FD/2Ju qs1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:references:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature:dkim-signature:dkim-signature:dkim-signature; bh=g08lDbPcwFQ8xueoQtCrEiFoHfACj1CSYR+KNNv+rMU=; fh=X56klfmNl+o8KXzd/KJRn3F5o2ocBiSRpGUJrsaFUrw=; b=sF8T0C/9Ds3mkniwmGGuzgsTMBQ60VeDRS5L29gmWHlWrg20o+iJdNY7YXnnTMrZbU LOMSj2DnRKcTkYqcxBn4zsRn58PluYGpexkcg1OH5AuW+GcrlxfHmm1mmLYKxGKatz95 NeU7qSx1kcTfbJHE7jbPEui91IUAnp6hLpjyNbZQ17y2CaYPgmdg9odz5SWberjOSz1D WFFBnHfinDy40G1xDlETqEao9YEt1sU0Y4UqthV8dUyxVIzJmzJlj/hf2eUNEaDhwM6H wFGeHL9rrdnu3vwuEylhgZ7mTqdA4DnrB+zDUinT95tjCiHpVY0DA9bJX0juyvRBglLw 1ptw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=gxQnBgQh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=gxQnBgQh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-194227-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194227-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-579c4477891si4473991a12.525.2024.05.29.07.06.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 07:06:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194227-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=gxQnBgQh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=gxQnBgQh; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-194227-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194227-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 34EA51F24C19 for ; Wed, 29 May 2024 14:06:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 72C8F1DFC5; Wed, 29 May 2024 14:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="gxQnBgQh"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="jg6JtFYa"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="gxQnBgQh"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="jg6JtFYa" Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E57241BF3B; Wed, 29 May 2024 14:05:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716991539; cv=none; b=Kn0HQXrFbhFOHEPcmiT86pDh/HFUPmxK8hmqXAyQxBIN5OHWLtw0Y+aVygfDKIEk64s6kECCgnqTMwpFpAU4C0cI3JNQDLzZpcx7Mgo+UObNS+sdyMwlP8bq/mLqqtt6JZ1C+xYcBvqDO5V9AcajOaotEjNEJasuEbgl3ixBMSo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716991539; c=relaxed/simple; bh=EXhy7Y0Mf45o5EJir2NiWLb5gdZ7rsjUh8NPftXsJow=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=PB1m1ZqUpg3yzFH8a1ilOUXhmlw/eDqE7S1bIMUC43irQgD0ijyXHRq5kPLnuZbvHzUsKyJwPRO9/viHkcQCI0wwPU08VSgPmmxXamfup2yWxHr/9jOaClhFRpKr1a54+eUCC/BNe9vG4sg4fXpJXLSMjTaasrn6S/Q3dwDDU3E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=gxQnBgQh; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=jg6JtFYa; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=gxQnBgQh; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=jg6JtFYa; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from pobox.suse.cz (unknown [10.100.2.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 0A615336AF; Wed, 29 May 2024 14:05:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1716991536; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g08lDbPcwFQ8xueoQtCrEiFoHfACj1CSYR+KNNv+rMU=; b=gxQnBgQhL4HkNjTak2bPFeBqDyKa6HKwDD64Hb/vi8YwyJn4yE4LnDJgWLjVyMmJEko6zD U9s9wzyG3ZbcejYjL6cHY9lZQijApHmEtfC+ROU5kSK0oDBDMn04zvpGe3ry3bYC1o1HCN 1HBSqpxHQNkgJPlZoyIfZN0r0cMwUKI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1716991536; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g08lDbPcwFQ8xueoQtCrEiFoHfACj1CSYR+KNNv+rMU=; b=jg6JtFYabPnoubKactJdtDdpnEmpjWiYk1QHerLv9exgjvH6ECp0gQRVF08SYZrI5wMlZU yevDfrkVJQ/YXvCA== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1716991536; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g08lDbPcwFQ8xueoQtCrEiFoHfACj1CSYR+KNNv+rMU=; b=gxQnBgQhL4HkNjTak2bPFeBqDyKa6HKwDD64Hb/vi8YwyJn4yE4LnDJgWLjVyMmJEko6zD U9s9wzyG3ZbcejYjL6cHY9lZQijApHmEtfC+ROU5kSK0oDBDMn04zvpGe3ry3bYC1o1HCN 1HBSqpxHQNkgJPlZoyIfZN0r0cMwUKI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1716991536; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=g08lDbPcwFQ8xueoQtCrEiFoHfACj1CSYR+KNNv+rMU=; b=jg6JtFYabPnoubKactJdtDdpnEmpjWiYk1QHerLv9exgjvH6ECp0gQRVF08SYZrI5wMlZU yevDfrkVJQ/YXvCA== Date: Wed, 29 May 2024 16:05:35 +0200 (CEST) From: Miroslav Benes To: Marcos Paulo de Souza cc: Josh Poimboeuf , Jiri Kosina , Petr Mladek , Joe Lawrence , Shuah Khan , live-patching@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] selftests: livepatch: Test atomic replace against multiple modules In-Reply-To: <20240525-lp-atomic-replace-v2-1-142199bb65a1@suse.com> Message-ID: References: <20240525-lp-atomic-replace-v2-1-142199bb65a1@suse.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Level: X-Spamd-Result: default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-0.999]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_SEVEN(0.00)[9]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:email] X-Spam-Score: -4.30 X-Spam-Flag: NO On Sat, 25 May 2024, Marcos Paulo de Souza wrote: > diff --git a/tools/testing/selftests/livepatch/test-livepatch.sh b/tools/testing/selftests/livepatch/test-livepatch.sh > index e3455a6b1158..d85405d18e54 100755 > --- a/tools/testing/selftests/livepatch/test-livepatch.sh > +++ b/tools/testing/selftests/livepatch/test-livepatch.sh > @@ -107,9 +107,12 @@ livepatch: '$MOD_LIVEPATCH': unpatching complete > > # - load a livepatch that modifies the output from /proc/cmdline and > # verify correct behavior > -# - load an atomic replace livepatch and verify that only the second is active > -# - remove the first livepatch and verify that the atomic replace livepatch > -# is still active > +# - load two addtional livepatches and check the number of livepatch modules s/addtional/additional/ Reviewed-by: Miroslav Benes M