Re: [RFC PATCH 1/5] riscv: Define ioremap_cache for RISC-V

From: Paul Walmsley

Date: Wed Sep 17 2025 - 13:24:12 EST


On Wed, 10 Sep 2025, Ruidong Tian wrote:

> From: Himanshu Chauhan <hchauhan@xxxxxxxxxxxxxxxx>
>
> bert and einj drivers use ioremap_cache for mapping entries
> but ioremap_cache is not defined for RISC-V.
>
> Signed-off-by: Himanshu Chauhan <hchauhan@xxxxxxxxxxxxxxxx>

Looks like nothing should be using ioremap_cache() at all:

https://lore.kernel.org/linux-riscv/YzQ6pqykLhJVeD2p@xxxxxxxxxxxxx/#t

Probably best just to fix the ACPI drivers?


- Paul