[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/5] ARM: add PSCI 0.2 support in TCG mode
From: |
Ard Biesheuvel |
Subject: |
[Qemu-devel] [PATCH v2 0/5] ARM: add PSCI 0.2 support in TCG mode |
Date: |
Mon, 1 Sep 2014 13:55:24 +0200 |
This series adds PSCI support to ARM and AArch64 system emulation when running
in TCG mode. As PSCI calls can be made using either hypervisor call (HVC) or
secure monitor call (SMC) instructions, support is added for handling those
in patch #3 before patch #4 adds the actual PSCI dispatch logic. Patch #5
enables PSCI for the mach-virt platform.
Currently, booting multiple cores under TCG is unstable, so the restriction
to 1 cpu in TCG mode is retained for now. However, PSCI reset and poweroff are
supported.
Changes since v1:
- processed first round of review, that was already given when this series was
sent out by Rob himself back in May
Rob Herring (5):
target-arm: add powered off cpu state
target-arm: do not set do_interrupt handler for AArch64 user mode
target-arm: add hvc and smc exception emulation handling
infrastructure
target-arm: add emulation of PSCI calls for system emulation
arm/virt: enable PSCI emulation support for system emulation
hw/arm/virt.c | 70 +++++++++---------
target-arm/Makefile.objs | 1 +
target-arm/cpu-qom.h | 11 +++
target-arm/cpu.c | 17 +++--
target-arm/cpu.h | 8 +++
target-arm/cpu64.c | 2 +
target-arm/helper-a64.c | 19 +++++
target-arm/helper.c | 44 ++++++++++++
target-arm/internals.h | 20 ++++++
target-arm/machine.c | 5 +-
target-arm/psci.c | 172 +++++++++++++++++++++++++++++++++++++++++++++
target-arm/translate-a64.c | 26 ++++---
target-arm/translate.c | 24 +++++--
13 files changed, 361 insertions(+), 58 deletions(-)
create mode 100644 target-arm/psci.c
--
1.8.3.2
- [Qemu-devel] [PATCH v2 0/5] ARM: add PSCI 0.2 support in TCG mode,
Ard Biesheuvel <=
- [Qemu-devel] [PATCH v2 1/5] target-arm: add powered off cpu state, Ard Biesheuvel, 2014/09/01
- [Qemu-devel] [PATCH v2 2/5] target-arm: do not set do_interrupt handler for AArch64 user mode, Ard Biesheuvel, 2014/09/01
- [Qemu-devel] [PATCH v2 4/5] target-arm: add emulation of PSCI calls for system emulation, Ard Biesheuvel, 2014/09/01
- [Qemu-devel] [PATCH v2 3/5] target-arm: add hvc and smc exception emulation handling infrastructure, Ard Biesheuvel, 2014/09/01
- [Qemu-devel] [PATCH v2 5/5] arm/virt: enable PSCI emulation support for system emulation, Ard Biesheuvel, 2014/09/01
- Re: [Qemu-devel] [PATCH v2 0/5] ARM: add PSCI 0.2 support in TCG mode, Peter Maydell, 2014/09/01