Message ID | 20240619154530.163232-23-iii@linux.ibm.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 92DFBC27C53 for <linux-mm@archiver.kernel.org>; Wed, 19 Jun 2024 15:46:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4C3AE6B02CF; Wed, 19 Jun 2024 11:45:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 41FBB6B02D7; Wed, 19 Jun 2024 11:45:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 24B3B6B02D8; Wed, 19 Jun 2024 11:45:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 058076B02CF for <linux-mm@kvack.org>; Wed, 19 Jun 2024 11:45:58 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id AFD5A41425 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 15:45:58 +0000 (UTC) X-FDA: 82248063996.22.2227999 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf14.hostedemail.com (Postfix) with ESMTP id 4EFEF10001F for <linux-mm@kvack.org>; Wed, 19 Jun 2024 15:45:56 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=tmoStW2+; spf=pass (imf14.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=iii@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=1718811950; 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=EM2Q29X1oynbiWdgAiIUaE04pJnjihVfcXc099lsq1w=; b=Ea9T5T7RKOH5vfFY8M9qK+7nNiaNN8IPbXSgNKS4biq2rv1CdYWblXrtOvcvolti9Bisa/ K/OzOQXcB+UrN6DxeWWuw/mh3W9H8zdecz+Ee4r5V0xhz5Sy4XvC3wP6CC9pARFK+ZqZCU ypU/iWkrl8r+9p5HDZHSdbKwsrYAP+4= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=tmoStW2+; spf=pass (imf14.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=iii@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718811950; a=rsa-sha256; cv=none; b=D6b2Js1ZNPcHeRPJ2NzHXvTctfmBQzjwWjswVau1yt+ZNefkOoHEk72p0ajGFyrHuKdlDa S7QKmVsKGaesgiIWfW3J5S3Yy40SrThPP91enJAcoeSuoJU9xepqkoI/7MfbRRqz5Nqj4y fcmni36ki4jcwpfVLjQfs2hJIIselrk= Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45JFTDaF014358; Wed, 19 Jun 2024 15:45:49 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=EM2Q29X1oynbi WdgAiIUaE04pJnjihVfcXc099lsq1w=; b=tmoStW2+D5+3fCrZur0K31wE+JLdD He+kd9vjUgMVn3dBBD+UCaw4wH51pLRE/I8Uyh5SLoKeW+E3u338jn34U0v0AgVS nLIEt7D+pC58y/1SB4HL94+Wzw13O07EHIGvMvOjtzujjrVy0DNOf1K2cBe17wEk DhH1JSUPRicf7KxxBJayoMSvq4sv/lQMJfuXzYAknfxkQScBvdGRD8Oe9U+287xV uyCEwHcOvgDrFGKzmWwWOmAlNOiur35+E2sk1V0G1rfnoudk7ExGHa8kG+9d4wTk 4RX4fTeJ5iDlPtdw33+3XPUN09I1h3slDNjQtc21fW6KPFtxswO07i56w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yv20hr1f1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:48 +0000 (GMT) Received: from m0356516.ppops.net (m0356516.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45JFfAZ2000738; Wed, 19 Jun 2024 15:45:48 GMT Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yv20hr1ex-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:48 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 45JF2MxA006136; Wed, 19 Jun 2024 15:45:47 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3ysn9ux8my-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:47 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45JFjfRf52101430 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Jun 2024 15:45:43 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8323E2005A; Wed, 19 Jun 2024 15:45:41 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 34F812006A; Wed, 19 Jun 2024 15:45:41 +0000 (GMT) Received: from black.boeblingen.de.ibm.com (unknown [9.155.200.166]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 19 Jun 2024 15:45:41 +0000 (GMT) From: Ilya Leoshkevich <iii@linux.ibm.com> To: Alexander Gordeev <agordeev@linux.ibm.com>, Alexander Potapenko <glider@google.com>, Andrew Morton <akpm@linux-foundation.org>, Christoph Lameter <cl@linux.com>, David Rientjes <rientjes@google.com>, Heiko Carstens <hca@linux.ibm.com>, Joonsoo Kim <iamjoonsoo.kim@lge.com>, Marco Elver <elver@google.com>, Masami Hiramatsu <mhiramat@kernel.org>, Pekka Enberg <penberg@kernel.org>, Steven Rostedt <rostedt@goodmis.org>, Vasily Gorbik <gor@linux.ibm.com>, Vlastimil Babka <vbabka@suse.cz> Cc: Christian Borntraeger <borntraeger@linux.ibm.com>, Dmitry Vyukov <dvyukov@google.com>, Hyeonggon Yoo <42.hyeyoo@gmail.com>, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-s390@vger.kernel.org, linux-trace-kernel@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>, Roman Gushchin <roman.gushchin@linux.dev>, Sven Schnelle <svens@linux.ibm.com>, Ilya Leoshkevich <iii@linux.ibm.com> Subject: [PATCH v5 22/37] s390: Use a larger stack for KMSAN Date: Wed, 19 Jun 2024 17:43:57 +0200 Message-ID: <20240619154530.163232-23-iii@linux.ibm.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240619154530.163232-1-iii@linux.ibm.com> References: <20240619154530.163232-1-iii@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 1L_rd4V-q3KJB_LuDa6HoaqIhgVGw1oi X-Proofpoint-GUID: 7q7Ag0EXzQKdAbKqsJ0CObvDzHLKczZ_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-19_02,2024-06-19_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 phishscore=0 clxscore=1015 bulkscore=0 suspectscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 mlxlogscore=869 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406190115 X-Stat-Signature: su9sit6icwzwnggb3bbj8basdb8x5kek X-Rspam-User: X-Rspamd-Queue-Id: 4EFEF10001F X-Rspamd-Server: rspam02 X-HE-Tag: 1718811956-511475 X-HE-Meta: U2FsdGVkX1/dyEKJkFee3soOZYKI1xNWH5XSy/5Kbaznper1hyL9fad31i1ffAV97AzR3bVy4a0nzadJRhBndOi8fce786liXYrNQLYogrS33rZuyZEY+nvWOEWwenU5J17cRum7ucZHomuNb51d9HdnuRvMhOyQy+z29XCuap064xtfUN8iGDkHK7R8OZ+Qg2hwkPdxiF2fvWfFsAiaghM3bIAwSksorq99nmRu/tLTfbt28lJCqk+XB16zt1f2ScCYNgZB6skOi9vDgmg3eyd67pemjJZ6yW0rsAFSo2TC+pXrmbXx6hyo96uoYNWjQZGRJW+ATzkt5nC8+UVpTOz4J9tVf/8RZUvifBRpdK2JxSuZ6Q21j73YRyhMgwyoNxJK59P9waCA0W9MjOKbicR3t5PgEe6jIKV/GGP4NkUsHiYTvgCexRq1OrlbXi6NUjkC9KE7qj8AbN8Yu6WjizS0JAm6+exxEElRGYU1mbjhxDlQp5uuaJNOwhOIihmBLZXsM+PtswRSIFuDg7/dD/A9jUNdsrRaQpqGOTqYlX/YQrGdCrDYJmUu+wZPDeaqc/oJepYR9Hy4cP+VsJijtFas/PA6dCwshf4q0GmuHgfpA+/rz/Ch7FO+Att1qV1vx5V0O6za2bA1cMRoodJQGRX65joaGpDljvrmxDozJue7Yugfw9DbV0A7NvLiJplHmFs9cu/vYajSK+6oqhws6/SFEvWRmLpaD2o4l16q7Er9Ieq08xcUjFcjqF/Abg+D5QHPBR6N+XiKm+2XL0x1hzZCRhgcAuRx7MW9X1jhiXlgURCp+xtjIbvf0ThlXrWxhLI4pvZueZm7rZJV9387UrChNlGvs39AoLAIpR54vQe8xfuNBOHVr29Ns7nhmJ19//Q2kyZrsA0Y6YiHPcR8l4EIluBapvG67ADnezbLVZOIcVJWV1qb6lK6qhdUd+GqiQ48u0H4phPe9CP3M9R EMIgFvwe g+8RCbTxOxfF2eObgxmmOSHkP2efaBcqMgbvFvzIpp+9xTqjRphzMkGEVc6+6d29mm1F83X3DsfvsP3FXoekb2mP1TQTmJed1pR1ia5DXRnA+nfhatGJiIlzIjeBgq6I4rIwqofNf488QRwj6e41ZgDQNAoviyikizS6bFJj6D/vsf23Qsw56LgvWcQwig+RNZNj0nDVJHLuS8efFstsLcu40u1dAG9XFJI4/taNT/G/u0OnVzU2vxmyTKQiNdGMCVezw6QTrU7mA64er5/f4HjWqC84/AeC5NmMfnRHvftHk6uwMsAvU8EcwMsNJ8gZ2Z/Bm9JmrbKLa6CkbrWcLDQzuZo82Ni5DCv5/yZDa+sm9Lzg= 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: <linux-mm.kvack.org> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
kmsan: Enable on s390
|
expand
|
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index f2b21c7a70ef..7fd57398221e 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile @@ -36,7 +36,7 @@ KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO_DWARF4), $(call cc-option KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_CC_NO_ARRAY_BOUNDS),-Wno-array-bounds) UTS_MACHINE := s390x -STACK_SIZE := $(if $(CONFIG_KASAN),65536,16384) +STACK_SIZE := $(if $(CONFIG_KASAN),65536,$(if $(CONFIG_KMSAN),65536,16384)) CHECKFLAGS += -D__s390__ -D__s390x__ export LD_BFD diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h index a674c7d25da5..d02a709717b8 100644 --- a/arch/s390/include/asm/thread_info.h +++ b/arch/s390/include/asm/thread_info.h @@ -16,7 +16,7 @@ /* * General size of kernel stacks */ -#ifdef CONFIG_KASAN +#if defined(CONFIG_KASAN) || defined(CONFIG_KMSAN) #define THREAD_SIZE_ORDER 4 #else #define THREAD_SIZE_ORDER 2