[PATCH V4 05/23] ACPI: OSL: Make should_use_kmap() 0 for RISC-V

Björn Töpel bjorn at kernel.org
Thu Apr 27 04:24:58 PDT 2023


Sunil V L <sunilvl at ventanamicro.com> writes:

>> An observation, which can be addressed later; The acpi_os_ioremap()
>> (called when the config above is enabled for RV), does not have an arch
>> specific implementation for RISC-V. The generic one calls
>> ioremap_cached(), which on RISC-V defaults to ioremap() -- caching
>> disabled/_PAGE_IO.
>> 
>> That is probably not what we want, but rather something similar that
>> arm64 does.
>> 
> Actually, for RISC-V acpi_os_ioremap() is currently a wrapper around
> memremap(). Sure, this can be enhanced in future if required.

Yeah, realized that when I continued thru the series!

Thanks for clearing it up!



More information about the linux-riscv mailing list