mhp_flag MHP_OFFLINE_INACCESSIBLE was used to mark memory as not accessible until memory hotplug online phase begins. Earlier, standby memory blocks were added upfront during boottime and MHP_OFFLINE_INACCESSIBLE flag avoided page_init_poison() on memmap during mhp addtion phase. However with dynamic runtime configuration of memory, standby memory can be brought to accessible state before performing add_memory(). Hence, remove MHP_OFFLINE_INACCESSIBLE. Acked-by: Heiko Carstens Signed-off-by: Sumanth Korikkar --- drivers/s390/char/sclp_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s390/char/sclp_mem.c b/drivers/s390/char/sclp_mem.c index 802439230294..f49b8457e721 100644 --- a/drivers/s390/char/sclp_mem.c +++ b/drivers/s390/char/sclp_mem.c @@ -267,7 +267,7 @@ static ssize_t config_mblock_store(struct kobject *kobj, struct kobj_attribute * __arch_set_page_nodat((void *)__va(addr), block_size >> PAGE_SHIFT); rc = __add_memory(0, addr, block_size, mblock->memmap_on_memory ? - MHP_MEMMAP_ON_MEMORY | MHP_OFFLINE_INACCESSIBLE : MHP_NONE); + MHP_MEMMAP_ON_MEMORY : MHP_NONE); if (rc) goto out_unlock; mem = find_memory_block(pfn_to_section_nr(PFN_DOWN(addr))); -- 2.48.1