Skip to contentSkip to conversation

dma: axi-dmac: don't check the number of frames for alignment

PATCH Superseded Vinod Koul 1 participant 1 message Feb 26, 2019 dmaengine

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Vinod Koul

author maintainer
#0 lore raw

PATCH 1/2 dma: axi-dmac: don't check the number of frames for alignment

Quoted 9 lines · Alexandru
Quoted 8 lines · Vinod Koul

[External]

Quoted 3 lines · Alexandru Ardelean

Fixes commit 0e3b67b348b8 ("dmaengine: Add support for the Analog Devices
AXI-DMAC DMA controller")

Quoted 6 lines
Quoted 1 line

Do you mean to add a Fixes tag?

Yep.
I'm terrible at this apparently. I'll read about how to do that properly. Other maintainers have complained about this as well [i.e. the fact that I didn't add proper Fixes tags ].

So if it fixes a bug in original commit and should go immediately to next rc-X then fixes is mostly appropriate.. (also backporting to stable). In this case it doesnt seem so.

Also canonical form is

Fixes abcdef : ("buggy patch")

and this line should be before the s-o-b line..

Quoted 10 lines
Quoted 8 lines
Quoted 6 lines

For 2D transfers, there is no requirement for Y_LENGTH to be aligned to the bus-width (or anything). X_LENGTH is required to be aligned though.

So, we shouldn't check that the number of frames is aligned.

Does this fix a bug as indicated by Fixes tag?

Yes

well if it is aligned it shouldn't cause break right. Yes not having aligned helps the driver but seems to be correct the wrong interpretation/implementation.. right?