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 C48F3C61DC4 for ; Thu, 27 Aug 2026 23:07:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B57010E26E; Thu, 27 Aug 2026 23:07:52 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="Am7ns6IV"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id BCB4510F1EB for ; Thu, 27 Aug 2026 23:07:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1787872036; x=1819408036; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=/sl4uaceI3MCOiFrCUF+O6pCPcfgN8Jjf19EwuXT0Y8=; b=Am7ns6IVhwKkYNKW9dBZBPpJtvoic2V0KDCgM3bf08/XUBKm1462e1F3 zOA3T91aFjblknSyz4LjM5VUZPJt2NQv9W1rhJLUfUB1BMvt1AaAPZTMQ E6YU5cPTAUJLOTBkEzDfoz4bslYk0aG/1XxG1QpiQA+45Mu8n2k5J3ywa x0i3NYFBQfTFHcNo8dpDt4v8Dy/sb/pRbcWT/Hxg0B7LLdwRWrC3BMWwN WO67K2q7mw+49h1cqmqzpGGqssGWb63RTOtTNxJANg9B5OAo6YgAEgU4x jolEQpBp5GlLJvJ1Ghv/v8+zq3lmktLfbbZKWvT/tmlsdCrT4XOvc/fk0 w==; X-CSE-ConnectionGUID: Xsl+dZMuQJWxe7XqnWI/6A== X-CSE-MsgGUID: BkS9ZF5vQXemilGS2GrDfQ== X-IronPort-AV: E=McAfee;i="6800,10657,11888"; a="88400102" X-IronPort-AV: E=Sophos;i="6.25,247,1779174000"; d="scan'208";a="88400102" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2026 16:07:16 -0700 X-CSE-ConnectionGUID: 2eDDtDmPRC6/aFASfaxOxA== X-CSE-MsgGUID: VQWSA0heSqm/hQVinVEmtA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,247,1779174000"; d="scan'208";a="306218256" Received: from svyalach-mobl2.amr.corp.intel.com (HELO adixit-MOBL3.intel.com) ([10.125.132.196]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2026 16:07:15 -0700 Date: Thu, 27 Aug 2026 16:07:14 -0700 Message-ID: <87v78vcgd9.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa Cc: Subject: Re: [PATCH] tests/intel/xe_oa: Add test to ensure entire report has landed In-Reply-To: <20260826044209.1498337-2-umesh.nerlige.ramappa@intel.com> References: <20260826044209.1498337-2-umesh.nerlige.ramappa@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=US-ASCII 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 Tue, 25 Aug 2026 21:42:10 -0700, Umesh Nerlige Ramappa wrote: > Hi Umesh, > When running the load helper with a fast oa_exponent, sometimes the OA > reports land out of order. Ensure that the kernel fix for such issues is > working by configuring all OA counters and checking validity of the full > report. > > Signed-off-by: Umesh Nerlige Ramappa > --- > v2: > - add a comment on event definitions > - rename report checker for clarity > - remove unnecessary spaces > - u32s in one line > - s/576/report_size > --- > tests/intel/xe_oa.c | 217 ++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 217 insertions(+) > > diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c > index 9ebb18690ec7..58e50bb182a6 100644 > --- a/tests/intel/xe_oa.c > +++ b/tests/intel/xe_oa.c > @@ -336,6 +336,88 @@ static struct oa_format lnl_oa_formats[XE_OA_FORMAT_MAX] = { > .bc_report = 0 }, > }; > > +/* > + * test_oa_full defines only 2 events: > + * > + * 3e00 is "Number of GPU (gt) clock cycles at every clock period" > + * 7e00 is "Number of GPU (gt) clock cycles at every other clock period" > + * Can you please also add here in the comment that we expect all counters in a report to be non-zero with this metric set (or reg/val pairs). Anyway, this test is failing in pre-merge CI, so let's see what we end up with once we fix that issue. I'll hold the R-b till we have a working test. Thanks. -- Ashutosh