aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorMarek BehĂșn <[email protected]>2024-08-31 11:20:35 +0200
committerArnd Bergmann <[email protected]>2024-09-02 09:41:56 +0000
commit29d258542f900a55791ec2ca8b15e4f9da083a14 (patch)
tree0f9f8a97e75855953c7e79d469c55a10cb8ac82c /tools/perf/scripts/python/parallel-perf.py
parent47ac09b91befbb6a235ab620c32af719f8208399 (diff)
firmware: turris-mox-rwtm: Use macro constant instead of hardcoded 4096
The 4096 bytes limit in mox_hwrng_read() is due to the DMA buffer being allocated to one PAGE_SIZE bytes. Use new local macro constant RWTM_DMA_BUFFER_SIZE at allocation time and when used in mox_hwrng_read(). Use SZ_4K instead of PAGE_SIZE. Although PAGE_SIZE is never set to a larger value on Armada 3720, it theoretically could, and this would be a waste of space. Signed-off-by: Marek BehĂșn <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions