Implement wakeup interrupts on amd64. Provide a dummy implementation for
authorkettenis <kettenis@openbsd.org>
Sun, 26 May 2024 13:37:31 +0000 (13:37 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 26 May 2024 13:37:31 +0000 (13:37 +0000)
commitfc30b644f1922d25f1f8a9187113a50ce3610714
tree1e8df95a1069bb6d00a41557e43842cbbb5d88a6
parent38f98a5b013ed171c80c280c884518df551cbbd3
Implement wakeup interrupts on amd64.  Provide a dummy implementation for
i386 such that we can call the necessary hooks in the suspend/resume code
without adding #ifdefs.  Tweak the arm64 implementation such that we can
call the hooks earlier as this is necessary to mask MSI and MSI-X
interrupts on arm64.

ok deraadt@, mlarkin@
sys/arch/amd64/amd64/acpi_machdep.c
sys/arch/amd64/amd64/intr.c
sys/arch/amd64/include/intr.h
sys/arch/amd64/include/intrdefs.h
sys/arch/arm64/arm64/cpu.c
sys/arch/arm64/arm64/intr.c
sys/arch/i386/i386/machdep.c
sys/arch/i386/include/intr.h
sys/kern/subr_suspend.c