[git pull] Please pull powerpc.git merge branch

2014-04-27 Thread Benjamin Herrenschmidt
Hi Linus ! Here is a bunch of post-merge window fixes that have been accumulating in patchwork while I was on vacation or buried under other stuff last week. We have the now usual batch of LE fixes from Anton (sadly some new stuff that went into this merge window had endian issues, we'll try to m

[PATCH V5] mtd: m25p80: modify the name of mtd_info

2014-04-27 Thread Hou Zhiqiang
To specify spi flash layouts by "mtdparts=..." in cmdline, we must give mtd_info a fixed name, because the cmdlinepart's parser will match the name of mtd_info given in cmdline. Now, if it use DT, the mtd_info's name will be spi->dev->name. It consists of spi_master->bus_num, and the spi_master->bu

Re: [PATCH v2 1/2] powerpc/pm: add api to get suspend state which is STANDBY or MEM

2014-04-27 Thread Leo Li
On Sat, Apr 26, 2014 at 5:45 AM, Scott Wood wrote: > On Thu, 2014-04-24 at 14:11 +0800, Dongsheng Wang wrote: >> From: Wang Dongsheng >> >> Add set_pm_suspend_state & pm_suspend_state functions to set/get >> suspend state. When system going to sleep or deep sleep, devices >> can get the system su

Re: [PATCH v2 6/6] powerpc/perf/hv-24x7: catalog version number is be64, not be32

2014-04-27 Thread Cody P Schafer
On 04/27/2014 09:47 PM, Benjamin Herrenschmidt wrote: On Tue, 2014-04-15 at 10:10 -0700, Cody P Schafer wrote: The catalog version number was changed from a be32 (with proceeding 32bits of padding) to a be64, update the code to treat it as a be64 Signed-off-by: Cody P Schafer -- Have you tes

Re: [PATCH v2 6/6] powerpc/perf/hv-24x7: catalog version number is be64, not be32

2014-04-27 Thread Benjamin Herrenschmidt
On Tue, 2014-04-15 at 10:10 -0700, Cody P Schafer wrote: > The catalog version number was changed from a be32 (with proceeding > 32bits of padding) to a be64, update the code to treat it as a be64 > > Signed-off-by: Cody P Schafer > -- Have you tested this ? It doesn't build for me: arch/power

Re: [PATCH v2 21/21] of: push struct boot_param_header and defines into powerpc

2014-04-27 Thread Benjamin Herrenschmidt
On Tue, 2014-04-22 at 20:18 -0500, Rob Herring wrote: > From: Rob Herring > > Now powerpc is the only user of struct boot_param_header and FDT defines, > so they can be moved into the powerpc architecture code. > > Signed-off-by: Rob Herring > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras >

Re: [PATCH 08/13] PCI, rpaphp: Use new pci_is_bridge() to simplify code

2014-04-27 Thread Benjamin Herrenschmidt
On Fri, 2014-04-25 at 17:18 +0800, Yijing Wang wrote: > Now we can use new pci_is_bridge() helper function > to simplify code. > > Signed-off-by: Yijing Wang Acked-by: Benjamin Herrenschmidt > --- > drivers/pci/hotplug/rpadlpar_core.c |3 +-- > 1 files changed, 1 insertions(+), 2 deletion

[PATCH] powerpc: Fix Oops in rtas_stop_self()

2014-04-27 Thread Li Zhong
commit 41dd03a9 may cause Oops in rtas_stop_self(). The reason is that the rtas_args was moved into stack space. For a box with more that 4GB RAM, the stack could easily be outside 32bit range, but RTAS is 32bit. So the patch moves rtas_args away from stack by adding static before it. Signed-of

Re: [RFC PATCH] Fix Oops in rtas_stop_self()

2014-04-27 Thread Li Zhong
On Fri, 2014-04-25 at 22:18 +1000, Anton Blanchard wrote: > Hi, > > > When trying offline cpus, I noticed following Oops in > > rtas_stop_self(), and it seems caused by commit 41dd03a9. The Oops > > disappears after reverting this commit. > > > > After reading the code, I guess it might be caused

[PATCH] powerpc: export flush_icache_range

2014-04-27 Thread Jeff Mahoney
Commit aac416fc38c (lkdtm: flush icache and report actions) calls flush_icache_range from a module. It's exported on most architectures that implement it, but not on powerpc. This patch exports it to fix the module link failure. Signed-off-by: Jeff Mahoney --- arch/powerpc/kernel/ppc_ksyms.c |