Re: [PATCH v2] drm/i915: Fix potential spectre vulnerability

From: Tvrtko Ursulin
Date: Fri Nov 03 2023 - 04:23:48 EST



On 03/11/2023 06:56, Krzysztof Kozlowski wrote:
On 03/11/2023 03:32, Kunwu Chan wrote:
Fix smatch warning:
drivers/gpu/drm/i915/gem/i915_gem_context.c:847 set_proto_ctx_sseu()
warn: potential spectre issue 'pc->user_engines' [r] (local cap)

Fixes: d4433c7600f7 ("drm/i915/gem: Use the proto-context to handle create parameters (v5)")
Cc: <stable@xxxxxxxxxxxxxxx> # v5.15+
Signed-off-by: Kunwu Chan <chentao@xxxxxxxxxx>
Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxxxxxxx>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxxxxxxx>

Where did you receive this tag? There is nothing under link below.
Link: https://lore.kernel.org/all/20231102101642.52988-1-chentao@xxxxxxxxxx

It is fine, I gave the conditional r-b in https://lore.kernel.org/all/d300506c-ab82-4cc1-b750-61e54ec2ad9e@xxxxxxxxxxxxxxx/.

Suggested-by I did not and it is not true so I can drop it while applying.

Regards,

Tvrtko