From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhLJn-0006pp-Gl for qemu-devel@nongnu.org; Mon, 05 May 2014 12:00:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhLJi-0000kj-Ln for qemu-devel@nongnu.org; Mon, 05 May 2014 12:00:39 -0400 Received: from mail-oa0-x236.google.com ([2607:f8b0:4003:c02::236]:43723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhLJi-0000kW-Hh for qemu-devel@nongnu.org; Mon, 05 May 2014 12:00:34 -0400 Received: by mail-oa0-f54.google.com with SMTP id j17so4253928oag.41 for ; Mon, 05 May 2014 09:00:33 -0700 (PDT) From: Rob Herring Date: Mon, 5 May 2014 11:00:16 -0500 Message-Id: <1399305623-22016-1-git-send-email-robherring2@gmail.com> Subject: [Qemu-devel] [PATCH 0/7] ARM: add PSCI enulation support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Rob Herring , qemu-devel@nongnu.org, Christoffer Dall From: Rob Herring 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