Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Christoph Lameter
On Wed, 21 Sep 2016, Tejun Heo wrote: > Hello, Nick. > > How have you been? :) > He is baack. Are we getting SL!B? ;-)

Resend: [PATCH V7 0/8] powerpc/devtree: Add support for 2 new DRC properties

2016-09-21 Thread Michael Bringmann
Several properties in the DRC device tree format are replaced by more compact representations to allow, for example, for the encoding of vast amounts of memory, and or reduced duplication of information in related data structures. "ibm,drc-info": This property, when present, replaces the following

Resend: [PATCH V7 1/8] powerpc/firmware: Add definitions for new firmware features.

2016-09-21 Thread Michael Bringmann
Firmware Features: Define new bit flags representing the presence of new device tree properties "ibm,drc-info", and "ibm,dynamic-memory-v2". These flags are used to tell the front end processor when the Linux kernel supports the new properties, and by the front end processor to tell the Linux kerne

Resend: [PATCH V7 2/8] powerpc/memory: Parse new memory property to register blocks.

2016-09-21 Thread Michael Bringmann
powerpc/memory: Add parallel routines to parse the new property "ibm,dynamic-memory-v2" property when it is present, and then to register the relevant memory blocks with the operating system. This property format is intended to provide a more compact representation of memory when communicating with

Resend: [PATCH V7 3/8] powerpc/memory: Parse new memory property to initialize structures.

2016-09-21 Thread Michael Bringmann
powerpc/memory: Add parallel routines to parse the new property "ibm,dynamic-memory-v2" property when it is present, and then to finish initialization of the relevant memory structures with the operating system. This code is shared between the boot-time initialization functions and the runtime fun

Resend: [PATCH V7 4/8] pseries/hotplug init: Convert new DRC memory property for hotplug runtime

2016-09-21 Thread Michael Bringmann
hotplug_init: Simplify the code needed for runtime memory hotplug and maintenance with a conversion routine that transforms the compressed property "ibm,dynamic-memory-v2" to the form of "ibm,dynamic-memory" within the "ibm,dynamic-reconfiguration-memory" property. Thus only a single set of routin

Resend: [PATCH V7 5/8] pseries/drc-info: Search new DRC properties for CPU indexes

2016-09-21 Thread Michael Bringmann
pseries/drc-info: Provide parallel routines to convert between drc_index and CPU numbers at runtime, using the older device-tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" and "ibm,drc-power-domains"), or the new property "ibm,drc-info". [V2: Revise contant names.] [V3: No cha

Resend: [PATCH V7 6/8] hotplug/drc-info: Add code to search new devtree properties

2016-09-21 Thread Michael Bringmann
rpadlpar_core.c: Provide parallel routines to search the older device- tree properties ("ibm,drc-indexes", "ibm,drc-names", "ibm,drc-types" and "ibm,drc-power-domains"), or the new property "ibm,drc-info". The interface to examine the DRC information is changed from a "get" function that returns v

Resend: [PATCH V7 7/8] powerpc: Check arch.vec earlier during boot for memory features

2016-09-21 Thread Michael Bringmann
architecture.vec5 features: The boot-time memory management needs to know the form of the "ibm,dynamic-memory-v2" property early during scanning of the flattened device tree. This patch moves execution of the function pseries_probe_fw_features() early enough to be before the scanning of the memory

Resend: [PATCH V7 8/8] powerpc: Enable support for new DRC devtree properties

2016-09-21 Thread Michael Bringmann
prom_init.c: Enable support for new DRC device tree properties "ibm,drc-info" and "ibm,dynamic-memory-v2" in initial handshake between the Linux kernel and the front end processor. [V2: Revise constant names.] [V3: No change.] [V4: Update comments] [V5: Resynchronize/resubmit] [V6: Resynchronize t

Re: [PATCH v2 3/3] mm: enable CONFIG_MOVABLE_NODE on powerpc

2016-09-21 Thread Reza Arbab
On Wed, Sep 21, 2016 at 08:13:37PM +0530, Aneesh Kumar K.V wrote: So we are looking at two step online process here. The above explained the details nicely. Can you capture these details in the commit message. ie, to say that when using 'echo online-movable > state' we allow the move from normal

RE: [PATCH v5 2/2] QE: remove PPCisms for QE

2016-09-21 Thread Qiang Zhao
On Mon, Sep 22, 2016 at 2:19 AM, Leo Li wrote: > -Original Message- > From: Leo Li [mailto:pku@gmail.com] > Sent: Thursday, September 22, 2016 2:19 AM > To: Qiang Zhao > Cc: Scott Wood ; linuxppc-dev d...@lists.ozlabs.org>; lkml ; X.B. Xie > > Subject: Re: [PATCH v5 2/2] QE: remove P

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Nicholas Piggin
On Wed, 21 Sep 2016 10:23:43 -0400 Tejun Heo wrote: > Hello, Nick. > > How have you been? :) Hey Tejun, Well thank you, how about you? > On Wed, Sep 21, 2016 at 08:57:11PM +1000, Nicholas Piggin wrote: > > On Wed, 21 Sep 2016 18:51:37 +1000 > > Nicholas Piggin wrote: > > > > > Some archi

Re: [PATCH 03/41] powerpc/64: use gas sections for arranging exception vectors

2016-09-21 Thread Nicholas Piggin
On Wed, 21 Sep 2016 17:43:29 +1000 Nicholas Piggin wrote: > Use assembler sections of fixed size and location to arrange pseries > exception vector code (64e also using it in head_64.S for 0x0..0x100). > > This allows better flexibility in arranging exception code and hiding > unimportant detail

Re: [PATCH] percpu: improve generic percpu modify-return implementation

2016-09-21 Thread Nicholas Piggin
On Wed, 21 Sep 2016 15:16:25 -0500 (CDT) Christoph Lameter wrote: > On Wed, 21 Sep 2016, Tejun Heo wrote: > > > Hello, Nick. > > > > How have you been? :) > > > > He is baack. Are we getting SL!B? ;-) > Hey Christoph. Sure, why not.

Re: [PATCH v7 0/6] perf annotate: Cross arch support + few fixes

2016-09-21 Thread Ravi Bangoria
On Thursday 22 September 2016 01:04 AM, Kim Phillips wrote: > On Wed, 21 Sep 2016 21:17:50 +0530 > Ravi Bangoria wrote: > >> Kim, I don't have arm test machine. Can you please help me to test >> this on arm. > This works for me: hitting return on return instructions yields > "Invalid jump offse

Re: [PATCH v7 6/6] powerpc: pSeries: Add pv-qspinlock build config/make

2016-09-21 Thread xinhui
hi, all ok, this patch set depends on https://patchwork.kernel.org/patch/8953981/ [V4] powerpc: Implement {cmp}xchg for u8 and u16 sorry. On 2016年09月19日 16:58, kbuild test robot wrote: Hi Pan, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.8-rc7 next-20160916] [i

[PATCH] Work around for enabling CONFIG_CMDLINE on ppc64le

2016-09-21 Thread Akshay Adiga
Observed that boot arguments (passed as CONFIG_CMDLINE) are not being picked up by kernel while using gcc-ppc64-linux-gnu v5.4.0 and v6.1.1. While it works as expected with v5.3.1 . Found that in init/main.c in setup_command_line() the pointers passed to strcpy() is messed up. source for setup_

[v3] XZ compressed zImage support

2016-09-21 Thread Oliver O'Halloran
This series adds support for using XZ compression in addition to gzip in the kernel boot wrapper. Currently this is only enabled for 64bit Book3S processors since it seems that some embedded platforms rely on uBoot (or similar) to decompress the image rather than having the kernel decompress itself

[PATCH 1/6] powerpc/boot: add sed script

2016-09-21 Thread Oliver O'Halloran
The powerpc boot wrapper is compiled with a separate "bootcc" toolchain rather than the toolchain used for the rest of the kernel. The main problem with this is that the wrapper does not have access to the kernel headers (without a lot of gross hacks). To get around this the required headers are co

[PATCH 2/6] powerpc/boot: Use CONFIG_KERNEL_GZIP

2016-09-21 Thread Oliver O'Halloran
Most architectures allow the compression algorithm used to produced the vmlinuz image to be selected as a kernel config option. In preperation for supporting algorithms other than gzip in the powerpc boot wrapper the makefile needs to be modified to use these config options. Signed-off-by: Oliver

<    1   2