Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp254103lqs; Thu, 13 Jun 2024 09:09:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXlOaE+G+zKA7ZxUbiduaCxYoxNhGztKk1lXwZZAq4iNF2N8XcfloeTb7JIk/F6k3APr5ej0BJknAZ8DDuKjhjEKceYwDzkwOnbXq/ugg== X-Google-Smtp-Source: AGHT+IGmobESy/fiYLnCiuLiUMZtplTYduVwjzEHyXqMebAGJpKWIyfeesGV0laPrJ1o2+wtYPHu X-Received: by 2002:a05:6830:184:b0:6f9:8dc0:685d with SMTP id 46e09a7af769-6fb939f2f61mr132991a34.30.1718294964233; Thu, 13 Jun 2024 09:09:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718294964; cv=pass; d=google.com; s=arc-20160816; b=a47Jr93BwYohZ/hz44g6ZsF0KYwSXACyFIDZ5v5j5sOqG9vnkIYWkN1Dqc8HdQPZnw vnIeQ2ViE65GpUQBsMI3yg6MmJ40PDBwusylc6LCt026zlAgYWkB7bAjkAZ04CXBqF/B hh7CwRpzXkf683C2gl15aBo6DRvec00Yfhk7LawTo8p7XUC1T5qk50nJepp+oRJg6Bne tUV1BC+kNimAg4Cjwpgw1XRWeSg0eWqLaW4+w6XS3iISZE6LiNKumzml1f+JeMP6DZI7 kq7UPTShXK3VoNT+Xrmfvs6e4r1HRfiNa6OX+mllh1+0rSS+DMdrXUFFTmdbM6l/ENDb 9ytg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OrFUkNCKCdyNkojULrcA9z04Ys3K5qGxpLIcxQ1wcAk=; fh=TQATEbdDZNcnk8L2eDP6eFL9HlexFaHIexhR1TH2IlY=; b=ORg6CoyDdd2Up+UCQMFsLKoTIj8uMsBU1yf3bF56VhLEJXLEC/sgdyfsdrl2KUXzK7 uuUp42zoIRRjF9vCtr9ba9Hn2WiDQdm1pIDJRPN+7qLNv9u+1MKkGnOiH3ci6hWOlJYr gJG56X9gTWC6LC9+YRIA2O8UQPTCNnnF8GFnpq8qDVvoyF/jvfbJGCYhP7/qjJ6CifT3 68J7tCnZEWhkBbDyh946cD+2gtWY/GkPDVHrhL6BWzkF80hFKJtOt7mySvMERzVg1jmH B5suHQVS8A8S6aFSARN+iQFkpgv7HqeJvdYboqVrUDvIJMe5ztnstt7W44gyF+T7Wsvg S5XA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=bwkgaq1s; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-213573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 46e09a7af769-6fb5b75294bsi628495a34.230.2024.06.13.09.09.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 09:09:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=bwkgaq1s; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-213573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B9F7A28C5FE for ; Thu, 13 Jun 2024 15:43:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E052E155CBD; Thu, 13 Jun 2024 15:40:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="bwkgaq1s" Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 269F614A4C6; Thu, 13 Jun 2024 15:40:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718293215; cv=none; b=mGtoWjtokKpTmTEowa7H/JCDSA99SJlt6z0lKza9INORqlj9IkiSBPhebb6iOKHrnVfv7tWaVFemL47p7OuQ4ttpmvcFX2xFL24oEGSlUVMbZwhvBSF3qusd4+JrshelOFWwsQym/wGJBGZ6l0M/aJB7TK580YG3Vu1cGYjvaBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718293215; c=relaxed/simple; bh=yLODR424wN6Si5VovUTqGqI4qtFKEFKhgXFK6cJfh1Y=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YRwRyFKxruww/sYsfOfM1LSdzMyFWJj0Uq37F9vJeYi9vngOx5998VvJjYE6FMPUXKJK/qUdQlPDGRBVnqz50q5g4ou1eoh1urDgPgrlgH3wL0G7VyXI6cx7Tt0zvaUK16VgD+9FTk1LdGQwJjmphGE4B3/q0cgyTaygHxCrdns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=bwkgaq1s; arc=none smtp.client-ip=148.163.156.1 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.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 45DEuZuk004482; Thu, 13 Jun 2024 15:39:51 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=bwkgaq1sCV3LyvhB24eEZ9MPd9jIA HiYyxmXczPU6ADPejnBlmgEDlUNoO5BZ9/YAR3AHdQDegvjyiCoQnsFzrwxn9/vU zh2Q4gUuzXAQb9o5ainLK2orJwQwAfGVfSTl9Fo+8c6tt6nkZ8kC9y2ivbT7caLI Q1z3vdkn8gL3olv8JhzT3wjN7Wzh16db5S6WR4MmCjgQTOro940+iHOizxUwp6IO 3WvgrcYUoSlq5fK4bES9dDXlXTJ7sIgXpb/YBXPI0M6npKa42/bTwlbhm7mP0ABB DFdFUFGzIRC4oSzGOm1iOtVG1pW3j2BBpJn2CfZIjEwuE+evVDx/o5lWw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yqr0vsy4x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 15:39:51 +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 45DFcUxP022003; Thu, 13 Jun 2024 15:39:50 GMT Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yqr0vsy4t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 15:39:50 +0000 (GMT) Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 45DEHVA5008719; Thu, 13 Jun 2024 15:39:49 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yn4b3rk1b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 13 Jun 2024 15:39:49 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45DFdiCB56885588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 13 Jun 2024 15:39:46 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E79F72004D; Thu, 13 Jun 2024 15:39:43 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 74D2C2005A; Thu, 13 Jun 2024 15:39:43 +0000 (GMT) Received: from black.boeblingen.de.ibm.com (unknown [9.155.200.166]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 13 Jun 2024 15:39:43 +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 v4 20/35] s390/boot: Turn off KMSAN Date: Thu, 13 Jun 2024 17:34:22 +0200 Message-ID: <20240613153924.961511-21-iii@linux.ibm.com> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240613153924.961511-1-iii@linux.ibm.com> References: <20240613153924.961511-1-iii@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: ZmERwDat_iaHUwLFh2JI_yp4CB75f3A7 X-Proofpoint-ORIG-GUID: EQioorNQlY6wC5efdYpQfigM9KZNmuSy 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-13_09,2024-06-13_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 phishscore=0 clxscore=1015 malwarescore=0 mlxscore=0 bulkscore=0 impostorscore=0 mlxlogscore=751 priorityscore=1501 spamscore=0 suspectscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406130112 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) -- 2.45.1