lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251210144514.000021ed@huawei.com>
Date: Wed, 10 Dec 2025 14:45:14 +0000
From: Jonathan Cameron <jonathan.cameron@...wei.com>
To: kernel test robot <lkp@...el.com>
CC: Paul Gazzillo <paul@...zz.com>, Necip Fazil Yildiran
	<fazilyildiran@...il.com>, <oe-kbuild-all@...ts.linux.dev>,
	<linux-kernel@...r.kernel.org>, Conor Dooley <conor.dooley@...rochip.com>
Subject: Re: kismet: WARNING: unmet direct dependencies detected for
 AX45MP_L2_CACHE when selected by ARCH_R9A07G043

On Wed, 10 Dec 2025 04:42:42 +0100
kernel test robot <lkp@...el.com> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   c9b47175e9131118e6f221cc8fb81397d62e7c91
> commit: 4d1608d0ab3365d1ef9447bdbc0cb4c0962f1774 cache: Make top level Kconfig menu a boolean dependent on RISCV
> date:   3 weeks ago
> config: riscv-kismet-CONFIG_AX45MP_L2_CACHE-CONFIG_ARCH_R9A07G043-0-0 (https://download.01.org/0day-ci/archive/20251210/202512100411.WxJU2No9-lkp@intel.com/config)
> reproduce: (https://download.01.org/0day-ci/archive/20251210/202512100411.WxJU2No9-lkp@intel.com/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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202512100411.WxJU2No9-lkp@intel.com/
> 
> kismet warnings: (new ones prefixed by >>)
> >> kismet: WARNING: unmet direct dependencies detected for AX45MP_L2_CACHE when selected by ARCH_R9A07G043  
>    WARNING: unmet direct dependencies detected for AX45MP_L2_CACHE
>      Depends on [n]: CACHEMAINT_FOR_DMA [=n]
>      Selected by [y]:
>      - ARCH_R9A07G043 [=y] && SOC_RENESAS [=y] && RISCV [=y] && NONPORTABLE [=y] && !DMA_DIRECT_REMAP [=n] && RISCV_ALTERNATIVE [=y] && !RISCV_ISA_ZICBOM [=n] && RISCV_SBI [=y]
> 

Thanks for the report!

I think we need a select CACHEMAINT_FOR_DMA in 
config ARCH_R9A07G043

By exposing an explicit option to enable these drivers so we could hang the riscv
dependency off it I broke this particular combination.
It won't break simple builds with old .config due to the default=y but it
still possible to unset CONFIG CACHEMAINT_FOR_DMA

Sorry, I'd missed these were selected though thinking about it that is kind
of obvious given they are needed for correct functionality of those CPUs
if any non coherent DMA devices are present.

Similar applies to CONFIG_ERRATA_STARFIVE_JH7100

I'll spin a patch but I'm not setup to test these properly and that will take
a little more time.

Jonathan

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ