Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v3 0/4] tests/intel/xe_eudebug_online: Introduce read/write pagefault tests
@ 2024-11-22 14:34 Gwan-gyeong Mun
  2024-11-22 14:34 ` [PATCH i-g-t v3 1/4] lib/gppgu_shader: Add write D32 to ppgtt virtual address Gwan-gyeong Mun
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Gwan-gyeong Mun @ 2024-11-22 14:34 UTC (permalink / raw)
  To: igt-dev
  Cc: andrzej.hajda, christoph.manszewski, jonathan.cavitt,
	mika.kuoppala, dominik.grzegorzek

Add a pagefault read/write test case so that the xe_eudebug_online test can
validate the invalid access pagefault scenario that the eu thread can cause.

For these tests, use the newly introduced DRM_XE_EUDEBUG_EVENT_PAGEFAULT 
event and struct drm_xe_eudebug_event_pagefault.

The added test cases are shown below.
	xe_eudebug_online@pagefault-read
	xe_eudebug_online@pagefault-write

changes in v2:
    Fix the function name to be more clear. (Andrzej, Christoph)
    Refactor of output attention bits on pagefault event handling (Andrzej)
    Remove / update redudant code (Andrzej, Christoph)
    Use igt_container_of() macro (Andrzej, Christoph)

changes in v3:
    Make block write/read to 1 word (d32) from 4 words(d32 x 4) (Andrzej)
    Update the function name (Andrzej)
    Drop not needed code (Andrzej)
    Integration to handle pagefault scenario in eu_attention_resume_trigger() callback. (Christoph)

Gwan-gyeong Mun (2):
  lib/gppgu_shader: Add read D32 from ppgtt virtual address
  tests/intel/xe_eudebug_online: Add read/write pagefault online tests

Jonathan Cavitt (2):
  lib/gppgu_shader: Add write D32 to ppgtt virtual address
  eudebug: Add eudebug pagefault event declarations

 .../drm-uapi-experimental/xe_drm_eudebug.h    |  13 ++
 lib/gpgpu_shader.c                            | 180 ++++++++++++++++++
 lib/gpgpu_shader.h                            |   3 +
 lib/iga64_generated_codes.c                   |  40 +++-
 lib/xe/xe_eudebug.c                           |  11 ++
 tests/intel/xe_eudebug_online.c               | 146 +++++++++++++-
 6 files changed, 386 insertions(+), 7 deletions(-)

-- 
2.46.1


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

end of thread, other threads:[~2024-11-24 19:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-22 14:34 [PATCH i-g-t v3 0/4] tests/intel/xe_eudebug_online: Introduce read/write pagefault tests Gwan-gyeong Mun
2024-11-22 14:34 ` [PATCH i-g-t v3 1/4] lib/gppgu_shader: Add write D32 to ppgtt virtual address Gwan-gyeong Mun
2024-11-22 14:34 ` [PATCH i-g-t v3 2/4] lib/gppgu_shader: Add read D32 from " Gwan-gyeong Mun
2024-11-22 14:34 ` [PATCH i-g-t v3 3/4] eudebug: Add eudebug pagefault event declarations Gwan-gyeong Mun
2024-11-22 14:34 ` [PATCH i-g-t v3 4/4] tests/intel/xe_eudebug_online: Add read/write pagefault online tests Gwan-gyeong Mun
2024-11-22 18:07 ` ✓ Xe.CI.BAT: success for tests/intel/xe_eudebug_online: Introduce read/write pagefault tests (rev3) Patchwork
2024-11-22 18:07 ` ✓ i915.CI.BAT: " Patchwork
2024-11-23 22:12 ` ✗ Xe.CI.Full: failure " Patchwork
2024-11-24 19:59 ` ✗ 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