[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v4 0/5] spapr: implement dispatch and suspend calls
From: |
Nicholas Piggin |
Subject: |
[Qemu-ppc] [PATCH v4 0/5] spapr: implement dispatch and suspend calls |
Date: |
Tue, 16 Jul 2019 12:47:21 +1000 |
This series follows on from the previous that added H_PROD and
H_CONFER, but I've now aimed to make it conform better to PAPR.
It's still not completely there (as explained in comments), but
it's better than before and actually better matches KVM that
does implement the prod bit and dispatch counter.
The first 3 patches implement these splpar hcalls for tcg, as
KVM implements its own H_PROD, H_CONFER, H_CEDE, and dispatch
management. These would be nice to merge as they make qemu
behave more like KVM and PowerVM with these calls.
The last 2 patches implement some parts of the guest suspend
APIs I've been using to test Linux modifications to the pseries
(and generic kernel) suspend/hibernate code, but they are not
really useful to a Linux guest (yet) due to other missing bits.
I have some Linux code I'll try to gradually upstream to work
around the missing bits and make this suspend on QEMU "work",
which is at least useful for testing without having PowerVM.
Thanks,
Nick
Nicholas Piggin (5):
spapr: Implement dispatch counter and prod bit on tcg
spapr: Implement H_PROD
spapr: Implement H_CONFER
spapr: Implement H_JOIN
spapr: Implement ibm,suspend-me
hw/ppc/spapr.c | 52 +++++++++++++
hw/ppc/spapr_cpu_core.c | 5 +-
hw/ppc/spapr_hcall.c | 126 ++++++++++++++++++++++++++++++--
hw/ppc/spapr_rtas.c | 32 ++++++++
include/hw/ppc/spapr.h | 14 +++-
include/hw/ppc/spapr_cpu_core.h | 2 +
target/ppc/cpu.h | 2 +
target/ppc/translate_init.inc.c | 25 +++++++
8 files changed, 251 insertions(+), 7 deletions(-)
--
2.20.1
- [Qemu-ppc] [PATCH v4 0/5] spapr: implement dispatch and suspend calls,
Nicholas Piggin <=
[Qemu-ppc] [PATCH v4 3/5] spapr: Implement H_CONFER, Nicholas Piggin, 2019/07/15