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

From: Peter Zijlstra

Date: Wed May 27 2026 - 12:37:27 EST


On Wed, May 27, 2026 at 11:42:44AM -0400, Rodrigo Vivi wrote:
> On Tue, May 26, 2026 at 08:34:57PM -0700, Dixit, Ashutosh wrote:
> > 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.
>
> To get them through drm-xe trees we need ack from performance events subsystem
> maintainers.
>
> Peter, Ilgo, anyone, ack here?

Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>