Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/xe_oa: Fix checks for whitlisted oa registers
@ 2026-05-12 16:26 Ashutosh Dixit
  2026-05-12 23:39 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ashutosh Dixit @ 2026-05-12 16:26 UTC (permalink / raw)
  To: igt-dev; +Cc: Umesh Nerlige Ramappa

OASTATUS register is not used by UMD's and the plan is to discontinue
whitelisting that in the kernel. Also, UMD's use MMIOTRIGGER, TAILPTR and
OABUFFER registers, which are in SW whitlists in the kernel. So check that
the latter 3 registers are whitelisted and remove the check for OASTATUS.

Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 tests/intel/xe_oa.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/intel/xe_oa.c b/tests/intel/xe_oa.c
index 56d818d860..a50eb12da9 100644
--- a/tests/intel/xe_oa.c
+++ b/tests/intel/xe_oa.c
@@ -3833,12 +3833,14 @@ test_whitelisted_registers_userspace_config(void)
 	xe_oa_remove_config(drm_fd, config_id);
 }
 
-#define OAG_OASTATUS (0xdafc)
 #define OAG_MMIOTRIGGER (0xdb1c)
+#define OAG_OATAILPTR (0xdb04)
+#define OAG_OABUFFER (0xdb08)
 
 static const uint32_t oa_wl[] = {
 	OAG_MMIOTRIGGER,
-	OAG_OASTATUS,
+	OAG_OATAILPTR,
+	OAG_OABUFFER,
 };
 
 static const uint32_t nonpriv_slot_offsets[] = {
-- 
2.54.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-05-13 23:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 16:26 [PATCH i-g-t] tests/intel/xe_oa: Fix checks for whitlisted oa registers Ashutosh Dixit
2026-05-12 23:39 ` ✓ i915.CI.BAT: success for " Patchwork
2026-05-13  1:06 ` ✓ Xe.CI.BAT: " Patchwork
2026-05-13 17:53 ` [PATCH i-g-t] " Umesh Nerlige Ramappa
2026-05-13 18:25 ` ✗ Xe.CI.FULL: failure for " Patchwork
2026-05-13 23:52 ` ✗ i915.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox