From patchwork Fri Jun 21 00:24:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Leoshkevich X-Patchwork-Id: 13706577 Return-Path: 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 3F550C2BA18 for ; Fri, 21 Jun 2024 00:27:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8F9638D00FD; Thu, 20 Jun 2024 20:27:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 82FB38D00FF; Thu, 20 Jun 2024 20:27:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6101B8D00FD; Thu, 20 Jun 2024 20:27:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 200628D00FF for ; Thu, 20 Jun 2024 20:27:03 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id CD4B6A20E2 for ; Fri, 21 Jun 2024 00:27:02 +0000 (UTC) X-FDA: 82253005884.02.A3E8EF7 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf16.hostedemail.com (Postfix) with ESMTP id 9581A180007 for ; Fri, 21 Jun 2024 00:27:00 +0000 (UTC) Authentication-Results: imf16.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=KYKLp6Lc; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf16.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=1718929612; a=rsa-sha256; cv=none; b=DOewsgohsPDGF8soSTuidc026g/kBxrAbJ6yRaKtocG7kny42Ba+WdKqoClXNgKOj0SKnp W51wlWkAze1gAhqyAze59T9+CzadrbdKkbd4hBQ7PqhmmWNL72sPlKI3JHAZ/fl43xpXQ3 e227oJYMm/6/0iwaVK38Yd8cRmm97+U= ARC-Authentication-Results: i=1; imf16.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=KYKLp6Lc; dmarc=pass (policy=none) header.from=ibm.com; spf=pass (imf16.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=1718929612; 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=OrFUkNCKCdyNkojULrcA9z04Ys3K5qGxpLIcxQ1wcAk=; b=GNWO2ScI6A8vC/GqOSLc+7OWCjtfWJmXJCjJsJMipWr20KBJ2qd6ZEpehZL9lwfRVxwZIL GSRznSr1THS6ZuZemhpC53MCGTeDYB8hkJ3p0GnUIL+SY0pdci36VHllYKHvxc2eqMO3UL kkbExhLsO+LB/6KYEf7QLpyPhhMgck8= Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45KNunGB003964; Fri, 21 Jun 2024 00:26: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=OrFUkNCKCdyNk ojULrcA9z04Ys3K5qGxpLIcxQ1wcAk=; b=KYKLp6LcUz3nqZ+RW7ovC2z1c/N5b QtagkMsmAEhbv4tgv8QzYU5enY2uNvP0ZTzFqd+e+Pd6bUOdcZNXFcOEJ5fdGNGe Cx6q1Vm/EdWPSWAcBJUusbUipW9kiTyDOiEinqIbjaM7t5mMxyMqnRLlGL8ww2mC l4gsyO+98X3xAE31y+rmCP7fLnlHwIl9wRo6DlzFVCHPpillFZ6fJgUoSz7JDd1A kp4LpkEVpYwi6ocKgNJsgt/kP8kRYaC6Mps4w4bp2FR/PXgWf+2yg8O6qI9fKTTX rFIeB1sGYUVk90P5E2Y5JBBLxaDiAJiL9AGbu6FVVwUWfcjwTXgWlVs1A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yvvrr07tn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:53 +0000 (GMT) Received: from m0353725.ppops.net (m0353725.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45L0Qrn4016999; Fri, 21 Jun 2024 00:26: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 3yvvrr07tg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:53 +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 45L0LpV7025805; Fri, 21 Jun 2024 00:26:52 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yvrqv2nnc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:52 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45L0QkkW54329664 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2024 00:26:49 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E0EEA20040; Fri, 21 Jun 2024 00:26:46 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BC62020043; Fri, 21 Jun 2024 00:26:45 +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:45 +0000 (GMT) From: Ilya Leoshkevich To: Alexander Gordeev , Alexander Potapenko , Andrew Morton , Christoph Lameter , David Rientjes , Heiko Carstens , Joonsoo Kim , Marco Elver , Masami Hiramatsu , Pekka Enberg , Steven Rostedt , Vasily Gorbik , Vlastimil Babka Cc: Christian Borntraeger , Dmitry Vyukov , 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 , Roman Gushchin , Sven Schnelle , Ilya Leoshkevich Subject: [PATCH v6 22/39] s390/boot: Turn off KMSAN Date: Fri, 21 Jun 2024 02:24:56 +0200 Message-ID: <20240621002616.40684-23-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 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: KqfiPqK70_1rV1P1C1Gy61-oQxzvQyn8 X-Proofpoint-ORIG-GUID: ZAgRwklkhYOmeFVehQ1O8m4QPib-ljUF 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 clxscore=1015 priorityscore=1501 impostorscore=0 adultscore=0 malwarescore=0 spamscore=0 mlxscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 mlxlogscore=742 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406210001 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 9581A180007 X-Stat-Signature: s16nwxzuki6ubw1c35mn6bt6agyg4yxi X-Rspam-User: X-HE-Tag: 1718929620-189078 X-HE-Meta: U2FsdGVkX1/dFX2f7Lt+q9jfz/a+aRN9aIDhPXpUupcv2fnslp+Ld4cYX0GBM61DI2yhuoAG783xaThfkVpHegUPqNMsri6+Do5F/gb/7T6uuX/66Na9ZvbuHe3g+dxQMpmsa+E2cjxQhgKjMhnEaj/dqf/DTVxYN5xsV+OHbyEr3w8AbwGyIyoFnZfR4gX49mX1IsMJ43kbaiY6584Y+eYzWQn863FuyMpAE6Nn4EGj0IYE9x4xLx8v6ZuSiWLQ6xwQJVK+WQsEDfcCXpBrFw9PsOR4UP8CeWR/khrm06HzzVCwTPcNJbQPPmgA7XAQeBsMYnHayqVr681Bq/jtiQUhZH8NsnT3a3pAjfO/GmUVHvxrbSUUDU3e5O+sBDIqWY4dWCYyB7AbwY2q/qwgS0idnOHBPRrTBo1IYKK1eIvqCmrSGxzreWOEMOy6CDTq7e1LL109b+asRUE537IbfdocKI7dCiaF2ut9tYng8XAuhCR7edAbk+8NRPAzYELmEPEV2Y8SSmNNVscwk81IkJOdnbeA6QxX/ft/dU+tljMwjzP6Cx6c7p5lVha9hj3RWUzABqV7gXgUuDSgyiGcCEJ6lA6sl8mAYYBZ34ZWKlPTM0NOEWiC/zFAj82ezTRw4q9T+lOsw97MU0JCEpTiZHwzRvwd3B2MxYXceqSIjE881fScbar7qqwq0WkUXavrNiPlSERBUZoMzPFDuiQRoQ4FqqGLbD3c0lA5s0sfiZhurdtwGIomboM5KTe0bWCpDH2wveXfSz3ipG/gLsv7kyx31u9P7H4oVt9CT+eUlf+9nbJaXS00DBPC+SYQuU+Qm9HUhzb01yVFfC6/R07aIGyrwOy7KZYUiSLGotQ39V1Jvmk+Xu7bCZPRS/EeNh9QXFgBL5FX1R/29ZRUESX4+lMXesPXHNPS5FnJMnMGu/1kjDENviedIVtLY+bstZl4kLlV5jwC/MxOSguI/h8 hpcV1o6g aAs67ln9TIWdx8jn41a42764cOeicB4vo2ZjGEtkEBiW/fVYZhBgYpqlAsAQDauVQZBk+zZxZnMWjHEP+qnaczjYHg3M/6u5xQCr2FCafqyDebqaaqwSaIceAfMhtCyxJsxguJ92r0EAwaTxBin/HnV5BgpKp+ByY8j/lKaWFwhuNo4Um/Tx88pKP/LhP1jkmQwXFyBCWOLjUh78VHX9FILe0zLyHM5yQL2g3SR8/I04e4MHcd7xXfI+wQrsYk4FKCr02vX4XWziNtCaPQQbLf6CEmrnzyYINfwZvbSBmE6N0fB5lYXHTKJjqjsmaOTqCeNWI1i4moCRPZVsMQJsNMIRhUZPV3zYmJsa4h0bTocxs7ZLs1tq4rbMTXQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.003660, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: All other sanitizers are disabled for boot as well. While at it, add a comment explaining why we need this. Reviewed-by: Alexander Gordeev Reviewed-by: Alexander Potapenko Signed-off-by: Ilya Leoshkevich --- arch/s390/boot/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/s390/boot/Makefile b/arch/s390/boot/Makefile index 070c9b2e905f..526ed20b9d31 100644 --- a/arch/s390/boot/Makefile +++ b/arch/s390/boot/Makefile @@ -3,11 +3,13 @@ # Makefile for the linux s390-specific parts of the memory manager. # +# Tooling runtimes are unavailable and cannot be linked for early boot code KCOV_INSTRUMENT := n GCOV_PROFILE := n UBSAN_SANITIZE := n KASAN_SANITIZE := n KCSAN_SANITIZE := n +KMSAN_SANITIZE := n KBUILD_AFLAGS := $(KBUILD_AFLAGS_DECOMPRESSOR) KBUILD_CFLAGS := $(KBUILD_CFLAGS_DECOMPRESSOR)