summaryrefslogtreecommitdiffstats
path: root/hw/pci
diff options
context:
space:
mode:
authorIsaku Yamahata2021-03-23 21:52:26 +0100
committerMichael S. Tsirkin2021-04-01 18:19:52 +0200
commit44421c60c93f78a6d83358e57f22e8f0c1993dba (patch)
tree8740e80f74b271d3fe2e6c804fa9561131009b25 /hw/pci
parentvt82c686.c: don't raise SCI when PCI_INTERRUPT_PIN isn't setup (diff)
downloadqemu-44421c60c93f78a6d83358e57f22e8f0c1993dba.tar.gz
qemu-44421c60c93f78a6d83358e57f22e8f0c1993dba.tar.xz
qemu-44421c60c93f78a6d83358e57f22e8f0c1993dba.zip
isa/v582c686: Reinitialize ACPI PM device on reset
Commit 6be8cf56bc8b made sure that SCI is enabled in PM1.CNT on reset in acpi_only mode by modifying acpi_pm1_cnt_reset() and that worked for q35 as expected. This patch adds reset ACPI PM related registers on vt82c686 reset time and de-assert sci. via_pm_realize() initializes acpi pm tmr, evt, cnt and gpe. Reset them on device reset. Cc: BALATON Zoltan <balaton@eik.bme.hu> Cc: Huacai Chen <chenhuacai@kernel.org> Cc: "Philippe Mathieu-Daudé" <f4bug@amsat.org> Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com> Message-Id: <0a3fe998525552860919a690ce83dab8f663ab99.1616532563.git.isaku.yamahata@intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci')
0 files changed, 0 insertions, 0 deletions