Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5020333rdb; Fri, 15 Sep 2023 22:48:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFfzJxfLOqsJ3/W52f1oQk+8RD5PF0hYgJq+RkabNpS5/Ho9Koz8VIZkbx+L+C7gPwKwEoV X-Received: by 2002:a17:90a:2dc8:b0:26d:414d:a98a with SMTP id q8-20020a17090a2dc800b0026d414da98amr3204512pjm.1.1694843323790; Fri, 15 Sep 2023 22:48:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694843323; cv=none; d=google.com; s=arc-20160816; b=L4sn+r5EjMXu8fZYI+v8EHHCZNIwwN5HyYs7zmFb5/cxDGSoK19+iT8UfI6e8+6QCg vL2h6ns5S7iWsuwef83t8CXpVcTLpscjI0oCZLcmbV/wkzlAg/nV0zwVbakkRnSnmfFW JycAIZ1yDtSe5ELOGndBxrJi7BdTkLRnl8gq1Icj3wSKuQo4Dea/3Tobk3pyFNvmL+Sj s9vKpTabNEHTlB00MtapVdIy182AxUitd/Um/KiuDegxl262a2zTB29f04G+7oxQF/mS Cyu3JV1TOdyEPBq1l0nSjHH1PahYL/1oM+BAPOqC8QkTyROs0FVtjrN6v/zyyLM48VCi zjLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:reply-to:dkim-signature; bh=PzobvpQc4vWfR42iy4RjYEgAb/kHLuzC5INLwcS+RqY=; fh=kXSkXFacTVTlVHq0XnHvR0iN61knZqi7sPJIGv3JAWo=; b=q8CHPvC7oKsw3fJ4Q5EZ6OsUH0eg6Zucs+LH8I8lExJKJQoQaE2p4131cNKcQXRi7/ G5JW9+/wOWc5uJwvc8hWKkB2/A3eLLR2ZCGPe/HvKMY69V25OlE9ilG0CpCgA3ofNTRU 0UQnBv/gX+vU8uTyJ3bQut7ziwPuiYnM7pijH+WrKDuZ/FGszyIclUOOxTj+PXZdLy4p 2IWit9IOjiZ/Rdnd7TPptxm6SnfjZUrBUQsPzMhrdOVHTSoIDDB0s/RzK/GqHbyhIoti CV/bz6zao5eOVoJu60XqzTYsqWgIk5nEIcbq5O097PVbnir9Lv7+lqpR+h6AzEDB3n46 QsTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=YxihMmMO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id v16-20020a17090ad59000b00263eb5054f2si4282016pju.105.2023.09.15.22.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 22:48:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=YxihMmMO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 97F2E834D697; Fri, 15 Sep 2023 17:33:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239003AbjIPAdS (ORCPT + 99 others); Fri, 15 Sep 2023 20:33:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238734AbjIPAci (ORCPT ); Fri, 15 Sep 2023 20:32:38 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FED02709 for ; Fri, 15 Sep 2023 17:31:55 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-d8186d705a9so3253663276.3 for ; Fri, 15 Sep 2023 17:31:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694824315; x=1695429115; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=PzobvpQc4vWfR42iy4RjYEgAb/kHLuzC5INLwcS+RqY=; b=YxihMmMOwAJDc/bohM/izVntYK4R7FAAA53ohMstPpD0qgnNu65NkYu2rM60V2XRl7 SoSsFkx83Rdd2lw/hJ1tVX2Qd8mELlpNHREfNHu3j46tDd05Z9mzKhU6rlK0NCLUNPJk u0wHDKMdqWe6q8hJLnKIYgmtI0x/evwMYUsYMj1jZsB04PYfON5z6J7440wSOhZcr6U/ I4Yw9GPYIayu+Y4uIafMn0jxhTMGSOmzI7AshUDpcZj9QzmP3AfH7ybM9cR4WGZ7qH9c 6+XbKkh1B/ns7LBaT8q4OYPlxGDqOAoZVtWPDp1Dfc8mwumFYq9Sg/WjhDSTNnkdA9do vdhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694824315; x=1695429115; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PzobvpQc4vWfR42iy4RjYEgAb/kHLuzC5INLwcS+RqY=; b=oDaPhpDrTMJLeaGdAtraUjK25Nu+iXWhtXoLLSHdzlV5CI5yhV4ljXOBKrCs8QhTgo SwThzG3kA2KGzsqcw7qvI6cqEE7lH0IB1LApKmPujf/aY9yv+eNjx5IYeJ2UyVxJ1c15 xb6S6hkzSCp2lyuVXz8lCzLhCYV8XW4bGr+aBSfz7GBZR2lpRZXuNyX6JWfGXmHCTR6O FIiBU54VJOSNwOKZqXB1nKMa5fdMSLZyG54CeWE5/KdLr52dg2MH8gikWKJuvPICddZ6 y3Sa4NxJ3j+oGRjEl7yYd+aUcehi5W+GA4tIOhYHZq+Eso40URsW/9HpF5Akyyh94iMG oC9A== X-Gm-Message-State: AOJu0Yx1p+lSW5oLZnmmR80uNTssn6gydq45NqH05/lvOfU7Au0LRcvP FaK4CwNTj8A+4OgDP/0gMiqPJRppodk= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:2e06:0:b0:d77:fb4e:d85e with SMTP id u6-20020a252e06000000b00d77fb4ed85emr78448ybu.6.1694824314795; Fri, 15 Sep 2023 17:31:54 -0700 (PDT) Reply-To: Sean Christopherson Date: Fri, 15 Sep 2023 17:31:09 -0700 In-Reply-To: <20230916003118.2540661-1-seanjc@google.com> Mime-Version: 1.0 References: <20230916003118.2540661-1-seanjc@google.com> X-Mailer: git-send-email 2.42.0.459.ge4e396fd5e-goog Message-ID: <20230916003118.2540661-18-seanjc@google.com> Subject: [PATCH 17/26] KVM: PPC: Stop adding virt/kvm to the arch include path From: Sean Christopherson To: Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Janosch Frank , Claudio Imbrenda , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Peter Zijlstra , Arnaldo Carvalho de Melo , Sean Christopherson , Paolo Bonzini , Tony Krowiak , Halil Pasic , Jason Herne , Harald Freudenberger , Alex Williamson , Andy Lutomirski Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, kvm@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Anish Ghulati , Venkatesh Srinivas , Andrew Thornton Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 15 Sep 2023 17:33:30 -0700 (PDT) Don't add virt/kvm to KVM PPC's include path, the headers in virt/kvm are intended to be used only by other code in virt/kvm, i.e. are "private" to the core KVM code. It's not clear that PPC *ever* included a header from virt/kvm, i.e. odds are good the "-Ivirt/kvm" was copied from a different architecture's Makefile when PPC support was first added. Signed-off-by: Sean Christopherson --- arch/powerpc/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/Makefile b/arch/powerpc/kvm/Makefile index 5319d889b184..08a0e53d58c7 100644 --- a/arch/powerpc/kvm/Makefile +++ b/arch/powerpc/kvm/Makefile @@ -3,7 +3,7 @@ # Makefile for Kernel-based Virtual Machine module # -ccflags-y := -Ivirt/kvm -Iarch/powerpc/kvm +ccflags-y := -Iarch/powerpc/kvm include $(srctree)/virt/kvm/Makefile.kvm -- 2.42.0.459.ge4e396fd5e-goog