Message ID | 20240621113706.315500-26-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 5E904C27C4F for <linux-mm@archiver.kernel.org>; Fri, 21 Jun 2024 11:38:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 398F38D015E; Fri, 21 Jun 2024 07:37:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 323248D015B; Fri, 21 Jun 2024 07:37:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 03EE18D015E; Fri, 21 Jun 2024 07:37:40 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id CFE678D015B for <linux-mm@kvack.org>; Fri, 21 Jun 2024 07:37:40 -0400 (EDT) Received: from smtpin24.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 91A8A1C1FD9 for <linux-mm@kvack.org>; Fri, 21 Jun 2024 11:37:40 +0000 (UTC) X-FDA: 82254695880.24.2FDDA10 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf25.hostedemail.com (Postfix) with ESMTP id 63A63A000E for <linux-mm@kvack.org>; Fri, 21 Jun 2024 11:37:38 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=chlTLdV8; spf=pass (imf25.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=1718969850; 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=WE3ASvt90HWWKhjLUTLn3R+jUtOfzIMMtdYDGL1//DQ=; b=WE94NadN/145w09zemg6H4i4qbOX9JDXIS/pm6bSVx4UYWClJEvie/6KvgA9280WzTY7vK O6xB1tDs8DdUPjDVR1zIThi3IqckeyTJ6n5bAePH05GuLY40e+lygH9csRZ2zBMQPNwPcz VrLRJ59rWeSPCBUgQ6MATANym9udknE= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=chlTLdV8; spf=pass (imf25.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=1718969850; a=rsa-sha256; cv=none; b=4KLkd+88RZlG/hJ1M7lFm2081PDkhATtsQr6eQfPU4sb6GurwDlMOdosqT/4IM1CF5/DMq j6vJsphDJ2Ay5MQgO+2S/6lMNd4ppunD8hcaRu0E3lz/CGpFam/8Pn9kwcO9sUyDiVZJui +QBNXlqK0GIVGx3xwZpsJP14mnzFniU= 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 45LBSmdx031827; Fri, 21 Jun 2024 11:37:31 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=WE3ASvt90HWWK hjLUTLn3R+jUtOfzIMMtdYDGL1//DQ=; b=chlTLdV8G1iPoKwvZAkAoT2RxuLXS W0ib9MQgeyiTeu8qIDK/FwH6cZPN9iBilfFRWKcbUw3VJNmA4+vLnTRqHiAk2Skl KwxbbdftxY7zU3aDeR23ahAtjlvVs25OmeinjtIctNlOlvAnyilEUPAO8OWiILfY LFU+Ws97ay7Mk+fW2lmB1ohbA0yrr2cAJI+vLS5dLy1jeFul845TFSIfkVMBooB8 DzJDWlDW/f2j8dkAgzKoJTw9ZX6L7qQBFbYZM95MjOpCUaOmjSjqB0pa8Br/nmwg NZaegK0i2N9C59pS5JhbrgMlWHktODCA1D1LkLNJPUpgqSev0K94YGU3Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yw8p2g0k1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 11:37:31 +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 45LBbU7X014293; Fri, 21 Jun 2024 11:37: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 3yw8p2g0ju-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 11:37:30 +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 45L963JM025654; Fri, 21 Jun 2024 11:37:30 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yvrqv6w07-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 11:37:29 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45LBbOTv51970338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2024 11:37:26 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 613F92004B; Fri, 21 Jun 2024 11:37:24 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CBC1820063; Fri, 21 Jun 2024 11:37:23 +0000 (GMT) Received: from black.boeblingen.de.ibm.com (unknown [9.155.200.166]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 21 Jun 2024 11:37:23 +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 v7 25/38] s390/checksum: Add a KMSAN check Date: Fri, 21 Jun 2024 13:35:09 +0200 Message-ID: <20240621113706.315500-26-iii@linux.ibm.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240621113706.315500-1-iii@linux.ibm.com> References: <20240621113706.315500-1-iii@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: XJHRyrW6gEr7POyM_gQFseah-qSadybr X-Proofpoint-ORIG-GUID: S4CNayQqicfQAiPhKJFBb26TKMLrWZr3 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-21_04,2024-06-21_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=927 spamscore=0 clxscore=1015 bulkscore=0 impostorscore=0 phishscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 adultscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406210084 X-Stat-Signature: qrsofcwito9mbodsfqkn85g1wc7ykfan X-Rspam-User: X-Rspamd-Queue-Id: 63A63A000E X-Rspamd-Server: rspam02 X-HE-Tag: 1718969858-450293 X-HE-Meta: U2FsdGVkX188+lq2zr1V327Y6oYi977N+1KzwR9JR3qVWwgU7uQ5P610EjB0Vj7gI+ZgZA2sdEPaZKE4IwVSGaYz1Z7ttcL4z7DltNW+0ZKZPk66HLQJ4N5BIGZlAp1eHMkj/FasCHGTWuLg1wbF1EEJOi1vswYqVXVAM2B0SWDtGR52aaPPUabEw40uFMaUIfeqqqdLYpAVy34fHXXJ27V4G769lcLKwN35tLooosTutrB0oM62SgTb+6ChNJyjtnapJjGlKpm6f+YDn+Lt2oUeab9wECiThOJxMxQ80L5pNX4rL19/Pqu5bxHWlAxMfEO6TffxKeVpAqKLhvzDkmWhvigLwvkjjJe+MliV07/HjhYUVC5iJsPKCD6BulUJpLuTFVS4aJZCHCEPG9JU8VyoC6LT6kSe8PTfxfs9910V5dB6vo1NdJ2+mZA0EgtgmDhSUVeiwFuEQYAvYwmxOmMPv1YMb7kOeAeJ3ThQXuuLqDJT5284GhO5p0rSYnepnFFP2Qg05IxYxjoLld77L2jbifWzYNcF4cdkYegHPDEmtRHUyFHoH4VTHwWgr81FY7t3RB2L2Du5JnQNs9cYCITiJrJRE8mE8+UA5SsZbPpOzOLbvEQ+SY/22EerdBKDoL46v0vb2/oOhga4YKent8cNiF9LmY0PlqZIzEnfOB4rn6pLEVHgk6VdrsQWLgCtnqDN+HTMJoJ5I6yypRIdJc/r9o4m5xFHq9Cxe2YUjGdo8cNl94XRkXKl8qiU4TT5eaFchXhuhB4NsjDJy63d2xPsdPzy0QFzeESWlJkg+KePTYvdzT+ZRCmr7EqCLbfotTGtHRh9xh++gOHfTSTzFDYkH3TYjcdHk4hiVk3+0QlsqiPbbN2tOrA4JFblCQ/VvjP3ObELujLAjApnL5CxctWMc91Io8hZx6xm0+pJhHQIvSt1UjgFnydr6L+TzY7lwvft4c77HlFrgdWFVCT TAQEQz57 nEG94IsiWHSOIPE/6JXpRC/vAirSSQjxmZyO4alzmaactMyPOMVf5AfstHIFk14GF+dLb0AUGFDb/iHsGLZHPD+vxY06AXElNded1cdg1hri6NyMgMBVIctT60HP9GO+gpHk8OCZLKSBfDImnNlhe9uy99chX4pB+vrCZ4Z4LgmShnx6UCV/FaeFpNivCBdSn71SHvwjZ9AlTACsX9ge1HUb2Xy3Tf2Ykg8qwaIk4DrsZM0L5z3rYGyAStLlIiboX11CBV/SoTEGjRwHdKlVYX06It0M/HWhqcou6mp28DvERQ8NBma7h1YFR4lhK8PJv6MDMbFjdpcLpMneFmSBm6hLpkdgVDpq4mqVWKl+9KE4B/3CiVLtyyQH7IuEay3heaB/XS2KsmtkL5C9+0coFGuJ/4A== 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/include/asm/checksum.h b/arch/s390/include/asm/checksum.h index b89159591ca0..46f5c9660616 100644 --- a/arch/s390/include/asm/checksum.h +++ b/arch/s390/include/asm/checksum.h @@ -13,6 +13,7 @@ #define _S390_CHECKSUM_H #include <linux/instrumented.h> +#include <linux/kmsan-checks.h> #include <linux/in6.h> static inline __wsum cksm(const void *buff, int len, __wsum sum) @@ -23,6 +24,7 @@ static inline __wsum cksm(const void *buff, int len, __wsum sum) }; instrument_read(buff, len); + kmsan_check_memory(buff, len); asm volatile("\n" "0: cksm %[sum],%[rp]\n" " jo 0b\n"