Re: [PATCH V3] powerpc/mm: Add radix flush all with IS=3

2016-08-23 Thread Balbir Singh
On 23/08/16 20:57, Aneesh Kumar K.V wrote: > Signed-off-by: Aneesh Kumar K.V > --- > .../powerpc/include/asm/book3s/64/tlbflush-radix.h | 1 + > arch/powerpc/mm/tlb-radix.c| 24 > ++ > 2 files changed, 25 insertions(+) > > diff --git a/arch/powerpc

Re: [PATCH 4/6] cxlflash: Transition to application close model

2016-08-23 Thread Martin K. Petersen
> "Matthew" == Matthew R Ochs writes: Matthew> Caching the adapter file descriptor and performing a close on Matthew> behalf of an application is a poor design. This is due to the Matthew> fact that once a file descriptor in installed, it is free to be Matthew> altered without the knowledge o

Re: [PATCH] powerpc/ptrace: Fix cppcheck issue in gpr32_set_common/gpr32_get_common.

2016-08-23 Thread Daniel Axtens
Hi Simon, > The ckpt_regs usage in gpr32_set_common/gpr32_get_common() > will lead to cppcheck error. > > [arch/powerpc/kernel/ptrace.c:2062]: (error) Uninitialized variable: ckpt_regs > [arch/powerpc/kernel/ptrace.c:2130]: (error) Uninitialized variable: ckpt_regs > > A straightforward fix to cle

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-08-23 Thread Thiago Jung Bauermann
Am Mittwoch, 24 August 2016, 10:50:26 schrieb Oliver O'Halloran: > On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh wrote: > >> zImage on ppc64 BE is an ELF32 file. This patch set only supports > >> loading > >> ELF files of the same class as the kernel, so a 64 bit kernel can't > >> load an ELF32 f

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-08-23 Thread Oliver O'Halloran
On Tue, Aug 23, 2016 at 1:21 PM, Balbir Singh wrote: > >> zImage on ppc64 BE is an ELF32 file. This patch set only supports loading >> ELF files of the same class as the kernel, so a 64 bit kernel can't load an >> ELF32 file. It would be possible to add such support, but it would be a new >> featu

[PATCH v3 2/5] firmware: annotate thou shalt not request fw on init or probe

2016-08-23 Thread mcgrof
From: "Luis R. Rodriguez" Thou shalt not make firmware calls early on init or probe. systemd already ripped support out for the usermode helper a while ago, there are still users that require the usermode helper, however systemd's use of the usermode helper exacerbated a long lasting issue of th

Re: [PATCH v4 2/2] powerpc/pseries: Implement indexed-count hotplug memory remove

2016-08-23 Thread Michael Roth
Quoting Sahil Mehta (2016-08-01 12:23:16) > Indexed-count remove for memory hotplug guarantees that a contiguous block > of lmbs beginning at a specified will be unassigned (NOT > that lmbs will be removed). Because of Qemu's per-DIMM memory > management, the removal of a contiguous block of mem

[PATCH] powerpc: Fix build of 64 bit little endian with CONFIG_KEXEC=n

2016-08-23 Thread Thiago Jung Bauermann
On ppc64le, builds with CONFIG_KEXEC=n fail with: arch/powerpc/platforms/pseries/setup.c: In function ‘pseries_big_endian_exceptions’: arch/powerpc/platforms/pseries/setup.c:403:13: error: implicit declaration of function ‘kdump_in_progress’ [-Werror=implicit-function-declaration] if (rc && !k

Re: [PATCH 1/1] pci: host: pci-layerscape: add missing of_node_put after calling of_parse_phandle

2016-08-23 Thread Bjorn Helgaas
Hi Peter, On Fri, Aug 12, 2016 at 09:34:41AM +0800, Peter Chen wrote: > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished using. > > Cc: Minghuan Lian > Cc: Mingkai Hu > Cc: Roy Zang > Signed-off-by: Peter Chen > --- > drivers/pci/host/pci-

Re: [PATCH v6 2/7] perf annotate: Add cross arch annotate support

2016-08-23 Thread Kim Phillips
On Tue, 23 Aug 2016 11:17:16 +0900 Namhyung Kim wrote: > On Tue, Aug 23, 2016 at 8:01 AM, Kim Phillips wrote: > > On Fri, 19 Aug 2016 18:29:33 +0530 > > Ravi Bangoria wrote: > > > >> Changes in v6: > >> - Instead of adding only those instructions defined in #ifdef __arm__, > >> add all in

[PATCH v2] powerpc/8xx: use SPRN_EIE and SPRN_EID to enable/disable interrupts

2016-08-23 Thread Christophe Leroy
The 8xx has two special registers called EID (External Interrupt Disable) and EIE (External Interrupt Enable) for clearing/setting EE in MSR. It avoids the three instructions set mfmsr/ori/mtmsr or mfmsr/rlwinm/mtmsr and it avoids using a general register. We just have to write something in the sp

[PATCH] powerpc/8xx: add dedicated machine check handler

2016-08-23 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/cputable.h | 1 + arch/powerpc/kernel/cputable.c | 1 + arch/powerpc/kernel/traps.c | 13 + 3 files changed, 15 insertions(+) diff --git a/arch/powerpc/include/asm/cputable.h b/arch/powerpc/include/asm/cputa

Re: Suspected regression?

2016-08-23 Thread Christophe Leroy
Le 23/08/2016 à 11:20, Alessio Igor Bogani a écrit : Hi Christophe, Sorry for delay in reply I was on vacation. On 6 August 2016 at 11:29, christophe leroy wrote: Alessio, Le 05/08/2016 à 09:51, Christophe Leroy a écrit : Le 19/07/2016 à 23:52, Scott Wood a écrit : On Tue, 2016-07-1

[PATCH V3] powerpc/mm: Add radix flush all with IS=3

2016-08-23 Thread Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V --- .../powerpc/include/asm/book3s/64/tlbflush-radix.h | 1 + arch/powerpc/mm/tlb-radix.c| 24 ++ 2 files changed, 25 insertions(+) diff --git a/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h b/arch/powerpc/includ

Re: Suspected regression?

2016-08-23 Thread Alessio Igor Bogani
Hi Christophe, Sorry for delay in reply I was on vacation. On 6 August 2016 at 11:29, christophe leroy wrote: > Alessio, > > > Le 05/08/2016 à 09:51, Christophe Leroy a écrit : >> >> >> >> Le 19/07/2016 à 23:52, Scott Wood a écrit : >>> >>> On Tue, 2016-07-19 at 12:00 +0200, Alessio Igor Bogani

Re: [PATCH v3] powerpc: signals: Discard transaction state from signal frames

2016-08-23 Thread Simon Guo
On Tue, Aug 23, 2016 at 10:46:17AM +1000, Cyril Bur wrote: > Userspace can begin and suspend a transaction within the signal > handler which means they might enter sys_rt_sigreturn() with the > processor in suspended state. > > sys_rt_sigreturn() wants to restore process context (which may have >