On Wed, May 21, 2025 at 4:34 AM Herbert Xu herbert@gondor.apana.org.au wrote:
On Tue, May 20, 2025 at 06:37:36PM +0530, Bharat Bhushan wrote:
info->in_buffer = PTR_ALIGN((u8 *)info + info_len,
OTX2_CPT_DPTR_RPTR_ALIGN);
Any address that's used for bidirectional or from-device DMA needs to be aligned to ARCH_DMA_MINALIGN.
Sorry I missed this during the first round.
Will change in the next version.
Thanks -Bharat
Cheers,
Email: Herbert Xu herbert@gondor.apana.org.au Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt