From: Sumanth Korikkar Date: Fri, 10 Oct 2025 08:51:46 +0000 (+0200) Subject: s390/sclp: Remove MHP_OFFLINE_INACCESSIBLE X-Git-Tag: v6.19-rc1~206^2~36^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce2071e02d84a133c2985e80f5a84473642de983;p=thirdparty%2Flinux.git s390/sclp: Remove MHP_OFFLINE_INACCESSIBLE 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 addition 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 Reviewed-by: David Hildenbrand Signed-off-by: Sumanth Korikkar Signed-off-by: Heiko Carstens --- diff --git a/drivers/s390/char/sclp_mem.c b/drivers/s390/char/sclp_mem.c index 100d776bdffee..3a7a69615d99d 100644 --- a/drivers/s390/char/sclp_mem.c +++ b/drivers/s390/char/sclp_mem.c @@ -224,7 +224,7 @@ static ssize_t sclp_config_mem_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, sclp_mem->memmap_on_memory ? - MHP_MEMMAP_ON_MEMORY | MHP_OFFLINE_INACCESSIBLE : MHP_NONE); + MHP_MEMMAP_ON_MEMORY : MHP_NONE); if (rc) { sclp_mem_change_state(addr, block_size, 0); goto out_unlock;