mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
soc/qcom/hyp_core_ctl: Add new VM resource type
Virtual PM Group resource type has been added to the list of hypervisor resource types that can be queried for by a VM. This addition is in preparation for the hyp core ctl driver to store and utilize the information related to VPM group such as cap_id and VPM group state in relevant hypervisor features. Change-Id: I4ec9b4dca5f095980b8ce9134c7cac695562f101 Signed-off-by: Sai Harshini Nimmala <snimmala@codeaurora.org>
This commit is contained in:
parent
921d71ac53
commit
fa2c926449
2 changed files with 3 additions and 0 deletions
|
|
@ -805,6 +805,8 @@ int hh_rm_populate_hyp_res(hh_vmid_t vmid)
|
|||
ret = hh_dbl_populate_cap_info(label, cap_id,
|
||||
HH_MSGQ_DIRECTION_RX, linux_irq);
|
||||
break;
|
||||
case HH_RM_RES_TYPE_VPMGRP:
|
||||
break;
|
||||
default:
|
||||
pr_err("%s: Unknown resource type: %u\n",
|
||||
__func__, res_entries[i].res_type);
|
||||
|
|
|
|||
|
|
@ -133,6 +133,7 @@ struct hh_vm_console_write_req_payload {
|
|||
#define HH_RM_RES_TYPE_MQ_TX 2
|
||||
#define HH_RM_RES_TYPE_MQ_RX 3
|
||||
#define HH_RM_RES_TYPE_VCPU 4
|
||||
#define HH_RM_RES_TYPE_VPMGRP 5
|
||||
|
||||
struct hh_vm_get_hyp_res_req_payload {
|
||||
hh_vmid_t vmid;
|
||||
|
|
|
|||
Loading…
Reference in a new issue