Re: kismet: WARNING: unmet direct dependencies detected for SM_GCC_8550 when selected by SM_CAMCC_8550

From: Philip Li
Date: Tue Nov 07 2023 - 08:03:19 EST


On Tue, Nov 07, 2023 at 11:11:54AM +0100, Geert Uytterhoeven wrote:
> Hi Robot,
>
> On Mon, Nov 6, 2023 at 4:06 PM kernel test robot <lkp@xxxxxxxxx> wrote:
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: d2f51b3516dade79269ff45eae2a7668ae711b25
> > commit: ccc4e6a061a21d75b96d82fc4b084a8d96df6eb4 clk: qcom: camcc-sm8550: Add camera clock controller driver for SM8550
> > date: 7 weeks ago
> > config: arm-kismet-CONFIG_SM_GCC_8550-CONFIG_SM_CAMCC_8550-0-0 (https://download.01.org/0day-ci/archive/20231106/202311062309.XugQH7AH-lkp@xxxxxxxxx/config)
> > reproduce: (https://download.01.org/0day-ci/archive/20231106/202311062309.XugQH7AH-lkp@xxxxxxxxx/reproduce)
> >
> > 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@xxxxxxxxx>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202311062309.XugQH7AH-lkp@xxxxxxxxx/
> >
> > kismet warnings: (new ones prefixed by >>)
> > >> kismet: WARNING: unmet direct dependencies detected for SM_GCC_8550 when selected by SM_CAMCC_8550
> > .config:7280:warning: symbol value 'ONFIG_ARCH_MMAP_RND_BITS_MI' invalid for ARCH_MMAP_RND_BITS
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Where is this coming from? I have seen this warning in several build
> reports (earliest 2023-01-31), but cannot reproduce it with the provided
> commit and config.

Hi Geert, this was detected by kismet tool developed by Paul Gazzillo and Necip Fazil Yildiran.
It can be obtained at [1]

And the issue detected by it can be reproduced by make olddefconfig as well,
the detail can refer to the reproduce instruction [2]

I give a try as below inside mainline repo

$ git checkout ccc4e6a061a21d75b96d82fc4b084a8d96df6eb4
$ wget https://download.01.org/0day-ci/archive/20231106/202311062309.XugQH7AH-lkp@xxxxxxxxx/config -O .config
$ $ make ARCH=arm olddefconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/menu.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf

WARNING: unmet direct dependencies detected for SM_GCC_8550
Depends on [n]: COMMON_CLK [=y] && COMMON_CLK_QCOM [=y] && (ARM64 || COMPILE_TEST [=n])
Selected by [y]:
- SM_CAMCC_8550 [=y] && COMMON_CLK [=y] && COMMON_CLK_QCOM [=y]

[1] https://github.com/paulgazz/kmax#using-kismet
[2] https://download.01.org/0day-ci/archive/20231106/202311062309.XugQH7AH-lkp@xxxxxxxxx/reproduce

>
> Gr{oetje,eeting}s,
>
> Geert
>
>
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
>
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> -- Linus Torvalds