Patch "powerpc: Correctly disable latent entropy GCC plugin on prom_init.o" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
powerpc-correctly-disable-latent-entropy-gcc-plugin-on-prom_init.o.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
eac6f8b0c7adb003776dbad9d037ee2fc64f9d62Mon Sep 17 00:00:00 2001
From: Andrew Donnellan <[email protected]>
Date: Tue, 6 Dec 2016 17:27:59 +1100
Subject: powerpc: Correctly disable latent entropy GCC plugin on prom_init.o
From: Andrew Donnellan <[email protected]>
commit eac6f8b0c7adb003776dbad9d037ee2fc64f9d62 upstream.
Commit 38addce8b600 ("gcc-plugins: Add latent_entropy plugin") excludes certain powerpc early boot code from the latent entropy plugin by adding appropriate CFLAGS. It looks like this was supposed to cover prom_init.o, but ended up saying init.o (which doesn't exist) instead. Fix the typo.
--- arch/powerpc/kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/kernel/Makefile +1 -1
@@ -15,7 +15,7 @@ CFLAGS_btext.o += -fPIC endif CFLAGS_cputable.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) -CFLAGS_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) +CFLAGS_prom_init.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) CFLAGS_btext.o += $(DISABLE_LATENT_ENTROPY_PLUGIN) CFLAGS_prom.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/powerpc-correctly-disable-latent-entropy-gcc-plugin-on-prom_init.o.patch