From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnfFv-00044J-BT for qemu-devel@nongnu.org; Thu, 22 May 2014 22:31:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnfFY-0003l3-PL for qemu-devel@nongnu.org; Thu, 22 May 2014 22:30:47 -0400 Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:37828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnfFY-0003kV-H9 for qemu-devel@nongnu.org; Thu, 22 May 2014 22:30:24 -0400 Received: by mail-ob0-f169.google.com with SMTP id vb8so4792797obc.0 for ; Thu, 22 May 2014 19:30:24 -0700 (PDT) From: Rob Herring Date: Thu, 22 May 2014 21:30:03 -0500 Message-Id: <1400812209-26743-1-git-send-email-robherring2@gmail.com> Subject: [Qemu-devel] [PATCH v2 0/6] ARM: add PSCI emulation support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Rob Herring , Peter Crosthwaite , qemu-devel@nongnu.org, Christoffer Dall From: Rob Herring This series adds support for emulating 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 is based on version 6 of Pranavkumar Sawargaonkar's series for PSCI 0.2 support in KVM[1]. Rob [1] http://lists.gnu.org/archive/html/qemu-devel/2014-05/msg04514.html Rob Herring (6): target-arm: don't set cpu do_interrupt handler for user mode emulation target-arm: add powered off cpu state 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 arm/highbank: enable PSCI emulation support hw/arm/highbank.c | 9 +++ hw/arm/virt.c | 41 +++++------- target-arm/Makefile.objs | 2 +- target-arm/cpu-qom.h | 11 ++++ target-arm/cpu.c | 10 ++- target-arm/cpu.h | 2 + target-arm/cpu64.c | 2 + target-arm/helper-a64.c | 35 ++++++++-- target-arm/helper.c | 53 +++++++++++++-- target-arm/internals.h | 20 ++++++ target-arm/kvm-consts.h | 6 ++ target-arm/machine.c | 5 +- target-arm/psci.c | 157 +++++++++++++++++++++++++++++++++++++++++++++ target-arm/translate-a64.c | 13 +++- target-arm/translate.c | 24 +++++-- 15 files changed, 340 insertions(+), 50 deletions(-) create mode 100644 target-arm/psci.c -- 1.9.1