From nobody Mon Feb 9 23:39:14 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1709033167; cv=none; d=zohomail.com; s=zohoarc; b=QAthhdKywFA/C8Kc7Jv6SOI/hxcxBM3Q2iRefpgSqwcilAb91ClLqbYes7dtvEI0Mo234JvWqKrIGREHMBXALsKrgKoaIYGs8iyenyD3mhhV6KunnPRxK7uUUzlh96WGXp6r7yzJnjnILOnH9VePNuFilUSMyyDcyzR7HE3FqzY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709033167; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=dfnDRWSsRLdZRck0ImeXNurgPdtQnzpZXT2sgnYgWu4=; b=IOEGfh6VMb+ttlNXKwzpK9tRVINl1wUntFZ6PgB0EWKqcf1KiI4kzTCxpMrQSMuUojwG8pT5YJwDXh2i0CBObnC+Y36+C36YLlK72gQPV+ZtSk+npNNQOcSNlmyr8Y27Yt0eQyKZitF157VJNq5wkd2DsKDQ770kRbpoRL6oJiU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1709033167383537.5249256547534; Tue, 27 Feb 2024 03:26:07 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.686021.1067577 (Exim 4.92) (envelope-from ) id 1revap-0000DS-Eq; Tue, 27 Feb 2024 11:25:51 +0000 Received: by outflank-mailman (output) from mailman id 686021.1067577; Tue, 27 Feb 2024 11:25:51 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1revap-0000DJ-Ao; Tue, 27 Feb 2024 11:25:51 +0000 Received: by outflank-mailman (input) for mailman id 686021; Tue, 27 Feb 2024 11:25:50 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1revao-0007l8-Ag for xen-devel@lists.xenproject.org; Tue, 27 Feb 2024 11:25:50 +0000 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [2a00:1450:4864:20::133]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id f4f9fad6-d562-11ee-a1ee-f123f15fe8a2; Tue, 27 Feb 2024 12:25:48 +0100 (CET) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-512ab55fde6so5392930e87.2 for ; Tue, 27 Feb 2024 03:25:48 -0800 (PST) Received: from localhost ([213.195.118.74]) by smtp.gmail.com with ESMTPSA id w25-20020ae9e519000000b00787a7e9c3e8sm3458446qkf.56.2024.02.27.03.25.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 03:25:47 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: f4f9fad6-d562-11ee-a1ee-f123f15fe8a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1709033148; x=1709637948; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=dfnDRWSsRLdZRck0ImeXNurgPdtQnzpZXT2sgnYgWu4=; b=uM1hH/OJnt121jcozicLyDoip+o+9jCeI9n6TkYjqbT+Xdqotq6z5nfHAfpa83iEvn o2SG3u9zI5cPlzxuY7PcFyERPZZLJDt2A81P8maKG6RHAhKxIEuItn3Yxf+oJl0QdBvl 3ILjgD3tKiErlSe58n1dRTIJ8UowV3DGpVe/g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709033148; x=1709637948; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dfnDRWSsRLdZRck0ImeXNurgPdtQnzpZXT2sgnYgWu4=; b=oPmEf4634BNmUaRj8S/9xcZ9C4OnfSgzAzH7HETiBWsVfg8J8PAMAGA+0Ji1ANClVY muiqdNTI3xU16rqynxwzKZlxJGKEebCnJOYi6h3dCO9Fyy9dUtHggO4SqwEqlrVGGvTz lrnjvpQgCzmSf8xJfszFtzN4CJRwFsPQcGgyM8D0k39DLyhFrljwmH88Oa5t9dhAkO3u 9Gd1wKlZ6Np8x40d2hXBlpGqqgHmhjTCl/y0FRKD+hGIfauDQ4pt+Ka/RR63btUkbjOg yQ58HqvrrpPHmKyJh+691FhZDjnElSg876LoUSZsbQOKZ1oSdQ5b78J3rSby8s5jGngC yUuw== X-Gm-Message-State: AOJu0YzdfccXPmRDkURVR0p4Lq23HTZ8HyoIVJIG2PdFfHlnh+e7scjP VF+OXHPFDUZQhIaZRrCMzcNZTl8BH0dEHI2mtNZLdZGqsp/n+uPupAXnqZ07VOIE6T1Nnhf5YWu o X-Google-Smtp-Source: AGHT+IFeyZ15xptCBWdoSu4rws/k7G4zdbWzKZJdYq04/EcuMOsIn9zH2PJQuPkeumcjTGJS1tHSOg== X-Received: by 2002:a05:6512:3da9:b0:511:5f38:76e with SMTP id k41-20020a0565123da900b005115f38076emr7669601lfv.1.1709033147736; Tue, 27 Feb 2024 03:25:47 -0800 (PST) From: Roger Pau Monne To: xen-devel@lists.xenproject.org Cc: Roger Pau Monne , Konrad Rzeszutek Wilk , Ross Lagerwall Subject: [PATCH v2 4/5] xen/livepatch: properly build the noapply and norevert tests Date: Tue, 27 Feb 2024 12:25:27 +0100 Message-ID: <20240227112528.4540-5-roger.pau@citrix.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240227112528.4540-1-roger.pau@citrix.com> References: <20240227112528.4540-1-roger.pau@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1709033169094100003 It seems the build variables for those tests where copy-pasted from xen_action_hooks_marker-objs and not adjusted to use the correct source fil= es. Fixes: 6047104c3ccc ('livepatch: Add per-function applied/reverted state tr= acking marker') Signed-off-by: Roger Pau Monn=C3=A9 Reviewed-by: Ross Lagerwall --- xen/test/livepatch/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/test/livepatch/Makefile b/xen/test/livepatch/Makefile index c258ab0b5940..d987a8367f15 100644 --- a/xen/test/livepatch/Makefile +++ b/xen/test/livepatch/Makefile @@ -118,12 +118,12 @@ xen_action_hooks_marker-objs :=3D xen_action_hooks_ma= rker.o xen_hello_world_func.o $(obj)/xen_action_hooks_noapply.o: $(obj)/config.h =20 extra-y +=3D xen_action_hooks_noapply.livepatch -xen_action_hooks_noapply-objs :=3D xen_action_hooks_marker.o xen_hello_wor= ld_func.o note.o xen_note.o +xen_action_hooks_noapply-objs :=3D xen_action_hooks_noapply.o xen_hello_wo= rld_func.o note.o xen_note.o =20 $(obj)/xen_action_hooks_norevert.o: $(obj)/config.h =20 extra-y +=3D xen_action_hooks_norevert.livepatch -xen_action_hooks_norevert-objs :=3D xen_action_hooks_marker.o xen_hello_wo= rld_func.o note.o xen_note.o +xen_action_hooks_norevert-objs :=3D xen_action_hooks_norevert.o xen_hello_= world_func.o note.o xen_note.o =20 EXPECT_BYTES_COUNT :=3D 8 CODE_GET_EXPECT=3D$(shell $(OBJDUMP) -d --insn-width=3D1 $(1) | sed -n -e = '/<'$(2)'>:$$/,/^$$/ p' | tail -n +2 | head -n $(EXPECT_BYTES_COUNT) | awk = '{$$0=3D$$2; printf "%s", substr($$0,length-1)}' | sed 's/.\{2\}/0x&,/g' | = sed 's/^/{/;s/,$$/}/g') --=20 2.44.0