lkml.org 
[lkml]   [2021]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH v2 5/7] KVM: SVM: hyper-v: Remote TLB flush for SVM
    From
    Date

    On 4/16/2021 5:04 AM, Vitaly Kuznetsov wrote:
    > Vineeth Pillai <viremana@linux.microsoft.com> writes:
    >
    >
    >
    > +#if IS_ENABLED(CONFIG_HYPERV)
    > +static void hv_init_vmcb(struct vmcb *vmcb)
    > +{
    > + struct hv_enlightenments *hve = &vmcb->hv_enlightenments;
    > +
    > + if (npt_enabled &&
    > + ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB)
    > Nitpick: we can probably have a 'static inline' for
    >
    > "npt_enabled && ms_hyperv.nested_features & HV_X64_NESTED_ENLIGHTENED_TLB"
    >
    > e.g. 'hv_svm_enlightened_tlbflush()'
    Makes sense, will do.

    Thanks,
    Vineeth




    \
     
     \ /
      Last update: 2021-04-16 19:27    [W:2.900 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site