Message ID | 20240613153924.961511-34-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 9E0C6C27C4F for <linux-mm@archiver.kernel.org>; Thu, 13 Jun 2024 15:52:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 1F49C6B00AA; Thu, 13 Jun 2024 11:52:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 1A45C6B00CE; Thu, 13 Jun 2024 11:52:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 045816B00CF; Thu, 13 Jun 2024 11:52:38 -0400 (EDT) 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 DAA0B6B00AA for <linux-mm@kvack.org>; Thu, 13 Jun 2024 11:52:38 -0400 (EDT) Received: from smtpin26.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id E4B47160213 for <linux-mm@kvack.org>; Thu, 13 Jun 2024 15:52:37 +0000 (UTC) X-FDA: 82226307954.26.5D82F4A Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf03.hostedemail.com (Postfix) with ESMTP id 1561120007 for <linux-mm@kvack.org>; Thu, 13 Jun 2024 15:52:33 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=RsI2daEi; spf=pass (imf03.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.156.1 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=1718293953; 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=T8yecchFMSQ1KRSXWHyOhrEl00DM05qeFywMt2zj7C0BUYwkiQe3pxPkdD225u5QobZSq1 bA7Nzs/iNBHUqG2igkd1pxMCuI/a1nfs6POnrCy19FteXsOxkdqosaZeitPDFHSMvNHcSe TqGaczTjvIx60gbjdq6d5gOiKBxFvac= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=RsI2daEi; spf=pass (imf03.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.156.1 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=1718293953; a=rsa-sha256; cv=none; b=0b/rIrfqc0VK1bHZZy+yW7sS5X2twNLpbj7ikjc0OJfDYnI9NVLyXAtzE0y8Zkpw7helKW cvQ7rVdNS/tk68xeyDvAejLhHwXv/g9G9lWFsIcQSUv2nVs506cIVGGTRH49AINquJjqFq tftEenOijNMes6bRSC8k/QzMTeq4pEQ= Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45DCR4sF031250; Thu, 13 Jun 2024 15:40: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=7JeBzaeHcq491 tpoSsSSp7r/Korv/EUFDTbEVwfZL58=; b=RsI2daEiF9ND3bNcAH0qXOGCmYhas LCtgBfZijDXKU00NNeiTkSbgQ34bBCfj9oopPoOSmu9bJ6QMiy9HzNzidmNIveJ3 MQkK0TCpzk2EU4Bf8DGL6vLnEapa51pVXH8tUdujAr8k+mT5hNF/eDBjMo2b50Qo s4455qCrnxey33CVjAlKgtSMS4Za425EG9cESZr9TuaIwcL/6QU7YYeZMnH7CRgm YxFUslJ5ec70Dh0uatBhqYMJwFE6BeYxbaD3lunKsO7VMlZvarForJ68LE8GPmKm Rx7ElcvsW+AEDCLuxFxUWWy0gxvbYPeRKj45DpBG+6qecSsnFUzVICm3A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yqq4rt37v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 15:40:01 +0000 (GMT) Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45DFe11d026967; Thu, 13 Jun 2024 15:40:01 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 3yqq4rt37p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 15:40:01 +0000 (GMT) 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 45DF399g003886; Thu, 13 Jun 2024 15:39:59 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3yn2mq918f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 15:39:57 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45DFdpLh56754580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Jun 2024 15:39:53 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 184A920063; Thu, 13 Jun 2024 15:39:51 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 99B2E2005A; Thu, 13 Jun 2024 15:39:50 +0000 (GMT) Received: from black.boeblingen.de.ibm.com (unknown [9.155.200.166]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 13 Jun 2024 15:39:50 +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 v4 33/35] s390/unwind: Disable KMSAN checks Date: Thu, 13 Jun 2024 17:34:35 +0200 Message-ID: <20240613153924.961511-34-iii@linux.ibm.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240613153924.961511-1-iii@linux.ibm.com> References: <20240613153924.961511-1-iii@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: MBiMewjTh2VDm9je00K5k1pmxCgmdgTt X-Proofpoint-GUID: cnW0ACph4WoIlEz2MYjl9fcGbGh72JK_ 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-13_08,2024-06-13_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=896 adultscore=0 spamscore=0 mlxscore=0 priorityscore=1501 bulkscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406130109 X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 1561120007 X-Stat-Signature: tenbg84nutgd7xwjk1973h6ynrxxwcsq X-HE-Tag: 1718293953-127859 X-HE-Meta: U2FsdGVkX18yQBMzeDpMV8dHRjCB0FT2uKB1GX0FK1gKUZaIb8aSHMYQuAxqkd4ZWZY000BrkXlOnK0lz68i0vUgDazCPuadGmH8yWyHHvkhoAiOK3svP3Ln72bRkeo9xyig1k2qLAgh6pAYx31yWkzq9YvEVBvIawoJMH9AU9688hr5ctZC7gb52bh9Q7radyCEQADs6PmNXALBdJdbytM1NPjDtzxh7F6QeLIsuXYiO+ygcarfiv6wdo+3NigN6JwfVLMwj76iF01PT587UIibZNGYjhX17qxvTd5tGhrEbuVWWNA225xE9ZaRn8OMeo0hCgmD9DOpqkfrUzqZjsZq3dI0ntn8WHoOCSU7pR2aDkw2Yzu+EQKe2dqLZNO54xKGtSkVGiVDnCDPh4SAnOx129iW+HORQOzg6hYccUon3GlBcjLcPC983c1xsVlzR6nYr08iF1YWjUxSqFuIruJpMrazPXBo10sP51vnQj+fpokE3js4NMkhliyYhSUfp5mWmAseozYxRayICN86WQ4aIOwWkJqfcOc8fKOcI703qsaPhmqt5ANJ07cZQ+kHKO5zpnttyP0Lps3r3h5txpAnedvbr5xyXuoJjFUWVnZYikNlhwcoRYjD9voyLHeEge504QdWe9furuB26goEWwlZwsOXzLQgIUynGHZhbZusTmMK9VisEiGfOG8Gs4YpsnIhpYqrp3D4VfxlTfbOtvH1gpT8E5ygl6hzHdTZL3kV0GtXTP54Rd1/dR7IrRNJta5YVLQJn1/NOBilYJ6n13ff+bZT1aXgog230yCL1mDEKqbSVTkMApiZTdxs1gEW7yqtlpVxpJrDVNCAyigdAhSTADSeEoz0MDEYDLw2Fir2ZY5/kd0ueyzXQRAKqlAdoGJDNkIFuxbr8/UwqgnvOZf0sVknupj5JoQkzlimodluWvMOjepOlYYeZl3ojCDZFFrtZhJQfmzVJqm6jkt 0QWzGkD1 4gLgLEkh57Bd29n52+tIWPdUdPpSt7e+XzLdX+uaZGAU6l6IIYEqUip8BMYFZ8s4DKCHEdLWQoMxHSrenDCSVOR7EZsbGTB/yzzGgTQ+Eauoec9h5FspogDs9n1WpcSiV4nf4akTxaanJzwVR9CmE6RalidmyqLg5XKjXwiTOfLK6lrpIWrgmF1kpWoEg8oi9d4JLxIQMOLr1hFyzza9mBsbYpRUBko8SSW2ktypXx/yQ+HpoTgX7dj3UeRqJbcOzLZIzlhORMzMU5ljC7xyAzA7UHQ== 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) {