From patchwork Mon Aug 14 04:52:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13352371 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 61FEBC001B0 for ; Mon, 14 Aug 2023 04:52:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AC92B6B0075; Mon, 14 Aug 2023 00:52:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id A79DB8D0002; Mon, 14 Aug 2023 00:52:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 940D48D0001; Mon, 14 Aug 2023 00:52:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 8478B6B0075 for ; Mon, 14 Aug 2023 00:52:43 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 56FB4A027E for ; Mon, 14 Aug 2023 04:52:43 +0000 (UTC) X-FDA: 81121489806.14.3630FEE Received: from mail-yb1-f178.google.com (mail-yb1-f178.google.com [209.85.219.178]) by imf20.hostedemail.com (Postfix) with ESMTP id 852051C0012 for ; Mon, 14 Aug 2023 04:52:41 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=6JHbjA8d; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.178 as permitted sender) smtp.mailfrom=hughd@google.com; dmarc=pass (policy=reject) header.from=google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691988761; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=hN9qvX/xkO4ChcVbhI2c0MqS74wWxK/MncyAQVTXkuY=; b=qwxpuEPE/cVy40EimFWSXF7Nx6CYHg1K525W8HM7I3Z5IQMf/HNS/1oK2g8r+rWEo2HP3V TTVHuxVC3FJQaF/auPsBHUBI23Vnu6dLpP9bOI5uYngzXlH1tMTfEVjossVm/aiSC9dNtj zT4yym8lWp3I0jepq21xlui5HGY88R0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691988761; a=rsa-sha256; cv=none; b=U2bLOagx7ecKEEiYqicmoiBHe2abOB+rq90mNarfkx2wVvjVh7fNzcdPgwnuwXaB8xNqH2 Kt4FugfJn0chP60g3zGizae0TQBIUuO7eG0OdBtWgbfa7cgnkHmgDCOaoYjWkyhKf8HcE4 +rPZUfh8CqsDd4H5A1CozHNILSNK3/w= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=6JHbjA8d; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.178 as permitted sender) smtp.mailfrom=hughd@google.com; dmarc=pass (policy=reject) header.from=google.com Received: by mail-yb1-f178.google.com with SMTP id 3f1490d57ef6-d299ed34bacso7134049276.1 for ; Sun, 13 Aug 2023 21:52:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691988760; x=1692593560; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=hN9qvX/xkO4ChcVbhI2c0MqS74wWxK/MncyAQVTXkuY=; b=6JHbjA8d7uRMzfo6/hSK3dYn0G2W7xFG1hgjAnfIbo7EUB1TTZHMpZM3W32r8bfun9 9S1F2xR2z31Lidlmd4TS5seiojs14TfLajh68iuTRNZWhT9i2tnWHS0LVQmcjiB5FTQO 9B9dQYMQcNTjDaFxQcQbkA++BMN97pR8vnOPBYFW55Zu8jN1jWRYlaNclUdvbz5lZg6U TuzJmZASu1OuF0HfX5mdagQ6q8xLdrfcQlgv+wgEmqqRggWSLsRkDv8A0g+7c0oeOZQJ 9G7lOLByRzRvhUVTJTMRVoT3z4T5aAFSnaiLQluRWcWpZrHGv0kT8Gw+bmrdyPpbifjY dKYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691988760; x=1692593560; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hN9qvX/xkO4ChcVbhI2c0MqS74wWxK/MncyAQVTXkuY=; b=PDGRaZ4tz4eN2Onb3dWVaskRdgsegnvtGGuzMrkDYIemakTufqaUJZBgpU7w4x8Ita S+lBath7i7VxhPrWZqo+ipp3le/UePwng3y2lcFFgMt0UrnNEtLBf3+ebJzGirSvUogT CT2XkBCyOAjC6BYF5wsNQgtaZElq/5mLzoPlZeoehRVFU9lC5NmYM4Xzc60PnSVLAMVQ L3Lz0nKPsrznETRui5BxNIkKODTTh8ioifOhO728CZppR/qoBvlXrMdC8CzBjqpJgIww 0XQh7or9wLTLYS10YD9wds73GGEfJKbJ7gCbOGwMTTsW96B8PqDT7XoN3fd4+SbCLkcg xJbg== X-Gm-Message-State: AOJu0YxCCrLseoDws9w0uCyABxsjkoWtPeA82NJLRla5i7TS7vrRAXFF SSjDvzRpSKf9cERCdUCms4ZLBw== X-Google-Smtp-Source: AGHT+IFGfapEBJ5M8Smgl8R0ZbfWGqBsgKp6orc7Q4/qciZRFjmp6G5wAjCZN2qLbpYAOHBfty4dvg== X-Received: by 2002:a25:2984:0:b0:d4b:50d3:b5c4 with SMTP id p126-20020a252984000000b00d4b50d3b5c4mr15149463ybp.1.1691988760571; Sun, 13 Aug 2023 21:52:40 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id i62-20020a256d41000000b00d6861b49f01sm1190958ybc.65.2023.08.13.21.52.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:52:40 -0700 (PDT) Date: Sun, 13 Aug 2023 21:52:38 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton cc: Mike Kravetz , Russell King , Catalin Marinas , Will Deacon , Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: [PATCH 1/3] arm: include asm/cacheflush.h in asm/hugetlb.h In-Reply-To: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> Message-ID: <4b055d0-7b2e-72bf-9b9d-8f3f1cd312d0@google.com> References: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 852051C0012 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: awj41sb8ysjcxcnkmsjwfnkp8nd36kii X-HE-Tag: 1691988761-490977 X-HE-Meta: U2FsdGVkX1/NLocq/u9CbkDPEpYLotIWG9i64VoUOwkqN3QPt0z2rEnQ5LcXWc5kz1oz2yX36jZn6qhjrqakM7nUB+woD5+4AxlW9DKmk5wHMqGGqxrMX90cMoxaRAkub/eARJ0hNFH94eev9d1/xDDOKuN1UDOYGo52Sq9oavavtWhFJPbLGd0uQ7u9QdkWUi7rfbK+rTbxMSnouKSkO6gD4t6mDxMZlwFlNZe3Cb2emJXGmx0lOEuqPkd22GyiybMq9j7LE5dfrB5HsVyB5Wa4y9vbqA1/6EN2VdiLgdDlv6rCUuRgSO4seDndVB6vuKgAvb2KYFnygy3wM17qLJCr9vMZtS/URDK5ycGPvmxNR+PQd2tO16sgHgvbY1byh4VMR9mYIaZ3ekj42oMDgSXcZ96UODc2ZUzxUJGuaO99MDKsj4MhYBJBCZO0LVk5U2ci5EZcP0UNq0uxIfYxk/a3SZHmS1Wu3SqxVUme4vy2M/7Ux+vg2STq3C2a0AOWFmjoUu+9mRgk+itv7d+sLcgG07+dDIsUaj4giTGCZscjodhMSb9KmH5CGM67q8HXdnwSUZVvRsIe365R3C1S/AIto2GuCh9zFpjVnmOB7N0X8r8Hcom6eVOgB7aWqgwiRq6yg07aJZ/Iick1QNLJuMInvsfBvTuYGpXr0quZIZd6vc+MF9ypdZD7I2dMm6HnHiuHfwqX6TlPxeYwUA12/t4kCkaydvFAjhB5n4o3DFkX+lyVk6Qsw7w9dBFLlPTIGkXLmLlEv/GRSZGMMTidSa6GbYtPp5L2R4slfBkrD/cOTRip/eSj7vnpq/mgoBDfbOsg3BtMt99i5gpHMfJYU5puop5UAsdvk7+gdTGNPAUQQd57H1CYcNJWZW2r3UrTR/pB5WpXCj8NV+jMw1Q0nzAp3vDT71NWFSNLolDMsftd52O+P8sDIU5ic+16fBKr+KJvKSFbWtQh/fMctxD UqR2l9p5 nJUnWJiqd4y4bsVWHxjkaHMplU9SYXilDD+Q4TC3eYe4elpeoNF0iqvd5eE7lvFvT9IHHYuj8zZF23Sdna6n2GBbyBDIds+pcGRjJrn9LZQatbcZHhs2HRXfhK6LsoadWiPdut6CoIBIT2pQmBqtSRkBdkHpIhBulEfHqZvUklKfrWitUE6tO90sC8shIW6HfWkTeE1+R7lHutsCfizCKT2MKrh4p5t0ilVsU2w1IXIXv2Ur1bN2GuynyEqgbuV4fNmjRodUvkvDVyUoWaHde8ST6rrbM3BArXCcOBpsLhCUPWQaBVnjFIOR1cE46f3OcgDrqQvntIjps1+ZduBFWzOmu8t0FtbUyQcN8VxYK9BoWcyI5WF77TxnTux0kY+uE84oqFNFkUlI+neu7FHSchQL4VrpQ2VOazyYz 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: PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h: builds rely on an accident of that being included via linux/mempolicy.h, but better include it directly (like arch/sh/include/asm/hugetlb.h does). Signed-off-by: Hugh Dickins --- arch/arm/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/hugetlb.h b/arch/arm/include/asm/hugetlb.h index d02d6ca88e92..a3a82b7158d4 100644 --- a/arch/arm/include/asm/hugetlb.h +++ b/arch/arm/include/asm/hugetlb.h @@ -10,6 +10,7 @@ #ifndef _ASM_ARM_HUGETLB_H #define _ASM_ARM_HUGETLB_H +#include #include #include #include From patchwork Mon Aug 14 04:53:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13352372 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 2B0FCC04A94 for ; Mon, 14 Aug 2023 04:53:23 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A2D2F6B0078; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9DDC78D0002; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8CD968D0001; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 7D7E26B0078 for ; Mon, 14 Aug 2023 00:53:22 -0400 (EDT) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 6094B1C9224 for ; Mon, 14 Aug 2023 04:53:22 +0000 (UTC) X-FDA: 81121491444.21.0F07D73 Received: from mail-yb1-f171.google.com (mail-yb1-f171.google.com [209.85.219.171]) by imf15.hostedemail.com (Postfix) with ESMTP id 9C385A000D for ; Mon, 14 Aug 2023 04:53:20 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=eRcLuyNe; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf15.hostedemail.com: domain of hughd@google.com designates 209.85.219.171 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691988800; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=XuEMRB9XvbEbzX6uB9ErlyLpREyB8Dr00CoB38DVpTk=; b=Xd7QCC1gnKJwuGUuvJcya/36hQo83/fgQ+ESLJBwYfR9TD40vcf86iZ3hTcxe5jt55OyTO mKE3CLoiCKBIkDZm3b2VenD3TDGyjQZMbUv5Ylk+mHF7UKCk78okgqTxNRg5Odwi8g7AW5 J1/C/dbquVF+ujVG62q2ky8L7QF8c8I= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=eRcLuyNe; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf15.hostedemail.com: domain of hughd@google.com designates 209.85.219.171 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691988800; a=rsa-sha256; cv=none; b=AXqXe4GL9C2c5QM4Xi9Vza1P1Xvefk4IbuO/NimSD2UEZRnkw0RcKDDhSzLQunhxJF/Q0C Q4OwPG9pL5U8k/p+d6tt9PIcONQb3J0JPYdvfIPQbEu7BU9fCO5qV96tgICJoUyarsRjZF jM2d4+i29f+gR6XuGYdshUyXvo9HS3o= Received: by mail-yb1-f171.google.com with SMTP id 3f1490d57ef6-d686e41823cso754689276.3 for ; Sun, 13 Aug 2023 21:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691988800; x=1692593600; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=XuEMRB9XvbEbzX6uB9ErlyLpREyB8Dr00CoB38DVpTk=; b=eRcLuyNexWhUfmRHQ6aBHdEEn/P3PQ9TXU+My7XH90+bFTsaWofpT5uZgWquDzlbSC xjHjbkdLRNcnN9EcqHvo92W+kQSya6ZszDtAvofWE5Ad9hzLV3YvvyYiAb5hNXzi6HXE umeG+9HKAUtqKYzyhTeCv/l34u+TOsGSw86EN7PhlzsidFkLESQncae055Z7f9K6WosO Bpzha/Dg0xhk4wlVvVvHTVSM3t70xArWTdKRaaJEX9pac1ErMT/SRZeIfzFdzIGwfDTp AKhBnuyE9WFXggaDRfya+40tK4oqmpClEsdYE0AJcVuIj2wo98AgWkCpmuVLnPRnQJ2V PkgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691988800; x=1692593600; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XuEMRB9XvbEbzX6uB9ErlyLpREyB8Dr00CoB38DVpTk=; b=JIsFRnp64NufF52JOA4JytH24TzSEa0HyvWErz2cHJaywsPswIRid5ItM/9DcRuPL5 elnHvcbTK3eTBhBqGbJFuSExOW9ERd55oOOXKLhAmrQ2yyDDF6RzsaQ38+pYiBSWAYZm NREKYEh8n5UwxyFReNuPeAyPgP+sPG8tWF9eZD2FWC/kV7SpTq1SdRmQolH6TXPTTUKG D2NCqq2owYrAkuv8umLrGNoVGbj8uXCST3yJIy9zRC1xQc2nPdCvborJDqEbDKOz7fqd iWwlJhkGpPKr1KtnxDKV4vQfjn7hHovOUTXsuS89UvZ29+h4kJ+i1342tE6J1XJJvl1Q FCJQ== X-Gm-Message-State: AOJu0Yy3wFoF2rLeoJNTG9cRgWFrRitOPccsIJU54AL8Y6J9rmnME+ag UQc702L7E3v9Tnelk+5onhxNnA== X-Google-Smtp-Source: AGHT+IFcOeiEmf/Ox5kLzmgw9Uxu6yFAko05JiWKaKn8n86RE2PQRh5HYe2SOt89A2mNEqW0gPdWuw== X-Received: by 2002:a25:d711:0:b0:d09:d428:8284 with SMTP id o17-20020a25d711000000b00d09d4288284mr7267522ybg.56.1691988799683; Sun, 13 Aug 2023 21:53:19 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id 7-20020a250807000000b00d145ec9f495sm2246460ybi.46.2023.08.13.21.53.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:53:19 -0700 (PDT) Date: Sun, 13 Aug 2023 21:53:17 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton cc: Mike Kravetz , Russell King , Catalin Marinas , Will Deacon , Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: [PATCH 2/3] arm64: include asm/cacheflush.h in asm/hugetlb.h In-Reply-To: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> Message-ID: References: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 9C385A000D X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 8aeufq14aa1k8rfbtox3xg67zmgy81ce X-HE-Tag: 1691988800-419054 X-HE-Meta: U2FsdGVkX19bNzaT47CAek1rFBmZpiWCNs7rFQAm5rnbNni9fFr8cyU44iBrt0+m2KpmJ2QTsGOwJOXs1bAw2VeyCDXCQMzultrZbznqoKJysHGya4xKh+CxoB+ymNoj31JEP5Nmjolxd6/PcAHDMmOakEfCYLJWEwXTPb6hwlaEirup+edFep5neX7TeHTTMJ16FD2ma5+Usk7g0NWbV4wXgpNFs49tAISVXae6PDJZDbO+JhGxGXblUZI0b6207o6eSTqepAD+B6RLPzh/q+KKd5Q3zXwEmKG88LQJv+QvY5ExbIGt01IW/cYP/RCxGbMwaES2YPdKCaaTn05RlSxqlBukX9gnZFhjybrEVJI9D5DU8HCpoP+71b7Sa6lGPflGr7nuDUmK+4tmQ/e/voA19yRHl4Vrvap8ur8cFlIkxTFFCbKIGyie2QLgFEXv3ZslQZW5LIKt1VUSFLwl0b4FLsVln50pcAFwlfkbC806AlT6IYcmSC3K19QP1VaLZPtk4eIz0ZEdTh6QGGzWtqXUpizIuvyqJOuQny9/l/bRUof5GCW86C5z1TTzKTBrAtdcttzOJRyhQcJn2Mg3sHnQgb6wAeNiqLuPTZZPrcwDcJQGbGmgO/ikf4oxW6UjqvJ0a2jSUs7H9D1K5OQoJYN/eO0OC6KNkgXtoLsFQCJIC959imyy24BTUiQ5YYqtk0fxdCgJk/UpgWN1+bR4OUZAMRqYsCoQNe0biE8SEHHPjANmD7OvMf0MQjakBCeogQZ1GUZYESRE+SwdLPt6zji3pYz/EGCwlQHQEGcTy7SvHvDEzqQPZ87rto5M+dQNiDFF52+/72U0ypXf2KmFoSkRaqbaZ4TONdB/ZhzZ8zogSVtvhJeHZbZNsHt8Cd651h84YfOmyUyMg3gof3jHBkr3+AKCRuvon8Jz1qAg+cg+OLLmyVdmnA1Le9PK8zIm3G/QPSUKZoByms0Trf/ C6Nn5FTp jWOliiCGdj/6xWmfDzOZBySeO6jl8Y6SnmXtxaTSzIlzpHA+QSa1zC6Y8jhg7G+PeUpjBgEP/idYEWI73qJG2vD9HqQtuMAJVjTsDvuRP5SxBB2FX5VkdoR291LZsStxwmg3y8MzeD5qnC5eDSn/0m2PPkc9AwR3icm6Q4S2sAvoJ7YtTfivdokS/1skp4e0SeFWNU5kIe3nsYSeFlNdNWEQPCoOAVU9Z/IjkXXzLiwGhDuL9Uw4ndyaKoxFJvVZtiWuvQog72ctcOs2kKeAXPsnVqM/VvE9qTKOmhjDEM5ZEDKHqo2+HL+LLdqpWjnwiaJcpXxCao0rxD7OpACeGiQmZWgC3z74Gms7XtMgKEFllKaZpvNKn2Mjg40WjdlAYUTme 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: PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h: builds rely on an accident of that being included via linux/mempolicy.h, but better include it directly (like arch/sh/include/asm/hugetlb.h does). Signed-off-by: Hugh Dickins --- arch/arm64/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/include/asm/hugetlb.h b/arch/arm64/include/asm/hugetlb.h index a91d6219aa78..f43a38ac1779 100644 --- a/arch/arm64/include/asm/hugetlb.h +++ b/arch/arm64/include/asm/hugetlb.h @@ -10,6 +10,7 @@ #ifndef __ASM_HUGETLB_H #define __ASM_HUGETLB_H +#include #include #ifdef CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION From patchwork Mon Aug 14 04:53:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13352373 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 BD8BEC001B0 for ; Mon, 14 Aug 2023 04:54:02 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 60F526B0075; Mon, 14 Aug 2023 00:54:02 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 5BF6B8D0002; Mon, 14 Aug 2023 00:54:02 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4AEC98D0001; Mon, 14 Aug 2023 00:54:02 -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 3D8816B0075 for ; Mon, 14 Aug 2023 00:54:02 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 0199740196 for ; Mon, 14 Aug 2023 04:54:01 +0000 (UTC) X-FDA: 81121493124.13.F7D09F9 Received: from mail-yb1-f169.google.com (mail-yb1-f169.google.com [209.85.219.169]) by imf20.hostedemail.com (Postfix) with ESMTP id 376501C0007 for ; Mon, 14 Aug 2023 04:54:00 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=0RKzIn6k; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.169 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1691988840; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ogJuvI0Lkf+Yuih+DurfR+W3+Xn1MA7RZzUQYmHA7YU=; b=ZjXtq55apx0XnnE3aiK69zuTKNcbODJspDrf5tW5ttRhty4i2dAvdc/IzJp0Wb/Bdg8Tzd +OX5cWYxYCtv8nfKaknEvL0mn5GkAebgmQyx3vPB+L6LfapakFH9mJvqgrBPhleBHD36SZ xtttX//CxFzgAscWxLf6GNhs0GN5ncA= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=0RKzIn6k; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf20.hostedemail.com: domain of hughd@google.com designates 209.85.219.169 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691988840; a=rsa-sha256; cv=none; b=VyuPd3lZbYD1FMUX4SVsxyHHez5Xs1th1TVwSSBXJLzeHtn4O1rZQeRycsLD8f0lDGt3/J /xsJkvJWzn54P/D5LpDs8Xyo/wnOPW+lpV5pYCuYwjU3gHjaG4Bm+Zq2SWqrpwNwFEHM7m BIcMfpVqmLJbw6sgJgyogQrKI5ld0pc= Received: by mail-yb1-f169.google.com with SMTP id 3f1490d57ef6-d4364cf8be3so4086435276.1 for ; Sun, 13 Aug 2023 21:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691988839; x=1692593639; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=ogJuvI0Lkf+Yuih+DurfR+W3+Xn1MA7RZzUQYmHA7YU=; b=0RKzIn6koDHsmNKD3vUTVlfy+gCsC8Zdom9GW3R9G4boB+i1A4mdfR/DviuW1MzfJI iBrHJtyqYWeO4rOjXtB0Z2aNlE9OOvtV6k27K8Ge5Fn5TzMRMzDi/r6+eBbX2mG7wCwD jH7Mx6iAvmDJdH4gltsCakJoZrTdKq2w3lHeW8ZSX0nw1E25+43Mek7tspDJmoMkE4VT H97s1SL2MAzHbsQ8Pux27ezOy/4hhf14nAW2W2YgYvTx9+p0ZDrHJvMUT4wJi75UIeAI f6TfQdqDrAILsoH9d4kQkrFxg8KhPsIvkz4XrSsFB6rc3hMbNrx1B9ZlAA2W3qYww8Ic T5DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691988839; x=1692593639; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ogJuvI0Lkf+Yuih+DurfR+W3+Xn1MA7RZzUQYmHA7YU=; b=WJ/5H+2NgvpsQ7lnuIOVlsw7KKLzKWCVQdQwJqABs+Fvql25Dx3uzQmvOOieRnId33 WZQWQdUvSwSnmhRY78Ad/VH4VTu5kiSnDCDpN4EGPdfR/zEDlsPsZPTWejU9ANwt5+fD peZYHRDx8cGj3bs37XdVqwEkNbewYQqupS3+exoSPF/43F7Q+0tfNvzx1d/1Xu54Vq0K tLMxt2XlSw+THRyviuNkKyNDUNFV+tx39K7vMT2S1yCaI5pdfjjubRtpV5zJ+6GZFWtW Lz6Tcklo2j+F7NHpGET5Hqqo0Lbaqayj+MFF7/k5eZ0AnqipX7bmy5FSW9K/Q30krg89 bE9g== X-Gm-Message-State: AOJu0YyfB26pFu4RmiDUkzItnnlD0WjVOFpz6SGKRIt4H0XTwpf6VmPf vz7Df7MY1orkdIzV9s6QLZNKTw== X-Google-Smtp-Source: AGHT+IFplfKuoRRn6Epo2m0elbmr5ruqZVLwUt9AiRMx3Fs4tCTDJsrnYMhza9hSiTIGD/lg4DaPxA== X-Received: by 2002:a5b:88b:0:b0:d32:b6c5:d5a2 with SMTP id e11-20020a5b088b000000b00d32b6c5d5a2mr8728372ybq.17.1691988839274; Sun, 13 Aug 2023 21:53:59 -0700 (PDT) Received: from ripple.attlocal.net (172-10-233-147.lightspeed.sntcca.sbcglobal.net. [172.10.233.147]) by smtp.gmail.com with ESMTPSA id e203-20020a2569d4000000b00d682d2d1d62sm1286312ybc.51.2023.08.13.21.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:53:58 -0700 (PDT) Date: Sun, 13 Aug 2023 21:53:57 -0700 (PDT) From: Hugh Dickins X-X-Sender: hugh@ripple.attlocal.net To: Andrew Morton cc: Mike Kravetz , Russell King , Catalin Marinas , Will Deacon , Palmer Dabbelt , linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: [PATCH 3/3] riscv: include asm/cacheflush.h in asm/hugetlb.h In-Reply-To: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> Message-ID: <84bd3b96-8dbe-51b1-d7d1-6e4f9d8937d8@google.com> References: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 376501C0007 X-Rspam-User: X-Rspamd-Server: rspam05 X-Stat-Signature: 7gq18zpy4atiffx5n1c3gyu7stcedebf X-HE-Tag: 1691988839-324173 X-HE-Meta: U2FsdGVkX19l/hbWUQVBVZZpAL3AgHTnviBkfHJmhPThYCSc1zOwi2yVz2XbOqHEYaBPgd5DHynIUZNUGNjrIDxELbULRkDgcBpsxcjGvsR4XC7H8b00fI07buOgLReWh4XcKIvsq8QANAAJMQI/3P0RxtrsX/zrSRDRjR3gY1+NE/6wd+MyGu2zmdu7kQGQhTOfQQY6lVtesj2d41tPRyNKgMCj4kTzbqLIL0WH/XYz5oQZ4wokd8pP5rzXpGFR0e8ubPU/Rp3ucdt4NPmTdBrJDcfqi+2PejXoA7ZsY+OfFi0MvfwtNtXNttaWBuc1E6CLo8uSqp6YdWOcZgITuwcnNNPpwSVupHz2C44iS65uvDrtbZc97eeWjMkQ+KXqsW1epNHNKYyDiHbF5nSY46b34476rZrov5fTSV8K1FtxZBXgscOL1c7U5QDfOQ4s85Hu/6+7P5UH98Vk08pWefV6SH4YHKX4diu2oXYrQl50ozo/9npgETybVqruwDfjerD30IUUvw70gHbcXxPyRkgg7uZOQ//H1fG8sF6hr2auTExsCOUJ3h6uLU7dGS2E5h+xIngJKoHMoLUFSM4bMQJysYNGg6Mr/v0Yk82DXLZ0oDmZbFQuYYBCyUy8Al7FeQK9wkgZb92xw9uBGANg6tun5CEESsrGP7Gg2U2LjGjP7Gy1ui5bQaMNmo99uSASixTrmFZ1zYwbefbggvuFdqrICiGFpxxvgemvC27A4Ykl/Xd35LyqXqWlWOVePPLNgxQhM1vvquVfSCRtdtJLLoI1wjR+l+LzoPGxVBvU9/QBYUdEjCGrzobyiURaGBmNTNguJTiWvuQFKyfWMj1IscF5PrMgaZAAn5qT3Q1hsDquFgNuyS9uKb3lwZhn+yh2WD/6O6VRUyvUclZvA9JgIAudFp+PT3/oLEHHUGfY5PJfDOhEp1fhJnFMXWnVz15ResmmqEoNZ+J3hweVswP weQusITy rLQS/0GMhSAfqpai4MmEMSo/So3u3JeQ72CrqpWTS35ovwGPtyWxpr3OX0s1WoouYjrPV9b5RwxgwNje/moykvy2dFRxywdaja2mIoQI9DoURDRNzD4jHv51IwVES+ewsP9YhMdPBmyjDxzvWAO3ZZOkOPEIKZqHF0e+I4sZNgJ9edA3pKEm5qSJYqmCUrghKn5vBZXJQfM+XmjjBcMcMWM79oxZ0q8p8P7Otw4h61zLXhL8V7O5fpMQafCh93c0KSJgNmGxVlVFLrVEm/BL4RHWppwcptT/hZX2L3ZE7CKLAPHIcaJ8QT+Cy2fMjqVblxhvQZLGHUrWOfIxAJJc4qZF/Gv9u1bQydTQcbdYVHR3JdNkPp6cZITcndmUk1jJWDATw 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: PG_dcache_clean is used in asm/hugetlb.h but defined in asm/cacheflush.h: builds rely on an accident of that being included via linux/mempolicy.h, but better include it directly (like arch/sh/include/asm/hugetlb.h does). Signed-off-by: Hugh Dickins --- arch/riscv/include/asm/hugetlb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/include/asm/hugetlb.h b/arch/riscv/include/asm/hugetlb.h index ce1ebda1a49a..34e24f078cc1 100644 --- a/arch/riscv/include/asm/hugetlb.h +++ b/arch/riscv/include/asm/hugetlb.h @@ -2,6 +2,7 @@ #ifndef _ASM_RISCV_HUGETLB_H #define _ASM_RISCV_HUGETLB_H +#include #include static inline void arch_clear_hugepage_flags(struct page *page)