module_param(memmap_on_memory, bool, 0444); moving the IS_ENABLED(CONFIG_ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE) into the runtime check.You mean moving this check into mhp_supports_memmap_on_memory() check from patch#1 right? Makes sense.
Yep. -- Thanks, David / dhildenb