diff options
| author | Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> | 2025-04-10 11:47:06 +0200 |
|---|---|---|
| committer | Hans Verkuil <hverkuil@xs4all.nl> | 2025-04-25 10:15:35 +0200 |
| commit | 0209916ebe2475079ce6d8dc4114afbc0ccad1c2 (patch) | |
| tree | f256e26c760d1a6c8124c298b37511737375e9c8 /tools/perf/scripts/python | |
| parent | 1284c9693953aed2a9974a5a384ce2a42a1b9ae8 (diff) | |
media: intel/ipu6: Fix dma mask for non-secure mode
We use dma_get_mask() of auxdev device for calculate iova pfn limit.
This is always 32 bit mask as we do not initialize the mask (and we can
not do so, since dev->dev_mask is NULL anyways for auxdev).
Since we need 31 bit mask for non-secure mode use mmu_info->aperture_end
which is properly initialized to correct mask for both modes.
Fixes: daabc5c64703 ("media: ipu6: not override the dma_ops of device in driver")
Cc: stable@vger.kernel.org
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
