Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions amd/comgr/docs/ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ File System (VFS).

Bug Fixes
---------
- Added conservative control-flow, register-liveness, patch-ownership, and
idempotency checks to GFX1250 HotSwap stepping rewrites, including safe
handling of entry trampolines and generated executable pools.

New APIs
--------
Expand Down
12 changes: 12 additions & 0 deletions amd/comgr/include/amd_comgr.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -2935,6 +2935,18 @@ amd_comgr_map_elf_virtual_address_to_code_object_offset(
* @{
*
* APIs for load-time GPU ISA binary rewriting and transpilation.
*
* Input code objects must follow the AMDGPU callable-control-flow ABI. In
* particular, an @c s_swap_pc_i64 instruction that writes the standard link
* register pair @c s[30:31] must be a call whose register target is a callable
* function entry represented by the code object. Using that ABI call form for
* an arbitrary interior transfer is unsupported and may produce invalid
* rewritten code.
*
* HotSwap assumes the input was produced by a trusted compiler or an earlier
* trusted HotSwap invocation. Structural provenance notes written by HotSwap
* describe generated layout and rewrite state; they do not authenticate an
* otherwise untrusted code object.
*/

/**
Expand Down
Loading
Loading