Re: [Intel-gfx] [PATCH] drm/i915/pmu: Fix PMU enable vs execlists tasklet race

2018-02-02 Thread Chris Wilson
Quoting Tvrtko Ursulin (2018-02-02 18:38:16) > From: Tvrtko Ursulin > > Commit 99e48bf98dd0 ("drm/i915: Lock out execlist tasklet while peeking > inside for busy-stats") added a tasklet_disable call in busy stats > enabling, but we failed to understand that the PMU enable callback runs > as an ha

[Intel-gfx] [PATCH] drm/i915/pmu: Fix PMU enable vs execlists tasklet race

2018-02-02 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Commit 99e48bf98dd0 ("drm/i915: Lock out execlist tasklet while peeking inside for busy-stats") added a tasklet_disable call in busy stats enabling, but we failed to understand that the PMU enable callback runs as an hard IRQ (IPI). Consequence of this is that the PMU enable