diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-10-10 00:58:53 +0200 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-10-11 21:33:36 +0100 |
| commit | 42c31fec1ca76b8b5f7759def122d418dff2cd4b (patch) | |
| tree | 30497102514210e3096903a7c07da052b36fb4ba /include/linux | |
| parent | fa89be96e845de705eed6edd01ecb79d46ee21c7 (diff) | |
| download | linux-next-42c31fec1ca76b8b5f7759def122d418dff2cd4b.tar.gz linux-next-42c31fec1ca76b8b5f7759def122d418dff2cd4b.zip | |
dmaengine: ste_dma40: Preserve the LCPA I/O address space
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.
Fixes: c80edceff29e ("dmaengine: ste_dma40: Fix cyclic transfer residue")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202610090216.pjMRxhRL-lkp@intel.com/
Assisted-by: LLM
Signed-off-by: Linus Walleij <linusw@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20261010-dma40-smatch-fix-v1-1-26ca10043957@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
