Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp15600396rwb; Mon, 28 Nov 2022 13:42:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf532haoCYbHzHIckZHRm6VVEQkFrVWG8KUM9TWcFL+5U4Dqd7d8ckPoIJi23qB0ujF0VHE0 X-Received: by 2002:a17:906:f113:b0:7ad:a030:7501 with SMTP id gv19-20020a170906f11300b007ada0307501mr45841688ejb.446.1669671776768; Mon, 28 Nov 2022 13:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669671776; cv=none; d=google.com; s=arc-20160816; b=HNbZduGdzrdCmzaDVLPWsrNR0kToABiJds7pPghaqMDHC7iP+ewxgmJcHibmC2odtY cW3d41RxB1lHkoIfpcI6pcIyWBVCADxhgiqgdkGj7/29S2uthA2mgSl3eRnn8JZfEHcg URk3oeTnXYCYuP8g3XiI/mk8xQ4dH/STg8vlK1/g+sIce4wZQrxMQIvmOrtTfQwOLb9f fWEEMt4VsORB7UGIxjU56/OLnN10jFjsK5K7/sWaYpRxyuaFyGDZEfwDF9XT6/GUG0yP hPf+HdmZmU/vkcmov1iZsRs+7L2LrRXdlBDjih17mmtjn/1DHt9s6rArYpZ6jEr9wJPI YYAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=3p6Xc2awnVHXaW8GbjDppIU7epKFr+L8bVkeNSCSj5A=; b=jtsHXISYkTGhhXLduqPqx9o4eHbp1aWSXmRXG9Cv5CkvlHJz+EtiqOrhVyomvO8Djy 4Y/HGHalWBixDgBTZgCKKU937P2sOccUOtvnIU+Rg9rQD/66s4H3+7iT1f54Xn5bmPKf HiWWfSHKJK2ODPaMJXWWeiIRd+YKUb89hIo1o0FnwCeR+7Fj5Vqj0+BnG0X7VASyJbF4 VvEdnqsPO/gM7VRaEc0SQD7p4CcJTuav5Mi5ox5fzbSp+efCnZTZXbSjb5Sz9hzHUvMA 9M6rFBH91NCBMonuUJuS8RZp5LPqiaiWAoa3SLzWhym93pMymG6x8Qtizgs3ebcSYaH9 ISKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@atishpatra.org header.s=google header.b=KkgARuVQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc12-20020a1709078a0c00b007adca6532e3si10615939ejc.229.2022.11.28.13.42.32; Mon, 28 Nov 2022 13:42:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@atishpatra.org header.s=google header.b=KkgARuVQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233860AbiK1VEv (ORCPT + 84 others); Mon, 28 Nov 2022 16:04:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234387AbiK1VEi (ORCPT ); Mon, 28 Nov 2022 16:04:38 -0500 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C7862FC18 for ; Mon, 28 Nov 2022 13:04:31 -0800 (PST) Received: by mail-oi1-x22c.google.com with SMTP id v81so13019840oie.5 for ; Mon, 28 Nov 2022 13:04:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atishpatra.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3p6Xc2awnVHXaW8GbjDppIU7epKFr+L8bVkeNSCSj5A=; b=KkgARuVQ5Drz/MpWTLAgUaK/xzIwu2TSlICaiYVUTUx9VBuvrt1kHIqDEKm06Q9h52 CgZZeFUDjx4dD+MvKfsmpr+plfOBrPsTXwoapMOuPnumz21i68R+EC9mA3gzao7j7H3W D8mdjIPQvhxQDVJpTJtTZ4HISn1MeQEbBmDGo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=3p6Xc2awnVHXaW8GbjDppIU7epKFr+L8bVkeNSCSj5A=; b=hD1xZ+bBpBcxbBRlfCfFp07+UN89veXJ6x1Iz5VNkG+HljxPXxVjX3zTV+pbW2AdI2 9hyqIFQ/7MMtgDDQ5cJz2Usv0BJ9cbFbA2fuxTHHKoC3m2Up6LS9bzYrvUSGdeEvj2bu BWjcV/QAs+36PRPaMwrL456WcF/kPGJWaTbiaruK0MGF9RglpOsEkYFKEStH7KEyw1Cx 5F5opJfY2/uivtzxVqbXXb+hYxRANQbTS7Ln+8TdrgKpq19zbBOHFaV4/ng4Y1Jw69Wn y+3JabCW99xtZ+S2MhwbUf3w1ME89njQ0LkrDvvFoamHFLwtJvXNRIYAhCoY8hWX7jAz 7WMA== X-Gm-Message-State: ANoB5plmCQSSGd+QG8DZZ7hfCyfTxTcTngSReIy2CQvVai+8O7poeEZH PWFSgLVPeTrgAhCbkFeEXp3VHwqc4bU8uIZVSCq5 X-Received: by 2002:a05:6808:51:b0:359:f091:104 with SMTP id v17-20020a056808005100b00359f0910104mr29346146oic.274.1669669470813; Mon, 28 Nov 2022 13:04:30 -0800 (PST) MIME-Version: 1.0 References: <20221128161424.608889-1-apatel@ventanamicro.com> <20221128161424.608889-4-apatel@ventanamicro.com> In-Reply-To: <20221128161424.608889-4-apatel@ventanamicro.com> From: Atish Patra Date: Mon, 28 Nov 2022 13:04:20 -0800 Message-ID: Subject: Re: [PATCH 3/9] RISC-V: KVM: Remove redundant includes of asm/csr.h To: Anup Patel Cc: Paolo Bonzini , Palmer Dabbelt , Paul Walmsley , Andrew Jones , Anup Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On Mon, Nov 28, 2022 at 8:14 AM Anup Patel wrote: > > We should include asm/csr.h only where required so let us remove > redundant includes of this header. > > Signed-off-by: Anup Patel > --- > arch/riscv/include/asm/kvm_host.h | 1 - > arch/riscv/kvm/vcpu_sbi_base.c | 1 - > arch/riscv/kvm/vcpu_sbi_hsm.c | 1 - > arch/riscv/kvm/vcpu_sbi_replace.c | 1 - > arch/riscv/kvm/vcpu_sbi_v01.c | 1 - > 5 files changed, 5 deletions(-) > > diff --git a/arch/riscv/include/asm/kvm_host.h b/arch/riscv/include/asm/kvm_host.h > index dbbf43d52623..6502f9099965 100644 > --- a/arch/riscv/include/asm/kvm_host.h > +++ b/arch/riscv/include/asm/kvm_host.h > @@ -13,7 +13,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/arch/riscv/kvm/vcpu_sbi_base.c b/arch/riscv/kvm/vcpu_sbi_base.c > index 22b9126e2872..0c806f61c629 100644 > --- a/arch/riscv/kvm/vcpu_sbi_base.c > +++ b/arch/riscv/kvm/vcpu_sbi_base.c > @@ -10,7 +10,6 @@ > #include > #include > #include > -#include > #include > #include > > diff --git a/arch/riscv/kvm/vcpu_sbi_hsm.c b/arch/riscv/kvm/vcpu_sbi_hsm.c > index 239dec0a628a..2e915cafd551 100644 > --- a/arch/riscv/kvm/vcpu_sbi_hsm.c > +++ b/arch/riscv/kvm/vcpu_sbi_hsm.c > @@ -9,7 +9,6 @@ > #include > #include > #include > -#include > #include > #include > > diff --git a/arch/riscv/kvm/vcpu_sbi_replace.c b/arch/riscv/kvm/vcpu_sbi_replace.c > index 4c034d8a606a..03a0198389f0 100644 > --- a/arch/riscv/kvm/vcpu_sbi_replace.c > +++ b/arch/riscv/kvm/vcpu_sbi_replace.c > @@ -9,7 +9,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/arch/riscv/kvm/vcpu_sbi_v01.c b/arch/riscv/kvm/vcpu_sbi_v01.c > index 8a91a14e7139..489f225ee66d 100644 > --- a/arch/riscv/kvm/vcpu_sbi_v01.c > +++ b/arch/riscv/kvm/vcpu_sbi_v01.c > @@ -9,7 +9,6 @@ > #include > #include > #include > -#include > #include > #include > #include > -- > 2.34.1 > Reviewed-by: Atish Patra -- Regards, Atish