From patchwork Sat Sep 16 00:31:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Christopherson X-Patchwork-Id: 13387991 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5D9A6CD37B1 for ; Sat, 16 Sep 2023 00:34:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Reply-To:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID :References:Mime-Version:In-Reply-To:Date:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DbZO2hojrF5X6hsb1Xbsr7UqkOiGWKY7BWksmt0X1xc=; b=PRbr3DKupRNVeu 8N6zawxji6Psfn8ql7OR4e5W2gWSIxbEyJwt1VmDYjEcrWJ0vuXOA9mPE24cWe3M6mX/Q0wgfxI3i s8cqBGEzmywBma2U7N0K60D5tCLmWIW8/Prc23GPoH91fEpMy4//eaWg3ppxLbr3SVeA1dyhsPQlt OmTM5GTIYU3qxl7V5Tmr5Lh9A8gpAAtURMum77XI7gUO4bnTx45MYuY7SgeL7QIdZrPL+Rt8EJ87W RnnFO3/enDVDBBGbXgNN/CqEXnK75602CluPIT0g8P/a5XmTrExgi5BW7N4V05YCDkHirHYmGx6eX p2Bkzu3Q2aOKKQ6XSF9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhJFp-00BeYJ-16; Sat, 16 Sep 2023 00:33:45 +0000 Received: from mail-yw1-f201.google.com ([209.85.128.201]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qhJE3-00BcsL-1W for linux-arm-kernel@lists.infradead.org; Sat, 16 Sep 2023 00:32:02 +0000 Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-594e1154756so35583197b3.2 for ; Fri, 15 Sep 2023 17:31:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694824313; x=1695429113; darn=lists.infradead.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=pl7bBxxWVXjTf9iTQwKV6iNN5dTCLVhIVjlh92R6IC4=; b=2wL0dC+Ie68imWXPl9ttHYBB2q4O14qk2NtSE+7UaYNVeAAKgZelp8y2qmoV1NpoY6 cMxpwKuLNl09usfz9bLOiMgfYPvUtOjE3CIbsNya5oUj/DFYLRxiYyZC5lQD3i6uMzox ySBuGzC6RecbsuB3DAO/jn8hnZdissZJ+PV4sZ0OgXnjsu5u/q3EfqGYwy06WMe3I11a IQycKDAv+9t3zEejpAgDJ8t6/JePI/CcMV9Wq42vb1atEOKA/LZ7zMGl/aGtKun4LSad n+ND2YzNAB/R9eRyAcK5b+Ib3q0OueQ86XF1W3iw+LORYUKe/LPfkzTQudXcWgkF59Gm EMQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694824313; x=1695429113; 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=pl7bBxxWVXjTf9iTQwKV6iNN5dTCLVhIVjlh92R6IC4=; b=pA96eCCN8MswtKXOu1kz+yJDvCPEw/mec3hp+X+FEYhhe0pDsUwWlJzyKj+Ji+DhU7 fg7SaE2feTw3TVFoE+5v3uNvBk+vQzkvLEwz604wpUcCtlXJNFR+VjdXsSt3CK4sBZ8z qIib+uxHFUBl+HekmDBGjGY5MlAxLkORTEOEJ13sk3on2ir0hXRRfqsNT/zegqaSBfCX NcR0A8L2W1aoCfdPvOEGvOJCoY9FmZnII/gWlti0AmHw5yF6Ep5Ue4464vXWo+81HilE /Gr9xLsOXLWYPaxapswdE1UdhQlT2JsR0jqKRsso4Jzr6EZzcs9ovBvHuwEc23SU0MXS JWDw== X-Gm-Message-State: AOJu0Yxao/aqJvppwVvb4sUPnl4hsMWzFs5OtYu2lI9yAfoLYBJ0WUby YddwUWLvcCpysEovqsvwZgoyOygVbqw= X-Google-Smtp-Source: AGHT+IHIEoJ5Qp0cT7058FSDnFlcgu0NfKZ+k2cnwo0UQE0i+ifeNt8ssvIZEJlieWuqLdMggeWcLX6T9W4= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6902:4cf:b0:d7b:92d7:5629 with SMTP id v15-20020a05690204cf00b00d7b92d75629mr82335ybs.8.1694824312956; Fri, 15 Sep 2023 17:31:52 -0700 (PDT) Date: Fri, 15 Sep 2023 17:31:08 -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-17-seanjc@google.com> Subject: [PATCH 16/26] KVM: MIPS: 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230915_173155_530799_5DF008D8 X-CRM114-Status: GOOD ( 13.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Sean Christopherson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Don't add virt/kvm to KVM MIPS' 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 MIPS *ever* included a header from virt/kvm, i.e. odds are good the "-Ivirt/kvm" was copied from a different architecture's Makefile when MIPS support was first added. Signed-off-by: Sean Christopherson --- arch/mips/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kvm/Makefile b/arch/mips/kvm/Makefile index 805aeea2166e..96a7cd21b140 100644 --- a/arch/mips/kvm/Makefile +++ b/arch/mips/kvm/Makefile @@ -4,7 +4,7 @@ include $(srctree)/virt/kvm/Makefile.kvm -ccflags-y += -Ivirt/kvm -Iarch/mips/kvm +ccflags-y += -Iarch/mips/kvm kvm-$(CONFIG_CPU_HAS_MSA) += msa.o