Slightly over-eager ping for code review and/or testing, since the A64 patches are going to sit on top of this and they're starting to pile up :-) (Also noticed I forgot to cc Mian; apologies.)
thanks -- PMM On 28 November 2013 13:33, Peter Maydell <peter.mayd...@linaro.org> wrote: > This patchset adds support for basic AArch64 KVM VM control. It sits > on top of the mach-virt + cpu-host patchset I sent out last week. > The core of these patches is the work done by Mian M. Hamayun; I've > just taken that, refactored it a bit to sit on top of the > mach-virt+cpu-host patchset instead af defining an 'a57' cpu, and > made some minor bugfixes as part of the code review I did in the > process. > > (Mian: my apologies for not looking at your last patch series sooner. > This actually ended up in my generating extra work for myself since > if I'd been a bit quicker about that we could have dealt with more of > this in code review rather than my fixing things up. I'll try to do > better next time around.) > > This patch series supports: > * 64 bit KVM VM control > * SMP and UP > * PSCI boot of secondary CPUs > It doesn't support: > * migration > * reset (partly because there's no way to reset a mach-virt system yet) > * anything except "-cpu host" > * debugging the VM via qemu gdbstub > * running 32 bit VMs on a 64 bit system > [Mian's patchset includes support for that but I have left it out > for the moment because it needs more thought about UI and so on] > > You can find this patchset plus the mach-virt/cpu-host one at > git://git.linaro.org/people/pmaydell/qemu-arm.git mach-virt-64 > https://git.linaro.org/gitweb?p=people/pmaydell/qemu-arm.git;a=shortlog;h=refs/heads/mach-virt-64 > > thanks > -- PMM > > Mian M. Hamayun (2): > target-arm: Add minimal KVM AArch64 support > hw/arm/boot: Add boot support for AArch64 processor > > Peter Maydell (5): > target-arm/kvm: Split 32 bit only code into its own file > target-arm: Clean up handling of AArch64 PSTATE > configure: Enable KVM for aarch64 host/target combination > hw/arm/boot: Allow easier swapping in of different loader code > default-configs: Add config for aarch64-softmmu > > configure | 2 +- > default-configs/aarch64-softmmu.mak | 9 + > hw/arm/boot.c | 190 +++++++++---- > linux-user/signal.c | 6 +- > target-arm/Makefile.objs | 2 + > target-arm/cpu.c | 6 + > target-arm/cpu.h | 68 ++++- > target-arm/gdbstub64.c | 4 +- > target-arm/kvm.c | 495 +-------------------------------- > target-arm/kvm32.c | 515 > +++++++++++++++++++++++++++++++++++ > target-arm/kvm64.c | 204 ++++++++++++++ > target-arm/translate-a64.c | 12 +- > 12 files changed, 952 insertions(+), 561 deletions(-) > create mode 100644 default-configs/aarch64-softmmu.mak > create mode 100644 target-arm/kvm32.c > create mode 100644 target-arm/kvm64.c