diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2026-06-04 22:54:59 +0300 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2026-06-05 19:18:20 +0300 |
| commit | 65cbdffa324d6d50dc14f762c1430a2d1dafb7d4 (patch) | |
| tree | 86cf56479a1b6d519b582daa2b91cbff17a50396 /include | |
| parent | 62c1671f6454ceaa80e9ceff63f821aa36f35154 (diff) | |
| download | linux-65cbdffa324d6d50dc14f762c1430a2d1dafb7d4.tar.xz | |
accel/amdxdna: Require carveout when PASID and force_iova are disabled
When both PASID and force_iova are disabled, carveout memory should be
used. Reject buffer allocations that cannot use carveout memory in this
configuration and return an error.
Fixes: 3cc5d7a59519 ("accel/amdxdna: Add carveout memory support for non-IOMMU systems")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260604195459.2423279-1-lizhi.hou@amd.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
