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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABb+yY2jNpXL+7RhrObh8ec+wxk3SJuX6eXH3YVfSz=P=1oD8w@mail.gmail.com>
Date: Sun, 1 Sep 2024 15:12:56 -0500
From: Jassi Brar <jassisinghbrar@...il.com>
To: Martyn Welch <martyn.welch@...labora.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>, Bjorn Andersson <andersson@...nel.org>, 
	Mathieu Poirier <mathieu.poirier@...aro.org>, Andrew Davis <afd@...com>, Hari Nagalla <hnagalla@...com>, 
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, 
	Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build warning after merge of the rpmsg tree

On Wed, Aug 28, 2024 at 4:45 AM Martyn Welch <martyn.welch@...labora.com> wrote:
>
> On Wed, 2024-08-28 at 15:09 +1000, Stephen Rothwell wrote:
> > Hi all,
> >
> > On Thu, 22 Aug 2024 14:26:03 +1000 Stephen Rothwell
> > <sfr@...b.auug.org.au> wrote:
> > >
> > > After merging the rpmsg tree, today's linux-next build (x86_64
> > > allmodconfig) produced this warning:
> > >
> > > WARNING: unmet direct dependencies detected for OMAP2PLUS_MBOX
> > >   Depends on [n]: MAILBOX [=y] && (ARCH_OMAP2PLUS || ARCH_K3)
> > >   Selected by [m]:
> > >   - TI_K3_M4_REMOTEPROC [=m] && REMOTEPROC [=y] && (ARCH_K3 ||
> > > COMPILE_TEST [=y])
> > >
> > > Probably introduced by commit
> > >
> > >   ebcf9008a895 ("remoteproc: k3-m4: Add a remoteproc driver for M4F
> > > subsystem")
> >
> > I am still seeing this warning.
> >
>
> OK, just taken a look into this. I think the issue is the result of the
> inclusion of `COMPILE_TEST` in the Kconfig entry:
>
>   config TI_K3_M4_REMOTEPROC
>          tristate "TI K3 M4 remoteproc support"
>          depends on ARCH_K3 || COMPILE_TEST
>          select MAILBOX
>          select OMAP2PLUS_MBOX
>   ...
>
> Looking at the entry for `OMAP2PLUS_MBOX`, that doesn't have
> `COMPILE_TEST` listed under it's dependencies:
>
>   config OMAP2PLUS_MBOX
>           tristate "OMAP2+ Mailbox framework support"
>           depends on ARCH_OMAP2PLUS || ARCH_K3
>   ...
>
> If I understand right, either the `COMPILE_TEST` needs to be removed
> from `TI_K3_M4_REMOTEPROC` or added to `OMAP2PLUS_MBOX`.
>
> It appears that the OMAP2+ Mailbox support can at least be compiled on
> x86_64. so I assume the correct thing to do here is to enable that
> right?
>
> Jassi, I assume there's not specific reason for the OMAP2+ Mailbox
> framework support not having `COMPILE_TEST`, other than potentially
> being added just before it was a thing?
>
Seems like it.

-j

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ