From patchwork Wed Jun 19 15:43: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: 13704137 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 CA51DC27C53 for ; Wed, 19 Jun 2024 15:46:31 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 117FD6B02E5; Wed, 19 Jun 2024 11:46:01 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 00C7F6B02F1; Wed, 19 Jun 2024 11:46:00 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B2D808D007A; Wed, 19 Jun 2024 11:46:00 -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 814186B02EB for ; Wed, 19 Jun 2024 11:46:00 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 3C44881295 for ; Wed, 19 Jun 2024 15:46:00 +0000 (UTC) X-FDA: 82248064080.02.716944B Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf22.hostedemail.com (Postfix) with ESMTP id 00755C001E for ; Wed, 19 Jun 2024 15:45:57 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=NmnO1vO9; spf=pass (imf22.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=1718811949; 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=0BqWb0lGkHQuoTJQN8yhvUuVqhZb59wolDTXj0pSsoK+bfkzyI1+1pVOZj4GtMMhs/MnD4 a0rGWzh/hM1Bir+2u0xbbVvlgHQ6HZJCfk5OI0+rftx/WLQKToYZTAjYX/Tsji8QTZ4Bqw l4hhqKPVsMX7Epqggw6I+/KDH3ocyho= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718811949; a=rsa-sha256; cv=none; b=HPgvyG4DgYmntEUma1vjAYoBctmSLppHf3vurs/uQbYVQeyFYvsOEyihCHxjo5Qk7mV2v9 AmGUXKBgNlCB4H5Cxk1couOuMCkfhRraO56Uiql/Ps1nKrEcNqjUgGqKZaFXr8D+dTy02L UINH0DiAmV+IwZotgeFrIgjTZt1Eilw= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=NmnO1vO9; spf=pass (imf22.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 Received: from pps.filterd (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45JETABQ000635; Wed, 19 Jun 2024 15:45:48 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=NmnO1vO9I2+ygGQLfzaYpDVTDBP/I S4pxk48QzGq03PcUF5YJdy/vbRIi5wggW9WQaMEzEUQzBJnZ3OVPatI0YGtMW44D cypmzEmJBiILtKqEuN5UTYnur98OBKlIVgOp/KyhutuV+12M2luxP5gq3lZfP9dJ IyNQTTDgXjQVvp6gMaV1I1hC+mwoJBz15Dfx3DRKlW4wyiJ+56o59tNIz3phlcEp DqJfFFJO8EwVgMXjcXf4M9ryvYbjh2cb/RgnIK+QernnG2TQEzxE+wuTHPw3npfA tOx/nzSQ26H/2MJywp5vGjz/fXuvqDGXqkgBxj51rudnn/kqUHwVZU3HQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yv14tg8c3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:48 +0000 (GMT) Received: from m0353724.ppops.net (m0353724.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45JFjlhJ027631; Wed, 19 Jun 2024 15:45:48 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 3yv14tg8c0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:47 +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 45JE5i62023914; Wed, 19 Jun 2024 15:45:47 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3ysp9qdyqg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:46 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45JFjf9V49807778 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Jun 2024 15:45:43 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2EEA72004F; Wed, 19 Jun 2024 15:45:41 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D53EF20065; Wed, 19 Jun 2024 15:45:40 +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:40 +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 v5 21/37] s390/boot: Turn off KMSAN Date: Wed, 19 Jun 2024 17:43:56 +0200 Message-ID: <20240619154530.163232-22-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 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: AMLjrFLACtM2O_4hV_AucX17suvuVy4t X-Proofpoint-ORIG-GUID: hv4IkaMQTSysB8s_ElQqQbhr1xAUjpaM 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 lowpriorityscore=0 malwarescore=0 suspectscore=0 mlxscore=0 clxscore=1015 spamscore=0 mlxlogscore=751 impostorscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406190115 X-Stat-Signature: p6wj4cbomg175qmjyxfx9akijjbnyotz X-Rspamd-Queue-Id: 00755C001E X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1718811957-737327 X-HE-Meta: U2FsdGVkX1/3QFfcHLql8rx3qyZN9MT9Zb5nXj2MJ5Kpr1QT/lfgA7Uem2Wf85VwA/tpwe7azmjAptQdIHQU9igegltlW3VQ+5+fLvlipSAQmlX5a6GMwEBwH8OZAq2cRU7CoETxSfW4DJ9xkOyG33WQAvMDHHzgzVQMq6GGZXXLRwsJxKCdCgeZPKovUUVJRy2JKxoGmpjM0FnO+wdVF7Ikm1nMCRvswY8JeTFsfSBiG+yQMlBkzzP/wxpiAXd4jJxlXwy4L4M4SckVwTOfUX3wSmqzVHd6qGiPD0ISmZ3DSxq2PFmc6x0hF3D1WG9xx9kg3y1lYQmHy+nmJvjWxOPoOIJstug7Ga5qOeq7uFvewPBl4oeJqegHp+9AYkMh50+cgjxgAFK0a4zOQj/RFJG1uNph1Pu64pszYxztJKKJ3bzN44+si+AJJuxu31RGt2ZSW/PNiZ5YtojLxWDviluGkdcFpWui4US0r43FA6DAiT2g7rNpOr35N38xXluc+U8aSdeqOY4ffZ/ADSwEFa7ncv3bCxVuDprZzIbUjeO78jrDofq7ULULFQNUxps+DWOHlorzGYTOH6B4OvS/gCt3s5AqJIyHiVshtVYrTlmSQBosj3DrscZwMNcaOMOkTWO9PRgfZfEJlnGgABMWkqb6RGA6s+bv1A2VdDTj4ruWl5TSJttLMMwS81WNweKIt6a765fTT0IajASvYtO8i0VIpkc5RertdF1xwZJ4EF7Io92Xfa4WWHNecYr6jYc6EFQ23wUGbTgJyYs1vF0zXlQqSW+zTHmFOwBTIuroFKFWUU6XcsPthpjxh1X1XESt0LZ9jrcb/LPo4frHvuTS0bMKRqY97YxZVhhjRIIiYZSDYI829JuY3AzAR0WMqJGRgxseFrDb0Q1hj/H4T+bGiwYnuQK/mfvDJvYKLipyVNVO59xisHt0ZyhUe5J794HtshAEeDKz2pGAwPBbIbg 7G5Ai7CM V+NXltiTk97CAg8q6q8H5vKVTLWWn2K2B17auVi6LpOeEErNpiDK6u3uJoCp30vOUXSwW7RllVQ2jVOPQvn6n9LEiVyw+ah6JMuwfnWt4J555fiF+Z/D16YZjZR39OjO2NawSof6RU5gkZ3/V17z4SuBEeGOjpSrgsLoF1FOr/vt6fJWvWEXCS/JW6APFayOjgkwrCsuEpNnkB5Krh9C0fuHz/6vqsUXWc3WlQJ3cZph7xe+tXCDBFQm6dOtu6/LQuNN4BPXRTHZyywqedWxQndPwNw== 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)