From patchwork Mon Nov 28 16:14:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anup Patel X-Patchwork-Id: 26856 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5784340wrr; Mon, 28 Nov 2022 08:17:39 -0800 (PST) X-Google-Smtp-Source: AA0mqf5+IA8HbGkfG8h8EVCjzaZ/CLtA2yB4jaG3B3vNS91bf9uOYxphUxUh6iQuk91mpi61ri3n X-Received: by 2002:a05:651c:19ab:b0:276:66a4:47c3 with SMTP id bx43-20020a05651c19ab00b0027666a447c3mr10932637ljb.49.1669652259543; Mon, 28 Nov 2022 08:17:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669652259; cv=none; d=google.com; s=arc-20160816; b=skNezWqRGEtyExVDSHmkYjgoCCn0JQ55O/68WDc//kqIYmcrkxQCqoPEctbNQqHJkG usLxiSoduLj60xStIh6zcYr97qPNVkpcDhlRyyuuEIreXDhmtv5+gaj7yJHpSckWwYW+ VLM9HUfJKbgqC4+Rx3k3VXiB/KXmSOf74n5uUHW/etDo/YKdWIBq4HFqPTn+j6GBahCT MzKbXcX89gNQ6AmmeAcxGTIjfk7l90PpkYK6KYOPxltihxEnNUx+mwuQuWN72mQid0H5 /plgApib2XZAbIzIEHnfaEI66q9ndk8skgmGdM5AWxfhblb26ldAWw3tOMhOCaFGL/tN ugDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7G5jJwuL5a/PRNCMiCmBEuKFRdtzizPv7c8U41zNCGg=; b=IqMp4AzadhTnfpBT/Snuz19IvOgSSuNla8x8rXW7Sb3sOESrGA68eGcwSzLXO6pXGq 7K9PAyr4iwPkCa35N44NZL4eKsI+6Bnt1d+U5SogvA/dvMG1fsuQZy7HLuogTB4HsC4k ecWT1aCxgUn7UudhzPxHekiUqsLwoFYTNzlH3ZFLLEhNuj9+lPSQw+37fzyvHWDYY4x1 VqBxMmS0XFJ6rYj6rsSbejKfVgP/YlvnxECxvxJcdnKUEutr3uQhJr2DGQsToXEDXHne Frp9g07YZ111Zrrf8hbdeXrFiHOvY8H0hhBLjpf+QsMwjexg5dPCuHWFVY+yZ+gdsJCH eb7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=lrhiGfsI; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr14-20020a1709073f8e00b00787abcb1ce0si10933816ejc.679.2022.11.28.08.17.13; Mon, 28 Nov 2022 08:17:39 -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=@ventanamicro.com header.s=google header.b=lrhiGfsI; 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 S232648AbiK1QO4 (ORCPT + 99 others); Mon, 28 Nov 2022 11:14:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232552AbiK1QOt (ORCPT ); Mon, 28 Nov 2022 11:14:49 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24A7F1E731 for ; Mon, 28 Nov 2022 08:14:47 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id d6so10617137pll.7 for ; Mon, 28 Nov 2022 08:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7G5jJwuL5a/PRNCMiCmBEuKFRdtzizPv7c8U41zNCGg=; b=lrhiGfsIfOZZ6ZSUfqLx0rHc7pIdz7RcfT9qTrum1U7zEbSdCBeuIAffCX9Zp8ALzF QijgFUXavVRujVGmYAnKR1lA7+nl0rsXn93dezLwx1IfkYQzPwSBifIe80oHP5YPSNfc knJREFODU6y9oD6lGpxSJe1Z11OJ6f2uhBT+lDLN5hl+0oVV4AfxOOWa3kwft1/6s6lx aTDoavz9I3OMPVZ9lBIUtc5Ojne1pFtIbwfL9S3hme8LFnTWMBEPkv0ZxJO9IERhQXKD LrpdyEUC76y9Wc7Qr2xmmRCricyYcugnKM711T3L0zNHCOD60LH6Nf7/CUcYy2YCLjPs 1heg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7G5jJwuL5a/PRNCMiCmBEuKFRdtzizPv7c8U41zNCGg=; b=lFB6LkCkKjW24ZWzIPLgdN+UJ53+3CT2BUtWqcQr+1Rvzs8aixKsgXoJ4oRkFc4z6s nrFhwnt0rmqN+9/uD9yoTnegVZbpPFZeiJxWvmSKvpdvOEmTgu0hPEAiu2XW2n9EhUZO lP1+E/FIqC2Rnak3Zl8suVwjjM+NKWeK8FcYGKdqpVG7AZPmdQtuCiVxv005N5gvdSuk J8J81xU5wN8hp+QRFpIkileU/pp8+O5DeawD5f2DgldmLJ219Y0F3iHvzdWzmDKqtpKU 1MyvuwO46A/pWDZCadYQM0oAKGh/i0Qv+ICJ4SDaHjiEHiKDRmPoGnOIcbXCEl4tUgnq 8d9Q== X-Gm-Message-State: ANoB5pmHlnZX55YPnEgZVBwH9P+3ejRVDhNvmy6qQWipRt4pG5UEg6ab MG9vozK+1UR2FrJngKW9ZCAXXg== X-Received: by 2002:a17:902:9307:b0:189:9284:2140 with SMTP id bc7-20020a170902930700b0018992842140mr2574760plb.111.1669652087098; Mon, 28 Nov 2022 08:14:47 -0800 (PST) Received: from anup-ubuntu-vm.localdomain ([171.76.85.0]) by smtp.gmail.com with ESMTPSA id k145-20020a628497000000b0056246403534sm8210805pfd.88.2022.11.28.08.14.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 08:14:46 -0800 (PST) From: Anup Patel To: Paolo Bonzini , Atish Patra Cc: 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, Anup Patel Subject: [PATCH 3/9] RISC-V: KVM: Remove redundant includes of asm/csr.h Date: Mon, 28 Nov 2022 21:44:18 +0530 Message-Id: <20221128161424.608889-4-apatel@ventanamicro.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221128161424.608889-1-apatel@ventanamicro.com> References: <20221128161424.608889-1-apatel@ventanamicro.com> MIME-Version: 1.0 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=ham 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750757287676418293?= X-GMAIL-MSGID: =?utf-8?q?1750757287676418293?= We should include asm/csr.h only where required so let us remove redundant includes of this header. Signed-off-by: Anup Patel Reviewed-by: Atish Patra --- 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