All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] arm: aspeed: Allow the guest to exit
@ 2018-12-11  3:10 Joel Stanley
  2018-12-11  3:10 ` [Qemu-devel] [PATCH 1/2] aspeed: Add syscon-poweroff to guest device tree Joel Stanley
  2018-12-11  3:10 ` [Qemu-devel] [PATCH 2/2] aspeed/scu: Implement power off register Joel Stanley
  0 siblings, 2 replies; 7+ messages in thread
From: Joel Stanley @ 2018-12-11  3:10 UTC (permalink / raw)
  To: Peter Maydell, Cédric Le Goater; +Cc: Andrew Jeffery, qemu-arm, qemu-devel

This series adds a feature to the ASPEED machine that allows the guest
to cause itself to exit. It was tested with romulus-bmc and palmetto-bmc
with a Linux kernel as the guest.

To test:

 cd linux
 $ export ARCH=arm CROSS_COMPILE=arm-linux-gnueabi-
 $ make aspeed_g4_defconfig
 $ ./scripts/config -e CONFIG_POWER_RESET_SYSCON_POWEROFF -e CONFIG_POWER_RESET
 $ make -j$(nproc)
 $ qemu-system-arm -M palmetto-bmc -nographic \
    -kernel arch/arm/boot/zImage \
    -dtb arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dtb \
    -initrd ~/buildroot-arm.cpio.xz

Joel Stanley (2):
  aspeed: Add syscon-poweroff to guest device tree
  aspeed/scu: Implement power off register

 hw/arm/aspeed.c      | 33 +++++++++++++++++++++++++++++++++
 hw/misc/aspeed_scu.c |  5 +++++
 2 files changed, 38 insertions(+)

-- 
2.19.1

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

end of thread, other threads:[~2019-01-24 20:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11  3:10 [Qemu-devel] [PATCH 0/2] arm: aspeed: Allow the guest to exit Joel Stanley
2018-12-11  3:10 ` [Qemu-devel] [PATCH 1/2] aspeed: Add syscon-poweroff to guest device tree Joel Stanley
2018-12-11  7:32   ` Cédric Le Goater
2018-12-11  3:10 ` [Qemu-devel] [PATCH 2/2] aspeed/scu: Implement power off register Joel Stanley
2018-12-11  7:37   ` Cédric Le Goater
2019-01-03 16:26   ` Peter Maydell
2019-01-24 20:18     ` Joel Stanley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.