From: Jonathan Cavitt <jonathan.cavitt@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: jonathan.cavitt@intel.com, saurabhg.gupta@intel.com,
alex.zuo@intel.com, matthew.brost@intel.com
Subject: [PATCH i-g-t] tests/intel/xe_vm: Add fault reserved MBZ assert
Date: Wed, 3 Jun 2026 22:36:28 +0800 [thread overview]
Message-ID: <20260603143628.3739477-1-jonathan.cavitt@intel.com> (raw)
In xe_vm_fault, the reserved fields must be zero. This is not asserted
test-side, however, so add the missing assertions.
Signed-off-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
---
tests/intel/xe_vm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/intel/xe_vm.c b/tests/intel/xe_vm.c
index 408bfdb718..386a0981aa 100644
--- a/tests/intel/xe_vm.c
+++ b/tests/intel/xe_vm.c
@@ -3060,6 +3060,8 @@ static void get_property_exercise(int fd, uint32_t vm)
igt_assert_eq(f.address, f0.address);
igt_assert_eq(f.access_type, f0.access_type);
igt_assert_eq(f.fault_type, f0.fault_type);
+ igt_assert_eq(f.reserved[0] | f.reserved[1] |
+ f.reserved[2] | f.reserved[3], 0);
}
free(faults);
}
--
2.53.0
next reply other threads:[~2026-06-03 14:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 14:36 Jonathan Cavitt [this message]
2026-06-03 15:35 ` ✓ Xe.CI.BAT: success for tests/intel/xe_vm: Add fault reserved MBZ assert Patchwork
2026-06-03 15:58 ` ✗ i915.CI.BAT: failure " Patchwork
2026-06-04 1:53 ` ✓ Xe.CI.FULL: success " Patchwork
2026-06-05 7:41 ` [PATCH i-g-t] " Dandamudi, Priyanka
2026-06-08 5:50 ` Dandamudi, Priyanka
2026-06-17 17:20 ` Kamil Konieczny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260603143628.3739477-1-jonathan.cavitt@intel.com \
--to=jonathan.cavitt@intel.com \
--cc=alex.zuo@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=matthew.brost@intel.com \
--cc=saurabhg.gupta@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox