mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-15 11:52:21 -04:00
drm/xe: don't warn for bogus pagefaults
This appears to be easily user triggerable so warning is perhaps too much. Rather just make it debug print. Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/534 Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
7f6c6e5085
commit
17d28aa8bd
@@ -265,7 +265,7 @@ static int send_pagefault_reply(struct xe_guc *guc,
|
||||
|
||||
static void print_pagefault(struct xe_device *xe, struct pagefault *pf)
|
||||
{
|
||||
drm_warn(&xe->drm, "\n\tASID: %d\n"
|
||||
drm_dbg(&xe->drm, "\n\tASID: %d\n"
|
||||
"\tVFID: %d\n"
|
||||
"\tPDATA: 0x%04x\n"
|
||||
"\tFaulted Address: 0x%08x%08x\n"
|
||||
@@ -370,7 +370,7 @@ static void pf_queue_work_func(struct work_struct *w)
|
||||
if (unlikely(ret)) {
|
||||
print_pagefault(xe, &pf);
|
||||
pf.fault_unsuccessful = 1;
|
||||
drm_warn(&xe->drm, "Fault response: Unsuccessful %d\n", ret);
|
||||
drm_dbg(&xe->drm, "Fault response: Unsuccessful %d\n", ret);
|
||||
}
|
||||
|
||||
reply.dw0 = FIELD_PREP(PFR_VALID, 1) |
|
||||
|
||||
@@ -1641,7 +1641,7 @@ int xe_guc_exec_queue_memory_cat_error_handler(struct xe_guc *guc, u32 *msg,
|
||||
if (unlikely(!q))
|
||||
return -EPROTO;
|
||||
|
||||
drm_warn(&xe->drm, "Engine memory cat error: guc_id=%d", guc_id);
|
||||
drm_dbg(&xe->drm, "Engine memory cat error: guc_id=%d", guc_id);
|
||||
trace_xe_exec_queue_memory_cat_error(q);
|
||||
|
||||
/* Treat the same as engine reset */
|
||||
|
||||
Reference in New Issue
Block a user