|
@@ -35,16 +35,16 @@ bool knc_titan_set_work(const char *repr, void * const ctx, int channel, int die
|
|
|
} else {
|
|
} else {
|
|
|
*work_accepted = false;
|
|
*work_accepted = false;
|
|
|
if (response[0] == 0x7f) {
|
|
if (response[0] == 0x7f) {
|
|
|
- applog(LOG_DEBUG, "%s[%d:%d]: Core disabled", repr, channel, die);
|
|
|
|
|
|
|
+ applog(LOG_DEBUG, "%s[%d:%d:%d]: Core disabled", repr, channel, die, core);
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
if (status & KNC_ERR_MASK) {
|
|
if (status & KNC_ERR_MASK) {
|
|
|
- applog(LOG_INFO, "%s[%d:%d]: Failed to set work state (%x)", repr, channel, die, status);
|
|
|
|
|
|
|
+ applog(LOG_INFO, "%s[%d:%d:%d]: Failed to set work state (%x)", repr, channel, die, core, status);
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
if (!(status & KNC_ERR_MASK)) {
|
|
if (!(status & KNC_ERR_MASK)) {
|
|
|
/* !KNC_ERRMASK */
|
|
/* !KNC_ERRMASK */
|
|
|
- applog(LOG_DEBUG, "%s[%d:%d]: Core busy (%x)", repr, channel, die, status);
|
|
|
|
|
|
|
+ applog(LOG_DEBUG, "%s[%d:%d:%d]: Core busy (%x)", repr, channel, die, core, status);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -133,7 +133,7 @@ bool knc_titan_get_report(const char *repr, void * const ctx, int channel, int d
|
|
|
request_length = knc_prepare_report(request, die, core);
|
|
request_length = knc_prepare_report(request, die, core);
|
|
|
status = knc_syncronous_transfer(ctx, channel, request_length, request, response_length, response);
|
|
status = knc_syncronous_transfer(ctx, channel, request_length, request, response_length, response);
|
|
|
if (status) {
|
|
if (status) {
|
|
|
- applog(LOG_INFO, "%s[%d:%d]: get_report failed (%x)", repr, channel, die, status);
|
|
|
|
|
|
|
+ applog(LOG_INFO, "%s[%d:%d:%d]: get_report failed (%x)", repr, channel, die, core, status);
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
|
|
|