Move memory detection to early boot phase. To store online memory regions "struct mem_detect_info" has been introduced together with for_each_mem_detect_block iterator. mem_detect_info is later converted to memblock. Also introduces sclp_early_get_meminfo function to get maximum physical memory and maximum increment number. Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com> Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
13 lines
378 B
Makefile
13 lines
378 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the linux s390-specific parts of the memory manager.
|
|
#
|
|
|
|
obj-y := init.o fault.o extmem.o mmap.o vmem.o maccess.o
|
|
obj-y += page-states.o gup.o pageattr.o pgtable.o pgalloc.o
|
|
|
|
obj-$(CONFIG_CMM) += cmm.o
|
|
obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
|
|
obj-$(CONFIG_S390_PTDUMP) += dump_pagetables.o
|
|
obj-$(CONFIG_PGSTE) += gmap.o
|