On Thu, Apr 21, 2022 at 09:42:36AM +0300, Mike Rapoport wrote: > The problem is that memremap() uses pfn_valid() to check if RAM resource can > be accessed via linear mapping and this check is wrong. > The problem does not manifest on more recent kernels because the way ARM > registers "System RAM" resources was updated so that it skipped NOMAP > memory. > Can you please give a whirl to the patch below? If it's Ok I'll extend it > to include arm64 and will send a formal patch. Looks to have tested out OK: https://linux.kernelci.org/test/job/broonie-misc/branch/for-kernelci/kernel/v5.4-18289-g6ebcdf39c03b/plan/baseline/ Tested-by: Mark Brown <broonie@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature