Message ID | 20240621002616.40684-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 7FAB1C2BA18 for <linux-mm@archiver.kernel.org>; Fri, 21 Jun 2024 00:27:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C62928D00FF; Thu, 20 Jun 2024 20:27:07 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BBFE78D0106; Thu, 20 Jun 2024 20:27:07 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 862ED8D00FF; Thu, 20 Jun 2024 20:27:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 5307D8D0104 for <linux-mm@kvack.org>; Thu, 20 Jun 2024 20:27:07 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 10F591A071F for <linux-mm@kvack.org>; Fri, 21 Jun 2024 00:27:07 +0000 (UTC) X-FDA: 82253006094.01.285136F Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf24.hostedemail.com (Postfix) with ESMTP id C47C1180006 for <linux-mm@kvack.org>; Fri, 21 Jun 2024 00:27:04 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=Hbp62VBZ; spf=pass (imf24.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=1718929615; 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=7BX1dEhMR/vbmoVhKCV5YQZWIuNMu4qEE+bLqSIXN50f7hNYp983LG6JH2Qbl3ULdnF6fG xt2PPf4dLnIsewh+vWpMGQPtSBrrhLHgkYxg2sQ6Br2noBUB0yZj5ubBNvRVMRLON7HKNv z+MwleKW/h0Dmkk20XUCvJ/PoAWr4Ak= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718929615; a=rsa-sha256; cv=none; b=WUh2A1s+K6Le95qtUu6r4RNbArhaLC7kSjy/BRf80PPVJ9vh5dto6++1XkcccXOUmrQvjm QtqUhXlCaS61DeQhrSKpwtrseSQjurUsNvq59QT4oHd5vhlg7UZKrWZv4zMbA7EI5052Wj vUmxZz2Md3zKhsQWAb5xmSv3iD1rbWs= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=Hbp62VBZ; spf=pass (imf24.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 Received: from pps.filterd (m0353728.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45L0QwX8007942; Fri, 21 Jun 2024 00:26:58 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=Hbp62VBZxiHUsdyo5dGI8J5KkdspW go7nDRVYNGfriLghTa32q3zp/hOpgc75p8SnUXHqUNDffVYd0cpU+8hPR5H/2pJD iMjPHcO1MrMWU3U5Io5NXRHp6T/6IZ7qiM8jackCHTCLIXTKlluzWunk2a5RYzTe XLMcfFepGkay1K72QmVtXtRG0s3ST8TQ/xu9cEYI+IiLCOCDQPEYqq91K5k+GEFg gzB7lIzj/L9auh9gC81C+t0mqHiDNbdgRO9gwgS6vWOl09a7wS+y+8jJwVFC9tya Qm+TmmrTosi7v7H9HaHKhnGwK5JPp3Q+lX0c0cPZzPoBOt5JPoSN9JVEQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yvw8c8765-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:57 +0000 (GMT) Received: from m0353728.ppops.net (m0353728.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45L0QvfW007926; Fri, 21 Jun 2024 00:26:57 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 3yvw8c8762-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:57 +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 45L0LbSD025654; Fri, 21 Jun 2024 00:26:56 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yvrqv2nnu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:56 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45L0Qo4749283438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2024 00:26:52 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9676C20040; Fri, 21 Jun 2024 00:26:50 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7319E20043; Fri, 21 Jun 2024 00:26:49 +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:26:49 +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 25/39] s390/checksum: Add a KMSAN check Date: Fri, 21 Jun 2024 02:24:59 +0200 Message-ID: <20240621002616.40684-26-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: v1IZPgxWzopaZuk_kqDc7YIXvTz_GWeO X-Proofpoint-ORIG-GUID: MSeXoogrFNNvcaxdXykKNNCFHA-AI_pC 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 adultscore=0 phishscore=0 mlxscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 mlxlogscore=927 malwarescore=0 clxscore=1015 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406210001 X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: C47C1180006 X-Stat-Signature: xt9rh417cazcxdjsi9icii1utswsj8zr X-HE-Tag: 1718929624-875466 X-HE-Meta: U2FsdGVkX1/WvT0R2YX47jab/u8Eutm6P3YltJv3V66rJ8XXf1/UsaCjPYO8nztwh7HhVIpHVNoKGrO5FqWhZU2pmRUX5LJMqyxH76GUeNCV0o92ofleZWYcBYyjvclxNmJJ95/0QGASo4sR85s/kuQ5R+tjdX54MZdjjzj0QKuL+5ZAWPH9hUvubvKfiHepHgoOuAQxUEl74RQCtwxJFBUh14ErsC3FdVy3NWit2nDUxm0lqNevYf+Y/KAWKGBfxBP0/fZRYSnzfifGLBb4fzpkbSsiVXmAlFFQopVQv7KDwDWuUUCjzBuLGTXVqQddOCJXdiuFvZnMEVYJPPp0aiNiQtIj1F7+fuZ+o1iH30GWouzfXU02a/VRxLKGgGd4AmwyfC268mY4f7iF5LC4l+TKfq2jPj/IVZ047FVUb7yPLSXAPVH4f9TNXvQR4Ylrp6APcjfx5xJgd1qzH9cB1jmDmFXcw8wO8ExYnul+0y7WjFt4LHmv7qVFKEJVusisd8FaLatfF8vCcDzVBr/V0o3rEWrgPnh5s8aqwrfzvTzh0LiUlJF8uJuJc611Ke1niE3DrPDwEvUqe8n5I+AdUDPwEgHv6Xdbl3CYAjxXoEo6HYRCMmywlLqXANPz1zKhbc89HZ+6OqrriufClubc4VEkBmC0hRV7L4KArFSxaxEUIOjtNnCWOylWOJvcsfximlgFzxpmoDTffwybWkLk/k9/ABjYu7O+JoWqgQfOjZDpP9VvuVCqZZK7kehPmpY8lAplSG7o/dGr6aUZcBVIQ4X5BMfpkSzFuxZl3OfHjiYwbcoqXJDnTlUNrzUUQPQKCwV3MfaWY+9WpEepvEiH+7CwczFjCIOnRbjRlYiwiNnTXFRaLDarABOLCvjjEtZNnkS3TuFhdyoPeDhjdtOZJ44Vk5qXcyPexrRc5ac54m4gYY9KmqVM2ho9UVv06WkUYJfn9QcZPj/STSWYnpl VL2kY/2S uB6vxv0z5VLhn+RHmam6g1ajsFLHYDukCCCJeunJ+APi40VJ/ZmlVJTKQH5Iicdq8vlIHGlTsK1agndnJghdc4kW5s6TH3xqVFA4LpyihDW/N4Bt8feqZRPLheNwHEO2UhyrecVyinWXoSIKRTYoVFj7C6pjYsRK2gjPtOlpKVGsamj1RI9HqejyiiV7McTb45lToXHXjkqEjhbOO26beWc991+8jOxScI4Q7Koq9Bp4yhHMne9Dy49VQzooA35uRCuB9B9M/wpUQnGnw506BiRd93qbxXlmkuRnFP2NbYs9x71AiZ0q2fPzbGSWRSyLdJ6EG5HSQ1Wo6xowsdZ46gYCI+rT/Uo0JfBqJgQeO9UQ5KtQVrqHXSiLA1g== 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"