[PATCH] dmaengine: ste_dma40: Preserve the LCPA I/O address space

Vinod Koul vkoul at kernel.org
Sun Oct 11 13:38:46 PDT 2026


On Sat, 10 Oct 2026 00:58:53 +0200, Linus Walleij wrote:
> The LCPA area is mapped with devm_ioremap(), but lcpa_base and the
> per-channel lcpa pointer lack __iomem annotations. This loses the I/O
> address space and makes sparse warn when d40_current_addr() assigns
> LCPA register addresses to its __iomem pointers.
> 
> Annotate both pointers and the LCPA argument of d40_log_lli_lcpa_write()
> to preserve the I/O address space from the mapping to the register
> accessors. This also fixes the existing LCPA read and write warnings
> without changing the generated code.
> 
> [...]

Applied, thanks!

[1/1] dmaengine: ste_dma40: Preserve the LCPA I/O address space
      commit: 42c31fec1ca76b8b5f7759def122d418dff2cd4b

Best regards,
-- 
~Vinod





More information about the linux-arm-kernel mailing list