On 11 December 2015 at 03:21, Shannon Zhao <zhaoshengl...@huawei.com> wrote: > From: Shannon Zhao <shannon.z...@linaro.org> > > ACPI SPEC 5.0 defines GPIO-signaled ACPI Events for Hardware-reduced > platforms(like ARM). It uses GPIO pin to trigger an event to the guest. > For QEMU, here we add PL061 GPIO controller and use PIN 3 for > system_powerdown, reserving PIN 0, 1, 2 for PCI hotplug, CPU hotplug and > memory hotplug. > > This patchset adds system_powerdown support on ARM through both ACPI and > DT ways. It adds a GPIO controller(here is PL061) in machine virt and > uses GPIO-singled event for ACPI while gpio-keys for DT. It has been > tested for the guests starting by ACPI or DT while guests use systemd or > acpid.
Thanks, applied to target-arm.next. -- PMM