Message ID | 20240621002616.40684-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 091E4C2BA18 for <linux-mm@archiver.kernel.org>; Fri, 21 Jun 2024 00:27:39 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 65E398D0100; Thu, 20 Jun 2024 20:27:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 599398D00FF; Thu, 20 Jun 2024 20:27:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2B2678D0100; Thu, 20 Jun 2024 20:27:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 0428B8D00FF for <linux-mm@kvack.org>; Thu, 20 Jun 2024 20:27:03 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id BAEC4A06CC for <linux-mm@kvack.org>; Fri, 21 Jun 2024 00:27:03 +0000 (UTC) X-FDA: 82253005926.25.6A86525 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf28.hostedemail.com (Postfix) with ESMTP id 8BF80C0012 for <linux-mm@kvack.org>; Fri, 21 Jun 2024 00:27:01 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=bJH4+L17; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf28.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=iii@linux.ibm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718929613; a=rsa-sha256; cv=none; b=XFlgCG/CpHOTqFDOZafDbYThoExnCvvqNsHzHnH+rfV+aDYLlDdOil0UU67g4Ht1gJbQVL 2i+smnWO0Ot8dvhiRsSCCEHe8Y6GIZORkyRQ/O5XSWwlQbFLvPvRptDviLewdSp1K2oLM8 eLd3aylTaDl1X3+aS08EFle27C69kwg= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=bJH4+L17; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf28.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.158.5 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=1718929613; 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=sSP/QZIZUuRcCraJ2KtS0fy3t+lFoSpDwKvBka3xwksXNiu6uclUZZyX6PG3dvof7MAdGI uRbI/JN13XzghK88pQBRlrN6rpliNmBb4WW/zXcItythiQ/kQ9Ik0l/GFS+UZUO4TsB2f+ ymeLsB5I1NE/qWF13xpYSomwfhUcPcU= 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 45L0P8rv001146; Fri, 21 Jun 2024 00:26:32 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=bJH4+L17u0DCqzEVBS1Fx79Nk2et4 UO5sg4E6PFAp9e/mlqximnx+ZJDq0X1Mu9EEwMmFCXR+PS82M5E0Kyx1d0sEU+Ue pFx/knoqPRPe1bCaLrB2/KYWQ6FCgSUeFRZPpZattSPyV4uDFqfaqE88ORfQYSrf nnyt4h3tpEQmzaMsoaj/Y+jXT5AEHmHr+d1l+ZetphHMNZhyAt3rGlIGX3OfFs1O aeMFLIUG+xlgzCzGfpUWimTfkU3CaKxUV/3GCmpVGym+eS1HGFaBow9ViPQQCLWo LPzjQxJkDcTJrki0cs+IRob1gfUQvVRmC6bUTWl5z21LFMrt3/W65vfig== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yvxjjr1g0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:32 +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 45L0QVlA002823; Fri, 21 Jun 2024 00:26:31 GMT Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yvxjjr1ft-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:31 +0000 (GMT) Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 45KLcFvF030990; Fri, 21 Jun 2024 00:26:30 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3yvrsstn0x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:30 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45L0QPco41026042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2024 00:26:27 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DC4942004B; Fri, 21 Jun 2024 00:26:24 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B73032004D; Fri, 21 Jun 2024 00:26:23 +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: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 v6 04/39] kmsan: Increase the maximum store size to 4096 Date: Fri, 21 Jun 2024 02:24:38 +0200 Message-ID: <20240621002616.40684-5-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: J1o-CJjYWKam0l2NJ9h0aJVuFgfwswrO X-Proofpoint-ORIG-GUID: kF08F-e28R6tb6coPiDjcwHsdnBay0lG 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_09,2024-06-20_04,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 suspectscore=0 impostorscore=0 malwarescore=0 mlxlogscore=742 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406200174 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 8BF80C0012 X-Stat-Signature: ijbpwcjg63peu13i8xiiszw8y9i6k4cf X-Rspam-User: X-HE-Tag: 1718929621-554126 X-HE-Meta: U2FsdGVkX186LnYggZCDdIYdIxSmC7pjWBRJjNrFSHHpZu7C8/C3Avvs/ynb0udJNCKZXwkq2EmVYFno9ygYNdpFb0KQCXby3FqVEDadK9/dvdr0+ZjXARXpYH5yhVWesEbExBhaxlDHyh2+7SxflxjIPi1Qd9CB7CZ45YfLXWetXoV/EQheXrq0FCRUzq9d2XN/CzwPTbaypqiW17vR24VFgJ7DqsrL3KAr8qLkHC05PRx+wIgYG8JWJ0PhOMzI5S9NPD3+t5T9LqvBY+VbJzL/KlHhFbF8khkFqX2TH8hRJwvBa990VVtsY3NJ9tQ0vTAFN7Feb2wrmWoveCnJtqUkmGWCQGPwrT0Kk+A8Y6DMTtJtFGrvLqMpHrjjoZDaA67hIxAjmTuHIo/Zg9366TbrClzwvAqnPnZZaD9XAAO/Ro2AyeWze5iCvx3isp5ycLu5X0BC8qaYPRvz/mSFOu8aZEswNi9MabT79wMzl/7KHhcM26uYB/I/6PO6ZegWA8tfzaIGr+UMN9pN4ceLJfBHHzh72DRdA3dDwd3lHKuMPJY4LqsbqzxsgHzy61bO1bpSjeQvAxtRGjQMmfJZCzy6S7msdDf51/m6B99RGmFAQpptSkpDGpzI6J0oKQmr1wxwilW1OhQQRQP4sK//utg7ZRa12clRb+igevyqdaCpobKy14YXNYcqQkzf/tM/kOYgoS2KfpoUJ1O/RbJLcbXpWkyIYQ3djcz+QAhb2osLWWwBS5C42Ymsw6whWYceA5FU3cUyQyYFsZKdrFWNNBNtVD9slx6pm3BCdhaIMlTPZ1WygCcEV6HPKLuHTK9rRFpK+lCcBCwifNIFdUV816+5MVhpMf0XnxRicyeAbCBVEHhmZNvkTY0QSoW0Jgwx0aru/4EDojwkeFOlfyvSmW+WBsbDV1uq4A3oMmjJ2f5yWWWdrY/AuDro+JR8a/sMcXxuckWzEffzKYcMCXl ULZ9nf3o QAAmh1rPCflCVjvOa6oX4THkJYYaIcHPrdnpXqULHVCOjmRswka9JwbEnjjejQEBdv4RqeMQwKl49hnpXh6ROuktsFxzbYjxNXpJOQhzkj66rTHq1TqP1Ke/cpJr9vo7raQHL6MnYcPyFPnGGY1u01QtZrFvuHhxPuB03ZhMt9YA22Ytuu+gFKuYa/ldhA2HYVxEOr24J98IHuhvjcAXJ9d6Vms+nJd+RqD/U6mFvOQ/jaf0+2N0VZP+lk09ydESrX8tS5j4EEbm0oryFo8mBOCXEWA== 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; }