From patchwork Wed Jun 19 15:43:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Leoshkevich X-Patchwork-Id: 13704127 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 CF7A2C27C53 for ; Wed, 19 Jun 2024 15:45:58 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3AF9C6B02CA; Wed, 19 Jun 2024 11:45:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 339136B02C9; Wed, 19 Jun 2024 11:45:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 13C536B02CE; Wed, 19 Jun 2024 11:45:54 -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 C1E686B00A0 for ; Wed, 19 Jun 2024 11:45:54 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 7824E41420 for ; Wed, 19 Jun 2024 15:45:54 +0000 (UTC) X-FDA: 82248063828.21.F711290 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf15.hostedemail.com (Postfix) with ESMTP id 409A4A0027 for ; Wed, 19 Jun 2024 15:45:51 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b="T9/QNStg"; spf=pass (imf15.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=1718811943; 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=YaTjcojmIIYPSV3AqgAoZ8tGeMyuD+KvoajbKIBgv5I=; b=AfUfVNIwst9Qv+pjtWzF8NvaFtVnHfmDF0OMUyf5MdXxDVWbhL9LfCWroLNIJSvNXFNwwS 34nWFSlxrUDIgvIRtSNEplmnuamFter1g2vPxoTWFx+1t+MJyp71CMTmjrL2lJtkWsczXT hl5GfyuBqC0pj6ozKpzkOcXioikAgrk= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718811943; a=rsa-sha256; cv=none; b=52ogzCmYOkpL39RXqlUJ+nA28KLVmwG9/D5LaO0GpKTmXi7DsqYEYCFmHD3v8Xtv3jSWPS D1bAPRe8+hGYAgoKsLnF1+LhSrJWWJpncJda+VvpSSAyyPsACnaGl7JBf1r4AAABWzAezz FItJCUyCh+l3tIGELrzgDmUFoE9ro0Q= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b="T9/QNStg"; spf=pass (imf15.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 (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45JFLaLh001491; Wed, 19 Jun 2024 15:45:44 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=YaTjcojmIIYPS V3AqgAoZ8tGeMyuD+KvoajbKIBgv5I=; b=T9/QNStgW8G2pJVdlb3bzzySMompR hyQN9UEXeZQe/AYSPac1Ai6HTOIwH7ynsGX+r3JEs6hdYylZudAxT8wIWvCtbZRp AkJdltXLp7aRSZr90/DRubw9sLovqGegbo/f/nH2eIhaNxR8F4ob4K7VY3XIaGYH Xi4Vf88XFKNPY6cnLrw1invg8QQytlpxncRlUCR3280eE+squhYRumJGAlt2DcYV DkuNva1vXWbSRzwuyrlaCvSbmlDnWxqM7NkQ6x1S/HtbsTL42yqkv9D2wiNApX8C WPC6PCIhaMDysyNpks30dPCcjfWDK7T2r+H3Ki6EGnZj/srEQlpXxXLqg== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yv14ug77a-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 m0353722.ppops.net (m0353722.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45JFjhNK006742; Wed, 19 Jun 2024 15:45:43 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 3yv14ug775-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 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 45JEN1Zj009422; Wed, 19 Jun 2024 15:45:42 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3ysqgmwmm6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jun 2024 15:45:42 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45JFja4u53870878 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 19 Jun 2024 15:45:38 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9FB982006C; Wed, 19 Jun 2024 15:45:36 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4EF012006A; Wed, 19 Jun 2024 15:45:36 +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:36 +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 08/37] kmsan: Remove an x86-specific #include from kmsan.h Date: Wed, 19 Jun 2024 17:43:43 +0200 Message-ID: <20240619154530.163232-9-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: 3EHcAU16HywOuVUpF9m86EEUX2NDcAqX X-Proofpoint-ORIG-GUID: q8eP9SI0b7m5NXggC0ByeUb5R-fj8JuI 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 phishscore=0 impostorscore=0 mlxlogscore=999 suspectscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 clxscore=1015 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406190115 X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 409A4A0027 X-Stat-Signature: aa9dddhgubiarwqpkcayudtymn9uytyp X-HE-Tag: 1718811951-588070 X-HE-Meta: U2FsdGVkX194OwCRqZxFpOOhtwfMrJbfUzfm+P1VDUd922mmfjSNf41jp0F6UFT7pu/o7mFLPUAIki/NQ9CDTs2EoGbiDZ0haoolCuH2setIDbRHUCkQjFtJHI9ySfLbLqj7LAtoLHaqCm9JgcaPj0BcrtXlwgimSpJ2nHSwOEyWpBqExqXSYD/TBGBYtifVfemsDPSr5ZIbeSIq5Jc4KRWLdDZm+PMIiPsiai8y8JNO/lShbaU70CFQ3NTuG81yrtzAinWXJhqrSu5JLHcdWI39UNFcwXRG2E0RO2ctZjC7FSa1tppi7wgBM0ATlR5sddrWCwaxKEhKWeguxh9oyHWaVpqP5f3Znt2o2rMwLvby2FIycsHQH8Founw07FYfDFzVcrUTqgT2ZC8cT8OZxj/D8hayXDbDQTXg5d/xBKzEPtYpszLTaIDeb1Nayxxe+BhwpYCm4DClpnBBGGD1LCIYl0hzOTcD8kSdQNQ/y7OkCQjzhwPnOX5Vtld+EOI053JZ2sc+e3wKHnFXLLxaiEjHjDR0niYbCisn0H/aXbren/djyjK4pUtmc3MTTZmcr0tFuUUFhEQ8XNwk0h2TpTPwTzLJEC2+GEd/cZAzls/U+0vsALdkpscvGtmdv+heTkWvXxBAIxBJB+KeUQS0fIZlD0W6LPzGQdrR5Hq+rC4HwLQDQacHt8A+y7iE9ZCnP2Da/Iw7jxHmNxE16JEwo3aV6xKnrLtYhQIUkTnWqCgZlz8TUVnaIOnM7FrPbc+9ud7eNTDIJCmOhQgXd63FpZQSwvc4qhZ0mMtFPPOqr+hNIVYZYsFaoQBOuC+f0K1iQr+EZaA81bevA5oysNviNsKAP840rKzqJts4GOLdMaOOIGhPGNxVhtizgdEZL/YX8Xp11ZyS/RmVA0lf1CFlQA2h0W0J3yrp8vXdJbdZlx9epFr8VSJpJ9DWR9MdW/DuKZsOcDiRjTgtiyvV4mL 6Jbf7G60 ZPGD+aFx6rZXzWc9gd+RNe+TaAKEfdBNcmgvGI5NJ88R8MxS1++wFVla/+KZO0Za1rmi3VCDQoX+eXVeRT2r3MLPFwv3MF9Keo4rfa/zJoc/ShOm6YtZDfvhBgcAV/9UlNtlJJyXdMia9xCNtt4uUxWjVYSZwCLD+UD4UWSja68Mz1+nj9S79flT6XiSi7LrJLtGqnUZgMDNDGU+cNZjR74qe+HeL8zIjHTs2VFgiET4j9Z22Fbzymd5wJMrtfxiS/TSN+w63rjAlgxiy5eYd41PvQNqfzbv/iVY3K5M1DX2bSOexgHZ2xT1TCgVqNCbgzn20YbGsO7fVfpSfWhMKtZqKxMcfEDYWkU4FfyKrRPEVaZw= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Replace the x86-specific asm/pgtable_64_types.h #include with the linux/pgtable.h one, which all architectures have. While at it, sort the headers alphabetically for the sake of consistency with other KMSAN code. Fixes: f80be4571b19 ("kmsan: add KMSAN runtime core") Suggested-by: Heiko Carstens Reviewed-by: Alexander Potapenko Signed-off-by: Ilya Leoshkevich --- mm/kmsan/kmsan.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/kmsan/kmsan.h b/mm/kmsan/kmsan.h index a14744205435..adf443bcffe8 100644 --- a/mm/kmsan/kmsan.h +++ b/mm/kmsan/kmsan.h @@ -10,14 +10,14 @@ #ifndef __MM_KMSAN_KMSAN_H #define __MM_KMSAN_KMSAN_H -#include #include +#include +#include +#include +#include #include #include #include -#include -#include -#include #define KMSAN_ALLOCA_MAGIC_ORIGIN 0xabcd0100 #define KMSAN_CHAIN_MAGIC_ORIGIN 0xabcd0200