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

FROMLIST: virt: gunyah: Add Qualcomm Gunyah platform ops

Qualcomm platforms have a firmware entity which performs access control
to physical pages. Dynamically started Gunyah virtual machines use the
QCOM_SCM_RM_MANAGED_VMID for access. Linux thus needs to assign access
to the memory used by guest VMs. Gunyah doesn't do this operation for us
since it is the current VM (typically VMID_HLOS) delegating the access
and not Gunyah itself. Use the Gunyah platform ops to achieve this so
that only Qualcomm platforms attempt to make the needed SCM calls.

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


Change-Id: I2bd98d5e4ba5680fe938a0513d5028ebda86598d
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Co-developed-by: default avatarPrakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: default avatarPrakruthi Deepak Heragu <quic_pheragu@quicinc.com>
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
parent 8134d2cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment