diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-06-01 21:06:24 -0700 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-06-02 08:36:30 -0700 |
| commit | 90ae44d1e1bc67e8f6ceef56f184047c5fe775c7 (patch) | |
| tree | 8535c218646e6f47b9597e3034efc1fa9e60185a /include/linux | |
| parent | b81e8b02e8f26b13ff4d6410f7a9854ba7021b86 (diff) | |
accel/amdxdna: Preserve user address when PASID is disabled
When PASID is not used, the buffer user address is set to
AMDXDNA_INVALID_ADDR. As a result, heap buffer user address validation
fails even though the original userspace address is available.
Preserve the userspace address regardless of PASID usage so heap buffer
address validation works correctly.
Fixes: dbc8fd7a03cb ("accel/amdxdna: Add expandable device heap support")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260602040624.2206774-1-lizhi.hou@amd.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
