Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5052274rdb; Sat, 16 Sep 2023 00:27:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKOgNKEIrwqwvhc6B2SY9ovqLT26RAP9KvSXiKefudH8+zX2nwKHi5/VjAFh0ecD8Jef/Q X-Received: by 2002:a17:902:da91:b0:1b6:6b90:7c2f with SMTP id j17-20020a170902da9100b001b66b907c2fmr4260186plx.55.1694849247446; Sat, 16 Sep 2023 00:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694849247; cv=none; d=google.com; s=arc-20160816; b=Lg6jIqIcwXyCcna5m8/RaRMR8xKEIlvcQDuDwc8mQgdGY4Qjy1VCavGl2EfWTuvYqV BdGaiHPYSyNIQzmnjiJdW1O14nc5EMU/cYO0Y+M+M3nvlQKOfMUOPl7sv+yhLOgueeKe BpghG2G5xdYEI/g98AV0nN/YHDlKHeKZoFNwUcat9rsskxfQ+FJcBwxnkEz8TSACJZFl REE+VTP+dWw1twthCcDAQ9q0w8FRZ8jmE8O5fe7oeZy0vEsyseMkuOs4X1aHgf6Fy/fO IabyGY/vv80aRInI7RiONVFegYNrayWUwPLdweKv/UVV//dXp7yB1xYVClCpuU8tVDqI HMTg== 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=pl7bBxxWVXjTf9iTQwKV6iNN5dTCLVhIVjlh92R6IC4=; fh=kXSkXFacTVTlVHq0XnHvR0iN61knZqi7sPJIGv3JAWo=; b=WJe8RfGzz+gVQP8g9eFFamH6SAMEc9Vqj7u/eH5hStjJxqdkdpun677V1tH7Oi5SP/ OyxoUId7AEHD/cPbiZ31jy44EEUzG2su1kOe7R7dLVeXxMePWXY8Bf7MIahFR4zuMOXj /kzfOmKcY2TVq0waveh/B76mtvhhuDDNQ1q6Hiylq+qKb885ISi3FeHarOiKBpcJLUld hQU7FMkHJMi5ULihPveAgcTVZnX+Rd/HH59AtSYnSmtt7NIqevCvDicd/RSX51pMOuET CLXr/UION8XiG6CFxZUTGRukkdUsznrZ1yTTaa43J9H1bPwLe7ikAj/WBzCrtgwM3RFk I+ZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=zOLzyvf9; 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 u5-20020a170902b28500b001b9e82a6beesi4531797plr.548.2023.09.16.00.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 00:27:27 -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=zOLzyvf9; 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 34725836EA9E; Fri, 15 Sep 2023 17:33:51 -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 S238850AbjIPAd3 (ORCPT + 99 others); Fri, 15 Sep 2023 20:33:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238654AbjIPAc0 (ORCPT ); Fri, 15 Sep 2023 20:32:26 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E22E52D7F for ; Fri, 15 Sep 2023 17:31:53 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-d817775453dso3100917276.2 for ; Fri, 15 Sep 2023 17:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694824313; x=1695429113; 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=pl7bBxxWVXjTf9iTQwKV6iNN5dTCLVhIVjlh92R6IC4=; b=zOLzyvf9Xh9Oyip0BwJ83PeBHCS/GkeIkYW7amwKWpbVRBulRSs+M2ewlVHSYEk8Y1 fZi/rLeXSktTS8MyrHSb7oSjjoji3mP8DLBFys3HTkweHkzNEjUj/MYjO6bhCObLf6WI C4epHaQCDHjamTfPTIFUVJo9uV7rJeD8D3Ev5VTy1GaRUXNCbP9vUakULPRry3f2UmYw gyw5WDenpiA4SZAJNYLZ4b5c/W6CHbsXfPj0GoeSA/wcWsneuM9gT86MPn9Q/cBxCCsq e6qXt7/vwX6T3FspiyVRjD7e2hTXM1HQsLlpY6p8Z4vdzbokFmWoStzOeNzcENym+vhB +SRw== 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=Imj8MhwqBFcF7DcjjPTvBgLZyDpBUGcTObKa8bGMmc5QaM9ZiLD2xN43SPLdXV/uj4 Tddu/1AZUWXa+9uOPr1C6J9tMOkjM90niJXjTqsz4TKufR2Z0Z+fH20+knn1uhE/zF5C P1Wn2uTVlq9FMOywVPV+FLZBDquAQgsVlahoY8LjaCczp+eCYaW+g9DmEXwPbOiiOj+0 KQTOcFMurRnO7gSOVAgALQdEXQvy57H4/SuHIGzER+sMyB4oxP7gmT9qZ54tVrAIya33 GZLqSBRuHCc5FOs1qVDz3/zqDbwbmcTyPWIyY9bmKqYpjCSgBcEsRDG7CxrSM2ke43U+ SXcw== X-Gm-Message-State: AOJu0YymL1oYogF4uSozsk5nr2wleZ48BRKRREUJHa36p/H82lkc2umM nBoST7GnRqPaulKEQeROEDOyoJvM+M8= 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) Reply-To: Sean Christopherson 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 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:51 -0700 (PDT) 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 -- 2.42.0.459.ge4e396fd5e-goog