linux-stable/drivers/accel
Wludzik, Jozef 8f5ad367e8 accel/ivpu: Extend address range for MMU mmap
Allow to use whole address range in MMU context mmap which is up to 48
bits. Return invalid argument from MMU context mmap in case address is
not aligned to MMU page size, address is below MMU page size or address
is greater then 47 bits.

This fixes problem disallowing to run large models on VPU4

Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231018110113.547208-1-stanislaw.gruszka@linux.intel.com
2023-10-19 08:01:20 +02:00
..
habanalabs accel/habanalabs: add more debugfs stub helpers 2023-07-20 12:51:59 +02:00
ivpu accel/ivpu: Extend address range for MMU mmap 2023-10-19 08:01:20 +02:00
qaic Linux 6.5-rc7 2023-08-24 07:26:06 +10:00
drm_accel.c driver core: class: remove module * from class_create() 2023-03-17 15:16:33 +01:00
Kconfig accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00
Makefile accel/qaic: Add qaic driver to the build system 2023-04-06 08:23:03 +02:00