]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/sclp: Remove MHP_OFFLINE_INACCESSIBLE
authorSumanth Korikkar <sumanthk@linux.ibm.com>
Fri, 10 Oct 2025 08:51:46 +0000 (10:51 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Tue, 14 Oct 2025 12:24:53 +0000 (14:24 +0200)
commitce2071e02d84a133c2985e80f5a84473642de983
treef9c2aea8e7bc70d8723979df57854d692cb50b8c
parentff18dcb19aab83edbe15b1a88ed9520d92e276f5
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 <hca@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Sumanth Korikkar <sumanthk@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/char/sclp_mem.c