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-next>] [day] [month] [year] [list]
Date:   Tue, 30 Apr 2019 18:17:59 +0200
From:   Guido Günther <agx@...xcpu.org>
To:     Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will.deacon@....com>,
        linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: [PATCH] amd64: mxc: select CONFIG_SOC_BUS

i.MX8 needs soc_device_register, otherwise the build fails like:

  aarch64-linux-gnu-ld: drivers/soc/imx/soc-imx8.o: in function `imx8_soc_init':
  soc-imx8.c:(.init.text+0x130): undefined reference to `soc_device_register'
  aarch64-linux-gnu-ld: soc-imx8.c:(.init.text+0x130): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `soc_device_register'
  make: *** [Makefile:1051: vmlinux] Error 1

Signed-off-by: Guido Günther <agx@...xcpu.org>

---
This was seen on next-20190430.

 arch/arm64/Kconfig.platforms | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 0f4d91824e4b..c86bccbb118a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -162,6 +162,7 @@ config ARCH_MXC
 	select IMX_GPCV2_PM_DOMAINS
 	select PM
 	select PM_GENERIC_DOMAINS
+	select SOC_BUS
 	help
 	  This enables support for the ARMv8 based SoCs in the
 	  NXP i.MX family.
-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ