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  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]
Date:   Fri, 27 Apr 2018 15:58:54 +0200
From:   Greg Kroah-Hartman <>
Cc:     Greg Kroah-Hartman <>,, kbuild test robot <>,
        Michal Simek <>,
        Arnd Bergmann <>
Subject: [PATCH 4.14 61/80] microblaze: Setup dependencies for ASM optimized lib functions

4.14-stable review patch.  If anyone has any objections, please let me know.


From: Michal Simek <>

commit 18ffc0cce4ff947a2acc9b2e06ae5309a6e6fb43 upstream.

The patch:
"microblaze: Setup proper dependency for optimized lib functions"
(sha1: 7b6ce52be3f86520524711a6f33f3866f9339694)
didn't setup all dependencies properly.
Optimized lib functions in C are also present for little endian
and optimized library functions in assembler are implemented only for
big endian version.

Reported-by: kbuild test robot <>
Signed-off-by: Michal Simek <>
Cc: Arnd Bergmann <>
Signed-off-by: Greg Kroah-Hartman <>

 arch/microblaze/Kconfig.platform |    1 +
 arch/microblaze/lib/fastcopy.S   |    4 ----
 2 files changed, 1 insertion(+), 4 deletions(-)

--- a/arch/microblaze/Kconfig.platform
+++ b/arch/microblaze/Kconfig.platform
@@ -20,6 +20,7 @@ config OPT_LIB_FUNCTION
 config OPT_LIB_ASM
 	bool "Optimalized lib function ASM"
+	depends on CPU_BIG_ENDIAN
 	default n
 	  Allows turn on optimalized library function (memcpy and memmove).
--- a/arch/microblaze/lib/fastcopy.S
+++ b/arch/microblaze/lib/fastcopy.S
@@ -29,10 +29,6 @@
  *	between mem locations with size of xfer spec'd in bytes
-#ifdef __MICROBLAZEEL__
-#error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
 #include <linux/linkage.h>
 	.globl	memcpy

Powered by blists - more mailing lists