Skip to content

[DeviceASAN] Accept lower Shared USM addresses on PVC - #23452

Open
zhaomaosu wants to merge 3 commits into
intel:syclfrom
zhaomaosu:asan-accept-low-addr
Open

zhaomaosu wants to merge 3 commits into
intel:syclfrom
zhaomaosu:asan-accept-low-addr

Conversation

@zhaomaosu

Copy link
Copy Markdown
Contributor

Linux can return valid Shared USM addresses below 0x700000000000. The PVC allocator assertion rejects these addresses even though ASan supports the full lower 47-bit range.

Linux can return valid Shared USM addresses below 0x700000000000.
The PVC allocator assertion rejects these addresses even though ASan
supports the full lower 47-bit range.
@zhaomaosu
zhaomaosu requested review from a team as code owners October 12, 2026 06:53
// RUN: %{run} not --crash %t3.out 2>&1 | FileCheck %s
// An unlimited stack selects Linux's legacy mmap layout, allowing Shared USM
// addresses below the usual PVC range starting at 0x700000000000.
// RUN: %if gpu %{ %{run} not --crash sh -c 'ulimit -s unlimited && exec "$@"' sh %t3.out 2>&1 | FileCheck %s %}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gpu - this only matters on PVC, so restricting it to arch-intel_gpu_pvc instead of gpu would avoid running it on devices where it doesn't test anything new.

This branch has not been deployed

No deployments
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