Repository navigation
feat(rocjitsu): route AMDKFD_IOC_DBG_TRAP into a debug-session dispatcher #8393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
df92276
feat(rocjitsu): route AMDKFD_IOC_DBG_TRAP into a debug-session dispat…
amd-arosa 134b02b
docs
amd-arosa 6b4b327
make mutable std::mutex debug_mutex_;
amd-arosa f5b72b0
compare to kernel
amd-arosa 44701c2
Kernel copies min(user_size, sizeof(runtime_info)) bytes (a truncatin…
amd-arosa 05605a4
Kernel kfd_dbg_trap_enable() returns -EALREADY when already debug ena…
amd-arosa 78290ab
Merge branch 'develop' of https://github.com/ROCm/rocm-systems into u…
amd-arosa 833d32b
fix: We should validate dbg_fd before setting sess.enabled and return…
amd-arosa 801c017
fix: marshal the DBG_TRAP runtime-info buffer through the RPC layer
amd-arosa 9aede93
fix: bound the DBG_TRAP ENABLE inline buffer and response copy to the…
amd-arosa 91ca5fb
feat: transfer the eventfd with `SCM_RIGHTS`
amd-arosa e6ca9df
feat: implement UniqueFd for RAII management of file descriptors in d…
amd-arosa d2d99a8
fix: handle short reads in rpc_recv_msg to prevent acting on partial …
amd-arosa fe2b0ac
fix: https://github.com/ROCm/rocm-systems/pull/8393/changes/BASE..9ae…
amd-arosa 27d2449
add a new logger group for the driver
amd-arosa 94e6e2d
use the driver logger
amd-arosa 1370782
fix(rocjitsu): include <sys/types.h> for pid_t in kfd_process.h
amd-arosa 46d5942
docs(rocjitsu): clarify DBG_TRAP by-pid gate closes cross-process attach
amd-arosa fb2d127
fix(rocjitsu): snapshot runtime state under one lock in DBG_TRAP ENABLE
amd-arosa b4ef5e7
docs(rocjitsu): note DBG_TRAP requires a post-fork re-open
amd-arosa 69a9bf9
test(rocjitsu): cover bare DBG_TRAP DISABLE and concurrent enable/dis…
amd-arosa 204a006
fix(rocjitsu): return -ENOSYS for recognized-but-unimplemented DBG_TR…
amd-arosa 442c1ef
feat(rocjitsu): add support for out-of-band fd transfer in vm_execute…
amd-arosa da37034
EBADF fix
amd-arosa 2502248
fix(tests): remove redundant force flag from session stop commands
amd-arosa 545d806
fix(rocjitsu): authorize DBG_TRAP DISABLE like every other non-self op
amd-arosa b5e8caf
fix(rocjitsu): never trust the client dbg_fd integer in daemon mode
amd-arosa a5676b5
fix(rocjitsu): require the DBG_TRAP notifier fd to be writable
amd-arosa c3fcc3a
Revert "fix(rocjitsu): authorize DBG_TRAP DISABLE like every other no…
amd-arosa 9c5d55b
refactor(rocjitsu): carry the DBG_TRAP notifier fd in rj_vm_cmd_t
amd-arosa bbdba2b
fix: A daemon-path ENABLE that the daemon fails (result != 0) must no…
amd-arosa dbbc2a8
Merge branch 'develop' into users/arosa/rj/rocgdb/03
amd-arosa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.