[PATCH v13A 24/35] x86/fred: Add a NMI entry stub for FRED

2023-12-15 Thread Xin Li
From: "H. Peter Anvin (Intel)" On a FRED system, NMIs nest both with themselves and faults, transient information is saved into the stack frame, and NMI unblocking only happens when the stack frame indicates that so should happen. Thus, the NMI entry stub for FRED is really quite small... Signe

RE: [PATCH v13 24/35] x86/fred: Add a NMI entry stub for FRED

2023-12-15 Thread Li, Xin3
> So we have recently discovered an overlooked interaction with VT-x. > Immediately before VMENTER and after VMEXIT, CR2 is live with the > *guest* CR2. Regardless of if the guest uses FRED or not, this is guest > state and SHOULD NOT be corrupted. Furthermore, host state MUST NOT leak > into the g

Re: [PATCH] scripts: kernel-doc: Clarify missing struct member description

2023-12-15 Thread Jonathan Corbet
Kees Cook writes: > The output "or member" should be more specific, instead saying "struct > member". > > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > Signed-off-by: Kees Cook > --- > scripts/kernel-doc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/k

Re: [PATCH] docs: conf.py: Ignore __counted_by attribute

2023-12-15 Thread Jonathan Corbet
Kees Cook writes: > It seems that Sphinx is confused by the __counted_by attribute on struct > members. Add it to the list of known attributes. > > Reported-by: kernel test robot > Closes: > https://lore.kernel.org/oe-kbuild-all/202312150614.kox8xukr-...@intel.com/ > Cc: Jonathan Corbet > Cc: