From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 841D519A288; Wed, 27 May 2026 23:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779922831; cv=none; b=LkwoEsgus+WpqAHT9LSQtxSxA5jimiMU5059FZLJrhIPpxc6pXwDm3j4NoOxiMoYAY2VpUmAlUULIt6IGZ/Q/+3WCkisxYo9l3wqRX8D6Jp77+TzBNupW4u0GkfIQynBVMHurMKEvFif3HPhhOpbzkOWrNb4EGJ9wX20DrGeaHI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779922831; c=relaxed/simple; bh=d5p/0u8zyb3Czb+i19QyWu1dJFMjsoTY2LZtetEdHhY=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=oWy7SC/U/6dhJ7KY+CF6/A8KqndDG4EeubzbS0lbF8iAbIJTmgCZJAPBIuT+pVy3ZgqJmTW9QynyY5O6mbDZcTIswJvAo41B3pCoTJmigKU3+mOLkK5siGSUWtWf2q4A7z1szDrpD0IRRCunZSkXya24CsTxCANtkSl2FsEoh18= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=FgFoFwlu; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="FgFoFwlu" 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: Hjt8DSxWRreMKWpctDurSA== X-CSE-MsgGUID: FeVG+TyWSZKHd6pH7t1wmw== X-IronPort-AV: E=McAfee;i="6800,10657,11799"; a="98340976" X-IronPort-AV: E=Sophos;i="6.24,172,1774335600"; d="scan'208";a="98340976" 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) Precedence: bulk X-Mailing-List: linux-perf-users@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII 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