[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/7] ARM: add PSCI enulation support
From: |
Rob Herring |
Subject: |
[Qemu-devel] [PATCH 0/7] ARM: add PSCI enulation support |
Date: |
Mon, 5 May 2014 11:00:16 -0500 |
From: Rob Herring <address@hidden>
This series adds support for enulating ARM PSCI calls. PSCI or Power
State Coordination Interface is an ARM standard for controlling cpu
power states. This series supports both AArch32 and AArch64 using HVC or
SMC calls.
This series is based on Pranavkumar Sawargaonkar's series for PSCI 0.2
support in KVM[1].
Rob
[1] http://lists.gnu.org/archive/html/qemu-devel/2014-05/msg00421.html
Rob Herring (7):
target-arm: use correct do_interrupt handler for AArch64 user mode
target-arm: add powered off cpu state
target-arm: add hvc and smc exception emulation handling
infrastructure
target-arm: support AArch64 for arm_cpu_set_pc
target-arm: add emulation of PSCI calls for system emulation
arm/virt: enable PSCI emulation support for system emulation
arm/highbank: enable PSCI emulation support
hw/arm/highbank.c | 8 +++
hw/arm/virt.c | 42 ++++++-------
target-arm/Makefile.objs | 1 +
target-arm/cpu-qom.h | 10 +++
target-arm/cpu.c | 13 ++--
target-arm/cpu.h | 14 +++++
target-arm/cpu64.c | 4 ++
target-arm/helper-a64.c | 14 +++++
target-arm/helper.c | 33 ++++++++++
target-arm/internals.h | 15 +++++
target-arm/kvm-consts.h | 6 ++
target-arm/psci.c | 152 +++++++++++++++++++++++++++++++++++++++++++++
target-arm/translate-a64.c | 13 +++-
target-arm/translate.c | 24 ++++---
14 files changed, 308 insertions(+), 41 deletions(-)
create mode 100644 target-arm/psci.c
--
1.9.1