ppc: fix larx migration, fix record-replay
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | target/ppc: Fix CPU reservation migration for record-replaytarget/ target/ target/ | +28 | 2 replies | |
| 2/7 | scripts/replay_dump.sh: Update to current rr record formatscripts/ | +83 | 0 replies | |
| 3/7 | spapr: Fix machine reset deadlock from replay-recordhw/ include/ target/ +1 more | +39 | 0 replies | |
| 4/7 | spapr: Fix record-replay machine reset consuming too many eventshw/ include/ | +10 | 2 replies | |
| 5/7 | target/ppc: Fix timebase reset with record-replayhw/ | +9 | 1 reply | |
| 6/7 | tests/avocado: boot ppc64 pseries replay-record test to Linux VFS mounttests/ | +1 | 0 replies | |
| 7/7 | tests/avocado: ppc64 pseries reverse debugging testtests/ | +27 | 3 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Pavel Dovgalyuk |
|---|---|
| 1/7 | A-b |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | R-b |
| 6/7 | |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] ppc: fix larx migration, fix record-replay
Hi, this is a bit of an RFC patch, I may need to send patches to different trees to merge but they kind of go together.
The primary motivation is to fix migrating larx reservations, previously discussed here:
https://lists.gnu.org/archive/html/qemu-ppc/2023-06/msg00452.html
It turns out a recent patch fixed it in a hacky way by chance, but the fix is not compatible with rr debugging as Peter noted. Fortunately rr debugging is broken on ppc, so we are done.
Can it be fixed nicely? Patch 1 tries that by migrating reservation state when rr is in use. The rest of the patches is getting rr to work. I've not go to trying to add a specific larx test case for it yet, but it started to pass basic tests. There is one strangeness explained in the final patch which I've not yet worked out though.
Comments welcome.
Thanks,
Nick
Nicholas Piggin (7):
target/ppc: Fix CPU reservation migration for record-replay scripts/replay_dump.sh: Update to current rr record format
spapr: Fix machine reset deadlock from replay-record
spapr: Fix record-replay machine reset consuming too many events target/ppc: Fix timebase reset with record-replay tests/avocado: boot ppc64 pseries replay-record test to Linux VFS
mount
tests/avocado: ppc64 pseries reverse debugging test
hw/ppc/ppc.c | 11 +++- hw/ppc/spapr.c | 32 +++++++++-- include/hw/ppc/spapr.h | 2 + scripts/replay-dump.py | 89 ++++++++++++++++++++++++++++-- target/ppc/compat.c | 19 +++++++ target/ppc/cpu.h | 3 + target/ppc/machine.c | 26 ++++++++- target/ppc/translate.c | 2 + tests/avocado/replay_kernel.py | 3 +- tests/avocado/reverse_debugging.py | 28 +++++++++- 10 files changed, 197 insertions(+), 18 deletions(-)
Signature · 1 line
2.40.1