2022-07-07 10:57:03

by kernel test robot

[permalink] [raw]
Subject: [ammarfaizi2-block:broonie/sound/for-next 328/353] kismet: WARNING: unmet direct dependencies detected for SND_SOC_ES8316 when selected by SND_SOC_AMD_ST_ES8336_MACH

tree: https://github.com/ammarfaizi2/linux-block broonie/sound/for-next
head: 3f4322bb413adb7f9d8b5e9005eb1b9bc85f9312
commit: f94fa84058014f81ad526641f1b1f583ca2cf32f [328/353] ASoC: amd: enable machine driver build for Jadeite platform
config: (https://download.01.org/0day-ci/archive/20220707/[email protected]/config)
reproduce:
# https://github.com/ammarfaizi2/linux-block/commit/f94fa84058014f81ad526641f1b1f583ca2cf32f
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block broonie/sound/for-next
git checkout f94fa84058014f81ad526641f1b1f583ca2cf32f
# 1. reproduce by kismet
# install kmax per https://github.com/paulgazz/kmax/blob/master/README.md
kismet --linux-ksrc=linux --selectees CONFIG_SND_SOC_ES8316 --selectors CONFIG_SND_SOC_AMD_ST_ES8336_MACH -a=arm64
# 2. reproduce by make
# save the config file to linux source tree
cd linux
make ARCH=arm64 olddefconfig

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <[email protected]>


kismet warnings: (new ones prefixed by >>)
>> kismet: WARNING: unmet direct dependencies detected for SND_SOC_ES8316 when selected by SND_SOC_AMD_ST_ES8336_MACH

WARNING: unmet direct dependencies detected for SND_SOC_ES8316
Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n]
Selected by [y]:
- SND_SOC_AMD_ST_ES8336_MACH [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_AMD_ACP [=y] && (ACPI [=n] || COMPILE_TEST [=y]) && (I2C [=n] || COMPILE_TEST [=y])

--
0-DAY CI Kernel Test Service
https://01.org/lkp


2022-07-07 16:02:02

by Vijendar Mukunda

[permalink] [raw]
Subject: Re: [ammarfaizi2-block:broonie/sound/for-next 328/353] kismet: WARNING: unmet direct dependencies detected for SND_SOC_ES8316 when selected by SND_SOC_AMD_ST_ES8336_MACH

On 7/7/22 4:10 PM, kernel test robot wrote:
> tree: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fammarfaizi2%2Flinux-block&amp;data=05%7C01%7CVijendar.Mukunda%40amd.com%7Ce5c929894ac448ff95cc08da600523c7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637927872441384217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=WfOiIEJdyrMjyppJFIoXcRry06%2BI9kerP8TtwWqtFEI%3D&amp;reserved=0 broonie/sound/for-next
> head: 3f4322bb413adb7f9d8b5e9005eb1b9bc85f9312
> commit: f94fa84058014f81ad526641f1b1f583ca2cf32f [328/353] ASoC: amd: enable machine driver build for Jadeite platform
> config: (https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdownload.01.org%2F0day-ci%2Farchive%2F20220707%2F202207071820.zgSI5DPp-lkp%40intel.com%2Fconfig&amp;data=05%7C01%7CVijendar.Mukunda%40amd.com%7Ce5c929894ac448ff95cc08da600523c7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637927872441384217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=fjurvDhz2j%2B8OSeujOOUlTwIXC8%2BYhMtWtJx4xgOjLw%3D&amp;reserved=0)
> reproduce:
> # https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fammarfaizi2%2Flinux-block%2Fcommit%2Ff94fa84058014f81ad526641f1b1f583ca2cf32f&amp;data=05%7C01%7CVijendar.Mukunda%40amd.com%7Ce5c929894ac448ff95cc08da600523c7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637927872441384217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=mzlwMgPOXLIOa2CBS34OWL%2Fp5Gd%2BiAVq9JRMkhwSwZk%3D&amp;reserved=0
> git remote add ammarfaizi2-block https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fammarfaizi2%2Flinux-block&amp;data=05%7C01%7CVijendar.Mukunda%40amd.com%7Ce5c929894ac448ff95cc08da600523c7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637927872441384217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=WfOiIEJdyrMjyppJFIoXcRry06%2BI9kerP8TtwWqtFEI%3D&amp;reserved=0
> git fetch --no-tags ammarfaizi2-block broonie/sound/for-next
> git checkout f94fa84058014f81ad526641f1b1f583ca2cf32f
> # 1. reproduce by kismet
> # install kmax per https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpaulgazz%2Fkmax%2Fblob%2Fmaster%2FREADME.md&amp;data=05%7C01%7CVijendar.Mukunda%40amd.com%7Ce5c929894ac448ff95cc08da600523c7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637927872441384217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=5qTeSZKs2rFoblqN876F1O6nWwBn8NLgEBkLbG1y9GM%3D&amp;reserved=0
> kismet --linux-ksrc=linux --selectees CONFIG_SND_SOC_ES8316 --selectors CONFIG_SND_SOC_AMD_ST_ES8336_MACH -a=arm64
> # 2. reproduce by make
> # save the config file to linux source tree
> cd linux
> make ARCH=arm64 olddefconfig
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <[email protected]>
>
>
> kismet warnings: (new ones prefixed by >>)
>>> kismet: WARNING: unmet direct dependencies detected for SND_SOC_ES8316 when selected by SND_SOC_AMD_ST_ES8336_MACH
>
> WARNING: unmet direct dependencies detected for SND_SOC_ES8316
> Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n]
> Selected by [y]:
> - SND_SOC_AMD_ST_ES8336_MACH [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && SND_SOC_AMD_ACP [=y] && (ACPI [=n] || COMPILE_TEST [=y]) && (I2C [=n] || COMPILE_TEST [=y])
>

Hi Mark,

As per your suggestion, Relaxing I2C dependency with COMPILE_TEST flag
(i.e depends on I2C || COMPILE_TEST) and missing I2C dependency check
for Codec driver module causing this warning.
Will modify I2C dependency as shown below and post the patch.

depends on SND_SOC_AMD_ACP && ACPI && I2C
select SND_SOC_ES8316 if I2C

Thanks,
Vijendar