diff options
author | Lukas Wunner <lukas@wunner.de> | 2019-01-23 09:26:00 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-02-04 12:41:28 +0530 |
commit | 603fe86be189e1485715c6cc70113b43a8553da3 (patch) | |
tree | bb185e31f2b241e5f3ef354a6621558e71764184 /tools/perf/scripts/python/futex-contention.py | |
parent | 3e05ada043828c5880c88789c824e3d40d6830cb (diff) |
dmaengine: bcm2835: Enforce control block alignment
Per section 4.2.1.1 of the BCM2835 ARM Peripherals spec, control blocks
"must start at a 256 bit aligned address":
https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
This rule is currently satisfied only by accident because struct
bcm2835_dma_cb has a size of 256 bit and the DMA pool API happens to
allocate blocks consecutively. It seems safer to be explicit and tell
the DMA pool allocator about the required alignment.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Frank Pavlic <f.pavlic@kunbus.de>
Cc: Martin Sperl <kernel@martin.sperl.org>
Cc: Florian Meier <florian.meier@koalo.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Florian Kauer <florian.kauer@koalo.de>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions