Implement suspend/resume support. This will turn off the power domain
authorkettenis <kettenis@openbsd.org>
Sun, 23 Jul 2023 11:47:20 +0000 (11:47 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 23 Jul 2023 11:47:20 +0000 (11:47 +0000)
commitf2e6717f7e3d6aae453e927d2de873a410e322a0
tree7745e55c3a519462e9b6fb50995e30fc02822f82
parent23d6429a03bae5a80cf2ced691eaaced32e41aa8
Implement suspend/resume support.  This will turn off the power domain
associated with a DART when we suspend and turn it back on upon resume.
The DART is reconfigured with the same translation table that was
present when we suspended.

This is only done for DARTs that are under our control; locked DARTs and
DARTs that were enabled at boot time are skipped.

ok patrick@
sys/arch/arm64/dev/apldart.c