kismet: WARNING: unmet direct dependencies detected for CRYPTO_GCM when selected by SEV_GUEST

From: kernel test robot
Date: Fri Jun 02 2023 - 03:11:54 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9e87b63ed37e202c77aa17d4112da6ae0c7c097c
commit: fce96cf0443083e37455eff8f78fd240c621dae3 virt: Add SEV-SNP guest driver
date: 1 year, 2 months ago
config: x86_64-kismet-CONFIG_CRYPTO_GCM-CONFIG_SEV_GUEST-0-0 (https://download.01.org/0day-ci/archive/20230602/202306021511.A5iYGMjX-lkp@xxxxxxxxx/config)
reproduce:
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fce96cf0443083e37455eff8f78fd240c621dae3
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout fce96cf0443083e37455eff8f78fd240c621dae3
# 1. reproduce by kismet
# install kmax per https://github.com/paulgazz/kmax/blob/master/README.md
kismet --linux-ksrc=linux --selectees CONFIG_CRYPTO_GCM --selectors CONFIG_SEV_GUEST -a=x86_64
# 2. reproduce by make
# save the config file to linux source tree
cd linux
make ARCH=x86_64 olddefconfig

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202306021511.A5iYGMjX-lkp@xxxxxxxxx/

kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for CRYPTO_GCM when selected by SEV_GUEST
.config:5042:warning: symbol value 'ONFIG_ARCH_MMAP_RND_BITS_MI' invalid for ARCH_MMAP_RND_BITS
.config:6125:warning: symbol value 'ONFIG_ARCH_MMAP_RND_COMPAT_BITS_MI' invalid for ARCH_MMAP_RND_COMPAT_BITS

WARNING: unmet direct dependencies detected for CRYPTO_GCM
Depends on [n]: CRYPTO [=n]
Selected by [y]:
- SEV_GUEST [=y] && VIRT_DRIVERS [=y] && AMD_MEM_ENCRYPT [=y]

WARNING: unmet direct dependencies detected for CRYPTO_AEAD2
Depends on [n]: CRYPTO [=n]
Selected by [y]:
- SEV_GUEST [=y] && VIRT_DRIVERS [=y] && AMD_MEM_ENCRYPT [=y]

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki