diff options
| author | Jonathan Cameron <[email protected]> | 2022-08-07 16:12:18 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-08-15 22:30:02 +0100 |
| commit | 4c0babbd978a98dfbdacbe078817ea9c953b3298 (patch) | |
| tree | 5272d882caabbb0b7c00f3049484b0f80d2a9608 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 48a1319164d9339ad50a25085cad6b879fef9fbe (diff) | |
staging: iio: resolver: ad2s1210: Fix alignment for DMA safety
____cacheline_aligned is an insufficient guarantee for non-coherent DMA
on platforms with 128 byte cachelines above L1. Switch to the updated
IIO_DMA_MINALIGN definition. As the tx[] an rx[] buffers are only used
in the same SPI exchanges, we should be safe with them on the same cacheline.
Hence only mark the first one __aligned(IIO_DMA_MINALIGN).
Signed-off-by: Jonathan Cameron <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions