TO RESET: mcctrl_get_request_os_cpu and __mcctrl_os_read_write_cpu_register: show debug messages
Change-Id: Ic8430e3fd6a814b888192233b029c942500a2dc9
This commit is contained in:
@@ -3582,7 +3582,11 @@ int mcctrl_get_request_os_cpu(ihk_os_t os, int *ret_cpu)
|
|||||||
*ret_cpu = ch->send.queue->read_cpu;
|
*ret_cpu = ch->send.queue->read_cpu;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
|
#ifndef ENABLE_FUGAKU_HACKS
|
||||||
pr_info("%s: OS: %lx, CPU: %d\n",
|
pr_info("%s: OS: %lx, CPU: %d\n",
|
||||||
|
#else
|
||||||
|
dprintk("%s: OS: %lx, CPU: %d\n",
|
||||||
|
#endif
|
||||||
__func__, (unsigned long)os, *ret_cpu);
|
__func__, (unsigned long)os, *ret_cpu);
|
||||||
|
|
||||||
out_put_ppd:
|
out_put_ppd:
|
||||||
@@ -3646,7 +3650,11 @@ int __mcctrl_os_read_write_cpu_register(ihk_os_t os, int cpu,
|
|||||||
/* Notify caller (for future async implementation) */
|
/* Notify caller (for future async implementation) */
|
||||||
atomic_set(&desc->sync, 1);
|
atomic_set(&desc->sync, 1);
|
||||||
|
|
||||||
|
#ifndef ENABLE_FUGAKU_HACKS
|
||||||
dprintk("%s: MCCTRL_OS_CPU_%s_REGISTER: CPU: %d, addr_ext: 0x%lx, val: 0x%lx\n",
|
dprintk("%s: MCCTRL_OS_CPU_%s_REGISTER: CPU: %d, addr_ext: 0x%lx, val: 0x%lx\n",
|
||||||
|
#else
|
||||||
|
printk("%s: MCCTRL_OS_CPU_%s_REGISTER: CPU: %d, addr_ext: 0x%lx, val: 0x%lx\n",
|
||||||
|
#endif
|
||||||
__FUNCTION__,
|
__FUNCTION__,
|
||||||
(op == MCCTRL_OS_CPU_READ_REGISTER ? "READ" : "WRITE"), cpu,
|
(op == MCCTRL_OS_CPU_READ_REGISTER ? "READ" : "WRITE"), cpu,
|
||||||
desc->addr_ext, desc->val);
|
desc->addr_ext, desc->val);
|
||||||
|
|||||||
Reference in New Issue
Block a user