From: Vitaly Kuznetsov <vkuznets@redhat.com>
To: Yue Haibing <yuehaibing@huawei.com>,
seanjc@google.com, pbonzini@redhat.com, tglx@linutronix.de,
mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com,
x86@kernel.org, hpa@zytor.com
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, yuehaibing@huawei.com
Subject: Re: [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page()
Date: Mon, 05 Aug 2024 10:38:01 +0200 [thread overview]
Message-ID: <87sevjgyae.fsf@redhat.com> (raw)
In-Reply-To: <20240803113233.128185-1-yuehaibing@huawei.com>
Yue Haibing <yuehaibing@huawei.com> writes:
> There is no caller in tree since introduction in commit b4f69df0f65e ("KVM:
> x86: Make Hyper-V emulation optional")
Yea, I tried some history digging but came out empty handed and I have
to admit I have no idea how and when I added this stub. Thanks for the
cleanup!
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> arch/x86/kvm/hyperv.h | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kvm/hyperv.h b/arch/x86/kvm/hyperv.h
> index 923e64903da9..913bfc96959c 100644
> --- a/arch/x86/kvm/hyperv.h
> +++ b/arch/x86/kvm/hyperv.h
> @@ -286,7 +286,6 @@ static inline int kvm_hv_hypercall(struct kvm_vcpu *vcpu)
> return HV_STATUS_ACCESS_DENIED;
> }
> static inline void kvm_hv_vcpu_purge_flush_tlb(struct kvm_vcpu *vcpu) {}
> -static inline void kvm_hv_free_pa_page(struct kvm *kvm) {}
> static inline bool kvm_hv_synic_has_vector(struct kvm_vcpu *vcpu, int vector)
> {
> return false;
--
Vitaly
next prev parent reply other threads:[~2024-08-05 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-03 11:32 [PATCH -next] KVM: x86: hyper-v: Remove unused inline function kvm_hv_free_pa_page() Yue Haibing
2024-08-05 8:38 ` Vitaly Kuznetsov [this message]
2024-08-13 13:29 ` Paolo Bonzini
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=87sevjgyae.fsf@redhat.com \
--to=vkuznets@redhat.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=yuehaibing@huawei.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.