Re: [PATCH] riscv: time: Add missing __iomem in get_cycles() and get_cycles_hi()

From: Paul Walmsley

Date: Sun Jul 19 2026 - 14:01:05 EST


On Thu, 16 Jul 2026, Nam Cao wrote:

> __iomem is missing while calling readl_relaxed() in get_cycles() and
> get_cycles_hi() and sparse complains.
>
> Add __iomem to silence the sparse warnings.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202607160619.14G8GHp5-lkp@xxxxxxxxx/
> Signed-off-by: Nam Cao <namcao@xxxxxxxxxxxxx>

Thanks, queued for v7.2-rc.

\
- Paul