From patchwork Mon Aug 14 04:50:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Dickins X-Patchwork-Id: 13352368 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 77EF6C001B0 for ; Mon, 14 Aug 2023 04:50:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 65B0E6B0075; Mon, 14 Aug 2023 00:50:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 60B5F8D0002; Mon, 14 Aug 2023 00:50:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4D2CF8D0001; Mon, 14 Aug 2023 00:50:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 3E3C96B0075 for ; Mon, 14 Aug 2023 00:50:47 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 01FA28054F for ; Mon, 14 Aug 2023 04:50:46 +0000 (UTC) X-FDA: 81121484934.09.8ADED26 Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) by imf06.hostedemail.com (Postfix) with ESMTP id 59D22180002 for ; Mon, 14 Aug 2023 04:50:45 +0000 (UTC) Authentication-Results: imf06.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=EjVYr5+a; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf06.hostedemail.com: domain of hughd@google.com designates 209.85.128.179 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=1691988645; 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: references:dkim-signature; bh=duz6+8wn42FUCtzg/PJHz01BVMFx3YE+aKb/7AhtaYs=; b=R9dTUER+389s0Mux7DJ0F5LrYQ9uBhjSoSS10szE2y+TTgPePMubc09X3aWEoQMElfVhLU ccTopDsbbbw/U2G8NVlq3i6nG2fFbQi0PSARLcZDAriLP5+wW2vuM8n4qIFMFCi+GaUJ99 pBzZV+i9pS+uXVPA/jkgbqq3nBVzmFk= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=pass header.d=google.com header.s=20221208 header.b=EjVYr5+a; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf06.hostedemail.com: domain of hughd@google.com designates 209.85.128.179 as permitted sender) smtp.mailfrom=hughd@google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1691988645; a=rsa-sha256; cv=none; b=kRqEbu2L6YTlENuCFCPS7ON4iEmOxwET4Hj8Eq2G1UsSrtrve1hmgWV8hymzm88xqqqaeG dfU85cqydHQzloaz1uTyTlZ8jFv/S0DrWJ1gTsgzgBE/HOClC+IOBDv3wnd7RVJHR1ER4X Qi5/A1eHmyyeyi2ZOVEWr7fT7wuS+co= Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-5899ed05210so41796457b3.3 for ; Sun, 13 Aug 2023 21:50:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1691988644; x=1692593444; h=mime-version:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=duz6+8wn42FUCtzg/PJHz01BVMFx3YE+aKb/7AhtaYs=; b=EjVYr5+aS9WYQky1Pi6sHnkw2sn3bSbM01Me/XMB7HqgGxIrmcXwMzFotkGgJgkHNj EZKF1JIUjW/Qrx/A9X5z/X3nV87RQCN9Mne5ojBbND5vwEKtsoOnE7a3hYSeq6t1o/ge 0Iy3W7v8tI7eq8pcPGkHP4Quwgu5xATKayqFPPWFyd1nNVGQwCCYwWmeOxTekdDr/L2/ 4MYxQtRR7jHaIhgfNXup+cqDyBQaVeI44TeUm21undV1DFGM6W37arFaCdFqs3a5qk5K 1iVwg5qSzSb30f8SAStvJPryr2NWeXTMkRqMai9eyEnd/jnliRPR1bfyplqJKGPuvOMs O2Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691988644; x=1692593444; h=mime-version:message-id:subject:cc:to:from:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=duz6+8wn42FUCtzg/PJHz01BVMFx3YE+aKb/7AhtaYs=; b=FAuxIIczF14LrJzhfd8Y6lo0JNXXEDibE5BVFMpkeWq6XKZ9sId/o0yUsKWniNzXwN 6oAglWaM35PYd5hR9kLuODwWMU6RK6T8Y9Be4SmHqHyhrHwM9MxhzcegSIBUr8NBLVnz 4FQsGZOs1DqbNRDGpY4IOHr2RoctddbAEfM7rppSdsRPm3RnnkazSQlLK+as8wEHf6nk RvoNHOan5CU8TGLmkEJpBmRYUlwYEPvZDN1s28drsknGzKL56yV146zB4w4YBg2r5isr S3+8UYQz43Bh1V6No3CxSFfMsf/RQKLvZMa46nL0dR7A+f6TJNRA1JqKKvTOY+UvpinQ 3X0Q== X-Gm-Message-State: AOJu0YzCpxbsM20NsajPYVHuhbsi4mtIjfLoK8s+NYGPBzrsiakmpYXM 2C9RI8gheYnhCiU2EoHyJbPllw== X-Google-Smtp-Source: AGHT+IED4ZsvoV1zj8jRed9R+G4T2wyymC/Lbz9/7Br9GopJ/sjVrJGZaf5N8bNGOBtoA2l67siQSg== X-Received: by 2002:a81:834b:0:b0:576:8a5a:87e5 with SMTP id t72-20020a81834b000000b005768a5a87e5mr9346734ywf.26.1691988644337; Sun, 13 Aug 2023 21:50:44 -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 d6-20020a0ddb06000000b00583cf4ed41esm2568131ywe.2.2023.08.13.21.50.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Aug 2023 21:50:43 -0700 (PDT) Date: Sun, 13 Aug 2023 21:50:34 -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 0/3] arch: include asm/cacheflush.h in asm/hugetlb.h Message-ID: <6d2acfa4-7f44-d3b4-b0a8-5495c5985e4c@google.com> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 59D22180002 X-Stat-Signature: znztqhnfyhs5k3431hnimudbqmgkj7my X-HE-Tag: 1691988645-209433 X-HE-Meta: U2FsdGVkX1917grgLHUwSsZGUbZZdjmEdxAZg3gKW+PWYwPuLlz0tvApjRRA1ckB9mhRiOklStRwNpS5h3ZOzMlnx/aTKzr4L+Rqh9gfSq9U+gEhfpWFFyBAZSrJiJuUcXijiNkiW7ipE5h+WaUp3+KB5yQNdWaf4g0divPrfV3rDEbDKpy+qm1Rmjp5VtaccFlhw/+yx+3kNGJ8TJML5ITFM/RbbgefTy1LtJFJU2BgyVHy9B/+nXFl+CGKWPPxipcW8g0bKUGLxAWCe6aN+GFrBATVJXo26HAzM7bvfGEaY96EThIX825H1TVsTltSjwIQI+C1gGpCbAh1YOQJqjDauJqoQ7Fe0iBXBGEnV0X5XipFHqoMdh34kTVLO6CXuCoe5CJ+90w+qvqTtv03CDDWBN7u7Ffu/6Hajna8qrCFW1t4HYpObFHNoFz5MWcRgvyJdZJwSpMIo0ehlT9ydQQCLG02Vx71wiSA/ZMYDEI2g8sAM9gx0h8bS15Mz71tX2Yw6ogtXv5YBndwDtT/GGOnvtFwKJ2xptkDYLQthhvF2D7k+2TVhXntnGSEJvxPLwD1cIVpujFSS3FjGy8DWy4rPIi5vTqurDzuPcbLXMjEUymJDNb/XCpAt7vmbZjOVPkgoG+wR5bS2sucAKD9FR+pUZzHNl9QYYQhlmnd4ZysuAPeIZK/to0ZSf+1O1HwLoHSQ9VwIUu4i0Gv20/K0wGtimgi7SLUHckBq1dJ3inUqrsm+pyxrwd5nAhHDjnXzEy8EvOyYWE6vt23LN1Ce90FgMwe9/L/KKd8DR6DQia5mWARmClmajXoUNZcKzfvdG89RFYdzQRYRXMTku4ruIBQFo5UgWNqSANJK/Bvao3xK/kLoMJs24q80Ds748wXDcA786xBxOZ324Bcev7VbT3EPjHSBsqY+FcY1LJDY+fh+NVhY/6WCkNpHzuhsavAJb2joPHZGhlr3r9r3XX vKSyb9TN o8EPC0P9gVZfyMx0pc7irHWGn/FqNu9NZPA28E4TzfOCx+fbsJLRRlqtaqyFM7yh3Tf7JNSzcVHRt6y5NOBZfhL9inmb/oCOzZEJMPecGXz4kJaiyz6dqfCCbiLK8uZJCvlGbdSd3HjN4NWX7a7FCTmigU2cwakRyBJEKGf/zU4LirQXVdUl5mIRI9CdRkSyQxoEfoagHJr4UJ+UF5u5wy4KVel3RB6KeBl1Ec+TjBLft0YA5IAwe6YNXC+yMulTKiPaOtPDFYqRF3kOQoJcdHTY//0IpIO6oraixm0g4anNx1mdU+zg0Ph/RqJRMUeBCIRCjGZCzvmcmMEpElv6dEKwzdlfp8+UKqdHxmgcfIGm2FzY= 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: Three architectures are using PG_dcache_clean in their asm/hugetlb.h, but relying on accident to include the asm/cacheflush.h which defines it. 1/3 arm: include asm/cacheflush.h in asm/hugetlb.h 2/3 arm64: include asm/cacheflush.h in asm/hugetlb.h 3/3 riscv: include asm/cacheflush.h in asm/hugetlb.h arch/arm/include/asm/hugetlb.h | 1 + arch/arm64/include/asm/hugetlb.h | 1 + arch/riscv/include/asm/hugetlb.h | 1 + 3 files changed, 3 insertions(+) Hugh