From patchwork Fri Jun 21 00:24:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilya Leoshkevich X-Patchwork-Id: 13706566 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 CA6A5C2BBCA for ; Fri, 21 Jun 2024 00:26:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B8EA28D00F9; Thu, 20 Jun 2024 20:26:48 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B491F8D00FA; Thu, 20 Jun 2024 20:26:48 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8F0BB8D00F9; Thu, 20 Jun 2024 20:26:48 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 77BC98D00EC for ; Thu, 20 Jun 2024 20:26:48 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 41612806CC for ; Fri, 21 Jun 2024 00:26:48 +0000 (UTC) X-FDA: 82253005296.27.0D5CF17 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by imf14.hostedemail.com (Postfix) with ESMTP id F0D3C100003 for ; Fri, 21 Jun 2024 00:26:45 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=T1ae6wqR; spf=pass (imf14.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.156.1 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=1718929597; 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=SyPA3LZK4UIzxNbPYt4HsCxdnjQtJasTeCalULnlVtvNArGdruYbqqX2Ruo6r/IGOU20DP McDIX0y8laYrJAOVFgVDIIa93iwBHTZ+ZAF2oVuzQXLb/cPb2uSfkZNEAr41GNAtWs4T2L suBUi+puec1b676kNqG7EJDzmgCCDX8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1718929597; a=rsa-sha256; cv=none; b=n4isswnXiMGAz2xzT319uJ5bLNn8f9y7YMfCattV+5vnnBAhkL465J5DsiSubizWppuzwK WeWVqs+AX9gS37Jn/PhSmVhkmzuCHpb1EH8d8JGWlBTNlWxayqaAGTz3Le8QPyOypylb2e nMj0ebHl1pUA3fm2HT8rsi8zlXdOWbY= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=T1ae6wqR; spf=pass (imf14.hostedemail.com: domain of iii@linux.ibm.com designates 148.163.156.1 as permitted sender) smtp.mailfrom=iii@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45L0QM6r009279; Fri, 21 Jun 2024 00:26:37 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=T1ae6wqRK9YROa0u2XMwlJZr0wf+q qbKCliA1teQOiJTeX385c2/ycazx07W1gBD0PujYICDk46Y9H/jGHT3ypfUWCbkt 0FsRn7vtmSflslEqqXcJ8RgM5HpsLQ22eEw1n6/lsaNbLVwR+YU0moktH7LrFdtw j4x4HLfP66Res3msgylQYSp0MpHpos7sDIOGiVlxxEAsEJDjo8x+nj/tKstsPu/H fjl2MZq+lVoUPHDZlV8NzkHUTvU4Zn6Zu6oYmnQWciHl4f2K2vfwxmtpmFhzl94d cFKgmqWChUPn9ey10ldcTPleA3hfsTghU05RcwB99hw5uYZow4NzLLKOQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3yvvrdr8ab-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:36 +0000 (GMT) Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.18.0.8/8.18.0.8) with ESMTP id 45L0QaaB009416; Fri, 21 Jun 2024 00:26:36 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 3yvvrdr8a6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:36 +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 45L0GVsp025708; Fri, 21 Jun 2024 00:26:35 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3yvrqv2nku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jun 2024 00:26:35 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 45L0QTRt52101600 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 21 Jun 2024 00:26:31 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BEEE02004F; Fri, 21 Jun 2024 00:26:29 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9F4C92004D; Fri, 21 Jun 2024 00:26:28 +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:28 +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 08/39] kmsan: Remove an x86-specific #include from kmsan.h Date: Fri, 21 Jun 2024 02:24:42 +0200 Message-ID: <20240621002616.40684-9-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: vyxYbYMv0_NAWx6wam-6wBrYJn6RoEVq X-Proofpoint-ORIG-GUID: 5IOHAuWOwgEPcoqMkZyFmjoadwmxjUKH 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 impostorscore=0 mlxlogscore=999 spamscore=0 adultscore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2406200174 X-Rspamd-Queue-Id: F0D3C100003 X-Stat-Signature: g6q8hqqdxtmhg85kh7dk6umzpcyg1bjj X-Rspamd-Server: rspam09 X-Rspam-User: X-HE-Tag: 1718929605-673349 X-HE-Meta: U2FsdGVkX19V8QqUnRGun8/lKJUcz8kzQ/61KSRxGZcB0fNpnmvcjAyo1p6CB+B8lL9Yy+LbrrWKMVYLhbJzD2CjlwLYuVgGt0H2pQAp4PXQH6oSlL0hgEYxEFTJ8KzOX1sxDdkon/9b5+y4mdG7YvNbVIudyDI/5wXbdaEqudUJ87t80BiONG0Q2KXjrVq4u7YJy6c94pXK8/LjeEO6ph/Z+28nBIeSgvw6v4m5WTiaiubwrlQiazzBQfsySkE2UY0/RST4/adJOdlP+EPwg4JffKgQRw1QRKdw8/ZgSJd4Fv5wTaGnfuVu3/jXz8swIfGD3BEIyBuGlfXUXc5wuPUcT4n0W9HGkdSkbNShUzjGR9vRYstfQeTdTxz6TJvkHv50y7mKIdxCC8YUV+dhjZ6tq1mVnM1h0q9GgZCDknqOG51XPNp9Ag45vP2n1Uv/U/9qSny5Yh973EpWdakt/AKeH9SumK5HQLlphG3geu94KY3APn8u3KsewXu5tjE3ukb7nWbXWvhIrXsA2+dU52pGqcPclSd9cDadbowc0cRB8Rl9GYbJD+/tC7/w2PgksR0X6u0GwGORBEPZMUKBwI0M6Z0VAPnSFpbDoIGY4Lyc+QAZdA1iy2SuE2N/ftZPhX9iSruIyulTbPxo+3WgbyVSkJN+f3OYF6PbUChsPHiv0/EDnFjG6yiAfnZ7h1ewl0Oq8YyPNH+pE2iMMt+2b/nwmsOyaZuypyY7lXpxe+WOlZKMB7huIu1oDgOpQjKfDZzXL3Yc5kNVO5DbmVfOZHfzlDnBzlqelBsYVFa7wwm2EVzuBKUvPUHX1Psyys//jsH6hE+kcS0QIJ0tW65Bje/7TyU/yR49mUGktiwS9bcoCQV6F37mCf3R0iVRmsa0M842n1BSqeHWkgUMhabBAqD2upyUypjNhbmdJN9QI4jfeszydIfZIQD/7s5fVLWNSHUB3vBFui8ceZq1SGn AaPB4vUe BdA2v+Waf1hLA/nt1Ca/Tzt/X1azXFEkdg6Say5TFD91pmRPa/8ISDdKqj0DggqQFUlwl9V72hc+mle711mFZuk0F1DxTDMKc5vMoCdbnLrpaihwFOneLB8ZtAQE1NS3fyJX2UC+STZnNG138dPqsTYR4TaDq6W7vazcVZm+Ct0KG46dpluqB2WezEj0Q0qYhFU9j4NX8l241cxppXHkmufnKOL7srseIFuhpX/7dNi9ayF0bBXu42tyxJKPnvD5ZzYqIeXnPAWa4Il0irmAf4ngyoLTniGOHAVamAAY/HCNDoUHA3RFH9h7gK8tu0enZp9mq8yxoRktnXke9q8ZcsCwLVBwXyKF9HGXoRV3d4KXOWTY= 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