From nobody Wed May 15 11:32:21 2024 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=1677253083; cv=none; d=zohomail.com; s=zohoarc; b=nJFslz5nYXoYLroJ2QrgW6j4P1E1aedvKaTOj9Ota9k9tIya87kk2BCcrLX11Pn5MmXC+Ih1EP13IdTWnxEhalhCkuLsgvucAYpbfuI5wonJ3LukT73JzbXo2sFETxwIWltM2gt18bTxZQqNaPcZU8TAXuG2c3o0d0zA9Si9UXs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677253083; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=6XHrXgltC+2AHGSXrfXmMaT8L/N4I/Q6rli0/nlmDCE=; b=dcfCUxEcnLTEmXpHdKfMwZy1Psv1qoFGJ1Nt6ZU4/mbWVduwmRi8s7I9xZDou+Ng4v47qd/mMh5q9D5Y2DeM6IiWwyAVUWUZBLamv4Z92Ax2HeuF58zfb1aXZGxL9ojt4IMW1Hh3e3Ofj1lUOajiMq9Y9jWson/If6A5rj8UWCQ= 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 1677253082995983.9431004899169; Fri, 24 Feb 2023 07:38:02 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.501218.772866 (Exim 4.92) (envelope-from ) id 1pVa8g-0000PX-Sv; Fri, 24 Feb 2023 15:37:38 +0000 Received: by outflank-mailman (output) from mailman id 501218.772866; Fri, 24 Feb 2023 15:37:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pVa8g-0000PQ-Q2; Fri, 24 Feb 2023 15:37:38 +0000 Received: by outflank-mailman (input) for mailman id 501218; Fri, 24 Feb 2023 15:37:37 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pVa8f-0000PI-Ia for xen-devel@lists.xenproject.org; Fri, 24 Feb 2023 15:37:37 +0000 Received: from esa4.hc3370-68.iphmx.com (esa4.hc3370-68.iphmx.com [216.71.155.144]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 2848d582-b459-11ed-88bb-e56d68cac8db; Fri, 24 Feb 2023 16:37:35 +0100 (CET) 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: 2848d582-b459-11ed-88bb-e56d68cac8db DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=citrix.com; s=securemail; t=1677253055; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=PtAwsUY/Fwt8xIERNpc2GH/6MwL3Unj3xN1X4Ttps6k=; b=WOJDa/TObEgn20S0hINervLWlNtXA7PYY122el0ZaPYE3fPAMbRDx8ij kiPDflzwP/5Yo1K6IdmCNmA1ppYiN2NfQTjcyVPYIvqcYEAbypzCIO6Wz yoRNRsKdkKD89/lh4/+cUF1WbjvFMh0YlgkYQ8mSV+Pr29XYYgpIYGYrU 8=; Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none X-SBRS: 4.0 X-MesageID: 100852897 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.156.123 X-Policy: $RELAYED IronPort-Data: A9a23:whRN5a/Os8hFZoyLythbDrUDHn6TJUtcMsCJ2f8bNWPcYEJGY0x3z zcbXm6BaKnfYGChKI92aI7np0hTu8PdytNjHgFkrS08E34SpcT7XtnIdU2Y0wF+jCHgZBk+s 5hBMImowOQcFCK0SsKFa+C5xZVE/fjUAOG6UKicYXoZqTZMEE8JkQhkl/MynrlmiN24BxLlk d7pqojUNUTNNwRcawr40Ire7kIw1BjOkGlA5AdmP6oX5AS2e0Q9V/rzG4ngdxMUfaEMdgKKb 76r5K20+Grf4yAsBruN+losWhRXKlJ6FVHmZkt+A8BOsDAbzsAB+v9T2M4nQVVWk120c+VZk 72hg3ASpTABZcUgkMxFO/VR/roX0aduoNcrKlDn2SCfItGvn9IBDJyCAWlvVbD09NqbDklr9 eEYFi0iPiq4lsSWm7yQSvJyl94aeZyD0IM34hmMzBncBPciB5vCX7/L9ZlT2zJYasJmRKiEI ZBDMHw2MUqGOkcUUrsUIMtWcOOAr3/zaTBH7nmSorI6+TP7xw1tyrn9dtHSf7RmQO0Mxh7I+ ziWrjuR7hcyc+WT7QGC/26Xlsjqknr/eZ4iGJrn36s/6LGU7jNKU0BHPbehmtGikVK3Ud9bL 00S+wItoLI0+UjtScPyNzWzqWSIuRM0UNNKH+o3rgqKz8L85geSBmEACDlbetEinMYzSXoh0 Vrht9rtBCdzubyPD3yH/7GfrCiaJiQea2QFYEcsXQYDptXuvow3phbOVcp4Vr64iMXvHjP9y CzMqzIx750UicMIzKS6u1PamTWnppvOZgEw7wTTGGmi62tRb4mjYYuq5VHF7O1oI4OQT13Ht 38B8+CU6+oEHJyWlCiARewLNL6s7veBdj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BqJOmOPJlbsEr0BJhv22tTKyaRw4PvvdI0DzZM0lp iEWFREtXQqc0arEsGK1I0jyGG6fIx8Z0Wb9ihz3ekMhlSnfsuYDcSqciFar/ed X-IronPort-AV: E=Sophos;i="5.97,325,1669093200"; d="scan'208";a="100852897" From: Andrew Cooper To: Xen-devel CC: Andrew Cooper , Oleksii Kurochko , Bob Eshleman , Alistair Francis , Connor Davis , Anthony PERARD , "Stefano Stabellini" , Michal Orzel , Doug Goldstein Subject: [PATCH] CI: Simplify RISCV smoke testing Date: Fri, 24 Feb 2023 15:37:21 +0000 Message-ID: <20230224153721.2623760-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1677253084835100001 Content-Type: text/plain; charset="utf-8" Use a single fairly generic string as the "all done" message to look for, which avoids the need to patch qemu-smoke-riscv64.sh each time a new feature is added. Signed-off-by: Andrew Cooper Acked-by: Stefano Stabellini Reviewed-by: Oleksii Kurochko --- CC: Oleksii Kurochko CC: Bob Eshleman CC: Alistair Francis CC: Connor Davis CC: Anthony PERARD CC: Stefano Stabellini CC: Michal Orzel CC: Doug Goldstein I considered "All set up and nowhere to go" but it's probably a little nich= e. --- automation/scripts/qemu-smoke-riscv64.sh | 2 +- xen/arch/riscv/setup.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/automation/scripts/qemu-smoke-riscv64.sh b/automation/scripts/= qemu-smoke-riscv64.sh index e0f06360bc43..4008191302f9 100755 --- a/automation/scripts/qemu-smoke-riscv64.sh +++ b/automation/scripts/qemu-smoke-riscv64.sh @@ -16,5 +16,5 @@ qemu-system-riscv64 \ |& tee smoke.serial =20 set -e -(grep -q "Hello from C env" smoke.serial) || exit 1 +(grep -q "All set up" smoke.serial) || exit 1 exit 0 diff --git a/xen/arch/riscv/setup.c b/xen/arch/riscv/setup.c index d09ffe1454a4..1c87899e8e90 100644 --- a/xen/arch/riscv/setup.c +++ b/xen/arch/riscv/setup.c @@ -11,6 +11,7 @@ void __init noreturn start_xen(void) { early_printk("Hello from C env\n"); =20 + early_printk("All set up\n"); for ( ;; ) asm volatile ("wfi"); =20 --=20 2.30.2