Message ID | 20240619154530.163232-36-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 02962C27C53 for <linux-mm@archiver.kernel.org>; Wed, 19 Jun 2024 15:58:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5B1B18D0083; Wed, 19 Jun 2024 11:58:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 562BD8D0082; Wed, 19 Jun 2024 11:58:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3B5B68D0083; Wed, 19 Jun 2024 11:58:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 172D18D0082 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 11:58:45 -0400 (EDT) Received: from smtpin11.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id AE2631607C6 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 15:58:44 +0000 (UTC) X-FDA: 82248096168.11.6A562C2 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf07.hostedemail.com (Postfix) with ESMTP id 5C1E840006 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 15:58:42 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=JEitRQTl; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf07.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=iii@linux.ibm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1718812713; 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=B/6A1JljMRYiEd6/MYZ/az7GkGpzZY9cMbJpMXhvrsRBr1qKygJ1Aub6WsWOEXJBA/e8DA fszFRGgi0HQ7fgnFU2ii1hH+mf7xcKj+E5SfriQwhuGJPcUAqncBJtSpKHpd1/whaIMnmA Rrp6UnzQrurwZ7iiuiF4nukYPQWo9ts= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718812713; a=rsa-sha256; cv=none; b=MB5kQD+UG+QSIr6iK7jJdDgPIkbOHDldIegY29dvIvQMFVrfu2xfXakpapb3yKuoi6b2cr gIPLDV+0bsIadvnbLIk3wXI6lkBIa2H3LUKOSwMCrkXv0Ls+nXHO5jjzF5lUSrazYjhluf VBNRdgA7AJ3Xi/TfQImsM2fPenPQeZg= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=JEitRQTl; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf07.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=iii@linux.ibm.com Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45JEwexA003074; Wed, 19 Jun 2024 15:45:54 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=JEitRQTlHaakFRUEKCMQFkf+eLXFu Bh8Doosio+OCRElSZ5ZbqVkl3Fx8+X0mL9Vv0RW1kxzKtMZPQU4THcbtaVpMCMd0 gO+JMeYhXvGTPzg2m+697sJAihcwbJuZw4hJyFKzfIgYpXFCKvZAPVsbMvFyqMq+ E/hIinZZdaHp3nY+G+HFK7Qy/Y1l075J2s5FKYFwt1XwvsdQU44OMrDQFDJOuv1z y0+HTLp3zokG+te/84gjg+holiuipajGacgu0qBBwWzqmVKQHs7Cp9mFyAiu/odA fG7xnbhvuVS7racfpjtGv8OIdEh4esPBqRGHfEKaVqx5DPjEsj4XerAJQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yv1jg854d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:53 +0000 (GMT) Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45JFjq8B016396; Wed, 19 Jun 2024 15:45:53 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 3yv1jg8548-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:52 +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 45JEN1Zp009422; Wed, 19 Jun 2024 15:45:51 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3ysqgmwmp3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:51 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45JFjkcD16515562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Jun 2024 15:45:48 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1258E20040; Wed, 19 Jun 2024 15:45:46 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B7E8C2006A; Wed, 19 Jun 2024 15:45:45 +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:45 +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 35/37] s390/unwind: Disable KMSAN checks Date: Wed, 19 Jun 2024 17:44:10 +0200 Message-ID: <20240619154530.163232-36-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-GUID: wuSJifTVMkWwcUJW5ETMmMRM2X1r_jtT X-Proofpoint-ORIG-GUID: JX2DUdO-peLzJHQPotyrL20VIX6eOPir 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 mlxlogscore=886 adultscore=0 suspectscore=0 spamscore=0 phishscore=0 bulkscore=0 mlxscore=0 impostorscore=0 priorityscore=1501 clxscore=1015 malwarescore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406190115 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 5C1E840006 X-Stat-Signature: ks8um7hxeb5f64e3icsc7zutpo5f3t4r X-Rspam-User: X-HE-Tag: 1718812722-345207 X-HE-Meta: U2FsdGVkX1+lURghrEshkMbybvjc/Lpf8VEzbqPxopnG0+dKIg9qsBRGass7IBIuSVgYXoG8BtHUa7SCpAeh/o9F3tcQOejj8viYv9plC2tP0eTebnqAHQAZ2E8csk+bt6w/h0bwOVvz2YR5jHBuXncwAONZ0NoFYDehNCGAtaWsIWxHsI/5hi+/N0SBuKRh+qch6CStktiGT17JPaoBU/mySqzLq6QrX7viYo+cd3Dev1ODb8VctGjlshJ5wB2Jp42wPevpvZa7kU+s8l/jOBJUBewk3b0+5KzekXkALx/+2VypDsjUGrHZqL/keKsV+g4Dcn0hatVW2LgfB1cRu38Mmww/5nTBxGdJ1P87oo8Dbj6iqjQvwdwZQK/Ke8Cm9HcDTfLgtDMvpbDupUHJMIMDX5i2c1AKsKPRxoE3J/DpHyZnaE5eO0gG0AjOFgBqd4jiX4eQD+o4BjF+40pO0VdG/EeM4MLVsTPcDMZXEFlDrA8Rk70ZUsDwmMV2ldN9XHAF447z4eS+UkMG+I6l+RlJIk0O9i0cSqAoiN7KQTdhvxM2OHkVymnQNSPB14+GCmFGyTWYG1LG+6c7gRLAPzbRyO2RNd6Mdrdux0nFeAi7R9BJykGMwuiWEZr0ymaaQeS6UlXEDYSTvJSi2ojbESP7OTWvYbGUlxOt4EWf5o0OrQRrNo9g0B41Z1rr8TNZ4bxxeU9AE53s5/tkcigzgxdH4q3KCkmKcsoDJhjtHoXGeCf/52PZF+V6Qf0M6R1iX0fRDJMLp0sr1YrIFWh1VwHpB9K9/ZUAz4VI4vH2hW2WTidKVONyqtmqV4Jc9en6kznsH/G/BO7wCNqVaQSch/1nce/pYHuj09AdY1aj5VdDlhaf1bH1u3cGN6AMbSdiswxzq5d0sDc4wGMDE4u08foFLZhV1LIcMAKLxSgadMl1fFJVqnulCWxv6xBLC8Bf+cUP8ZTs1bWj5iCPY4F Hw8G/eaH b3ZXQ8JtfM5Wa7Lyfj9gzfoXe7RlRpETOgXMTHHRPW14jW26tZrBC2gUWf15d07sYNKFJaJPASV6i1ouCntL8j2ZOcGj69fp7Kkn8NH86AI0X141EvvYA9cSZ90UGaaV4Yc8hKoMxWxGBZxKDIom6q+m6OMtWV4x+Nfg7lb49M2piJ39X1C9xjBinLzba2NT0aKtIuBXbisEaa++txReBRIj+zYlG+aZ0UR58S2SOWrvs1yVxVZRe7N3f5l9zon/AhmSB9A9f9dmofP0AHBTkk2q6XN99MWC6AxZCB5rohcM3EMdk93GKveqq6/HAhQejr7fNZvPnWk/vKf0= 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) {