[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABgObfY5HhB_3f=+51CRNpx0LEbEVqGTnpfX5GFTDwHtCfq6-Q@mail.gmail.com>
Date: Fri, 7 Jun 2024 10:00:20 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Rick Edgecombe <rick.p.edgecombe@...el.com>
Cc: seanjc@...gle.com, kvm@...r.kernel.org, kai.huang@...el.com,
dmatlack@...gle.com, erdemaktas@...gle.com, isaku.yamahata@...il.com,
linux-kernel@...r.kernel.org, sagis@...gle.com, yan.y.zhao@...el.com,
Isaku Yamahata <isaku.yamahata@...el.com>
Subject: Re: [PATCH v2 06/15] KVM: x86/mmu: Support GFN direct mask
On Thu, May 30, 2024 at 11:07 PM Rick Edgecombe
<rick.p.edgecombe@...el.com> wrote:
> - u64 nr_pages)
> -{
> - if (!kvm_x86_ops.flush_remote_tlbs_range)
> - return -EOPNOTSUPP;
> -
> - return static_call(kvm_x86_flush_remote_tlbs_range)(kvm, gfn, nr_pages);
> -}
> +int kvm_arch_flush_remote_tlbs_range(struct kvm *kvm, gfn_t gfn, u64 nr_pages);
> #endif /* CONFIG_HYPERV */
Ah, since you are at it please move the prototype out of the #ifdef
CONFIG_HYPERV.
Paolo
Powered by blists - more mailing lists