ANDROID: virt: gunyah: Fetch fresh Gunyah information after restore
Gunyah (the hypervisor) currently requires a guest to use devicetree to
provide capability IDs and interrupts to communincation with the
resource manager. A new mechanism, address space info area, is
introduced to discover the same information without using devicetree.
Gunyah undergoes the full shutdown and bootup sequence when the device
goes into and comes back from hibernation respectively. When the system
image is restored post-hibernation, the information present in the
devicetree is then stale and the fresh information needs to be fetched
from address space info area.
Backwards compatibility with older Gunyah without the address space info
area is maintained by registering for pm notifier only if success is
returned upon invoking the addrspace_find_info_area hypercall.
Hibernation is not supported with older Gunyah with no address space
info area support.
Bug: 438364674
Change-Id: Ifee4298b39c36086fc2e09ad51b4842510e561f2
Signed-off-by:
Hrishabh Rajput <quic_hrishabh@quicinc.com>
Loading
Please sign in to comment