diff --git a/executer/kernel/mcctrl/control.c b/executer/kernel/mcctrl/control.c index c147d62d..3d1a5760 100644 --- a/executer/kernel/mcctrl/control.c +++ b/executer/kernel/mcctrl/control.c @@ -3646,7 +3646,8 @@ int __mcctrl_os_read_write_cpu_register(ihk_os_t os, int cpu, isp.op = op; isp.pdesc = virt_to_phys(ldesc); - ret = mcctrl_ikc_send_wait(os, cpu, &isp, 0, NULL, &do_free, 1, ldesc); + /* 1 sec timeout for the case where McKernel can't respond */ + ret = mcctrl_ikc_send_wait(os, cpu, &isp, 1000, NULL, &do_free, 1, ldesc); if (ret != 0) { printk("%s: ERROR sending IKC msg: %d\n", __FUNCTION__, ret); goto out;