Re: [PATCH v13 07/22] x86/virt/tdx: Add skeleton to enable TDX on demand

From: Huang, Kai
Date: Fri Sep 08 2023 - 06:16:31 EST


On Thu, 2023-09-07 at 17:19 +0300, Nikolay Borisov wrote:
> > +/*
> > + * Do the module global initialization if not done yet.  It can be
> > + * done on any cpu.  It's always called with interrupts disabled.
>
> nit: Add lockdep_assert_irqs_off rather than the comment, the same way
> it's done for the lp enable function below.

Yeah can do. Thanks. I didn't do because tdx_cpu_enable() already does it.