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 81DEECA0EED for ; Thu, 28 Aug 2025 02:30:49 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 00DD110E185; Thu, 28 Aug 2025 02:30:49 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="l2WskwVa"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7D72010E185 for ; Thu, 28 Aug 2025 02:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1756348248; x=1787884248; h=date:message-id:from:to:cc:subject:in-reply-to: references:mime-version; bh=hlhSXY4J6dR99hdXbkcZ46oE2JKZxFp/Wp5SLHfUP90=; b=l2WskwVaHQLy0Gfwwq22E1FXhY14hsye9hg4nIrSQTZLWtt6JL1i0qyW oKdYiY4lSPK72sUKV0ShDSetZljUt73Xnv7XsNRB4IJfvLNyZQQpdVVLs EaXXpWYL2+arGWH8vJ+TKGgETLINqYubnWpNKd2/vX9q1t9Z89DcpFCjm N/fXLuk6dznARgn/k56dfPp9lEvX/3rBLDUYaMcsodhZ22NNoRBAaqsMw ZkXIBfelzUeXzNt2pkPa3UteN44fqo8KmGJotF7ZHCaagujCc2NCgV531 J2P5eWvIcozriW895m4FLptWnvcPgzebkoPHOXH7Ww7Hz3s74wbj+ryal g==; X-CSE-ConnectionGUID: 12Srrib8RnCpaJXBV6qCmw== X-CSE-MsgGUID: 8LUvZIlQS3yBkXRhVCHTYg== X-IronPort-AV: E=McAfee;i="6800,10657,11535"; a="58540848" X-IronPort-AV: E=Sophos;i="6.18,217,1751266800"; d="scan'208";a="58540848" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2025 19:30:47 -0700 X-CSE-ConnectionGUID: VlmdZF8TR7uV1XAvElMOTw== X-CSE-MsgGUID: DNH0beUQSJSd0/UOJgvHFg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.18,217,1751266800"; d="scan'208";a="175260606" Received: from orsosgc001.jf.intel.com (HELO orsosgc001.intel.com) ([10.165.21.142]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Aug 2025 19:30:46 -0700 Date: Wed, 27 Aug 2025 19:30:45 -0700 Message-ID: <85frdcjhyi.wl-ashutosh.dixit@intel.com> From: "Dixit, Ashutosh" To: Umesh Nerlige Ramappa Cc: Subject: Re: [PATCH i-g-t v2 3/4] tests/intel/xe_oa: Add a test for tail address wrap In-Reply-To: References: <20250826224256.510692-6-umesh.nerlige.ramappa@intel.com> <20250826224256.510692-9-umesh.nerlige.ramappa@intel.com> <87cy8gmwyw.wl-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.4 (x86_64-redhat-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 Wed, 27 Aug 2025 16:39:41 -0700, Umesh Nerlige Ramappa wrote: > > Maybe we can hold off on this patch. > > It looks like when the issue occurs, we will not be able to read reports > greater than fit_reports because the kmd will not be able to find valid > reports in the OA buffer after the wrap (since the TAIL reg is out of > sync). > > Will think of some other way to test this. Yikes I forgot too. Maybe we can do something like this: - Read fit_reports and make sure they are ok - Now try to read extra_reports, or even a single report. Make sure we get stuck (maybe using poll()?). Timeout and send an interrupt signal to the blocked thread to unblock it. - Now also check that the end of the buffer is non-zero So yeah, definitely more involved. Thanks. -- Ashutosh