[PATCH 0/3] pseries kexec fixes

2011-07-25 Thread Anton Blanchard
Here are a few pseries kexec fixes after testing on a recent version version. Anton ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/3] powerpc/pseries: Fix kexec on recent firmware versions

2011-07-25 Thread Anton Blanchard
Recent versions of firmware will fail to unmap the virtual processor area if we have a dispatch trace log registered. This causes kexec to fail. If a trace log is registered this patch unregisters it before the SLB shadow and virtual processor areas, fixing the problem. The address argument is

[PATCH 2/3] powerpc/pseries: Cleanup VPA registration and deregistration errors

2011-07-25 Thread Anton Blanchard
Make the VPA, SLB shadow and DTL registration and deregistration functions print consistent messages on error. I needed the firmware error code while chasing a kexec bug but we weren't printing it. Signed-off-by: Anton Blanchard an...@samba.org --- Index:

[PATCH 3/3] powerpc/pseries: Simplify vpa deregistration functions

2011-07-25 Thread Anton Blanchard
The VPA, SLB shadow and DTL degistration functions do not need an address, so simplify things and remove it. Also cleanup pseries_kexec_cpu_down a bit by storing the cpu IDs in local variables. Signed-off-by: Anton Blanchard an...@samba.org --- Index:

[PATCH 0/5] ppc64 scheduler fixes

2011-07-25 Thread Anton Blanchard
Here are a set of ppc64 scheduler fixes that help with some multi node performance issues. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH 1/5] powerpc/numa: Enable SD_WAKE_AFFINE in node definition

2011-07-25 Thread Anton Blanchard
When chasing a performance issue on ppc64, I noticed tasks communicating via a pipe would often end up on different nodes. It turns out SD_WAKE_AFFINE is not set in our node defition. Commit 9fcd18c9e63e (sched: re-tune balancing) enabled SD_WAKE_AFFINE in the node definition for x86 and we need

[PATCH 2/5] sched: Allow SD_NODES_PER_DOMAIN to be overridden

2011-07-25 Thread Anton Blanchard
We want to override the default value of SD_NODES_PER_DOMAIN on ppc64, so move it into linux/topology.h. Signed-off-by: Anton Blanchard an...@samba.org --- Index: linux-2.6-work/include/linux/topology.h === ---

[PATCH 3/5] powerpc/numa: Increase SD_NODES_PER_DOMAIN to 32.

2011-07-25 Thread Anton Blanchard
The largest POWER7 boxes have 32 nodes. SD_NODES_PER_DOMAIN groups nodes into chunks of 16 and adds a global balancing domain (SD_ALLNODES) above it. If we bump SD_NODES_PER_DOMAIN to 32, then we avoid this extra level of balancing on our largest boxes. Signed-off-by: Anton Blanchard

[PATCH 4/5] powerpc/numa: Disable NEWIDLE balancing at node level

2011-07-25 Thread Anton Blanchard
On big POWER7 boxes we see large amounts of CPU time in system processes like workqueue and watchdog kernel threads. We currently rebalance the entire machine each time a task goes idle and this is very expensive on large machines. Disable newidle balancing at the node level and rely on the

[PATCH 5/5] powerpc/numa: Remove duplicate RECLAIM_DISTANCE definition

2011-07-25 Thread Anton Blanchard
We have two identical definitions of RECLAIM_DISTANCE, looks like the patch got applied twice. Remove one. Signed-off-by: Anton Blanchard an...@samba.org --- Index: linux-2.6-work/arch/powerpc/include/asm/topology.h === ---

Re: [PATCH 0/5] ppc64 scheduler fixes

2011-07-25 Thread Peter Zijlstra
On Mon, 2011-07-25 at 12:33 +1000, Anton Blanchard wrote: Here are a set of ppc64 scheduler fixes that help with some multi node performance issues. They look fine to me. I'll probably ping you when I'll rip out all that SD_NODES_PER_DOMAIN crap for good, but until then I'm fine with you

Re: Linux 3.0 boot failure on the Powerbook G4

2011-07-25 Thread Michael Büsch
On Mon, 25 Jul 2011 09:23:38 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: Hrm.. the faulting address is outside of the zImage. Odd. Can you try loading a plain vmlinux instead ? (feel free to strip it). The plain unstripped vmlinux boots fine: mb@maggie:~$ uname -a Linux

mtu issue with gianfar driver

2011-07-25 Thread Kumar Reddy Suresh-B22303
Hi All, A problem was observed in gianfar driver when the interface MTU was modified to a small value. FYI Kernel Version : 2.6.32 on PPC. Like if we change the interface mtu to say 100, ping traffic with size greater than 450 is failing. It was observed that packets ( ping requests) going

[GIT PULL] Please pull powerpc.git next branch

2011-07-25 Thread Kumar Gala
[ a few minor fixes ] The following changes since commit 50d2a4223bb875d1e3a7ee97d40dd03bf31ce1b7: powerpc: Copy back TIF flags on return from softirq stack (2011-07-22 13:38:58 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git

Re: perf PPC: kernel panic with callchains and context switch events

2011-07-25 Thread David Ahern
Hi Ben: On 07/24/2011 07:55 PM, Benjamin Herrenschmidt wrote: On Sun, 2011-07-24 at 11:18 -0600, David Ahern wrote: On 07/20/2011 03:57 PM, David Ahern wrote: I am hoping someone familiar with PPC can help understand a panic that is generated when capturing callchains with context switch

Re: [PATCH 13/14] 85xx: consolidate of_platform_bus_probe calls

2011-07-25 Thread Scott Wood
On Sat, 23 Jul 2011 01:45:53 +0400 Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: I see your point. I just wasn't thinking too much about ot-of-tree trees. My thought was that if someone updates the kernel, he can also update the dtb. Sometimes there are firmware dependencies that make

[PATCH] powerpc/nvram: Add compression to fit more oops output into NVRAM

2011-07-25 Thread Jim Keniston
Capture more than twice as much text from the printk buffer, and compress it to fit it in the lnx,oops-log NVRAM partition. You can view the compressed text using the new (as of July 20) --unzip option of the nvram command in the powerpc-utils package. Signed-off-by: Jim Keniston

[PATCH] powerpc: mtspr/mtmsr should take an unsigned long

2011-07-25 Thread Scott Wood
Add a cast in case the caller passes in a different type, as it would if mtspr/mtmsr were functions. Previously, if a 64-bit type was passed in on 32-bit, GCC would bind the constraint to a pair of registers, and would substitute the first register in the pair in the asm code. This corresponds

[PATCH] powerpc: return the_cpu_ spec from identify_cpu

2011-07-25 Thread Scott Wood
Commit af9eef3c7b1ed004c378c89b87642f4937337d50 caused cpu_setup to see the_cpu_spec, rather than the source struct. However, on 32-bit, the return value of identify_cpu was being used for feature fixups, and identify_cpu was returning the source struct. So if cpu_setup patches the feature bits,

[PATCH] powerpc/32: pass device tree address as u64 to machine_init

2011-07-25 Thread Scott Wood
u64 is used rather than phys_addr_t to keep things simple, as this is called from assembly code. Update callers to pass a 64-bit address in r3/r4. Other unused register assignments that were once parameters to machine_init are dropped. For FSL BookE, look up the physical address of the device

[git pull] Please pull powerpc.git next branch

2011-07-25 Thread Benjamin Herrenschmidt
Hi Linus ! Here's the powerpc batch for this merge window (there might still be a handful of small fixes coming later this week depending on my mood but here's the bulk at least). There's a couple of trivial merge conflicts with your tree, let me know if you prefer that I fix them myself. No big

Re: [PATCH v2 2/4] powerpc, mpc52xx: add a4m072 board support

2011-07-25 Thread Heiko Schocher
Hello, Heiko Schocher wrote: Signed-off-by: Heiko Schocher h...@denx.de cc: Grant Likely grant.lik...@secretlab.ca cc: devicetree-disc...@ozlabs.org cc: Wolfgang Denk w...@denx.de cc: Wolfram Sang w.s...@pengutronix.de --- For this patchseries following patch is needed:

Re: [PATCH 1/4] net, phy: am79c874 support

2011-07-25 Thread Heiko Schocher
Hello, Heiko Schocher wrote: Signed-off-by: Heiko Schocher h...@denx.de cc: linux-net...@vger.kernel.org cc: Wolfgang Denk w...@denx.de --- drivers/net/phy/Kconfig |5 ++ drivers/net/phy/Makefile |1 + drivers/net/phy/amd79.c | 109