Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp207264rdh; Thu, 23 Nov 2023 01:24:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTtBN6wW64MFINTXiqkit8ZjLpXGbBPhcIwHg6nVG3irUogpQUrgj6cEHZzzBzbuJpvKZr X-Received: by 2002:a17:903:189:b0:1cc:47c1:c2cb with SMTP id z9-20020a170903018900b001cc47c1c2cbmr3268802plg.2.1700731472861; Thu, 23 Nov 2023 01:24:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700731472; cv=none; d=google.com; s=arc-20160816; b=Lnv9xdeV77c7+cR/ZV77p8DO0wFqFzOkEC/gYtL39rGQqeQyiDMrKHuoLxdFMHK9vH 1JPQskrY9FgYSCFOKdXrRghztQhCm9c7xooNdYW5vzI4L8ozaNjQ9/MtfgTF64paIzK8 u91MiBe9Rww/q4qDP+vhru8jT16vC9uOb6HhkD7S7DSIMH+lSL+XVAVWhCxrEtUpjY09 ljOZhldOYbqPcf6FgXufHAjkv9kFHbW0BiLJqABxoDUQN7NWGZqUO4Y1Ffy1Cga+k72M oX/V4Z1EKG6c2eUZsmeOgU5BGg/am7VI17K3DRBryQ9pMMOJ+RM80QaueKIX/hlCh7pq rfXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KPRlQtJdP2SQXlU1DKJM3r95nlRPrmMCK5sKODwSOzA=; fh=gDYt9MY/1X/h5fcLsrPXNJSbxtFOUO5bXnC2IdpKvq4=; b=QCEWC5LeHdJaPZpM2YPol2eQKR38/5DXlbm0f/4MGZakO+oB74sQVecC6bD6820Eq0 pjUmUDE96HDsyYWV98vDQEUHk2fh2Jkl+vnvHsGOqvBUGdFdX3TyuJk9n9GRzDD5u9Lb QCfsCGu4h/u64DqP0SVxoyZQ0RoyaY+iILjIzmRDBCmB+/AmGXEbaxL8L6LzWtAQiXoG VQeJ9ffKLvQK/Gu3Bur2Yk8vXY/itG40o9dm8WN2hj991JwN/vZJhzn1cjI9kSVRIoFc eRJxbSLNmsKv8ViAOmRbOfw2U55MqleBRwAzgWUn8aRBjMdacDQ87tLZ1hMP9+OeNwby cTFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jKsXgpfE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id s21-20020a170902989500b001c46467a211si757084plp.193.2023.11.23.01.24.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 01:24:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=jKsXgpfE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id C36408083AD2; Thu, 23 Nov 2023 01:24:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231793AbjKWJYF (ORCPT + 99 others); Thu, 23 Nov 2023 04:24:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjKWJYD (ORCPT ); Thu, 23 Nov 2023 04:24:03 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABF28CB; Thu, 23 Nov 2023 01:24:09 -0800 (PST) Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AN97W5U030640; Thu, 23 Nov 2023 09:24:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=KPRlQtJdP2SQXlU1DKJM3r95nlRPrmMCK5sKODwSOzA=; b=jKsXgpfE8uTD8DkWewDFNsQIV76G5OCDgmpj+/Dch0O5EHpYNv7wGYdt1U4YrQ9fQU69 C9TGeylUy0SCKdMogksk8tsXRL1A/sw2g0oeep2fPL8UHqkyjhFn9a+q5fzGy9pecCfl n6Zi43Am6VEJ8K3GyvKgXet7LI1H20GPpsA0hHQgj1Y5BTluK19VeHKAInsUisyaOfk6 NhpMougB1kbcai5bawSSC7MeRl9HVoTDOyOXu1RrOMDwOLE6Sl2WrZqihPomj1rZc2DI OAvC/aom2gpLyn/IEWYgKFQCcHAwLh/019VwerFD2EOcCGMbMHa4ObU/pAvl0I04Jzxg tw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uj3twreq5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Nov 2023 09:24:02 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3AN9GJCQ029906; Thu, 23 Nov 2023 09:24:01 GMT Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uj3twrepp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Nov 2023 09:24:01 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3AN8nDUT022805; Thu, 23 Nov 2023 09:24:00 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3uf93m61sy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 23 Nov 2023 09:24:00 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3AN9NvIZ2163294 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 23 Nov 2023 09:23:57 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 53A7320040; Thu, 23 Nov 2023 09:23:57 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1CCE62004B; Thu, 23 Nov 2023 09:23:57 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 23 Nov 2023 09:23:57 +0000 (GMT) From: Sumanth Korikkar To: linux-mm , Andrew Morton , David Hildenbrand Cc: Oscar Salvador , Michal Hocko , "Aneesh Kumar K.V" , Anshuman Khandual , Gerald Schaefer , Sumanth Korikkar , Alexander Gordeev , Heiko Carstens , Vasily Gorbik , linux-s390 , LKML Subject: [PATCH v2 7/7] s390: enable MHP_MEMMAP_ON_MEMORY Date: Thu, 23 Nov 2023 10:23:43 +0100 Message-Id: <20231123092343.1703707-8-sumanthk@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231123092343.1703707-1-sumanthk@linux.ibm.com> References: <20231123092343.1703707-1-sumanthk@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: yS8mHflc-hQ0QxnqPWywWogbjP7kcYb5 X-Proofpoint-ORIG-GUID: 0kVFvKCEU7cKCqrnqQ1w2WWgDLzYcr_Z X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-23_07,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxscore=0 suspectscore=0 bulkscore=0 priorityscore=1501 phishscore=0 mlxlogscore=806 adultscore=0 lowpriorityscore=0 spamscore=0 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311230067 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 23 Nov 2023 01:24:27 -0800 (PST) Enable MHP_MEMMAP_ON_MEMORY to support "memmap on memory". memory_hotplug.memmap_on_memory=true kernel parameter should be set in kernel boot option to enable the feature. Reviewed-by: Gerald Schaefer Signed-off-by: Sumanth Korikkar --- arch/s390/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index 3bec98d20283..4b9b0f947ddb 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -113,6 +113,7 @@ config S390 select ARCH_INLINE_WRITE_UNLOCK_BH select ARCH_INLINE_WRITE_UNLOCK_IRQ select ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE + select ARCH_MHP_MEMMAP_ON_MEMORY_ENABLE select ARCH_STACKWALK select ARCH_SUPPORTS_ATOMIC_RMW select ARCH_SUPPORTS_DEBUG_PAGEALLOC -- 2.39.2