* [tip:x86/sev 9/11] arch/x86/boot/compressed/misc.c:397 early_sev_detect() warn: bitwise AND condition is false here
@ 2024-10-31 6:45 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-10-31 6:45 UTC (permalink / raw)
To: oe-kbuild; +Cc: lkp, Dan Carpenter
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
CC: x86@kernel.org
TO: Ashish Kalra <ashish.kalra@amd.com>
CC: "Borislav Petkov (AMD)" <bp@alien8.de>
CC: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
CC: Tom Lendacky <thomas.lendacky@amd.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/sev
head: 3074152e56c9b0f9b9c67edfbc08b371db050b6d
commit: f30470c190c2f4776e0baeba1f53fd8dd3820394 [9/11] x86/boot: Skip video memory access in the decompressor for SEV-ES/SNP
:::::: branch date: 3 days ago
:::::: commit date: 3 days ago
config: i386-randconfig-141-20241030 (https://download.01.org/0day-ci/archive/20241031/202410311441.nu6INxRH-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Reported-by: Dan Carpenter <error27@gmail.com>
| Closes: https://lore.kernel.org/r/202410311441.nu6INxRH-lkp@intel.com/
New smatch warnings:
arch/x86/boot/compressed/misc.c:397 early_sev_detect() warn: bitwise AND condition is false here
Old smatch warnings:
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:598 HUF_decompress4X1_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:598 HUF_decompress4X1_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:1292 HUF_decompress4X2_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/huf_decompress.c:1292 HUF_decompress4X2_usingDTable_internal_body() warn: maybe use && instead of &
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_internal.h:206 ZSTD_DCtx_get_bmi2() warn: inconsistent indenting
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:894 ZSTD_execSequenceEnd() warn: inconsistent indenting
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:942 ZSTD_execSequenceEndSplitLitBuffer() warn: inconsistent indenting
arch/x86/boot/compressed/../../../../lib/zstd/decompress/zstd_decompress_block.c:1009 ZSTD_execSequence() warn: inconsistent indenting
vim +397 arch/x86/boot/compressed/misc.c
cd0d9d92c8bb46 Ard Biesheuvel 2024-02-27 387
f30470c190c2f4 Ashish Kalra 2024-08-01 388 static void early_sev_detect(void)
f30470c190c2f4 Ashish Kalra 2024-08-01 389 {
f30470c190c2f4 Ashish Kalra 2024-08-01 390 /*
f30470c190c2f4 Ashish Kalra 2024-08-01 391 * Accessing video memory causes guest termination because
f30470c190c2f4 Ashish Kalra 2024-08-01 392 * the boot stage2 #VC handler of SEV-ES/SNP guests does not
f30470c190c2f4 Ashish Kalra 2024-08-01 393 * support MMIO handling and kexec -c adds screen_info to the
f30470c190c2f4 Ashish Kalra 2024-08-01 394 * boot parameters passed to the kexec kernel, which causes
f30470c190c2f4 Ashish Kalra 2024-08-01 395 * console output to be dumped to both video and serial.
f30470c190c2f4 Ashish Kalra 2024-08-01 396 */
f30470c190c2f4 Ashish Kalra 2024-08-01 @397 if (sev_status & MSR_AMD64_SEV_ES_ENABLED)
f30470c190c2f4 Ashish Kalra 2024-08-01 398 lines = cols = 0;
f30470c190c2f4 Ashish Kalra 2024-08-01 399 }
f30470c190c2f4 Ashish Kalra 2024-08-01 400
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-31 6:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31 6:45 [tip:x86/sev 9/11] arch/x86/boot/compressed/misc.c:397 early_sev_detect() warn: bitwise AND condition is false here kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.