From nobody Thu Nov 28 15:45:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1691468532; cv=none; d=zohomail.com; s=zohoarc; b=GC3TP94ISsslO77aQYImiaxUvwG4qQHH8zRe2QMzOEZF81YwRpiZPWXYayebbtg3OfCLsU9OemKRj3Xh5/a/9DVxW0de+0PKOksA+TiPa8q/UnuhNpeTGiP4PoEgB+c+fhG7BD8qgkXdBtOaAzZDOY43pkqEv6rosMnHBMfLW2I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1691468532; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=2Jfr1QqEwPHm/0cW4fOVkjgbOw65i5uezh4p2+HDHZI=; b=hdQWyDXMNQ+ce/ON7r14jqyUyafkSH1413Zw/pDGLHrJBXPxugFrX/95so1rsx7aTjHHLf7ew3fNEjcBzDK07lbBscB5LQ9I3DklpKB+kyyvq318QwMZQs8XQDKB+TE/mOO5UcDlRs4w3Hww+JYDmtUpFqKnf+TFhzCk6EVDlUc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1691468532895440.67297938037984; Mon, 7 Aug 2023 21:22:12 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTEEK-0001d3-Ep; Tue, 08 Aug 2023 00:22:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTEE5-0001JQ-Q1; Tue, 08 Aug 2023 00:21:47 -0400 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTEE4-0007rq-5s; Tue, 08 Aug 2023 00:21:45 -0400 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-56c711a88e8so3477443eaf.2; Mon, 07 Aug 2023 21:21:43 -0700 (PDT) Received: from wheely.local0.net (61-68-137-140.tpgi.com.au. [61.68.137.140]) by smtp.gmail.com with ESMTPSA id fk10-20020a056a003a8a00b0068718f6a035sm6979207pfb.33.2023.08.07.21.21.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 21:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691468502; x=1692073302; 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=2Jfr1QqEwPHm/0cW4fOVkjgbOw65i5uezh4p2+HDHZI=; b=YsJ3bJbM7+RAQ0J2QtR2MEsk6G1lUdNdwjuXa8m0wHqdKBVar2NCeSIWDX9vcU1glg yBo1lp+NAkaxyU0BS99jiWMd+VTSGqr6V39L8NzCdTg95lCB9Fm6kAchLTe3EKDMBRBM /JdD2baQfZSVSBnB+yFQYiaVvHY37RstOFWW4QWhooNbCwFvlL536BD4D6RgZaYLHGbf cRhBkNMfXeVLtulO6UK96oYPbceUKR/dItC8lmOGTM1q+nfs86NA2NdzXZWYZooNYqe0 oJWVc359eC8MmgSOcTpgKz02di/apTpJJrWjbKzhQD71oUISRjiPrWWBXR4qiSyl6N1h J5og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691468502; x=1692073302; 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=2Jfr1QqEwPHm/0cW4fOVkjgbOw65i5uezh4p2+HDHZI=; b=IDK1nsihzwK5jMt3v+UPhPUGEPpSVghfrkVgF2CDpsut//3QDupS/A1eacrCTedSNR 6C9fANdFs1aNWRINfTn1bwBigqBUB2Mhdg8+a6BVaBrCrO/gL3T+t6X8baeS+8F6Z7f+ CnYp25H4YNPiX7xqqTDGM0LhyOT3x6bApmNMrXs+OFO8cnhynQzvc2zqmMZpm86vzzxB bSui90MgR+lggc2BKfnWA+gJvlTAV3dDqYx7G0FhXkpMUtTiAjFMrha8D7CfGncMIrZs taPeJNKBsm7Ol/2LoD/nW06xgduIyXTzHNpOhBVgkQ5/24fBTBgbzkTZo6qF/lNDY8OG JTag== X-Gm-Message-State: AOJu0YyiY2br0tAhSj5TGXQWkGyVtABaU+JFE2tXWoSddgzyiT9Fi7pc O3ekV6yH60YFjyt+s3fsVFE= X-Google-Smtp-Source: AGHT+IEdsElLzT9blUAn29xmVZSXyFAjFTOKXiv5mT2it5pJrGDbuABbKHq5LAhny10QDfJwIXGbWg== X-Received: by 2002:a05:6358:9041:b0:135:4003:784a with SMTP id f1-20020a056358904100b001354003784amr9497659rwf.19.1691468502168; Mon, 07 Aug 2023 21:21:42 -0700 (PDT) From: Nicholas Piggin To: Daniel Henrique Barboza Cc: Nicholas Piggin , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , David Gibson , Greg Kurz , Harsh Prateek Bora , Pavel Dovgalyuk , Paolo Bonzini , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Pavel Dovgalyuk Subject: [PATCH v2 19/19] tests/avocado: ppc64 reverse debugging tests for pseries and powernv Date: Tue, 8 Aug 2023 14:20:01 +1000 Message-Id: <20230808042001.411094-20-npiggin@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230808042001.411094-1-npiggin@gmail.com> References: <20230808042001.411094-1-npiggin@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::c31; envelope-from=npiggin@gmail.com; helo=mail-oo1-xc31.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1691468534311100007 Content-Type: text/plain; charset="utf-8" These machines run reverse-debugging well enough to pass basic tests. Wire them up. Reviewed-by: Pavel Dovgalyuk Signed-off-by: Nicholas Piggin --- tests/avocado/reverse_debugging.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/tests/avocado/reverse_debugging.py b/tests/avocado/reverse_deb= ugging.py index 7d1a478df1..fc47874eda 100644 --- a/tests/avocado/reverse_debugging.py +++ b/tests/avocado/reverse_debugging.py @@ -233,3 +233,32 @@ def test_aarch64_virt(self): =20 self.reverse_debugging( args=3D('-kernel', kernel_path)) + +class ReverseDebugging_ppc64(ReverseDebugging): + """ + :avocado: tags=3Daccel:tcg + """ + + REG_PC =3D 0x40 + + # unidentified gitlab timeout problem + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + def test_ppc64_pseries(self): + """ + :avocado: tags=3Darch:ppc64 + :avocado: tags=3Dmachine:pseries + """ + # SLOF branches back to its entry point, which causes this test + # to take the 'hit a breakpoint again' path. That's not a problem, + # just slightly different than the other machines. + self.endian_is_le =3D False + self.reverse_debugging() + + @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab') + def test_ppc64_powernv(self): + """ + :avocado: tags=3Darch:ppc64 + :avocado: tags=3Dmachine:powernv + """ + self.endian_is_le =3D False + self.reverse_debugging() --=20 2.40.1