__mcctrl_os_read_write_cpu_register: spin timeout in mcctrl_ikc_send_wait()
Change-Id: I918be366c81be96cd76df659e3181a194d440dd8
This commit is contained in:
committed by
Masamichi Takagi
parent
71c333965c
commit
eca107f52d
@@ -3636,8 +3636,8 @@ int __mcctrl_os_read_write_cpu_register(ihk_os_t os, int cpu,
|
|||||||
isp.op = op;
|
isp.op = op;
|
||||||
isp.pdesc = virt_to_phys(ldesc);
|
isp.pdesc = virt_to_phys(ldesc);
|
||||||
|
|
||||||
/* 1 sec timeout for the case where McKernel can't respond */
|
/* 10 secs (busy-wait) timeout for the case where McKernel can't respond */
|
||||||
ret = mcctrl_ikc_send_wait(os, cpu, &isp, -1000, NULL, &do_free, 1, ldesc);
|
ret = mcctrl_ikc_send_wait(os, cpu, &isp, -10000, NULL, &do_free, 1, ldesc);
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
printk("%s: ERROR sending IKC msg: %d\n", __FUNCTION__, ret);
|
printk("%s: ERROR sending IKC msg: %d\n", __FUNCTION__, ret);
|
||||||
goto out;
|
goto out;
|
||||||
|
|||||||
Reference in New Issue
Block a user