Test "Wait for LWK to run at shutdown." on arm64

Change-Id: I96785dda7a1a7eb36ceeb31401d71b4e40efb185
Refs: #898
Refs: #928
This commit is contained in:
Shiratori, Takehiro
2018-12-03 20:06:37 +09:00
parent de70eac619
commit 3f11c1aee5
34 changed files with 2825 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# force_shutdown.patch COPYRIGHT FUJITSU LIMITED 2018
diff --git a/executer/kernel/mcctrl/driver.c b/executer/kernel/mcctrl/driver.c
index 1588f63..9d91154 100644
--- a/executer/kernel/mcctrl/driver.c
+++ b/executer/kernel/mcctrl/driver.c
@@ -171,12 +171,12 @@ int mcctrl_os_shutdown_notifier(int os_index)
{
if (os[os_index]) {
/* Wait for os running */
- if (ihk_os_wait_for_status(os[os_index], IHK_OS_STATUS_RUNNING, 0, 200) != 0) {
- printk("IHK: OS does not become RUNNING in shutdown. Force shutdown.\n");
+// if (ihk_os_wait_for_status(os[os_index], IHK_OS_STATUS_RUNNING, 0, 200) != 0) {
+// printk("IHK: OS does not become RUNNING in shutdown. Force shutdown.\n");
/* send nmi to force shutdown */
ihk_os_send_nmi(os[os_index], 3);
mdelay(200);
- }
+// }
pager_cleanup();
sysfsm_cleanup(os[os_index]);