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 025CCC43458 for ; Mon, 29 Jun 2026 21:52:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9764F10E04B; Mon, 29 Jun 2026 21:52:00 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ZLJdpPgS"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id D121C10E04B for ; Mon, 29 Jun 2026 21:51:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1782769894; x=1814305894; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version:content-transfer-encoding; bh=bro0dKrB/OhTwsw6T3xhDWJxWY0SPZnGVUKP9pcNW/s=; b=ZLJdpPgSld6gRa1NFlgNgkrDXJFujOC3mP/KKRw92JhPKSt5aV0ASyaM NBsDyeKaXOo7HMeCt0HvY8dqxs4wPpI5Nf5gfySDvErsmFFVro7HEFPYI 7KtPG11zcsaptElT9egSB3PBM6x1jH709wfgsn2yoS5LC2NZKZjCz+MbF kL97d+E6ZtHNNkWAlrh+Sk7qjrHiaI/uwwpFpVgI2tFYyNMuCCM6QFIQE 0qbCHfQxjM4JepO+9VKMN5WTI+jvx1cr0CoiviJiUxq+qXb++nht7sy0g O7SVubEZQpX1O1BBGCP4p2FcIDI9jUX1tngYuED4zaR0C58lw/mtV30ho g==; X-CSE-ConnectionGUID: Auy1x/GaQEe5DuM2ZLuitw== X-CSE-MsgGUID: wxp8rTFVT2aXun8WBPHWXg== X-IronPort-AV: E=McAfee;i="6800,10657,11832"; a="83506337" X-IronPort-AV: E=Sophos;i="6.24,232,1774335600"; d="scan'208";a="83506337" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2026 14:51:34 -0700 X-CSE-ConnectionGUID: mbIB/CIlTKSmqo1BLX4ZBg== X-CSE-MsgGUID: uuuieAMlQWOS04nXBP4v4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,232,1774335600"; d="scan'208";a="251678155" Received: from rchalla-mobl1.amr.corp.intel.com (HELO adixit-MOBL3.intel.com) ([10.125.128.110]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2026 14:51:33 -0700 Date: Mon, 29 Jun 2026 14:51:33 -0700 Message-ID: <87bjctj9qy.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Shekhar Chauhan Cc: Subject: Re: [PATCH] tools/xe-perf-recorder: Add mmio-trigger support In-Reply-To: <20260619050217.2112851-1-shekhar.chauhan@intel.com> References: <20260619050217.2112851-1-shekhar.chauhan@intel.com> 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=ISO-8859-7 Content-Transfer-Encoding: quoted-printable X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" On Thu, 18 Jun 2026 22:02:17 -0700, Shekhar Chauhan wrote: > > Add mmio-trigger support to xe-perf-recorder, to justify the > whitelisting of OA MMIO Trigger Registers in XeKMD. We can't have these compile warnings: $ ninja -C build ninja: Entering directory `build' [4/952] Compiling C object tools/xe-perf/xe-perf-recorder.p/xe_perf_recorde= r.c.o ../tools/xe-perf/xe_perf_recorder.c:41:9: warning: =A1ALIGN=A2 redefined 41 | #define ALIGN(v, a) (((v) + (a)-1) & ~((a)-1)) | ^~~~~ In file included from ../lib/intel_batchbuffer.h:10, from ../tools/xe-perf/xe_perf_recorder.c:30: ../lib/drmtest.h:100:9: note: this is the location of the previous definiti= on 100 | #define ALIGN(v, a) ALIGN_MASK(v, (typeof(v))(a) - 1) | ^~~~~ ../tools/xe-perf/xe_perf_recorder.c:42:9: warning: =A1ARRAY_SIZE=A2 redefin= ed 42 | #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) | ^~~~~~~~~~ ../lib/drmtest.h:91:9: note: this is the location of the previous definition 91 | #define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) | ^~~~~~~~~~ > > Signed-off-by: Shekhar Chauhan