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 03A60C27C4F for ; Sun, 30 Jun 2024 23:01:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BE35410E080; Sun, 30 Jun 2024 23:01:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="EPuzgSS7"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) by gabe.freedesktop.org (Postfix) with ESMTPS id EF07110E080 for ; Sun, 30 Jun 2024 23:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1719788470; x=1751324470; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=42FtvbYG8imYXDcsOh2BgSYy5GULHKKZd4ip80s2cFQ=; b=EPuzgSS7j26lAO/W4UrCN03cYbj/v3y+bwJA9bvbjtY21A1Dy5L/QQUX 1p4VHd7OxDqM3QM6UHSlsPSZe+jrdQJN5Hvi2SbuTE8V43P0batfhO40K hhpUIFZjqCwpqR66K5T7EDqT1BlCiTvwJjfHxrEAlJerIksG0akQvywV7 qo/gri+3hzTwCuBlEbDt9IyR+fTeAKP1Hi76wBLqYCenvYvlpWga6v/wM JkAsrWm91ZlW8YTLmzP+ZR+2thr1F73rHVufy5DyDiEp7lvIOjiqSEDF7 aTwVRvFcxFRqlOhF3UwhYOolHEqaM86buHpgcxZQT8kJlwuPrjds40R0y g==; X-CSE-ConnectionGUID: qDUrJbH6SaucxoV4oMba+g== X-CSE-MsgGUID: KMmC5OrfTpedR6wDDmURVw== X-IronPort-AV: E=McAfee;i="6700,10204,11119"; a="27514511" X-IronPort-AV: E=Sophos;i="6.09,175,1716274800"; d="scan'208";a="27514511" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2024 16:01:10 -0700 X-CSE-ConnectionGUID: 3CqIewCdQNaRMp/dp2OFEw== X-CSE-MsgGUID: uBxf9TwASRqJRafITOtz9g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,175,1716274800"; d="scan'208";a="45300224" Received: from lmeganx-mobl1.amr.corp.intel.com (HELO adixit-arch.intel.com) ([10.125.32.7]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2024 16:01:09 -0700 Date: Sun, 30 Jun 2024 15:43:43 -0700 Message-ID: <87zfr29hls.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa Cc: igt-dev@lists.freedesktop.org Subject: Re: [PATCH i-g-t 17/28] tests/intel/xe_oa: Exclusive/concurrent access, rc6 and stress open close In-Reply-To: References: <20240620200054.3550653-1-ashutosh.dixit@intel.com> <20240620200054.3550653-18-ashutosh.dixit@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/29.3 (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 Thu, 20 Jun 2024 16:37:47 -0700, Umesh Nerlige Ramappa wrote: > Hi Umesh, > > +/** > > + * SUBTEST: oa-unit-concurrent-oa-buffer-read > > + * Description: Test that we can read streams concurrently on all OA units > > + */ > > +static void > > +test_oa_unit_concurrent_oa_buffer_read(void) > > +{ > > + struct drm_xe_query_oa_units *qoa = xe_oa_units(drm_fd); > > + > > + igt_fork(child, qoa->num_oa_units) { > > + struct drm_xe_engine_class_instance *hwe = oa_unit_engine(drm_fd, child); > > + > > + /* No OAM support yet */ > > + if (nth_oa_unit(drm_fd, child)->oa_unit_type != DRM_XE_OA_UNIT_TYPE_OAG) > > + exit(0); > > + > > + test_blocking(40 * 1000 * 1000, false, 5 * 1000 * 1000, hwe); > > If this fails, there are no debug logs since this is being run from within > a fork. Do you know if that can be fixed? It would be worthwhile to get the > debug messages for this. Maybe the igt_asserts in the test can be changed > to igt_assert_f with a message. If not now, we can create a enhancement > issue and track it later. For now I have just created this IGT issue for this: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/2178 So let's revisit this later since this is a pre-existing issue we see for i915 too. > > Reviewed-by: Umesh Nerlige Ramappa Thanks. -- Ashutosh