qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/6] ARM: add PSCI 0.2 support in TCG mode
@ 2014-09-05 12:24 Ard Biesheuvel
  2014-09-05 12:24 ` [Qemu-devel] [PATCH v3 1/6] target-arm: add powered off cpu state Ard Biesheuvel
                   ` (5 more replies)
  0 siblings, 6 replies; 25+ messages in thread
From: Ard Biesheuvel @ 2014-09-05 12:24 UTC (permalink / raw)
  To: peter.maydell, christoffer.dall, qemu-devel; +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 #5 adds the actual PSCI dispatch logic. Patch #6
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 v2:
- added path #4 to introduce QEMU counterparts of the kernel PSCI constants we
  refer to in the PSCI emulation, this is needed so QEMU can be built in
  environments that don't supply the PSCI header file.

Changes since v1:
- processed first round of review, that was already given when this series was
  sent out by Rob himself back in May

Ard Biesheuvel (1):
  target-arm: add missing PSCI constants needed for PSCI emulation

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        |  35 ++++++++++
 target-arm/internals.h     |  20 ++++++
 target-arm/kvm-consts.h    |  40 +++++++++++
 target-arm/machine.c       |   5 +-
 target-arm/psci.c          | 171 +++++++++++++++++++++++++++++++++++++++++++++
 target-arm/translate-a64.c |  26 ++++---
 target-arm/translate.c     |  24 +++++--
 14 files changed, 391 insertions(+), 58 deletions(-)
 create mode 100644 target-arm/psci.c

-- 
1.8.3.2

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

end of thread, other threads:[~2014-09-10 16:29 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 12:24 [Qemu-devel] [PATCH v3 0/6] ARM: add PSCI 0.2 support in TCG mode Ard Biesheuvel
2014-09-05 12:24 ` [Qemu-devel] [PATCH v3 1/6] target-arm: add powered off cpu state Ard Biesheuvel
2014-09-09 15:23   ` Peter Maydell
2014-09-05 12:24 ` [Qemu-devel] [PATCH v3 2/6] target-arm: do not set do_interrupt handler for AArch64 user mode Ard Biesheuvel
2014-09-09 15:25   ` Peter Maydell
2014-09-09 15:27     ` Ard Biesheuvel
2014-09-09 15:42       ` Peter Maydell
2014-09-05 12:24 ` [Qemu-devel] [PATCH v3 3/6] target-arm: add hvc and smc exception emulation handling infrastructure Ard Biesheuvel
2014-09-09 17:45   ` Peter Maydell
2014-09-09 21:51     ` Ard Biesheuvel
2014-09-09 21:59       ` Peter Maydell
2014-09-09 22:21         ` Ard Biesheuvel
2014-09-10 15:42         ` Greg Bellows
2014-09-10 16:13           ` Ard Biesheuvel
2014-09-10 16:17             ` Peter Maydell
2014-09-10 16:29             ` Greg Bellows
2014-09-05 12:24 ` [Qemu-devel] [PATCH v3 4/6] target-arm: add missing PSCI constants needed for PSCI emulation Ard Biesheuvel
2014-09-09 15:28   ` Peter Maydell
2014-09-09 15:34     ` Ard Biesheuvel
2014-09-09 15:43       ` Peter Maydell
2014-09-05 12:24 ` [Qemu-devel] [PATCH v3 5/6] target-arm: add emulation of PSCI calls for system emulation Ard Biesheuvel
2014-09-09 17:17   ` Peter Maydell
2014-09-09 17:33     ` Ard Biesheuvel
2014-09-05 12:24 ` [Qemu-devel] [PATCH v3 6/6] arm/virt: enable PSCI emulation support " Ard Biesheuvel
2014-09-09 16:10   ` Peter Maydell

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).