Commit d1ebd178 authored by Elliot Berman's avatar Elliot Berman Committed by Treehugger Robot
Browse files

FROMLIST: virt: gunyah: Translate gh_rm_hyp_resource into gunyah_resource

When booting a Gunyah virtual machine, the host VM may gain capabilities
to interact with resources for the guest virtual machine. Examples of
such resources are vCPUs or message queues. To use those resources, we
need to translate the RM response into a gunyah_resource structure which
are useful to Linux drivers. Presently, Linux drivers need only to know
the type of resource, the capability ID, and an interrupt.

On ARM64 systems, the interrupt reported by Gunyah is the GIC interrupt
ID number and always a SPI or extended SPI.

Bug: 338347082
Link: https://lore.kernel.org/all/20240222-gunyah-v17-11-1e9da6763d38@quicinc.com/


Change-Id: Id164a596e512a32887a379b2fb151d9819e92aa8
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
parent 1e44bac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment