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

From: Randy Dunlap
Date: Tue Nov 07 2023 - 11:10:17 EST


Hi Philip,

On 11/7/23 04:45, Philip Li wrote:
> 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.
>

I'm pretty sure that what Geert is asking about here is the warning (".config:7280:...") with
the truncated kconfig symbol 'ONFIG_ARCH_MMAP_RND_BITS_MI'. I have also seen several of these.
Is this a bug in kismet or a bug in the robot or something else?

thanks.

> 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


--
~Randy