From: kbuild test robot <lkp@intel.com>
To: Yang Weijiang <weijiang.yang@intel.com>
Cc: kbuild-all@lists.01.org, kvm@vger.kernel.org,
linux-kernel@vger.kernel.org, pbonzini@redhat.com,
jmattson@google.com, sean.j.christopherson@intel.com,
yu.c.zhang@linux.intel.com, alazar@bitdefender.com,
edwin.zhai@intel.com, Yang Weijiang <weijiang.yang@intel.com>
Subject: [RFC PATCH] vmx: spp: kvm_spp_level_pages() can be static
Date: Wed, 1 Jan 2020 04:33:31 +0800 [thread overview]
Message-ID: <20191231203331.rsdoqhfvbwbxiot3@f53c9c00458a> (raw)
In-Reply-To: <20191231065043.2209-7-weijiang.yang@intel.com>
Fixes: 5ab8f03b84b6 ("vmx: spp: Set up SPP paging table at vmentry/vmexit")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
spp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kvm/mmu/spp.c b/arch/x86/kvm/mmu/spp.c
index 9d9edb295394c..3ec4341409674 100644
--- a/arch/x86/kvm/mmu/spp.c
+++ b/arch/x86/kvm/mmu/spp.c
@@ -199,7 +199,7 @@ bool is_spp_spte(struct kvm_mmu_page *sp)
return sp->role.spp;
}
-int kvm_spp_level_pages(gfn_t gfn_lower, gfn_t gfn_upper, int level)
+static int kvm_spp_level_pages(gfn_t gfn_lower, gfn_t gfn_upper, int level)
{
int page_num = KVM_PAGES_PER_HPAGE(level);
gfn_t gfn_max = (gfn_lower & ~(page_num - 1)) + page_num - 1;
@@ -416,7 +416,7 @@ static void kvm_spp_zap_pte(struct kvm *kvm, u64 *spte, int level)
}
}
-bool kvm_spp_flush_rmap(struct kvm *kvm, u64 gfn_min, u64 gfn_max)
+static bool kvm_spp_flush_rmap(struct kvm *kvm, u64 gfn_min, u64 gfn_max)
{
u64 *sptep;
struct rmap_iterator iter;
next prev parent reply other threads:[~2019-12-31 20:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-31 6:50 [PATCH v10 00/10] Enable Sub-Page Write Protection Support Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 01/10] Documentation: Add EPT based Subpage Protection and related APIs Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 02/10] vmx: spp: Add control flags for Sub-Page Protection(SPP) Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 03/10] mmu: spp: Add SPP Table setup functions Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 04/10] mmu: spp: Add functions to operate SPP access bitmap Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 05/10] x86: spp: Introduce user-space SPP IOCTLs Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 06/10] vmx: spp: Set up SPP paging table at vmentry/vmexit Yang Weijiang
2019-12-31 20:33 ` kbuild test robot
2019-12-31 20:33 ` kbuild test robot [this message]
2019-12-31 6:50 ` [PATCH v10 07/10] mmu: spp: Enable Lazy mode SPP protection Yang Weijiang
2019-12-31 22:26 ` kbuild test robot
2019-12-31 22:26 ` [RFC PATCH] mmu: spp: is_spp_protected() can be static kbuild test robot
2019-12-31 6:50 ` [PATCH v10 08/10] mmu: spp: Handle SPP protected pages when VM memory changes Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 09/10] x86: spp: Add SPP protection check in emulation Yang Weijiang
2019-12-31 6:50 ` [PATCH v10 10/10] kvm: selftests: selftest for Sub-Page protection Yang Weijiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191231203331.rsdoqhfvbwbxiot3@f53c9c00458a \
--to=lkp@intel.com \
--cc=alazar@bitdefender.com \
--cc=edwin.zhai@intel.com \
--cc=jmattson@google.com \
--cc=kbuild-all@lists.01.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=sean.j.christopherson@intel.com \
--cc=weijiang.yang@intel.com \
--cc=yu.c.zhang@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®