From 769a58cd28a6bc2449d9a7fe9b833aab9a356941 Mon Sep 17 00:00:00 2001 From: Yong Ding Date: Fri, 20 Jul 2018 15:23:43 +0800 Subject: soc: qcom: hab: change the unregistration to be dummy HAB service should be kept available as long as possible since it is very fundamental. It can possibly be used in the GVM(Guest Virtual Machine) shutdown procedure to talk with the hypervisor. And the unregistration function will only be left to give a log message. Change-Id: I0cbc153a68a0fb496d14fc49db6cfee211a01722 Signed-off-by: Yong Ding --- drivers/soc/qcom/hab/hab_qvm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'drivers/soc') diff --git a/drivers/soc/qcom/hab/hab_qvm.c b/drivers/soc/qcom/hab/hab_qvm.c index 129d1deeb2f0..df60e5c1b07d 100644 --- a/drivers/soc/qcom/hab/hab_qvm.c +++ b/drivers/soc/qcom/hab/hab_qvm.c @@ -314,10 +314,7 @@ int hab_hypervisor_register(void) void hab_hypervisor_unregister(void) { - hab_hypervisor_unregister_common(); - - qvm_priv_info.probe_cnt = 0; - qvm_priv_info.curr = 0; + pr_info("unregistration is called, but do nothing\n"); } /* this happens before hypervisor register */ -- cgit v1.2.3