mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
Merge "msm: adsprpc: Add logs to identify thread exit called"
This commit is contained in:
commit
3d100e7b74
1 changed files with 6 additions and 0 deletions
|
|
@ -426,6 +426,9 @@ struct smq_invoke_ctx {
|
|||
struct fastrpc_async_job asyncjob;
|
||||
/* Async early flag to check the state of context */
|
||||
bool is_early_wakeup;
|
||||
uint32_t sc_interrupted;
|
||||
struct fastrpc_file *fl_interrupted;
|
||||
uint32_t handle_interrupted;
|
||||
};
|
||||
|
||||
struct fastrpc_ctx_lst {
|
||||
|
|
@ -1661,6 +1664,9 @@ static int context_restore_interrupted(struct fastrpc_file *fl,
|
|||
if (ictx->pid == current->pid) {
|
||||
if (invoke->sc != ictx->sc || ictx->fl != fl) {
|
||||
err = -EINVAL;
|
||||
ictx->sc_interrupted = invoke->sc;
|
||||
ictx->fl_interrupted = fl;
|
||||
ictx->handle_interrupted = invoke->handle;
|
||||
ADSPRPC_ERR(
|
||||
"interrupted sc (0x%x) or fl (%pK) does not match with invoke sc (0x%x) or fl (%pK)\n",
|
||||
ictx->sc, ictx->fl, invoke->sc, fl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue