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

From: Björn Töpel
Date: Thu Apr 27 2023 - 07:25:41 EST


Sunil V L <sunilvl@xxxxxxxxxxxxxxxx> 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!