nvmap clients expect the library information apart from the
task pid and name. So, print the tag as well.
Change-Id: Ie492405325237cc2a5137117d7fdaadbc05db90b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/668642
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
char task_comm[TASK_COMM_LEN];
h->owner->warned = 1;
get_task_comm(task_comm, h->owner->task);
- pr_err("PID %d: %s: WARNING: "
+ pr_err("PID %d: %s: TAG: 0x%04x WARNING: "
"NVMAP_HANDLE_WRITE_COMBINE "
"should be used in place of "
"NVMAP_HANDLE_UNCACHEABLE on ARM64\n",
- h->owner->task->pid, task_comm);
+ h->owner->task->pid, task_comm,
+ h->userflags >> 16);
}
#endif
return pgprot_noncached(prot);