[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [v3,1/4] drm/i915: Define and use GuC and CTB TLB invalidation routines

Patchwork patchwork at emeril.freedesktop.org
Mon Oct 2 23:42:01 UTC 2023


== Series Details ==

Series: series starting with [v3,1/4] drm/i915: Define and use GuC and CTB TLB invalidation routines
URL   : https://patchwork.freedesktop.org/series/124535/
State : warning

== Summary ==

Error: dim checkpatch failed
bedea6a0f331 drm/i915: Define and use GuC and CTB TLB invalidation routines
-:224: ERROR:TRAILING_WHITESPACE: trailing whitespace
#224: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc.h:437:
+^I$

-:271: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'guc' - possible side-effects?
#271: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h:502:
+#define INTEL_GUC_SUPPORTS_TLB_INVALIDATION(guc) \
+	((intel_guc_ct_enabled(&(guc)->ct)) && \
+	 (intel_guc_submission_is_used(guc)) && \
+	 (GRAPHICS_VER(guc_to_gt((guc))->i915) >= 12))

-:347: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#347: FILE: drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c:1995:
+		GEM_BUG_ON(wait->status);

total: 1 errors, 1 warnings, 1 checks, 470 lines checked
e481f56de67c drm/i915: No TLB invalidation on wedged or suspended GT
7e3d037b3a01 drm/i915: Perform TLB invalidation on all GTs during suspend/resume
cc0b0930d7f6 drm/i915/gt: Increase sleep in gt_tlb selftest sanitycheck




More information about the Intel-gfx mailing list