Skip to content

drm/xe: Fix app hang on pagefault - GDB signal not received - #411

Open
pravalikagurram1 wants to merge 1 commit into
intel-gpu:kernel-backport/v6.17from
pravalikagurram1:GSD-12548
Open

drm/xe: Fix app hang on pagefault - GDB signal not received#411
pravalikagurram1 wants to merge 1 commit into
intel-gpu:kernel-backport/v6.17from
pravalikagurram1:GSD-12548

Conversation

@pravalikagurram1

Copy link
Copy Markdown

Application hangs and GDB never receives pagefault signal.
VM_BIND ioctl blocks indefinitely, UMD cannot resume
application or signal debugger.

Root cause : decompression was skipped even
with DECOMPRESS flag set. GPU received stale buffer, triggered engine
reset, hung the kernel.

This is due to drm UAPI DRM_XE_VM_BIND_FLAG_DECOMPRESS mismatch
Move DECOMPRESS flag from bit 6 to bit 7 in UAPI (UMD mismatch)
with this VM_BIND completes, decompression succeeds, UMD resumes app, GDB
can attach debugger. No more app hang.

Fixes: 45ada40 ("drm/xe: Add VM_BIND DECOMPRESS support")

Signed-off-by: Pravalika Gurram pravalika.gurram@intel.com

Application hangs and GDB never receives pagefault signal.
VM_BIND ioctl blocks indefinitely, UMD cannot resume
application or signal debugger.

Root cause : decompression was skipped even
with DECOMPRESS flag set. GPU received stale buffer, triggered engine
reset, hung the kernel.

This is due to drm UAPI DRM_XE_VM_BIND_FLAG_DECOMPRESS  mismatch
Move DECOMPRESS flag from bit 6 to bit 7 in UAPI (UMD mismatch)
with this VM_BIND completes, decompression succeeds, UMD resumes app, GDB
can attach debugger. No more app hang.

Fixes: 45ada40 ("drm/xe: Add VM_BIND DECOMPRESS support")

Signed-off-by: Pravalika Gurram <pravalika.gurram@intel.com>
@sys-i915-oscijenkins

Copy link
Copy Markdown

CI Bug Log - changes from xkb-6.17-278-c586e863fdd23077866d3dbc0a624f7c23e7efb4_BAT -> xkb-pr-6.17-411-648-17e0562e042ea3856013e426d4d3738ab5f55426_BAT

Summary

SUCCESS

No regressions found.

Participating hosts (9 -> 9)

No changes in participating hosts

Known issues

Here are the changes found in xkb-pr-6.17-411-648-17e0562e042ea3856013e426d4d3738ab5f55426_BAT that come from known issues:

IGT changes

Issues hit

Possible fixes

Build changes

  • IGT: igt-xkb-128-3a036e31e -> igt-xkb-129-13b1ebd387
  • Linux: xkb-6.17-278-c586e863fdd23077866d3dbc0a624f7c23e7efb4 -> xkb-pr-6.17-411-648-17e0562e042ea3856013e426d4d3738ab5f55426

igt-xkb-128-3a036e31e: 3a036e31e
igt-xkb-129-13b1ebd387: 13b1ebd387
xkb-6.17-278-c586e863fdd23077866d3dbc0a624f7c23e7efb4: c586e86
xkb-pr-6.17-411-648-17e0562e042ea3856013e426d4d3738ab5f55426: 17e0562

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants