diff options
| author | Jay Cornwall <jay.cornwall@amd.com> | 2025-11-14 14:32:42 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-12-08 14:20:46 -0500 |
| commit | 423888879412e94725ca2bdccd89414887d98e31 (patch) | |
| tree | b3eee13af4525bbfd0c3b269409bbcbb65d0fb88 /include/uapi/linux/close_range.h | |
| parent | 97b2e10e9467a4086e72cf9146d4699fc9baf1c0 (diff) | |
drm/amdkfd: Trap handler support for expert scheduling mode
The trap may be entered with dependency checking disabled.
Wait for dependency counters and save/restore scheduling mode.
v2:
Use ttmp1 instead of ttmp11. ttmp11 is not zero-initialized.
While the trap handler does zero this field before use, a user-mode
second-level trap handler could not rely on this being zero when
using an older kernel mode driver.
v3:
Use ttmp11 primarily but copy to ttmp1 before jumping to the
second level trap handler. ttmp1 is inspectable by a debugger.
Unexpected bits in the unused space may regress existing software.
Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Reviewed-by: Lancelot Six <lancelot.six@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/linux/close_range.h')
0 files changed, 0 insertions, 0 deletions
