Skip to content

Commit 99071f9

Browse files
serhiy-katsyuba-intelcarlescufi
authored andcommitted
drivers: dma: Fix for DW DMA link list alignment
For Intel ACE1.x the GPDMA link list structure should be aligned to 64 bytes to avoid the link list entry fetch crossing the 64 bytes address alignment. Signed-off-by: Serhiy Katsyuba <[email protected]>
1 parent 842ee0a commit 99071f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/dma/dma_dw_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ struct dw_dma_dev_data {
232232
struct dma_context dma_ctx;
233233
struct dw_drv_plat_data *channel_data;
234234
struct dw_dma_chan_data chan[DW_MAX_CHAN];
235-
struct dw_lli lli_pool[DW_MAX_CHAN][CONFIG_DMA_DW_LLI_POOL_SIZE];
235+
struct dw_lli lli_pool[DW_MAX_CHAN][CONFIG_DMA_DW_LLI_POOL_SIZE] __aligned(64);
236236

237237
ATOMIC_DEFINE(channels_atomic, DW_MAX_CHAN);
238238
};

0 commit comments

Comments
 (0)