qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] ARM: add PSCI 0.2 support in TCG mode
@ 2014-09-01  7:53 Ard Biesheuvel
  2014-09-01  7:53 ` [Qemu-devel] [PATCH 1/5] target-arm: add powered off cpu state Ard Biesheuvel
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ard Biesheuvel @ 2014-09-01  7:53 UTC (permalink / raw)
  To: qemu-devel, peter.maydell, rob.herring; +Cc: Ard Biesheuvel

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.

Rob Herring (5):
  target-arm: add powered off cpu state
  target-arm: support AArch64 for arm_cpu_set_pc
  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       |  10 +++
 target-arm/cpu.c           |  22 ++++---
 target-arm/cpu.h           |  20 ++++++
 target-arm/helper-a64.c    |  11 ++++
 target-arm/helper.c        |  33 ++++++++++
 target-arm/internals.h     |  15 +++++
 target-arm/psci.c          | 152 +++++++++++++++++++++++++++++++++++++++++++++
 target-arm/translate-a64.c |  26 +++++---
 target-arm/translate.c     |  24 ++++---
 11 files changed, 322 insertions(+), 62 deletions(-)
 create mode 100644 target-arm/psci.c

-- 
1.8.3.2

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-09-01  9:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-01  7:53 [Qemu-devel] [PATCH 0/5] ARM: add PSCI 0.2 support in TCG mode Ard Biesheuvel
2014-09-01  7:53 ` [Qemu-devel] [PATCH 1/5] target-arm: add powered off cpu state Ard Biesheuvel
2014-09-01  7:53 ` [Qemu-devel] [PATCH 2/5] target-arm: support AArch64 for arm_cpu_set_pc Ard Biesheuvel
2014-09-01  9:09   ` Peter Maydell
2014-09-01  9:12     ` Ard Biesheuvel
2014-09-01  7:53 ` [Qemu-devel] [PATCH 3/5] target-arm: add hvc and smc exception emulation handling infrastructure Ard Biesheuvel
2014-09-01  7:53 ` [Qemu-devel] [PATCH 4/5] target-arm: add emulation of PSCI calls for system emulation Ard Biesheuvel
2014-09-01  7:53 ` [Qemu-devel] [PATCH 5/5] arm/virt: enable PSCI emulation support " Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).