Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > From: Arend Van Spriel <arend.vanspriel@xxxxxxxxxxxx> > > 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 <hdegoede@xxxxxxxxxx> > Tested-by: Hans de Goede <hdegoede@xxxxxxxxxx> > Reviewed-by: Hante Meuleman <hante.meuleman@xxxxxxxxxxxx> > Reviewed-by: Pieter-Paul Giesberts <pieter-paul.giesberts@xxxxxxxxxxxx> > Reviewed-by: Franky Lin <franky.lin@xxxxxxxxxxxx> > Signed-off-by: Arend van Spriel <arend.vanspriel@xxxxxxxxxxxx> > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> 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