[PATCH] powerpc/Makefile: set -mcpu=860 flag for the 8xx

2018-05-27 Thread Christophe Leroy
When compiled with GCC 8.1, vmlinux is significantly bigger than with GCC 4.8. When looking at the generated code with objdump, we notice that all functions and loops when a 16 bytes alignment. This significantly increases the size of the kernel. It is pointless and even counterproductive as on th

RE: [PATCH v11 00/26] Speculative page faults

2018-05-27 Thread Song, HaiyanX
Some regression and improvements is found by LKP-tools(linux kernel performance) on V9 patch series tested on Intel 4s Skylake platform. The regression result is sorted by the metric will-it-scale.per_thread_ops. Branch: Laurent-Dufour/Speculative-page-faults/20180316-151833 (V9 patch series) Co

Re: [PATCH] powerpc-opal: fix spelling mistake "Uniterrupted" -> "Uninterrupted"

2018-05-27 Thread Stewart Smith
Colin King writes: > From: Colin Ian King > > Trivial fix to spelling mistake in hmi_error_types text > > Signed-off-by: Colin Ian King Reviewed-by: Stewart Smith -- Stewart Smith OPAL Architect, IBM.

[PATCH v2] KVM: PPC: remove mmio_vsx_tx_sx_enabled in KVM MMIO emulation

2018-05-27 Thread wei . guo . simon
From: Simon Guo Originally PPC KVM MMIO emulation uses only 0~31#(5 bits) for VSR reg number, and use mmio_vsx_tx_sx_enabled field together for 0~63# VSR regs. Currently PPC KVM MMIO emulation is reimplemented with analyse_instr() assistence. analyse_instr() returns 0~63 for VSR register number,

Re: [PATCH] cpuidle/powernv : init all present cpus for deep states

2018-05-27 Thread Stewart Smith
Michael Ellerman writes: > Akshay Adiga writes: > >> Init all present cpus for deep states instead of "all possible" cpus. >> Init fails if the possible cpu is gaurded. Resulting in making only >> non-deep states available for cpuidle/hotplug. > > This is basically the opposite of what we just di

[PATCH][RFC] [powerpc] arch_ptrace() uses of access_ok() are pointless

2018-05-27 Thread Al Viro
make it use copy_{from,to}_user(), rather than access_ok() + __copy_... Signed-off-by: Al Viro --- arch/powerpc/kernel/ptrace.c | 22 +++--- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/arch/powerpc/kernel/ptrace.c b/arch/powerpc/kernel/ptrace.c index d23cf632ed

Re: [PATCH stable 4.14 v2 00/23] powerpc backports for 4.14

2018-05-27 Thread Greg KH
On Sat, May 26, 2018 at 02:27:26PM +1000, Michael Ellerman wrote: > Hi Greg, > > Please queue up this series of patches for 4.14 if you have no objections. All now queued up, thanks. greg k-h

Patch "powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code to the 4.14-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 th

Patch "powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/pseries: Use the security flags in pseries_setup_rfi_flush() to the 4.14-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 p

Patch "powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again to the 4.14-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 pa

Patch "powerpc/rfi-flush: Differentiate enabled and patched flush types" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/rfi-flush: Differentiate enabled and patched flush types to the 4.14-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

Patch "powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration to the 4.14-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

Patch "powerpc/rfi-flush: Always enable fallback flush on pseries" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/rfi-flush: Always enable fallback flush on pseries to the 4.14-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:

Patch "powerpc/pseries: Support firmware disable of RFI flush" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/pseries: Support firmware disable of RFI flush to the 4.14-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:

Patch "powerpc/pseries: Set or clear security feature flags" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/pseries: Set or clear security feature flags to the 4.14-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: po

Patch "powerpc/pseries: Restore default security feature flags on setup" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/pseries: Restore default security feature flags on setup to the 4.14-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

Patch "powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/powernv: Use the security flags in pnv_setup_rfi_flush() to the 4.14-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

Patch "powerpc/pseries: Fix clearing of security feature flags" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/pseries: Fix clearing of security feature flags to the 4.14-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:

Patch "powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags to the 4.14-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:

Patch "powerpc/64s: Wire up cpu_show_spectre_v1()" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/64s: Wire up cpu_show_spectre_v1() to the 4.14-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-64s-

Patch "powerpc/powernv: Support firmware disable of RFI flush" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/powernv: Support firmware disable of RFI flush to the 4.14-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:

Patch "powerpc/powernv: Set or clear security feature flags" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/powernv: Set or clear security feature flags to the 4.14-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: po

Patch "powerpc: Move default security feature flags" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc: Move default security feature flags to the 4.14-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-mo

Patch "powerpc: Add security feature flags for Spectre/Meltdown" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc: Add security feature flags for Spectre/Meltdown to the 4.14-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:

Patch "powerpc/64s: Wire up cpu_show_spectre_v2()" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/64s: Wire up cpu_show_spectre_v2() to the 4.14-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-64s-

Patch "powerpc/64s: Move cpu_show_meltdown()" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/64s: Move cpu_show_meltdown() to the 4.14-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-64s-move-

Patch "powerpc/64s: Improve RFI L1-D cache flush fallback" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/64s: Improve RFI L1-D cache flush fallback to the 4.14-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: powe

Patch "powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/64s: Fix section mismatch warnings from setup_rfi_flush() to the 4.14-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 patc

Patch "powerpc/64s: Enhance the information in cpu_show_meltdown()" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/64s: Enhance the information in cpu_show_meltdown() to the 4.14-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:

Patch "powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit" has been added to the 4.14-stable tree

2018-05-27 Thread gregkh
This is a note to let you know that I've just added the patch titled powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename

Re: arch/powerpc/kernel/head_32.S:1106: Error: missing operand

2018-05-27 Thread christophe leroy
Le 26/05/2018 à 20:27, Paul Menzel a écrit : Dear Christophe, Am 26.05.2018 um 18:02 schrieb christophe leroy: Le 26/05/2018 à 06:35, Paul Menzel a écrit : Building the configuration created with `make tinyconfig` on the Power 8 system IBM S822LC with Ubuntu 18.04 fails with the error be