From patchwork Mon Nov 27 08:20:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumanth Korikkar X-Patchwork-Id: 13469260 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BAFAC07D5A for ; Mon, 27 Nov 2023 08:20:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7EBD66B0318; Mon, 27 Nov 2023 03:20:38 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 718B06B031A; Mon, 27 Nov 2023 03:20:38 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 592A46B031C; Mon, 27 Nov 2023 03:20:38 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 459D16B0318 for ; Mon, 27 Nov 2023 03:20:38 -0500 (EST) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 247BB1CAAF4 for ; Mon, 27 Nov 2023 08:20:38 +0000 (UTC) X-FDA: 81503037756.09.F6262D4 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf22.hostedemail.com (Postfix) with ESMTP id A2F17C001A for ; Mon, 27 Nov 2023 08:20:35 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=bEba76+w; spf=pass (imf22.hostedemail.com: domain of sumanthk@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=sumanthk@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1701073235; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=VVtBHAgbLKbJwKCdTkswyGCbNkhwPlVjeKakadfoyQQ=; b=BvgsQ2+H53hG4u2Bfcov3XXxuolCwKV3xymclcPVCJIgmHxVn6dM6C3ivuJszEdUZsRADB gXDndtBH4xQWfBNe9z9+oPLAuEWxZju+spCxUqVaNWihucPnF/J6tHxMWYtdFe1K4MOlJy UxO6+xuRIuu0lwO0rf4iWLFpargNJbw= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1701073235; a=rsa-sha256; cv=none; b=U/cfKJKtm5z4W6T+hGISnIpuFDzrwr1BF++j4Ms3gIkYW0S/0MrPQ1tkwPa3GMHK+qfVic c1mXx4+0zl6vz6ioDtiutLFdRHKktl2py9d4Q+g7pZj5g2wYmhvwlII5OiUCoWz+jgwy0O JTNG4hFS361s+ovWM7Fgtg9ClTsFUeo= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=bEba76+w; spf=pass (imf22.hostedemail.com: domain of sumanthk@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=sumanthk@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AR6dFDh010309; Mon, 27 Nov 2023 08:20:33 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=VVtBHAgbLKbJwKCdTkswyGCbNkhwPlVjeKakadfoyQQ=; b=bEba76+wkHM8HXSWFmi2BaU8x+88bBaILVm8Aup3+DpGnp5dlvofkDIrP/w8jaMb0jdF JfX3zJ1w1CFI37iSaflhyy49ptMV7dGW3UFRYQTHrlADSSUxwVUGM2eNluwoCWeTHTyE TVtTT2XoObeYq5XuIl4aAAN0vM33E/wbbE+bVkrL2K+Whll/vTA+Txxq8Z8IRevvHYDQ 9LsHNp3HxQqFLzXygUuvbheityJee6PagHiTiKdqiI6DNGhtRA8iTk4sX+Q7NVc5pWst C3unX1ttbh3Ew5tfA2L883Npo2/dHAbrNmdVj0dharblDLt6YODCckbzrtkIYt/lJ+dD lA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3umjn5enkm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 08:20:31 +0000 Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3AR6vwMc000756; Mon, 27 Nov 2023 08:20:30 GMT Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3umjn5enk3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 08:20:30 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3AR8JQhe024798; Mon, 27 Nov 2023 08:20:29 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3ukwfjpwxf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Nov 2023 08:20:29 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3AR8KRTR21299782 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 27 Nov 2023 08:20:27 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0912C20040; Mon, 27 Nov 2023 08:20:27 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 98BC720043; Mon, 27 Nov 2023 08:20:26 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 27 Nov 2023 08:20:26 +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 v3 3/5] s390/sclp: remove unhandled memory notifier type Date: Mon, 27 Nov 2023 09:20:21 +0100 Message-Id: <20231127082023.2079810-4-sumanthk@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231127082023.2079810-1-sumanthk@linux.ibm.com> References: <20231127082023.2079810-1-sumanthk@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 5EEkk_6-SZhQagXPc5J04qBLLTBx-fkn X-Proofpoint-ORIG-GUID: VdcHQxy_svZgW537ilhlK5PSyE2yKod9 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-27_06,2023-11-22_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 mlxscore=0 phishscore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 mlxlogscore=732 adultscore=0 clxscore=1015 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311270057 X-Rspamd-Queue-Id: A2F17C001A X-Rspam-User: X-Stat-Signature: 7oqqzcu13yt8h9d45gejohfiefocarja X-Rspamd-Server: rspam03 X-HE-Tag: 1701073235-577946 X-HE-Meta: U2FsdGVkX18g8TAzAuG5Hf1hV44F629FSIOu95iaGZYMnMdN4atd5kTalzEMKcrewxo6oYxcv52Q+xmSUY2dOTugEMMcUY8odw/M1elNEvzPtBODwN2hCq5vjMK0Hf3Uzp6cv61Va+Og97ffFuQN/Okj+gR37XmneRBbRT39SWllhEXbhpKpoyRLxh391tbQlxvR8BBawUTpF9sKCwumo1x5eOJu4c3uUeFMf4dQlr3pxlZUXUMxTw/eYx92udVrUCe9naULsoaANrWBwtMoBAXxyAEMTKV2WIJ+0vtOk3AFguGy4DBttoKc0gn0U692SHftHxQcG4EygPWF6eoIhhb/FjrBfYB/UMO4P2wbyiUb/wsm7EAyGAsUJaFcGu6hW2vQJyEFkZ9yZR7mgSgSP1dzeovsKI+fvLKXr4tGjN3zWbx82GvYpwVhMxXaF7fRa+eld0u5d/Hh84p1Ws66DFwDWJJvAKX7gCMtHpHd5tOYAah7ei18HUtQv3TnifPW0U6a+Pg3pTflbeDgpV+VoFjX+y7KyzJVkVFiviwXBht3EcXGlZCd1wj6h4WeUowrWjTKYmK5oJdVs3fMjQ8duxg17+Gs+1cx4SKv1kt0YnYgfCjCWVoA428X5Y2MGO9YYuUwSjvTB7Np/Z814vXfArtKmD7SoBqks+b6iCHCfdtlPM5Wx9B1axcY7kHWW21iHe75AsLwiNuxV2PHDJWiItwRUaTqD69s/LCT7OppdDmROxz7XEbgIplN9ZAiWEMLa74oWp5JW1fmqhCxr68Z2Y+4PH4ekTTeimiHF7/TAp66WRvYwyOVO8St8AuENjO8If1RbtXXiJcf1yVo0VU6lXG0w6VfaV38DzqSaoRSEpSFMWANX9S5nAYK37FviDyk7jtIrSdLdEuxRtQljdZiQ7DIuu4D0XK4Bo5ib3OTl3n9ZoZE8plTMzZSqHFNnbF5sJrw3NCaCK+NzQGlRi2 T97DNgK/ kddk6YirgRr2GhTg8gb01DdWe/Q7DZQ1xDtKrvl+nzk5iwSY+cc8sDlxzK4e+tt/r9UKb0da5+lmQD9KYKGgM6XfYfRxnZNnJeUT+pIt6T7g5EN1tS1K+NNpYv6irKgb6zEGpgwHKPVbDwwKM9s6km/lHfQ9VHxjakaWhEJ1iFISBphm3klxJ23BMwrSQhBbNdfgmgQWkvmMLxxMLn87FQuSK2dac9K1FX34kULjccdkuVF4= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Remove memory notifier types which are unhandled by s390. Unhandled memory notifier types are covered by default case. Suggested-by: Alexander Gordeev Signed-off-by: Sumanth Korikkar Reviewed-by: David Hildenbrand --- drivers/s390/char/sclp_cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c index 11c428f4c7cf..355e63e44e95 100644 --- a/drivers/s390/char/sclp_cmd.c +++ b/drivers/s390/char/sclp_cmd.c @@ -340,9 +340,6 @@ static int sclp_mem_notifier(struct notifier_block *nb, if (contains_standby_increment(start, start + size)) rc = -EPERM; break; - case MEM_ONLINE: - case MEM_CANCEL_OFFLINE: - break; case MEM_GOING_ONLINE: rc = sclp_mem_change_state(start, size, 1); break;