diff options
author | Sakari Ailus <[email protected]> | 2024-05-02 16:49:50 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2024-05-03 12:18:11 +0100 |
commit | 8a09bb1be67a54b1ab66272731faa0c04b9b675d (patch) | |
tree | 1dabbb7e295a38a4061bf3a7139dcb0b46a27100 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1aa1329a67cc214c3b7bd2a14d1301a795760b07 (diff) |
media: intel/ipu6: Don't re-allocate memory for firmware
The ipu6 driver allocated vmalloc memory for the firmware if
request_firmware() somehow managed not to use vmalloc to allocate it.
Still how the memory is allocated by request_firmware() is not specified
in its API, so be prepared for kmalloc-allocated firmware, too. Instead of
allocating new vmalloc-backed buffer for the firmware, obtain the pages
from virtual addresses instead.
Link: https://lore.kernel.org/linux-media/[email protected]
Reported-by: Stephen Rothwell <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: 25fedc021985 ("media: intel/ipu6: add Intel IPU6 PCI device driver")
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions