__mcctrl_os_read_write_cpu_register: fix timeout

Change-Id: Id5a7d316d793bd535f24fd353b214aa12af1dab4
This commit is contained in:
Masamichi Takagi
2021-02-15 17:12:11 +09:00
committed by Masamichi Takagi
parent 822b64b03c
commit 48b1d548f2

View File

@ -3647,7 +3647,7 @@ int __mcctrl_os_read_write_cpu_register(ihk_os_t os, int cpu,
isp.pdesc = virt_to_phys(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);
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;