Steps to reproduce this for v5.9-rc4 on x86 machine (using make.cross [1]
to cross compile for arm64):
1. make.cross ARCH=arm64 allnoconfig
2. make.cross ARCH=arm64 menuconfig
  a. Enable NET
  b. Enable INET
  c. Enable PCI
  d. Enable INFINIBAND
  e. Enable RDMA_RXE
3. make.cross ARCH=arm64 olddefconfig # WARNING: unmet direct
dependencies detected for CRYPTO_CRC32

[1] https://github.com/fengguang/lkp-tests/blob/master/sbin/make.cross

Thanks
Necip

On Tue, Sep 15, 2020 at 2:23 PM Jason Gunthorpe <j...@nvidia.com> wrote:
>
> On Tue, Sep 15, 2020 at 01:16:00PM +0300, Necip Fazil Yildiran wrote:
> > When RDMA_RXE is enabled and CRYPTO is disabled, it results in the
> > following Kbuild warning:
> >
> > WARNING: unmet direct dependencies detected for CRYPTO_CRC32
> >   Depends on [n]: CRYPTO [=n]
> >   Selected by [y]:
> >   - RDMA_RXE [=y] && (INFINIBAND_USER_ACCESS [=y] || 
> > !INFINIBAND_USER_ACCESS [=y]) && INET [=y] && PCI [=y] && INFINIBAND [=y] 
> > && (!64BIT || ARCH_DMA_ADDR_T_64BIT [=n])
>
> ?? how did you get here? I thought the kconfig front ends were
> supposed to prevent this.
>
> Jason

Reply via email to