From patchwork Sat Sep 16 00:31:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Christopherson X-Patchwork-Id: 13387996 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 6BA29CD37B1 for ; Sat, 16 Sep 2023 00:34:44 +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=HidImV2MkoK0hYoSa77WvAbg+iFwoZr4+1bdGAG9lA4=; b=rwP4hrMf5h9sXL HKH6t8nHNc2vITvsIWQ59otqlPd6FzVPtV8IINJ5fSNP/DJDwJ/1TKO2y1hFih9dILB7iNHFE5nwL 1NZCOjCDaf10wH44PbU5rQSBA9TCHljy4bIUDSdTNRNfWt880siFS4yUU8ORB2dZMg96CFofQZbzb HLal54bIIqgC1mnwy4ZOQcXzjF1pegFkTsTxLf2kb3S49PzRafsoE47moQ9lr9Kq+OYj9hERL6EeU RZlemVpR6jgGN/mf7q5Dtsx2IDDbcrnbwO/UvqF75QHtgoi0WGby0n9Kl2Sw5a34DoJle8SKMscFi /d4lEqod5XDZ736AJgSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qhJGI-00BewG-0L; Sat, 16 Sep 2023 00:34:14 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qhJEC-00Bd3Y-1t for linux-arm-kernel@bombadil.infradead.org; Sat, 16 Sep 2023 00:32:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Cc:To:From:Subject: Message-ID:References:Mime-Version:In-Reply-To:Date:Reply-To:Sender: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Fxp/wpw1LF0d8Fhe/2GDyJ/jS0kdkc80zXgNVrZkdeA=; b=ix+ZbfoJ2lAOHqBBtCHd3tzo4E iMbBliSUh9hXlVggjiiqzDFcynAArfnhzqNBnJWkN47ajHWwxfL88n9Ufbx3Q8uPP7nNw+0r/N9QX 0CeY/2sudnXDgjS6oU1mURaFigF5LY7af9SX6/N3kc2fq9ErUCyuELevq6HDVdHUCjCClPPygCemc R3Kl4Qwm9veUr7tAVsLgCim1/MeSS/czCopd29I0xRqiyPF9mTLM0nVPnEUgezTTp4jbZnioIKfLR mo57ZEMo0rBRx5oCAQi3+uMap/hsfnjaD3ppANAoTJTaOy7NYzJSjB/RSAjxoJoYAvAwp8KTBBuwN TEOG3e5A==; Received: from mail-yb1-xb4a.google.com ([2607:f8b0:4864:20::b4a]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qhJE6-009jqW-0t for linux-arm-kernel@lists.infradead.org; Sat, 16 Sep 2023 00:32:03 +0000 Received: by mail-yb1-xb4a.google.com with SMTP id 3f1490d57ef6-d81d85aae7cso2236568276.0 for ; Fri, 15 Sep 2023 17:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1694824317; x=1695429117; 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=Fxp/wpw1LF0d8Fhe/2GDyJ/jS0kdkc80zXgNVrZkdeA=; b=IfgdgWhJexViMQv0Yipbvl3d+2TYIyC9MOJGlB8pfUJmagisp8ZUcYN0s1/Nkq/S/W kkpvbm2jhSXjPiFEUwrymXwvsDzQEHSRpMbEdv4/E6OASH6eW6tNtgKoqpkF0ptIocsn EcxRiv6Y3SlOkaTYb0laAYYzHW4/HZ8i605js1KosCfJBEUBZ4b6E1o6vdPX8VyzY41L tQ+f8Tck3Cql52XacHomDOXalEriAVmePrRMD1Ke5ofI0h20+4C9MJpUft4aIHLlARtp Ry0/8ak2voVqPawvCuAm7Q/NdISz+KL7Fh0rj6/41xiGIUj7Ldh3T0LMiuD4KbYHZtI4 bM5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694824317; x=1695429117; 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=Fxp/wpw1LF0d8Fhe/2GDyJ/jS0kdkc80zXgNVrZkdeA=; b=ILbpYuA0RVYwvNqQCmAxGG80PB5uH7S9eXiiy12HZ0tHbFdfC91oaW7swU+np52rqS u2IfzhA6XkMxLicnlWfM/Nbemp+eYk9HpmwIVFQMmSMeycsObi0xYVXGJCxcAyRkP5L+ xGdl4XHJ/Ei68g1pEUgdTwZls0h0CNAc2j1YoYHcY2L0tqKNZ+I6wZYyWR+h2VEyLBxL uYuA2pxKYe5KcCHGu/c6jdjaBZvmGLms+Sp7X9bhTy24b8A8Oyclg2FuOHjafKrf1yPY 1h3CMQKnc14NMg1MFeltYv/7Ir3qJthOD9HaPDilPae02NGPkMLpCCaXkhCEkraru9oy 7u2w== X-Gm-Message-State: AOJu0YyIjMagkg0R3THL08AwyRNU5MD1Xx3WuEH6bgJZG7PwMvKIu4b5 c6UFqSpP4Eptn2c1Z6owcf9GVYoJrio= X-Google-Smtp-Source: AGHT+IEqdj0NaTPFhwcZwboCYWpv5WyTfAkaUyiX867J7n21mAe+KnDvjijo+FbZ8yrF1vPesmLGFCOD+Os= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:4444:0:b0:d80:8aa6:5ac0 with SMTP id r65-20020a254444000000b00d808aa65ac0mr190245yba.4.1694824316815; Fri, 15 Sep 2023 17:31:56 -0700 (PDT) Date: Fri, 15 Sep 2023 17:31:10 -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-19-seanjc@google.com> Subject: [PATCH 18/26] KVM: s390: 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-20230916_013200_001885_2FCC49F8 X-CRM114-Status: GOOD ( 13.96 ) 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 s390'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 s390 *ever* included a header from virt/kvm, i.e. odds are good the "-Ivirt/kvm" was copied from a x86's Makefile when s390 support was first added. The only headers in virt/kvm at the time were the x86 specific ioapic.h, and iodev.h, neither of which shows up as an #include in the diff for the commit range 37817f2982d0f..e976a2b997fc4. Signed-off-by: Sean Christopherson Reviewed-by: Thomas Huth Acked-by: Claudio Imbrenda --- arch/s390/kvm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/s390/kvm/Makefile b/arch/s390/kvm/Makefile index 02217fb4ae10..f17249ab2a72 100644 --- a/arch/s390/kvm/Makefile +++ b/arch/s390/kvm/Makefile @@ -5,7 +5,7 @@ include $(srctree)/virt/kvm/Makefile.kvm -ccflags-y := -Ivirt/kvm -Iarch/s390/kvm +ccflags-y := -Iarch/s390/kvm kvm-y += kvm-s390.o intercept.o interrupt.o priv.o sigp.o kvm-y += diag.o gaccess.o guestdbg.o vsie.o pv.o