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

2023-12-14 Thread H. Peter Anvin
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 guest.

Re: kernel/gcov/fs.c:103: warning: Excess struct member 'buffer' description in 'gcov_iterator'

2023-12-14 Thread Philip Li
d191ddc4bd > > commit: fbd126f5a658b92c7f6af986a6d89cf5e5693268 gcov: annotate struct > > gcov_iterator with __counted_by > > date: 8 weeks ago > > config: i386-buildonly-randconfig-001-20231214 > > (https://download.01.org/0day-ci/archive/20231215/202312150432.obngc94a-...@intel

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

2023-12-14 Thread Kees Cook
On Thu, Dec 14, 2023 at 04:25:01PM -0800, Randy Dunlap wrote: > > > On 12/14/23 16:13, Kees Cook wrote: > > 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

Re: [PATCH] scripts: kernel-doc: Report excess struct member descriptions

2023-12-14 Thread Kees Cook
On Thu, Dec 14, 2023 at 04:21:17PM -0800, Randy Dunlap wrote: > Hi Kees, > > On 12/14/23 16:14, Kees Cook wrote: > > While missing descriptions were already be reported, missing struct > > members were not. For example, previously this output was empty, but now > > produces: > > > > $ ./scripts/k

Re: [PATCH] scripts: kernel-doc: Disambiguate origin of warnings

2023-12-14 Thread Kees Cook
On Thu, Dec 14, 2023 at 04:19:34PM -0800, Randy Dunlap wrote: > > > On 12/14/23 16:15, Kees Cook wrote: > > There's no prefix to warnings and errors reported by scripts/kernel-doc > > which makes it frustrating to isolate errors reported from CI systems. > > Add a "$0: " prefix to all the STDERR

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

2023-12-14 Thread Randy Dunlap
On 12/14/23 16:13, Kees Cook wrote: > 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: Jon

Re: [PATCH] scripts: kernel-doc: Report excess struct member descriptions

2023-12-14 Thread Randy Dunlap
Hi Kees, On 12/14/23 16:14, Kees Cook wrote: > While missing descriptions were already be reported, missing struct > members were not. For example, previously this output was empty, but now > produces: > > $ ./scripts/kernel-doc -none ./drivers/leds/leds-mlxreg.c > ./drivers/leds/leds-mlxreg.c:42

Re: [PATCH] scripts: kernel-doc: Disambiguate origin of warnings

2023-12-14 Thread Randy Dunlap
On 12/14/23 16:15, Kees Cook wrote: > There's no prefix to warnings and errors reported by scripts/kernel-doc > which makes it frustrating to isolate errors reported from CI systems. > Add a "$0: " prefix to all the STDERR output. > > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org > Signe

[PATCH] scripts: kernel-doc: Disambiguate origin of warnings

2023-12-14 Thread Kees Cook
There's no prefix to warnings and errors reported by scripts/kernel-doc which makes it frustrating to isolate errors reported from CI systems. Add a "$0: " prefix to all the STDERR output. Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Signed-off-by: Kees Cook --- scripts/kernel-doc | 20 +++

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

2023-12-14 Thread Kees Cook
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/kernel-doc b/scripts/kernel-doc index 39e

[PATCH] scripts: kernel-doc: Report excess struct member descriptions

2023-12-14 Thread Kees Cook
While missing descriptions were already be reported, missing struct members were not. For example, previously this output was empty, but now produces: $ ./scripts/kernel-doc -none ./drivers/leds/leds-mlxreg.c ./drivers/leds/leds-mlxreg.c:42: warning: Excess struct member 'led_data' description in

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

2023-12-14 Thread Kees Cook
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: "Gustavo A. R. Silva" Cc: linux-do

Re: kernel/gcov/fs.c:103: warning: Excess struct member 'buffer' description in 'gcov_iterator'

2023-12-14 Thread Kees Cook
; gcov_iterator with __counted_by > date: 8 weeks ago > config: i386-buildonly-randconfig-001-20231214 > (https://download.01.org/0day-ci/archive/20231215/202312150432.obngc94a-...@intel.com/config) > compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 > reproduce (this is a W=1 build): >

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-14 Thread Tom Rini
On Thu, Dec 14, 2023 at 03:12:07PM +0900, Masahiro Yamada wrote: > On Thu, Dec 14, 2023 at 1:03 PM Chen-Yu Tsai wrote: > > > > On Sun, Dec 10, 2023 at 1:31 AM Geert Uytterhoeven > > wrote: > > > > > > Hi Laurent, > > > > > > On Sat, Dec 9, 2023 at 4:29 PM Laurent Pinchart > > > wrote: > > > > O