Message ID | 20240621002616.40684-38-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 22745C2BA18 for <linux-mm@archiver.kernel.org>; Fri, 21 Jun 2024 01:48:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9F2368D0116; Thu, 20 Jun 2024 21:48:06 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 979768D0111; Thu, 20 Jun 2024 21:48:06 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7A4BA8D0116; Thu, 20 Jun 2024 21:48:06 -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 58C438D0111 for <linux-mm@kvack.org>; Thu, 20 Jun 2024 21:48:06 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id EA608140715 for <linux-mm@kvack.org>; Fri, 21 Jun 2024 01:48:05 +0000 (UTC) X-FDA: 82253210130.22.9E4DB37 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf12.hostedemail.com (Postfix) with ESMTP id 6F2B440002 for <linux-mm@kvack.org>; Fri, 21 Jun 2024 01:48:03 +0000 (UTC) Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=aIb6VgQ7; spf=pass (imf12.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=1718934476; 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=7JeBzaeHcq491tpoSsSSp7r/Korv/EUFDTbEVwfZL58=; b=55hBXU5Uapf6SFUSS0SLgc3rSJJlEWJqMkj6SBDk5T1LTbM+Rco/xXPDgiGXpBVK1hHcT6 iCTXOgTm64yqONY/2hMHa9ENSAI8PJp7YDCRFshEn4h5CSjBmAOiUyhBBFptj7BK3a73qc yEdtocfj/cmuFEIg6c95wrOkbvCUqms= ARC-Authentication-Results: i=1; imf12.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=aIb6VgQ7; spf=pass (imf12.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=1718934476; a=rsa-sha256; cv=none; b=sK4AlPu0ScY/tOYvykRA7i0QVWCLOrUvvRbpA181XKawqNY9pjyf8LYrhj6vWvLg4IEQdm 9cXbv9dds0YlA4CWtDbLXeGUQdpeoq9zertPCn7kk5kmyM+njH7uvBr7cnVvyF/AiaCP4o ec7bq9Q/27aykDoXjCj4TLkxCpYpP+s= Received: from pps.filterd (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45L0R0sb029514; Fri, 21 Jun 2024 00:27:13 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=7JeBzaeHcq491 tpoSsSSp7r/Korv/EUFDTbEVwfZL58=; b=aIb6VgQ7QbQ+a9f27FW1rXkgU9TI+ ac6E76x0Gb+1RLsf4rrhn5v57/TZ8hpha9wluSc2XzHDYUJ+dhRvbdcWaP+0b9mG i9s9K0NyJCazzyPww8pVRFgzGCSztyRcNxB7ihlxKH5EGIhiOkcek6PIinRW/q7a wKFEpsqk/n2Hx06TILHR9Onee+7xt5tZqr/aZkbR0ekQ6oimSvQPe9jxUnIPCKeD Jvxda/zp1osbnOcEQsjgk2AA3Lp0omBcjFsqS8uXi0I/k6B7RrS3mTQPTPs7zLVu OQgKw/8psjgw/Hlkm3JEIV5zUe4W2xQD8rYK0i4oRnvDw48pPaYunuMYA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yvw8m05kr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:27:12 +0000 (GMT) Received: from m0353723.ppops.net (m0353723.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45L0RBvd030721; Fri, 21 Jun 2024 00:27:11 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 3yvw8m05kk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:27:11 +0000 (GMT) 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 45L0GVt9025708; Fri, 21 Jun 2024 00:27:10 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yvrqv2nqj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:27:10 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45L0R5MQ46465358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2024 00:27:07 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3FC7220040; Fri, 21 Jun 2024 00:27:05 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1F5E82004B; Fri, 21 Jun 2024 00:27:04 +0000 (GMT) Received: from heavy.ibm.com (unknown [9.171.10.44]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 21 Jun 2024 00:27:04 +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 v6 37/39] s390/unwind: Disable KMSAN checks Date: Fri, 21 Jun 2024 02:25:11 +0200 Message-ID: <20240621002616.40684-38-iii@linux.ibm.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240621002616.40684-1-iii@linux.ibm.com> References: <20240621002616.40684-1-iii@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: Xga3aQKnQ9DmJLZYRCoEpzCagVb5KSSi X-Proofpoint-ORIG-GUID: 13yGShyYUNJcAcP9nVDWJR7b0NO4Emrp 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-20_11,2024-06-20_04,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 impostorscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 mlxlogscore=886 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406210001 X-Stat-Signature: dijwn66reyazdb34opta6cnqzb6o4k4o X-Rspam-User: X-Rspamd-Queue-Id: 6F2B440002 X-Rspamd-Server: rspam02 X-HE-Tag: 1718934483-396469 X-HE-Meta: U2FsdGVkX1+A0rY9sVFizEicCwVCLo8s9CcntDxFWFRM57/CIogxHu0orfO0BOAGLqOhQIvVjsgxOqm+5r173kENJZ9r6TkOPT7mFOl2qN6m4/ir7kzsOcUJR1ZE5YAKN+cmnL0wSPmktCdNAoZ6rmZi27xdyHky4BiU+MvrdsHgppWVkqtNiprMelKsUcgnbygVn9tFtLLzW1brJ/CWiaqI9ITg6BdSDU+ydkg7r8FnSqYB29RNd0HcUjYkVaSjoxfVs3Fy9QTPxlJ8Zr63FMEGVZ3hivDabDVGCjYdPjnHrkkz7rJP8EOV8eY68iy6hHDQEV3WxZQgqGMPNjvl+t8Gl6pY68WnXGsK7ks4jXaACWJ0O66SZfY7wV62rFs8UQgodZ32ggj43MAQ0WnWfjU9V40wpE5VklavHFR57Z5YOhL13BdJoWVFP1RpzT8Y1cS8wEr3vKXvVA5ZVpW06ITOtKRmPx+lIjOAsZOs1mpWVeRRaBoKQKuPJx0Nqn5Rgz77HJa82U4bIlNL8qLvGU1KH05+3vw9tsDvT+LkCgIGFPXRK66bCDiLkx0J/KzuyAXvEotDRBpCAqhFS1XKsReDuRlZO4Pz+GH/6AOfI/NPOWxp0ZXTbT83xcjkyty+g526iWUSY2RkiocUpe2Ixs6P5oVCfv69G7FUfL3NwCVbmcFlhWF8QTgPoqWJCuSyNgxYSkhVTgkcZOcXkomIwqTAid5yK9zuiM0MtSH0NOoSjh36QZcPdbEk3dj/2c/WukZ9MDxd69ELoGQZdHumtTHU5HgRiuFD3vwN/9FLVHn1Uxou04OE8mS7lL3PyVEZnS6W43V9Td8GI3xqLyYDLenZjpNPHWBpwo4TY9k/kqpj4scdxhZ+4d4tmImXHn/cKILLgpGICgJMOgVXedLAXInF8PI/CnBsOeQkjc8iPX67kraAnejBLITL9rsE+35/MmKp12wxdGTYoeVnONG 0E1VbfeD G9spI+Z+6svwra9BRkcBKiN3ZBj5+9/EF/HylsGbZAEvF3U8pVWLffKthx1kbI3ofliGLNR5u2YSVuL1sVziFyBioyJMlOfXNk2wCOtRr89FaUsXbAyQbWUuzEA5Z0i68kJsZsxFS2TyUzYBMBmZ91ksMsCVnOkEctGEqfB2bO7mO6W3aUDv6lqetzL48TvpRsHJXZAPl2idHGo6ulGux3T0qowXftxLTEf/Ct0I37TB85ssbeKj8skRYPffjVrQt36uJ7n25xARv7J52ivSPNNloCtK9gak6Dy5zGv7kTem33C5EVj728+ihDnRu7O2hGhdxoA4BviJPx8FT/DpMMyUrV10q6qQzQff+tdjiHsG1yMA= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, 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/kernel/unwind_bc.c b/arch/s390/kernel/unwind_bc.c index 0ece156fdd7c..cd44be2b6ce8 100644 --- a/arch/s390/kernel/unwind_bc.c +++ b/arch/s390/kernel/unwind_bc.c @@ -49,6 +49,8 @@ static inline bool is_final_pt_regs(struct unwind_state *state, READ_ONCE_NOCHECK(regs->psw.mask) & PSW_MASK_PSTATE; } +/* Avoid KMSAN false positives from touching uninitialized frames. */ +__no_kmsan_checks bool unwind_next_frame(struct unwind_state *state) { struct stack_info *info = &state->stack_info; @@ -118,6 +120,8 @@ bool unwind_next_frame(struct unwind_state *state) } EXPORT_SYMBOL_GPL(unwind_next_frame); +/* Avoid KMSAN false positives from touching uninitialized frames. */ +__no_kmsan_checks void __unwind_start(struct unwind_state *state, struct task_struct *task, struct pt_regs *regs, unsigned long first_frame) {