[PATCH v2] powerpc/boot: regenerate zImage linker script when options change

2016-11-26 Thread Nicholas Piggin
Changing config options (e.g., endianness) does not always seem to regenerate zImage.lds properly. Adapt the standard kernel linker script build command and use that. Signed-off-by: Nicholas Piggin --- Changes since v1: - Using cmd_cpp_lds_S command name was causing it to

[PATCH v2] powerpc/64be: option to use ELFv2 ABI for big endian kernels

2016-11-26 Thread Nicholas Piggin
Provide an option to use ELFv2 ABI for big endian builds. The toolchain check can't be done at configure-time, so the way this option is provided can result in unbuildable kernel on older toolchains. Being experimental expert option there isn't a need to add a lot of fallback logic to make this

Re: [PATCH 2/3] powerpc: allow compilation on cross-endian toolchain

2016-11-26 Thread Nicholas Piggin
On Sat, 26 Nov 2016 18:30:15 +1100 Michael Ellerman wrote: > Nicholas Piggin writes: > > On Thu, 24 Nov 2016 00:02:08 +1100 > > diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile > > index 617dece..8828807 100644 > > --- a/arch/powerpc/Makefile >

[PATCH 17/22] KVM/PPC/Book3S HV: Convert to hotplug state machine

2016-11-26 Thread Sebastian Andrzej Siewior
From: Anna-Maria Gleixner Install the callbacks via the state machine. Cc: Alexander Graf Cc: Paolo Bonzini Cc: "Radim Krčmář" Cc: Benjamin Herrenschmidt Cc: Paul Mackerras

Re: [PATCH] adb: properly mark continued kernel messages

2016-11-26 Thread Benjamin Herrenschmidt
On Sat, 2016-11-26 at 14:22 +0100, Andreas Schwab wrote: >  { > -   printk(KERN_INFO "adb: starting probe task...\n"); > +   pr_info("adb: starting probe task...\n"); > do_adb_reset_bus(); > -   printk(KERN_INFO "adb: finished probe task...\n"); > +   pr_info("adb: finished

Kernel build issues with upstream binutils

2016-11-26 Thread Anton Blanchard
Hi, A recent binutils commit: https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=1a9ccd70f9a75dc6b48d340059f28ef3550c107b has broken kernel builds: /home/anton/gcc.install/bin/ld: arch/powerpc/boot/zImage.pseries: Not enough room for program headers, try linking with -N

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.9-6 tag

2016-11-26 Thread Linus Torvalds
On Sat, Nov 26, 2016 at 12:11 AM, Michael Ellerman wrote: > > powerpc fixes for 4.9 #6 > > Fixes marked for stable: > - Set missing wakeup bit in LPCR on POWER9 (Benjamin Herrenschmidt) > - Fix the early OPAL console wrappers (Oliver O'Halloran) > - Fixup kernel read only

Re: [PATCH v6 0/7] Radix pte update tlbflush optimizations.

2016-11-26 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > Changes from V5: > Switch to use pte bits to track page size. I am now testing a new version that will limit this new pte bit usage only on DD1. > > Aneesh Kumar K.V (7): > powerpc/mm: Rename hugetlb-radix.h to hugetlb.h >

[PATCH] adb: properly mark continued kernel messages

2016-11-26 Thread Andreas Schwab
Use pr_cont where appropriate, and switch to pr_foo throughout. Signed-off-by: Andreas Schwab --- drivers/macintosh/adb.c| 24 +--- drivers/macintosh/adbhid.c | 56 +++--- 2 files changed, 39 insertions(+), 41

[GIT PULL] Please pull powerpc/linux.git powerpc-4.9-6 tag

2016-11-26 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.9: The following changes since commit cac4a185405d4415eca269cae976438b44a37ae0: powerpc/mm: Fix missing update of HID register on secondary CPUs (2016-11-18 23:16:58 +1100) are available in the git repository at: