Re: [PATCH v2 0/2] complete perf_allow_* trio and use in drm/xe

From: Dixit, Ashutosh

Date: Tue May 26 2026 - 23:37:18 EST


On Sat, 23 May 2026 10:52:16 -0700, John Hubbard wrote:
>
> On 5/23/26 1:40 AM, Peter Zijlstra wrote:
> > On Fri, May 22, 2026 at 06:33:24PM -0700, John Hubbard wrote:
> ...
> >> perf/core: out-of-line and export perf_allow_cpu/tracepoint()
> >> drm/xe: gate observation streams with perf_allow_cpu()
> >>
> >> drivers/gpu/drm/xe/xe_eu_stall.c | 5 +++--
> >> drivers/gpu/drm/xe/xe_oa.c | 25 +++++++++++++---------
> >> drivers/gpu/drm/xe/xe_observation.c | 32 ++++++++++++++++++++++++-----
> >> drivers/gpu/drm/xe/xe_observation.h | 3 +--
> >> include/linux/perf_event.h | 31 ++++++++++++++--------------
> >> kernel/events/core.c | 18 ++++++++++++++++
> >> 6 files changed, 79 insertions(+), 35 deletions(-)
> >
> > Sure, works for me. How do you want to route these things, Xe tree or
> > -tip?
>
> Hi Peter,
>
> Maybe -tip, but really, either way is perfectly OK with me.

I've R-b'd both the patches. If you want to merge via Xe tree, let me know
and we can get them merged.

Thanks.
--
Ashutosh