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

2023-11-02 Thread Kunwu Chan
Hi Tvrtko, Thank you very much for your kind suggestion, I have modified it in accordance with your suggestion. On 2023/11/2 19:32, Tvrtko Ursulin wrote: On 02/11/2023 10:16, chentao wrote: Fix smatch warning: drivers/gpu/drm/i915/gem/i915_gem_context.c:847 set_proto_ctx_sseu() warn: potenti

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

2023-11-02 Thread Andi Shyti
Hi, On Thu, Nov 02, 2023 at 11:32:43AM +, Tvrtko Ursulin wrote: > On 02/11/2023 10:16, chentao 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) > > > > Signed-off-by: ch

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

2023-11-02 Thread Tvrtko Ursulin
On 02/11/2023 10:16, chentao 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) Signed-off-by: chentao I don't know if this is actually exploitable given the time deltas between the

[PATCH] drm/i915: Fix potential spectre vulnerability

2023-11-02 Thread chentao
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) Signed-off-by: chentao --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dri