From patchwork Tue Oct 24 13:46:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suren Baghdasaryan X-Patchwork-Id: 13434601 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 AEA17C25B48 for ; Tue, 24 Oct 2023 13:48:30 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 2E1246B0290; Tue, 24 Oct 2023 09:47:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 269696B0291; Tue, 24 Oct 2023 09:47:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 01FDB6B0292; Tue, 24 Oct 2023 09:47:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id D9D5C6B0290 for ; Tue, 24 Oct 2023 09:47:55 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id B17EEC026F for ; Tue, 24 Oct 2023 13:47:55 +0000 (UTC) X-FDA: 81380483310.20.32243D8 Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) by imf22.hostedemail.com (Postfix) with ESMTP id F123CC002D for ; Tue, 24 Oct 2023 13:47:53 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=c8VwybIC; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf22.hostedemail.com: domain of 3Ccs3ZQYKCK4gifSbPUccUZS.QcaZWbil-aaYjOQY.cfU@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3Ccs3ZQYKCK4gifSbPUccUZS.QcaZWbil-aaYjOQY.cfU@flex--surenb.bounces.google.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1698155274; 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=XaYZQGGekpRYWKofo5TkfncjTV9EZU0daTUjtZ9a4ek=; b=R9iBCYw12Wpf33WQfop0aKyAuUsM2G+dRW0zdcT2DAFVmiOnfBZ9bhQDgIxv/ZX8NTkvUR LBmHz77OSGPpen9LoRKB6eQ6x41VuzoYlk7PXPSprtB8PFrkMg98KTqwLXO/NfNn9RrMnl QRcL/9TFH+Nv0Fx17EV8p3SK9dxI16M= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=pass header.d=google.com header.s=20230601 header.b=c8VwybIC; dmarc=pass (policy=reject) header.from=google.com; spf=pass (imf22.hostedemail.com: domain of 3Ccs3ZQYKCK4gifSbPUccUZS.QcaZWbil-aaYjOQY.cfU@flex--surenb.bounces.google.com designates 209.85.128.201 as permitted sender) smtp.mailfrom=3Ccs3ZQYKCK4gifSbPUccUZS.QcaZWbil-aaYjOQY.cfU@flex--surenb.bounces.google.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698155274; a=rsa-sha256; cv=none; b=dZWEKSyqWv1Of8X6uMS/nV248syslrMG0nk1+9fIaASDuvd3vTxePUG7Pu2FLbj+FB3ZfN h41nN5C+5FQeY7zcjI0zbiacd8bDZt0MxTzGijJRivu0KtM4wvF4dcRDSJ5csLQnHqLTh/ JcEcMnNIEAksqd8bxPHra3tJ7tUuAZg= Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-5a7a6fd18abso57845697b3.1 for ; Tue, 24 Oct 2023 06:47:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698155273; x=1698760073; darn=kvack.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=XaYZQGGekpRYWKofo5TkfncjTV9EZU0daTUjtZ9a4ek=; b=c8VwybICJQ0iiOd6KCN/XIVdcPIO3w6B4kXBFU/RTarZtsuHOdbJxlkBmEtnHJYLDW EZf2uMNjM2fNPJAjz1erQ2iRiI85Q0dmGD/fQMt7ntolH7XApQO1FFGWwEgwvs8CgQpd d5FVXmophTC3jIB56gvN6gJRdqt4juwlgk5L4S9E3VxEpuLo4o6KDrTgNoYZrSg1meO+ w7YZk+wugxNGHO2+9htDQCtFvRrVhG9eJq3OXpVBnGfKysZ9HhpjGJfAXRq2RY9jgyl7 TxsZZIxWPl0HlpeOD6tdskeBByiwhvqQGafv1ZivObHsBZwrzCsXS8Kfs66URwaR6+OS cMlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698155273; x=1698760073; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XaYZQGGekpRYWKofo5TkfncjTV9EZU0daTUjtZ9a4ek=; b=FlGYhG0dfjSQ4HY4vbPCtw/HcAcumiTePMoouApG+Hc7Djds8s1EhEPO1jmKAcdbNO +2fOzdyG/k6zMaRo5T6TegfgYOQE0pu3XUj83B5DX9HQ6o2e1+RHv0pcqlCLeq/RllUe o2hcX1i+kd96dpTzhP2T/fdGzHxoRdmDGvYEXaswt/UEnavLhSF2/Cne71YIsMqGQsr9 epJfSXpyqbRHDySXVYdpuuvtpRXZ8D7EjWG2vQasJgcifxbYXJC9ftGRDuxNVxG/iif3 LIb/ybqxpWrBFROnazZOTEqZ0usz1NluqcJzOkkd4lliQ0vRKxA8CgwLRiiY2+6FFIh0 y4sQ== X-Gm-Message-State: AOJu0YzeYyo8VBk3cDYddhFg/f93uifq07DYC/vH+L0kF081urYQxHhG qUzvVhppBLmvutIKKBaOXpE8gIDK74w= X-Google-Smtp-Source: AGHT+IH/jHMj6SPf+djqQdMpidZEKeSxKuOmMnfBX0O2HbLM+zTXwQbpAuHKC7+8B6veMY9hNUZcoYeVJwM= X-Received: from surenb-desktop.mtv.corp.google.com ([2620:15c:211:201:45ba:3318:d7a5:336a]) (user=surenb job=sendgmr) by 2002:a05:6902:168c:b0:d9a:e6ae:ddb7 with SMTP id bx12-20020a056902168c00b00d9ae6aeddb7mr221434ybb.7.1698155273022; Tue, 24 Oct 2023 06:47:53 -0700 (PDT) Date: Tue, 24 Oct 2023 06:46:29 -0700 In-Reply-To: <20231024134637.3120277-1-surenb@google.com> Mime-Version: 1.0 References: <20231024134637.3120277-1-surenb@google.com> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog Message-ID: <20231024134637.3120277-33-surenb@google.com> Subject: [PATCH v2 32/39] arm64: Fix circular header dependency From: Suren Baghdasaryan To: akpm@linux-foundation.org Cc: kent.overstreet@linux.dev, mhocko@suse.com, vbabka@suse.cz, hannes@cmpxchg.org, roman.gushchin@linux.dev, mgorman@suse.de, dave@stgolabs.net, willy@infradead.org, liam.howlett@oracle.com, corbet@lwn.net, void@manifault.com, peterz@infradead.org, juri.lelli@redhat.com, ldufour@linux.ibm.com, catalin.marinas@arm.com, will@kernel.org, arnd@arndb.de, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, peterx@redhat.com, david@redhat.com, axboe@kernel.dk, mcgrof@kernel.org, masahiroy@kernel.org, nathan@kernel.org, dennis@kernel.org, tj@kernel.org, muchun.song@linux.dev, rppt@kernel.org, paulmck@kernel.org, pasha.tatashin@soleen.com, yosryahmed@google.com, yuzhao@google.com, dhowells@redhat.com, hughd@google.com, andreyknvl@gmail.com, keescook@chromium.org, ndesaulniers@google.com, vvvvvv@google.com, gregkh@linuxfoundation.org, ebiggers@google.com, ytcoode@gmail.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, bsegall@google.com, bristot@redhat.com, vschneid@redhat.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, 42.hyeyoo@gmail.com, glider@google.com, elver@google.com, dvyukov@google.com, shakeelb@google.com, songmuchun@bytedance.com, jbaron@akamai.com, rientjes@google.com, minchan@google.com, kaleshsingh@google.com, surenb@google.com, kernel-team@android.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux.dev, linux-arch@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-modules@vger.kernel.org, kasan-dev@googlegroups.com, cgroups@vger.kernel.org X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: F123CC002D X-Stat-Signature: kd5srxs7y6cn8phjesr5qub7bz9imcnw X-Rspam-User: X-HE-Tag: 1698155273-573096 X-HE-Meta: U2FsdGVkX1+uKycKUjzAp7mha2HiL++lzlLswmpcRy4d6YQ2Ua6sPBiy6RUJCzFzQ0abzeEwCyBZwv6KYh0dgcgXBRVziraZOh4NOYqhc7Cic+qrgTercnooVfCEiL6vK7/g3rJSBu4un9B8NG+6xpmD2bTSBh30mtRSQqSnJPDNFi0d7g0zzw9qmGQlPpPFxi/zrVcH1bS02sHug6N/aMLmihA8j1J3qNkRhF/QpRWp1q/JJyuDQML1INT2Z4QcJ4SdF12lw8qtyhD81K6l5Iiw1T+jxj0A9FlvOJZH/n0JJof0L0PqD0WewA0oAZ3E17uLwwYv+7LfEd6nU2EXOtikTeV7uIlefM2+4GeESIwGN+svZ/BDzLpABPJW0/vNfozBeKkWrgmTtYuxfYtSWY3djET+nIiZjqZ73/UoiUYW81v7uwiCzdIySGGIFD9mjDbygmho34OLmt+Fjqa6WiiTgTTQIHkY1keMUpNf6D5mj832kBn1yTvvYj2mcMpE6JkfaKuFLOw5eQ7mr+w7bu30qKq/+RVr7UB1vM8QiRvU22pnEb1y67WY8T1y3iNqpDkN0lEMuEFy+Q6L1S+KUgcaUCmX2w8f3WqF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yi4JVRu906I37Jz2IfEv6lhfKrlH4GwZrY2QB6xQvLmm4dcWHmIvVehkw= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000001, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Kent Overstreet Replace linux/percpu.h include with asm/percpu.h to avoid circular dependency. Signed-off-by: Kent Overstreet Signed-off-by: Suren Baghdasaryan --- arch/arm64/include/asm/spectre.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/include/asm/spectre.h b/arch/arm64/include/asm/spectre.h index 9cc501450486..75e837753772 100644 --- a/arch/arm64/include/asm/spectre.h +++ b/arch/arm64/include/asm/spectre.h @@ -13,8 +13,8 @@ #define __BP_HARDEN_HYP_VECS_SZ ((BP_HARDEN_EL2_SLOTS - 1) * SZ_2K) #ifndef __ASSEMBLY__ - -#include +#include +#include #include #include