Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5786854rdb; Wed, 13 Dec 2023 22:04:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IH0WW0FmqSK56MuIfNi8dalyl15cSdgxUxI1km6yPOjSerVMy1VVjw+SGZ5WS7k/kqH6oX1 X-Received: by 2002:a05:6a21:a590:b0:190:1d60:8cf4 with SMTP id gd16-20020a056a21a59000b001901d608cf4mr13275301pzc.67.1702533895686; Wed, 13 Dec 2023 22:04:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702533895; cv=none; d=google.com; s=arc-20160816; b=zUHrDONjUxCYfRbhr6dDEpEWKayIFnzvZ6vIMr6NWHx8nthOV2kHPyLa5lggaZM4dc im/Tl8b+acMjBC4RExVaWVOvYmGjDBiWORVSvrDTUY1g1zyPCXHRyUJJ1actYNzRFqun AUnsn5/eOe7/p/zxwKeBqt0HcXmJ3Lc2QtfKsDzqfKp06TqvZWHlGG63w9PijLec2SHZ 8ZJhpVq/PXc5jyqCX1GC6ONYE71dioCvJXwSYoVfZuU8qCOD+NHPir1t5Erk6molMOMY y+6Gtqvpyq7t/m+xZsHkxx1tUrtrk4VDli1jINaPN8fGA6cMtyRTsIVKK1bZO+r+TYcK VehA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rR88+KJ4oetYgNJPPfLxYGb3zN8cHiA15JFTdJl3Cf4=; fh=QsU2GcRcheLmR8CDzqPOtI1HD+P+nrS+WXxzg7gb6nI=; b=B0OVGDX3CGZKd+9CMmITSa828BudT9wtK7479urwV6weVNYEuxEsxujNdINCtWNq5K pb2q76yptSRcbyHpONCoo8S0+XwHrmeA3/tMOd6+Y0yJhz9vt/4sEbbW6myuHCgShWfN mG/uBzTWvEtzd4nkQtDrGoKhMDQdvFEuwMdtyFPZJucAoqQfvfnSzcBwhelNYS5TTiT+ 1ZErA5TCllchpMo5olxq+o7aHEKXAWO6IMVq+a6YeGFqOg09Qfl0fBnX2hWXOeEysa/F rLAfX9njthRiDfLXlT/b7qyyB2zJIb7xdjS1XIebm0KEhKIfsOYrb6LS+Ljix0qKFnTX t2Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=EYzBOEyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id a20-20020a17090ad81400b00285a910661esi12112664pjv.10.2023.12.13.22.04.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 22:04:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@brainfault-org.20230601.gappssmtp.com header.s=20230601 header.b=EYzBOEyq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 2051D80740CA; Wed, 13 Dec 2023 22:04:52 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443121AbjLNGEe (ORCPT + 99 others); Thu, 14 Dec 2023 01:04:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230034AbjLNGES (ORCPT ); Thu, 14 Dec 2023 01:04:18 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6504F1988 for ; Wed, 13 Dec 2023 22:02:47 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1d350dff621so13702505ad.1 for ; Wed, 13 Dec 2023 22:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20230601.gappssmtp.com; s=20230601; t=1702533767; x=1703138567; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rR88+KJ4oetYgNJPPfLxYGb3zN8cHiA15JFTdJl3Cf4=; b=EYzBOEyqOU2OeUHkT0F0MAJeYrxovJZes3YbwZ8yE89ghw1axwSVwBud02jKXET/CM f4iO3xgPngtKp4HPOHqoDhv8ogNvYem25PHWKB/CBWn/MK17LdLOhDyefRlW2Fbgi6rs qv7iTm1+WBrUEGpYjcvSyRVq8EL6BbSn7l1O/1is5N6EWCu/ti9546YuDJpsTYRSb5A9 n2DovChO3B+c5TWpY58d+Hwz+U0QNhOVGECzbjDTv96SOkuOAQUO744miTrhYwjrDk64 RCJmWsH2up6A+YvEcTZVqhQtQo5RxhIt5omaRIfESGDdxjFCArCJyxC563bb9NGIML/k JmHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702533767; x=1703138567; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rR88+KJ4oetYgNJPPfLxYGb3zN8cHiA15JFTdJl3Cf4=; b=wrV99G0xjU7dz5jlg9BPN5pCBkLjQb9mbA96zfiA55qtfOYN3WzvMdknor04xZZaI/ 8M8SgLuZJ2+o6g2/PRKL28ru6WjVBVWI6fei6appcppsLFNzJwPsPCbkx17QJQDmEQ4c uVSfCgbqp2/WKNf3qzoYM09lJaReC9zSZEF0UOaxWjP+6hw9ZRDKcSVOEyACURGX0Ao3 EguaV0aCVCr9BPkC1wGpj8UglsvM9/GGu4OSbjMnsG3QN0NuanuR/Be1S1vi5P/glW5O Bb2Gg8xsMYh40fW1P0nt7ACYKRBMYsXPhJFprBIAFOM2IVVV7TUvBSTC0LkfCGcUx/0V LaJg== X-Gm-Message-State: AOJu0YwgXAeJ47B4E+LTAkjvXEYJoim37qKAK+b1kj31oKzA5YTYi6va qhpXYkt16kuk9OSE4KwaoHe0mHSnfzzMBUbkiZVihA== X-Received: by 2002:a17:90b:3692:b0:28a:ee4d:20e4 with SMTP id mj18-20020a17090b369200b0028aee4d20e4mr1197143pjb.87.1702533766622; Wed, 13 Dec 2023 22:02:46 -0800 (PST) MIME-Version: 1.0 References: <20230916003118.2540661-1-seanjc@google.com> <20230916003118.2540661-16-seanjc@google.com> In-Reply-To: <20230916003118.2540661-16-seanjc@google.com> From: Anup Patel Date: Thu, 14 Dec 2023 11:32:35 +0530 Message-ID: Subject: Re: [PATCH 15/26] KVM: Move include/kvm/iodev.h to include/linux as kvm_iodev.h To: Sean Christopherson Cc: Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , 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 , Paolo Bonzini , Tony Krowiak , Halil Pasic , Jason Herne , Harald Freudenberger , Alex Williamson , Andy Lutomirski , 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" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Wed, 13 Dec 2023 22:04:52 -0800 (PST) On Sat, Sep 16, 2023 at 6:01=E2=80=AFAM Sean Christopherson wrote: > > Move iodev.h, the last remaining holdout in include/kvm, to the standard > include/linux directory as kvm_iodev.h and delete include/kvm. > > Signed-off-by: Sean Christopherson For KVM RISC-V: Acked-by: Anup Patel Regards, Anup > --- > MAINTAINERS | 1 - > arch/arm64/include/asm/kvm_vgic.h | 2 +- > arch/arm64/kvm/vgic/vgic-mmio-v2.c | 2 +- > arch/arm64/kvm/vgic/vgic-mmio-v3.c | 2 +- > arch/arm64/kvm/vgic/vgic-mmio.c | 2 +- > arch/mips/include/asm/kvm_host.h | 3 +-- > arch/powerpc/kvm/mpic.c | 2 +- > arch/riscv/kvm/aia_aplic.c | 2 +- > arch/riscv/kvm/aia_imsic.c | 2 +- > arch/x86/kvm/i8254.h | 2 +- > arch/x86/kvm/ioapic.h | 2 +- > arch/x86/kvm/irq.h | 2 +- > arch/x86/kvm/lapic.h | 2 +- > include/{kvm/iodev.h =3D> linux/kvm_iodev.h} | 0 > virt/kvm/coalesced_mmio.c | 3 +-- > virt/kvm/eventfd.c | 2 +- > virt/kvm/kvm_main.c | 3 +-- > 17 files changed, 15 insertions(+), 19 deletions(-) > rename include/{kvm/iodev.h =3D> linux/kvm_iodev.h} (100%) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 90f13281d297..ddc8375d536c 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -11498,7 +11498,6 @@ W: http://www.linux-kvm.org > T: git git://git.kernel.org/pub/scm/virt/kvm/kvm.git > F: Documentation/virt/kvm/ > F: include/asm-generic/kvm* > -F: include/kvm/iodev.h > F: include/linux/kvm* > F: include/trace/events/kvm.h > F: include/uapi/asm-generic/kvm* > diff --git a/arch/arm64/include/asm/kvm_vgic.h b/arch/arm64/include/asm/k= vm_vgic.h > index 5b27f94d4fad..2ca52888bc75 100644 > --- a/arch/arm64/include/asm/kvm_vgic.h > +++ b/arch/arm64/include/asm/kvm_vgic.h > @@ -13,7 +13,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > > diff --git a/arch/arm64/kvm/vgic/vgic-mmio-v2.c b/arch/arm64/kvm/vgic/vgi= c-mmio-v2.c > index bba0cfeefffe..646053ee892f 100644 > --- a/arch/arm64/kvm/vgic/vgic-mmio-v2.c > +++ b/arch/arm64/kvm/vgic/vgic-mmio-v2.c > @@ -6,9 +6,9 @@ > #include > #include > #include > +#include > #include > > -#include > #include > > #include "vgic.h" > diff --git a/arch/arm64/kvm/vgic/vgic-mmio-v3.c b/arch/arm64/kvm/vgic/vgi= c-mmio-v3.c > index d54a90beef61..b79a2e860415 100644 > --- a/arch/arm64/kvm/vgic/vgic-mmio-v3.c > +++ b/arch/arm64/kvm/vgic/vgic-mmio-v3.c > @@ -7,8 +7,8 @@ > #include > #include > #include > +#include > #include > -#include > > #include > #include > diff --git a/arch/arm64/kvm/vgic/vgic-mmio.c b/arch/arm64/kvm/vgic/vgic-m= mio.c > index 68a3d8062473..4feca3b1d915 100644 > --- a/arch/arm64/kvm/vgic/vgic-mmio.c > +++ b/arch/arm64/kvm/vgic/vgic-mmio.c > @@ -9,7 +9,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > > diff --git a/arch/mips/include/asm/kvm_host.h b/arch/mips/include/asm/kvm= _host.h > index 54a85f1d4f2c..f8f63d0aa399 100644 > --- a/arch/mips/include/asm/kvm_host.h > +++ b/arch/mips/include/asm/kvm_host.h > @@ -16,6 +16,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -24,8 +25,6 @@ > #include > #include > > -#include > - > /* MIPS KVM register ids */ > #define MIPS_CP0_32(_R, _S) \ > (KVM_REG_MIPS_CP0 | KVM_REG_SIZE_U32 | (8 * (_R) + (_S))) > diff --git a/arch/powerpc/kvm/mpic.c b/arch/powerpc/kvm/mpic.c > index 23e9c2bd9f27..b25a03251544 100644 > --- a/arch/powerpc/kvm/mpic.c > +++ b/arch/powerpc/kvm/mpic.c > @@ -26,6 +26,7 @@ > #include > #include > #include > +#include > #include > #include > #include > @@ -33,7 +34,6 @@ > #include > #include > #include > -#include > > #define MAX_CPU 32 > #define MAX_SRC 256 > diff --git a/arch/riscv/kvm/aia_aplic.c b/arch/riscv/kvm/aia_aplic.c > index 39e72aa016a4..b49e747f2bad 100644 > --- a/arch/riscv/kvm/aia_aplic.c > +++ b/arch/riscv/kvm/aia_aplic.c > @@ -11,7 +11,7 @@ > #include > #include > #include > -#include > +#include > #include > > struct aplic_irq { > diff --git a/arch/riscv/kvm/aia_imsic.c b/arch/riscv/kvm/aia_imsic.c > index 6cf23b8adb71..586e466a1c6d 100644 > --- a/arch/riscv/kvm/aia_imsic.c > +++ b/arch/riscv/kvm/aia_imsic.c > @@ -10,10 +10,10 @@ > #include > #include > #include > +#include > #include > #include > #include > -#include > #include > #include > > diff --git a/arch/x86/kvm/i8254.h b/arch/x86/kvm/i8254.h > index a768212ba821..4de7a0b88e4f 100644 > --- a/arch/x86/kvm/i8254.h > +++ b/arch/x86/kvm/i8254.h > @@ -4,7 +4,7 @@ > > #include > > -#include > +#include > > struct kvm_kpit_channel_state { > u32 count; /* can be 65536 */ > diff --git a/arch/x86/kvm/ioapic.h b/arch/x86/kvm/ioapic.h > index 539333ac4b38..2beec2daf1a3 100644 > --- a/arch/x86/kvm/ioapic.h > +++ b/arch/x86/kvm/ioapic.h > @@ -3,7 +3,7 @@ > #define __KVM_IO_APIC_H > > #include > -#include > +#include > #include "irq.h" > > struct kvm; > diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h > index c2d7cfe82d00..f9530e9a66f8 100644 > --- a/arch/x86/kvm/irq.h > +++ b/arch/x86/kvm/irq.h > @@ -13,9 +13,9 @@ > #include > #include > #include > +#include > #include > > -#include > #include "lapic.h" > > #define PIC_NUM_PINS 16 > diff --git a/arch/x86/kvm/lapic.h b/arch/x86/kvm/lapic.h > index 0a0ea4b5dd8c..bfd99ad1882e 100644 > --- a/arch/x86/kvm/lapic.h > +++ b/arch/x86/kvm/lapic.h > @@ -2,7 +2,7 @@ > #ifndef __KVM_X86_LAPIC_H > #define __KVM_X86_LAPIC_H > > -#include > +#include > > #include > > diff --git a/include/kvm/iodev.h b/include/linux/kvm_iodev.h > similarity index 100% > rename from include/kvm/iodev.h > rename to include/linux/kvm_iodev.h > diff --git a/virt/kvm/coalesced_mmio.c b/virt/kvm/coalesced_mmio.c > index 1b90acb6e3fe..cfcb4b84d632 100644 > --- a/virt/kvm/coalesced_mmio.c > +++ b/virt/kvm/coalesced_mmio.c > @@ -9,8 +9,7 @@ > * > */ > > -#include > - > +#include > #include > #include > #include > diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c > index 89912a17f5d5..4d7cfb1095fd 100644 > --- a/virt/kvm/eventfd.c > +++ b/virt/kvm/eventfd.c > @@ -26,7 +26,7 @@ > #include > #include > > -#include > +#include > > #ifdef CONFIG_HAVE_KVM_IRQFD > > diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c > index 486800a7024b..f585a159b4f5 100644 > --- a/virt/kvm/kvm_main.c > +++ b/virt/kvm/kvm_main.c > @@ -13,9 +13,8 @@ > * Yaniv Kamay > */ > > -#include > - > #include > +#include > #include > #include > #include > -- > 2.42.0.459.ge4e396fd5e-goog >