From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6202CD4F54 for ; Wed, 27 May 2026 23:00:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9508C10EA8F; Wed, 27 May 2026 23:00:29 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="FgFoFwlu"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5501210EA8F; Wed, 27 May 2026 23:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1779922828; x=1811458828; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=d5p/0u8zyb3Czb+i19QyWu1dJFMjsoTY2LZtetEdHhY=; b=FgFoFwluiCcHO9mW0u9rzpZ4gZKQmwHmoKwfqBYiyDJOYsx1//BaKqsR +dfF/rz7WDLoP5RyXkhVdA1DBtBlvVJr8jLmv/0OnTG81h/yCMqgSDomt i51VduizxGaudOwCm2yppehP2of0pR5Go0cuethv/CcZFcaUmRXhu+N1H Lmn0cS1VXixpRWTl4e9bTD7SoTq8hNULj0+0oIUq3s98sW8BN1/s/UkfV giZhEkR4cLTgOi2GVqThHYPgaCvA2wzu+NCL4AgKZsMV45cCuBtSrieQM vgwwVlRMrvuzPvJK971t14+/xr6Dd3MvOG40dskjQPwvQPsHDX+K90D7l g==; X-CSE-ConnectionGUID: LVwKDihRTkWBNUYJTo5L5Q== X-CSE-MsgGUID: o/HEQvbrRZi1TxqqTLODrA== X-IronPort-AV: E=McAfee;i="6800,10657,11799"; a="98340979" X-IronPort-AV: E=Sophos;i="6.24,172,1774335600"; d="scan'208";a="98340979" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2026 16:00:28 -0700 X-CSE-ConnectionGUID: +8NzEw63QUaF3SEhwh4sdg== X-CSE-MsgGUID: HPtOejEJRraZExDw+y0cIw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,172,1774335600"; d="scan'208";a="266262474" Received: from unknown (HELO adixit-MOBL3.intel.com) ([10.241.243.147]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 May 2026 16:00:25 -0700 Date: Wed, 27 May 2026 16:00:23 -0700 Message-ID: <87a4tkv4oo.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Peter Zijlstra Cc: Rodrigo Vivi , John Hubbard , Matthew Brost , Thomas =?ISO-8859-1?Q?Hellstr=F6m?= , David Airlie , Simona Vetter , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , intel-xe@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-perf-users@vger.kernel.org, LKML Subject: Re: [PATCH v2 0/2] complete perf_allow_* trio and use in drm/xe In-Reply-To: <20260527163014.GI3102624@noisy.programming.kicks-ass.net> References: <20260523013326.129491-1-jhubbard@nvidia.com> <20260523084056.GE3102624@noisy.programming.kicks-ass.net> <8871a158-7a68-4247-a09f-bb3d970d6dc2@nvidia.com> <87ecixv82m.wl-ashutosh.dixit@intel.com> <20260527163014.GI3102624@noisy.programming.kicks-ass.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: intel-xe@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Xe graphics driver List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-xe-bounces@lists.freedesktop.org Sender: "Intel-xe" On Wed, 27 May 2026 09:30:14 -0700, Peter Zijlstra wrote: > > 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) I have submitted the patches for the Xe tree CI. Once that completes, we will merge them: https://patchwork.freedesktop.org/series/167137/#rev2 Thanks. -- Ashutosh