linux/drivers/accel/amdxdna
Lizhi Hou 457b046b7d accel/amdxdna: Remove mmap and export support for ubuf
Ubuf pages should not be mmaped or exported. Remove the ubuf mmap callback
and return -EOPNOTSUPP when exporting ubuf objects.

ubuf vmap is also removed for there is not a real use case yet.

Fixes: bd72d4acda ("accel/amdxdna: Support user space allocated buffer")
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://patch.msgid.link/20260518155706.937461-1-lizhi.hou@amd.com
History 2026-05-19 08:47:59 -07:00
..
aie2_ctx.c drm-misc-next for v7.1: 2026-03-27 12:45:54 +10:00
aie2_error.c accel/amdxdna: Allow forcing IOVA-based DMA via module parameter 2026-03-12 12:37:56 -07:00
aie2_message.c accel/amdxdna: Return ERR_PTR on dma_alloc_noncoherent failure 2026-03-23 13:29:22 -07:00
aie2_msg_priv.h accel/amdxdna: Support retrieving hardware context debug information 2026-03-17 14:08:57 -07:00
aie2_pci.c accel/amdxdna: Add per-process BO memory usage query support 2026-03-25 11:41:24 -07:00
aie2_pci.h accel/amdxdna: Support retrieving hardware context debug information 2026-03-17 14:08:57 -07:00
aie2_pm.c accel/amdxdna: Fix dead lock for suspend and resume 2026-02-23 09:24:17 -08:00
aie2_psp.c accel/amdxdna: Poll MPNPU_PWAITMODE after requesting firmware suspend 2025-12-02 16:31:14 -08:00
aie2_smu.c accel/amdxdna: Fix incorrect DPM level after suspend/resume 2026-02-04 13:08:35 -08:00
aie2_solver.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
aie2_solver.h accel/amdxdna: Enhance power management settings 2024-12-16 15:50:32 -06:00
amdxdna_ctx.c drm-misc-next for v7.1: 2026-03-27 12:45:54 +10:00
amdxdna_ctx.h accel/amdxdna: Refactor GEM BO handling and add helper APIs for address retrieval 2026-03-20 22:12:49 -07:00
amdxdna_error.h accel/amdxdna: Support getting last hardware error 2025-10-16 09:32:48 -07:00
amdxdna_gem.c accel/amdxdna: Remove mmap and export support for ubuf 2026-05-19 08:47:59 -07:00
amdxdna_gem.h accel/amdxdna: Remove mmap and export support for ubuf 2026-05-19 08:47:59 -07:00
amdxdna_iommu.c accel/amdxdna: Allow forcing IOVA-based DMA via module parameter 2026-03-12 12:37:56 -07:00
amdxdna_mailbox.c accel/amdxdna: fix missing newline in pr_err message 2026-03-23 09:36:51 -07:00
amdxdna_mailbox.h accel/amdxdna: Split mailbox channel create function 2026-03-05 09:24:33 -08:00
amdxdna_mailbox_helper.c accel/amdxdna: Remove casting mailbox payload pointer 2025-01-13 14:21:39 -06:00
amdxdna_mailbox_helper.h accel/amdxdna: Add IOCTL parameter for telemetry data 2025-11-04 09:04:21 -08:00
amdxdna_pci_drv.c accel/amdxdna: Add per-process BO memory usage query support 2026-03-25 11:41:24 -07:00
amdxdna_pci_drv.h accel/amdxdna: Add per-process BO memory usage query support 2026-03-25 11:41:24 -07:00
amdxdna_pm.c accel/amdxdna: Fix dead lock for suspend and resume 2026-02-23 09:24:17 -08:00
amdxdna_pm.h accel/amdxdna: Fix dead lock for suspend and resume 2026-02-23 09:24:17 -08:00
amdxdna_sysfs.c accel/amdxdna: Add command execution 2024-11-22 11:43:27 -07:00
amdxdna_ubuf.c accel/amdxdna: Remove mmap and export support for ubuf 2026-05-19 08:47:59 -07:00
amdxdna_ubuf.h accel/amdxdna: Refactor GEM BO handling and add helper APIs for address retrieval 2026-03-20 22:12:49 -07:00
Kconfig accel/amdxdna: Add a new driver for AMD AI Engine 2024-11-22 11:41:26 -07:00
Makefile accel/amdxdna: Allow forcing IOVA-based DMA via module parameter 2026-03-12 12:37:56 -07:00
npu1_regs.c accel/amdxdna: Fix major version check on NPU1 platform 2026-03-04 12:05:02 -08:00
npu4_regs.c accel/amdxdna: Support retrieving hardware context debug information 2026-03-17 14:08:57 -07:00
npu5_regs.c accel/amdxdna: Use a different name for latest firmware 2026-02-25 13:51:31 -08:00
npu6_regs.c accel/amdxdna: Use a different name for latest firmware 2026-02-25 13:51:31 -08:00
TODO accel/amdxdna: Support firmware debug buffer 2025-10-20 09:07:12 -07:00