powerpc: Test SPR persistency during migration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 6 repliesIn review
- v32 patches 2 repliesSuperseded
- v22 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 10 replies | Superseded |
Changes in v4 from the cover letter
- Fix the error paths in run_migration() - use "exit 2" instead of "exit 1" to avoid trouble with the return code magic in the powerpc/run script and make sure to terminate the two QEMU instances in case of migration failure.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Add the possibility to do simple migration testspowerpc/ scripts/ scripts/ | +67 | 1 reply | |
| 2/2 | powerpc: Add Special Purpose Register persistency testpowerpc/ powerpc/ powerpc/ +1 more | +313 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Andrew Jones |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [kvm-unit-tests PATCH v4 0/2] powerpc: Test SPR persistency during migration
Here's a KVM-unit-test to check the persistency of SPRs during migration. First patch adds a helper script for doing migration tests in the kvm-unit-test framework, and the second patch contains the SPR tester.
v4:
- Fix the error paths in run_migration() - use "exit 2" instead of "exit 1" to avoid trouble with the return code magic in the powerpc/run script and make sure to terminate the two QEMU instances in case of migration failure.
v3:
- Migration shell script code has been moved to a helper function in arch-run.bash, so that this now also works with the standalone tests.
- Introduced the helper function migration_cmd there, too, so that other architectures can use this, too.
- Use "$@" instead of $* when calling QEMU.
v2:
- Addressed review feedback from v1
- Now using cpu_relax() instead of asm volatile ("nop")
Thomas Huth (2):
Add the possibility to do simple migration tests
powerpc: Add Special Purpose Register persistency test
powerpc/Makefile.common | 3 +- powerpc/cstart64.S | 2 + powerpc/run | 2 +- powerpc/sprs.c | 304 ++++++++++++++++++++++++++++++++++++++++++++++++ powerpc/unittests.cfg | 5 + scripts/arch-run.bash | 63 ++++++++++ scripts/runtime.bash | 3 + 7 files changed, 380 insertions(+), 2 deletions(-) create mode 100644 powerpc/sprs.c
Signature · 1 line
1.8.3.1