Message ID | 20240619154530.163232-5-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 DA75BC27C53 for <linux-mm@archiver.kernel.org>; Wed, 19 Jun 2024 15:46:35 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D4A556B02EB; Wed, 19 Jun 2024 11:46:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id CDCA88D007A; Wed, 19 Jun 2024 11:46:01 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AD66B6B02F9; Wed, 19 Jun 2024 11:46:01 -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 819C96B02F1 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 11:46:01 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 382BE12129C for <linux-mm@kvack.org>; Wed, 19 Jun 2024 15:46:01 +0000 (UTC) X-FDA: 82248064122.25.2D7FDA0 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf11.hostedemail.com (Postfix) with ESMTP id DD89A40020 for <linux-mm@kvack.org>; Wed, 19 Jun 2024 15:45:58 +0000 (UTC) Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=rxzKVds7; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf11.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=1718811950; 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=Scz6uta8wJUcmkDwOaiOL8UogdsQpVaK9UJlhoWG7HU=; b=c8rw1+FsA+EVxwtLqhA70k1u8vA6aNZy7ZElQ291wOlvSlaTrWdKbKR5++gS7rSThFUs8+ yv+zvZaDr3OfWfMX0gqV2WyPZkbkdWIuT87lglkRa8KJqumSC2NvotF0mdzefBAc77XgUW puY4SxWV8k2AyFx3g0FEBd7ImMQUk/M= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718811950; a=rsa-sha256; cv=none; b=24DfZP8/irP0LNQP8oHgZbotOdMM2lOP4RlaYhfrCYvByJ4hWTjTrV1hBuv1GLDNrUghYg 4JzjvfTV7C24Hyq7CeA+u5BLIKzKorf59Yo8Csvobw7ax4zEXrpNc1D1Y8YM8nepNd31qh UNgOmcDjWqHXlkaiLqm9utxdU98PDDU= ARC-Authentication-Results: i=1; imf11.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=rxzKVds7; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf11.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 (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45JEtwGJ013034; Wed, 19 Jun 2024 15:45:43 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=Scz6uta8wJUcm kDwOaiOL8UogdsQpVaK9UJlhoWG7HU=; b=rxzKVds74UqHTpAHTV6TTJ3971W+d 6XbtI3rMQi0dBwotTZ9HREuUr+hhXQw8tfApEhojn+M7EAM1UXe1EVsRwZLgwjKM SCJEfg/pqptc8FT5qvoAfBLg1shijLWAiGceHfz5Rx0a5XkTi4dGaccqM7NeIQp+ C3WuRkNiy2GCXJXtiEPn8rm3xHeoEUjH0n612+lFc6L6tNagr0/a+s4WHxOSBaex s2nWazmpnXX0rwpK71ACM0qXPxs9g8/bW2gaz5gl/1XV44zSqk5ClvunpexbrbIf FV9lgmTQwviWQCSG1QGvTvMBzYViWlto99FoJtE+GqjDUwaWY5jP7aCfg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yux3fgupe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:43 +0000 (GMT) Received: from m0360083.ppops.net (m0360083.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45JFhBe4032622; Wed, 19 Jun 2024 15:45:42 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 3yux3fgupa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:42 +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 45JFhSXM023897; Wed, 19 Jun 2024 15:45:41 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3ysp9qdypk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:41 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45JFjZku47907278 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Jun 2024 15:45:37 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 41BAA20063; Wed, 19 Jun 2024 15:45:35 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E4D912005A; Wed, 19 Jun 2024 15:45:34 +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:34 +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 04/37] kmsan: Increase the maximum store size to 4096 Date: Wed, 19 Jun 2024 17:43:39 +0200 Message-ID: <20240619154530.163232-5-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-ORIG-GUID: yqBnn__VPUChFXLmx57TWXMbRlB3RKnh X-Proofpoint-GUID: wAGMmQY3YfNo3xdFT986fs_57LHV7tLj 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 priorityscore=1501 bulkscore=0 clxscore=1015 phishscore=0 mlxlogscore=742 spamscore=0 mlxscore=0 malwarescore=0 suspectscore=0 adultscore=0 impostorscore=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: DD89A40020 X-Stat-Signature: 6maa31wm7zmcsf8gdxnfsqt899p39xgo X-Rspam-User: X-HE-Tag: 1718811958-695563 X-HE-Meta: U2FsdGVkX18E8qumxyp7zkI6iov9+S/pV9PZsdBIqfEFOAGOqiLPbfnqec131PYHKUFEXl1vYmehutTXPnoev5lmMlwj5qML62DWDUHJZ77G6IuEErq7MbG/rY+aEdOxKfvR4dLQtY6HiH2aSs1zYWhcZOVouoznOy7JRGSfE5KGaadQdOI928aND8hw7nZRDEXJ3DZEXf/OTA74OoNqT1/PXu1EqNtL3VwJbYqU2D1pg878j5MRRkpfyAM8FRblz/W5e1MEWipG5Jw2zL+/HmX5RJTMb9mcInev5uKqWINkqsJ+WQ9OXNEnnr7E9QpJ99wdIjLrXKrATdHwJv5ce5qWMVGXFxtsHt3opfh/MtR4fToXLXo374CwBQS0ULdRgA5c8ySkowI0iMATSyvtCCDxkwnugzDvCWUlX0GlfHfbfMcbHfNhM5ILegyVAe8oAk4OfHeYQXoOt2/jt3Dy1OmiA6sGjQ8siwTGW7u+ixuNdj/+kkoPTqa4kp3nIRfS2GwrtnW7tMUm9dNU/3Zhxi0IsqRhz1MwB2604/LGO7+QSA+gFOEHh7NxbWmCUO5hfSL+UFU5HFIp4KRc1QqYsgAcGEbwA0XJ9FMUieBfeRPWCsRUMVmFy3yVHpNewMbqz36W5b1s45L1OqPnPpDINIKVvOs3vJ5Jsxe6MAvX0bDDYhkdcXhR3Uc4caDTbkvGvVwHCvBa9507P+Eustf2ez6jeuoo6O3uMNXNd9Kha42An60dS6j11bO5k+7WpPiR/VcSTexmormcJ3rhLI3KOJiy79uBvAjZEbN/l/aD5mthjlOOEn8VVzIZo5K/lkF56lvlZIRp6lASA4QyJSyaMrf2k6uj/QamkNEoB2bZUsplnwfwuuYiN9rXukcjggQNjuuJKQpl8x1kYIuQqkQciRrBuHuxp68/rO/pD172EalXT9jX7+5cnw6Lm+aSkT6gIhvg2I8GT9Vpvl+JXbI 0OkzEy3K yqTH7rFqDsrstOmpH91IAKCEenl/NxLeps0ak5hWI+u784qdUBDl+ovMSKD5pb3zymAYWEugVOdjIj7azMywD29XgF9zPd1u/L0POyEOkSuw3bFg/V+USuVQ0xiPeUTPDoDchNRageFOAAfZS4nheitJyrH6Q/MD3XZMqyaEWCzBfrz6XmthfcRJw+aaPnUaNA5DVr3O11K1xhnCBUN2pIs2695HO10sRcDSGbVOEUrJjWRGWRzoIptxAGWSef8sYmb48JkCWzNMnKVuWXrhhw/Ckjw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000010, 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/mm/kmsan/instrumentation.c b/mm/kmsan/instrumentation.c index cc3907a9c33a..470b0b4afcc4 100644 --- a/mm/kmsan/instrumentation.c +++ b/mm/kmsan/instrumentation.c @@ -110,11 +110,10 @@ void __msan_instrument_asm_store(void *addr, uintptr_t size) ua_flags = user_access_save(); /* - * Most of the accesses are below 32 bytes. The two exceptions so far - * are clwb() (64 bytes) and FPU state (512 bytes). - * It's unlikely that the assembly will touch more than 512 bytes. + * Most of the accesses are below 32 bytes. The exceptions so far are + * clwb() (64 bytes), FPU state (512 bytes) and chsc() (4096 bytes). */ - if (size > 512) { + if (size > 4096) { WARN_ONCE(1, "assembly store size too big: %ld\n", size); size = 8; }