On 21.05.2025 18:03, Oleksii Kurochko wrote:
> Introduce ioremap_attr() as a shared helper to implement architecture-specific
> ioremap variants:
> - ioremap_cache()
> - ioremap_wc()
> 
> These functions use __vmap() internally and apply appropriate memory 
> attributes
> for RISC-V.
> 
> These functions are implemned not as static inline function or macros as it 
> will
> require to include asm/page.h into asm/io.h what will lead to compilation
> issue.
> 
> Also, remove the unused ioremap_wt() macro from asm/io.h, as write-through
> mappings are not expected to be used on RISC-V.
> 
> Signed-off-by: Oleksii Kurochko <oleksii.kuroc...@gmail.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>


Reply via email to