[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 19/19] tests/avocado: ppc64 reverse debugging tests for pserie
From: |
Nicholas Piggin |
Subject: |
[PATCH v2 19/19] tests/avocado: ppc64 reverse debugging tests for pseries and powernv |
Date: |
Tue, 8 Aug 2023 14:20:01 +1000 |
These machines run reverse-debugging well enough to pass basic tests.
Wire them up.
Reviewed-by: Pavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
tests/avocado/reverse_debugging.py | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/tests/avocado/reverse_debugging.py
b/tests/avocado/reverse_debugging.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):
self.reverse_debugging(
args=('-kernel', kernel_path))
+
+class ReverseDebugging_ppc64(ReverseDebugging):
+ """
+ :avocado: tags=accel:tcg
+ """
+
+ REG_PC = 0x40
+
+ # unidentified gitlab timeout problem
+ @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
+ def test_ppc64_pseries(self):
+ """
+ :avocado: tags=arch:ppc64
+ :avocado: tags=machine: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 = False
+ self.reverse_debugging()
+
+ @skipIf(os.getenv('GITLAB_CI'), 'Running on GitLab')
+ def test_ppc64_powernv(self):
+ """
+ :avocado: tags=arch:ppc64
+ :avocado: tags=machine:powernv
+ """
+ self.endian_is_le = False
+ self.reverse_debugging()
--
2.40.1
- Re: [PATCH v2 10/19] target/ppc: Migrate DECR SPR, (continued)
- [PATCH v2 11/19] hw/ppc: Reset timebase facilities on machine reset, Nicholas Piggin, 2023/08/08
- [PATCH v2 12/19] hw/ppc: Read time only once to perform decrementer write, Nicholas Piggin, 2023/08/08
- [PATCH v2 13/19] target/ppc: Fix CPU reservation migration for record-replay, Nicholas Piggin, 2023/08/08
- [PATCH v2 14/19] target/ppc: Fix timebase reset with record-replay, Nicholas Piggin, 2023/08/08
- [PATCH v2 15/19] spapr: Fix machine reset deadlock from replay-record, Nicholas Piggin, 2023/08/08
- [PATCH v2 16/19] spapr: Fix record-replay machine reset consuming too many events, Nicholas Piggin, 2023/08/08
- [PATCH v2 17/19] tests/avocado: boot ppc64 pseries replay-record test to Linux VFS mount, Nicholas Piggin, 2023/08/08
- [PATCH v2 18/19] tests/avocado: reverse-debugging cope with re-executing breakpoints, Nicholas Piggin, 2023/08/08
- [PATCH v2 19/19] tests/avocado: ppc64 reverse debugging tests for pseries and powernv,
Nicholas Piggin <=
- Re: [PATCH v2 for-8.2 00/19] ppc: record-replay enablement and fixes, Cédric Le Goater, 2023/08/29