Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1622866rdb; Mon, 8 Jan 2024 05:28:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZ6Wq78KxK9kDISCcPTPWoGZ4iQJxLTzMs9LkUNCSaoBv4sAHXPKGMONiFbJCva14gv80Q X-Received: by 2002:a05:6122:2029:b0:4b6:c299:4a8f with SMTP id l41-20020a056122202900b004b6c2994a8fmr645233vkd.5.1704720522653; Mon, 08 Jan 2024 05:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704720522; cv=none; d=google.com; s=arc-20160816; b=exE9FK9W8+i2Q6eSe+x/MmttbDBWgOXqc7VHBRZmaPAzlYr3iKBEYunXPYH9a3+8PQ qLPeQZjOs7ywzk9ODqdbJWPjgR2cWZ2ehaumViFJBIzYOnqu86vJMxTTdvRyNjsgTZ7O 5iBxf4NQ3AVt8/+fvH17JFkej/dNDx0hJabQ7E1o9Wdjem2MJXYoxtP4Y2i+7ToGgEpT ylIYaoG1R/iB6CT6tZFjM+B8PFea0S3UUvOIb7phY6M4oquu00kTL4UhEQi360eJKsAu DUGBPrB5h36/1xNG95KLqrMl1QRH7HSXZDuDyFkGOT081eAiG+n3AFFyc0PzarTMd873 phUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=bZr0uh2TIhBQHlP6zzh6imGygSvSmLj2O03i+ZWmVIw=; fh=4w46s1ayy3YIUOIGaG7mWmB/wwSQj8/Ao7ZPTNB1Fw0=; b=ehNjhUUs095FmgtpPSg0+JQjeYphK55BGpFGohL3dCtXem3Ik7/oH8kOWRXAEArsEq H4ObvCykGpvArU+COGUkKsfkSwRVYUh1FoaUVnPvVaqr5TVQ+f2Q07b6H+MnIMgBFn7M 0sRTfo5TQ2liGXm1sdVNhfypqYYzji0hLXPG5vxgEfsvyKyus7uT0s3QxoEmdS609rkr XCNqomJQlOAhOtpG1Gr0YdJ8qMlid+fku9YA+VjnfHkHTmGoZldupIwJHIa1d4altWtA wolnBXXqdBseGaf+0iOtCUW9bVKbwWYKyhU/nkT3lKfrl0Z43okbd6lup1uEUu9zSqDy NXVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=m29gQuog; spf=pass (google.com: domain of linux-kernel+bounces-19615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id b31-20020a05620a271f00b00781e1bde7fcsi8112696qkp.264.2024.01.08.05.28.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 05:28:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=m29gQuog; spf=pass (google.com: domain of linux-kernel+bounces-19615-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19615-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5DC4A1C2282E for ; Mon, 8 Jan 2024 13:28:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F3434596F; Mon, 8 Jan 2024 13:28:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="m29gQuog" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18DBB45941; Mon, 8 Jan 2024 13:28:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 408CawAA030836; Mon, 8 Jan 2024 13:28:05 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=bZr0uh2TIhBQHlP6zzh6imGygSvSmLj2O03i+ZWmVIw=; b=m29gQuogVahBtnQlr85NavufcHM2iKdugqCWdypLg4pYi59nwzCKn2HMlAxwj2BuULX6 8qX5q9X7WK9u+xeMJn2JHD8CxyOXvYGAb1Qi8DfLRnRMyWusFRjPQqBlMApDEUXjTrTB Vtfp0/I7gyAiEOcEb9HkNHmGGOUgCXkmzixPGrvmbVB2RZPZEDKHtHFdlv96PRxPkUS6 VJ5ltwLwbJf2L5uLWkHYQOo5OLgnKcH84wuvuAyiPq0HvVZKJ/hnyC5u0wBM+o40fMMB uKPYovImJL3aNOe5sihgv5b11hcS5U4BmADfsr6EGXH/TJwZsWrLNlVMMJi8S4V93hGd qQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vg9jjksu7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 13:28:05 +0000 Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 408ClbZi005423; Mon, 8 Jan 2024 13:28:04 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vg9jjkstm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 13:28:04 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 408CbnCm022882; Mon, 8 Jan 2024 13:28:03 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3vfj6n82ka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 13:28:03 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 408DS0ix5833280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 8 Jan 2024 13:28:00 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2E25420074; Mon, 8 Jan 2024 13:28:00 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BE32D20063; Mon, 8 Jan 2024 13:27:59 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 8 Jan 2024 13:27:59 +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 , Alexander Gordeev , Heiko Carstens , Vasily Gorbik , linux-s390 , LKML , Sumanth Korikkar Subject: [PATCH v6 5/5] s390: enable MHP_MEMMAP_ON_MEMORY Date: Mon, 8 Jan 2024 14:27:47 +0100 Message-Id: <20240108132747.3238763-6-sumanthk@linux.ibm.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240108132747.3238763-1-sumanthk@linux.ibm.com> References: <20240108132747.3238763-1-sumanthk@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: _DsiHH1N_Ho235Pge5b6vYyYryhMe_2h X-Proofpoint-GUID: tkx2ppUorBAaLtwggV-Cge4-INFHU70C X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-08_04,2024-01-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=743 spamscore=0 mlxscore=0 clxscore=1015 bulkscore=0 malwarescore=0 impostorscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401080115 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 d5d8f99d1f25..747d994c6dfa 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.40.1