diff options
author | Wludzik, Jozef <jozef.wludzik@intel.com> | 2023-10-18 14:01:13 +0300 |
---|---|---|
committer | Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> | 2023-10-19 09:01:20 +0300 |
commit | 8f5ad367e8b884772945c6c9fb622ac94b7d3e32 (patch) | |
tree | 510c637f3afb76bac2790d27261a9828dc27173a /net/unix/unix_bpf.c | |
parent | 610b5d219d1ccac8064556310cc0e62e3c202389 (diff) | |
download | linux-8f5ad367e8b884772945c6c9fb622ac94b7d3e32.tar.xz |
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
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions