On Tue, May 16, 2023, Jim Mattson wrote: > On Thu, Feb 24, 2022 at 5:32 PM Sean Christopherson <seanjc@xxxxxxxxxx> wrote: > > > > On Thu, Feb 24, 2022, Jim Mattson wrote: > > > From: Jacob Xu <jacobhxu@xxxxxxxxxx> > > > > > > Include a definition of WARN_ON_ONCE() before using it. > > > > > > Fixes: bb1fcc70d98f ("KVM: nVMX: Allow L1 to use 5-level page walks for nested EPT") > > > Cc: Sean Christopherson <seanjc@xxxxxxxxxx> > > > Signed-off-by: Jacob Xu <jacobhxu@xxxxxxxxxx> > > > [reworded commit message; changed <asm/bug.h> to <linux/bug.h>] > > > Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> > > > --- > > > arch/x86/include/asm/vmx.h | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/arch/x86/include/asm/vmx.h b/arch/x86/include/asm/vmx.h > > > index 0ffaa3156a4e..447b97296400 100644 > > > --- a/arch/x86/include/asm/vmx.h > > > +++ b/arch/x86/include/asm/vmx.h > > > @@ -14,6 +14,7 @@ > > > > > > #include <linux/bitops.h> > > > #include <linux/types.h> > > > +#include <linux/bug.h> > > > > Paolo, any chance you want to put these in alphabetical order when applying? :-) > > > > Reviewed-by: Sean Christopherson <seanjc@xxxxxxxxxx> > > > > > #include <uapi/asm/vmx.h> > > > #include <asm/vmxfeatures.h> > > > > > Ping. I'll grab this for 6.5 unless Paolo beats me to the punch.