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:Alex Elder <elder@linaro.org> Co-developed-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com> Signed-off-by:
Prakruthi Deepak Heragu <quic_pheragu@quicinc.com> Signed-off-by:
Elliot Berman <quic_eberman@quicinc.com>
Loading
Please sign in to comment