diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2025-12-15 19:13:11 -0800 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2025-12-17 08:28:53 -0800 |
| commit | e8c28e16c3ebd142938aee296032c6b802a5a1d4 (patch) | |
| tree | 0d826008b8b45c0ebf4587d4f44e1e1ab9270ff9 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 5c3c3e7b654df01a69d49551a08b7863c09546f6 (diff) | |
accel/amdxdna: Remove amdxdna_flush()
amdxdna_flush() was introduced to ensure that the device does not access
a process address space after it has been freed. However, this is no
longer necessary because the driver now increments the mm reference count
when a command is submitted and decrements it only after the command has
completed. This guarantees that the process address space remains valid
for the entire duration of command execution. Remove amdxdna_flush to
simplify the teardown path.
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20251216031311.2033399-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
