On Mon, 14 Oct 2019 13:29:12 +0000 Tianyu Lan <Tianyu.Lan@xxxxxxxxxxxxx> wrote: > > > diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h > > > index 18892d6541..923fb33a01 100644 > > > --- a/linux-headers/linux/kvm.h > > > +++ b/linux-headers/linux/kvm.h > > > @@ -995,6 +995,7 @@ struct kvm_ppc_resize_hpt { > > > #define KVM_CAP_ARM_SVE 170 > > > #define KVM_CAP_ARM_PTRAUTH_ADDRESS 171 > > > #define KVM_CAP_ARM_PTRAUTH_GENERIC 172 > > > +#define KVM_CAP_HYPERV_DIRECT_TLBFLUSH 174 > > > > I was once told that scripts/update-linux-headers.sh script is supposed > > to be used instead of cherry-picking stuff you need (adn this would be a > > separate patch - update linux headers to smth). > > > > Thanks for suggestion. I just try the update-linux-headers.sh and there are a lot > of changes which are not related with my patch. I also include these > changes in my patch, right? The important part is that you split out the headers update as a separate patch. If this change is already included in the upstream kernel, just do a complete update via the script (mentioning the base you did the update against.) If not, include a placeholder patch that can be replaced by a real update when applying.