Hans de Goede <[email protected]> wrote: > From: Arend Van Spriel <[email protected]> > > For SDIO the alignment requirement for transfers from device to host > is configured in firmware. This configuration is limited to minimum > of 4-byte alignment. However, this is not correct for platforms using > 64-bit DMA when the minimum alignment should be 8 bytes. This issue > appeared when the ALIGNMENT definition was set according the DMA > configuration. The configuration in firmware was not using that macro > defintion, but a hardcoded value of 4. Hence the driver reported > alignment failures for data coming from the device and causing > transfers to fail. > > Fixes: 6e84ab604bde ("brcmfmac: properly align buffers on certain platforms > Reported-by: Hans de Goede <[email protected]> > Tested-by: Hans de Goede <[email protected]> > Reviewed-by: Hante Meuleman <[email protected]> > Reviewed-by: Pieter-Paul Giesberts <[email protected]> > Reviewed-by: Franky Lin <[email protected]> > Signed-off-by: Arend van Spriel <[email protected]> > Signed-off-by: Hans de Goede <[email protected]>
Patch applied to wireless-drivers.git, thanks. 1dbf647f3175 brcmfmac: fix alignment configuration on host using 64-bit DMA -- https://patchwork.kernel.org/patch/9750347/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
