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>] [day] [month] [year] [list]
Message-ID: <010201919d8b298f-dd1585dd-7c4d-4865-9483-ff6cd7399a90-000000@eu-west-1.amazonses.com>
Date: Thu, 29 Aug 2024 09:50:28 +0000
From: Martyn Welch <martyn.welch@...labora.com>
To: Jassi Brar <jassisinghbrar@...il.com>
Cc: kernel@...labora.com, Martyn Welch <martyn.welch@...labora.com>, 
	Stephen Rothwell <sfr@...b.auug.org.au>, 
	linux-kernel@...r.kernel.org
Subject: [PATCH] mailbox: omap: Enable COMPILE_TEST for OMAP2+ Mailbox framework support

The commit ebcf9008a895 ("remoteproc: k3-m4: Add a remoteproc driver for
M4F subsystem") was added with `COMPILE_TEST` as a dependency. It has
been reported that this is causing a failure when running allmodconfig
on x86_64:

  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])

To resolve this, either `COMPILE_TEST` needs to be removed from
`TI_K3_M4_REMOTEPROC` or added to `OMAP2PLUS_MBOX`. In the interest of
maximising testing, and as `OMAP2PLUS_MBOX` compiles fine on x86_64, add
`COMPILE_TEST` to `OMAP2PLUS_MBOX`.

Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: Martyn Welch <martyn.welch@...labora.com>
---
 drivers/mailbox/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mailbox/Kconfig b/drivers/mailbox/Kconfig
index 4eed97295927..ecaf78beb934 100644
--- a/drivers/mailbox/Kconfig
+++ b/drivers/mailbox/Kconfig
@@ -73,7 +73,7 @@ config ARMADA_37XX_RWTM_MBOX
 
 config OMAP2PLUS_MBOX
 	tristate "OMAP2+ Mailbox framework support"
-	depends on ARCH_OMAP2PLUS || ARCH_K3
+	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
 	help
 	  Mailbox implementation for OMAP family chips with hardware for
 	  interprocessor communication involving DSP, IVA1.0 and IVA2 in
-- 
2.45.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ