diff options
author | James Hughes <[email protected]> | 2018-11-16 14:39:07 +0000 |
---|---|---|
committer | Stefan Wahren <[email protected]> | 2018-11-18 12:26:43 +0100 |
commit | 91c6ada69f396e663acb2b713e8acb8a9463557d (patch) | |
tree | e5ddf73117ed05b65973da735f92abc0e507bb86 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bb661b70883717154e194cad544e2b9c25895268 (diff) |
firmware: raspberrypi: Fix firmware calls with large buffers
Commit a1547e0bca51 ("firmware: raspberrypi: Remove VLA usage")
moved away from VLA's to a fixed maximum size for mailbox data.
However, some mailbox calls use larger data buffers
than the maximum allowed in that change. This fix therefor
moves from using fixed buffers to kmalloc to ensure all sizes
are catered for.
There is some documentation, which is somewhat out of date,
on the mailbox calls here :
https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface
Fixes: a1547e0bca51 ("firmware: raspberrypi: Remove VLA usage")
Signed-off-by: James Hughes <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Stefan Wahren <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions