[PATCH] powerpc: module: fix stubs for BE

2014-05-12 Thread Rusty Russell
A simple patch which was supposed to swap r12 and r11 also inexplicably changed the offset by two bytes. This instruction (to load r2) isn't used in LE, so it wasn't noticed. Fixes: b1ce369e82 (powerpc: modules: use r12 for stub jump address.) Reported-by: Alistair Popple alist...@popple.id.au

Re: [PATCH] printk/of_serial: fix serial console cessation part way through boot.

2014-05-12 Thread Geert Uytterhoeven
Hi Stephen, On Sat, May 10, 2014 at 7:37 AM, Stephen Chivers schiv...@csc.com wrote: Commit 5f5c9ae56c38942623f69c3e6dc6ec78e4da2076 serial_core: Unregister console in uart_remove_one_port() fixed a crash where a serial port was removed but not deregistered as a console. There is a side

[PATCH] powerpc/corenet64_smp_defconfig: enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x

2014-05-12 Thread Shengzhou Liu
By default we enable CONFIG_I2C_MUX and CONFIG_I2C_MUX_PCA954x, which are needed on T2080QDS, T4240QDS, B4860QDS, etc. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- arch/powerpc/configs/corenet64_smp_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH V6 1/2] KVM: PPC: BOOK3S: Always use the saved DAR value

2014-05-12 Thread Aneesh Kumar K.V
Although it's optional, IBM POWER cpus always had DAR value set on alignment interrupt. So don't try to compute these values. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- Changes from V5: * Split the patch to two and also update commit message

[PATCH V6 2/2] KVM: PPC: BOOK3S: Remove open coded make_dsisr in alignment handler

2014-05-12 Thread Aneesh Kumar K.V
Use make_dsisr instead of open coding it. This also have the added benefit of handling alignment interrupt on additional instructions. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- arch/powerpc/include/asm/disassemble.h | 34 +

Re: [PATCH V6 1/2] KVM: PPC: BOOK3S: Always use the saved DAR value

2014-05-12 Thread Alexander Graf
On 12.05.14 13:34, Aneesh Kumar K.V wrote: Although it's optional, IBM POWER cpus always had DAR value set on alignment interrupt. So don't try to compute these values. Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com Thanks, applied both to kvm-ppc-queue. Alex

Re: [PATCH] [resend] net: get rid of SET_ETHTOOL_OPS

2014-05-12 Thread Felipe Balbi
On Sun, May 11, 2014 at 12:12:32AM +, Wilfried Klaebe wrote: net: get rid of SET_ETHTOOL_OPS Dave Miller mentioned he'd like to see SET_ETHTOOL_OPS gone. This does that. Mostly done via coccinelle script: @@ struct ethtool_ops *ops; struct net_device *dev; @@ -

[PATCH] powerpc: fix build of epapr_paravirt on 64-bit book3s

2014-05-12 Thread Scott Wood
This fixes an allyesconfig build break introduced by commit 7762b1ed7aaee223230793fcee80672e2e3aa7a8 powerpc: move epapr paravirt init of power_save to an initcall. Signed-off-by: Scott Wood scottw...@freescale.com Cc: Stuart Yoder stuart.yo...@freescale.com ---

Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-12 Thread Guenter Roeck
On Mon, May 12, 2014 at 03:48:44PM +1000, Benjamin Herrenschmidt wrote: On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote: Oh well, it was worth a try. Can you give me an example for a failing configuration ? My g5 config which is close to g5_defconfig with PR KVM enabled. In any

Re: Bug in reclaim logic with exhausted nodes?

2014-05-12 Thread Nishanth Aravamudan
Hi Christoph, Sorry for the delay in my response! On 03.04.2014 [11:41:37 -0500], Christoph Lameter wrote: On Mon, 31 Mar 2014, Nishanth Aravamudan wrote: Yep. The node exists, it's just fully exhausted at boot (due to the presence of 16GB pages reserved at boot-time). Well if you want

Re: [PATCH] powerpc/powernv: Correctly set hypervisor interrupt little endian bit on POWER8

2014-05-12 Thread Benjamin Herrenschmidt
On Thu, 2014-05-08 at 22:31 +1000, Anton Blanchard wrote: HID0 IBM bit 19 is the HILE bit on POWER8. Set it to 0 to take exceptions in big endian and to 1 to take them in little endian. Signed-off-by: Anton Blanchard an...@samba.org --- Let's stick to the variant involving a FW call

Re: [PATCH] powerpc: Fix attempt to move .org backwards error (again)

2014-05-12 Thread Benjamin Herrenschmidt
On Mon, 2014-05-12 at 08:53 -0700, Guenter Roeck wrote: On Mon, May 12, 2014 at 03:48:44PM +1000, Benjamin Herrenschmidt wrote: On Sun, 2014-05-11 at 21:52 -0700, Guenter Roeck wrote: Oh well, it was worth a try. Can you give me an example for a failing configuration ? My g5 config

Re: powerpc/ppc64: Allow allmodconfig to build (finally !)

2014-05-12 Thread Guenter Roeck
On Mon, May 12, 2014 at 03:57:34PM +1000, Benjamin Herrenschmidt wrote: This shuffles code around in exceptions-64s.S in order to allow an allmodconfig build to succeed. The main problems were: - We have a fixed hole from 0x7000 to 0x8000 for use by FW, under some circumstances the code

linux-next: manual merge of the powerpc tree with the fixes tree

2014-05-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the powerpc tree got a conflict in arch/powerpc/kernel/exceptions-64s.S between commit 0be9d8b61c0c (powerpc/ppc64: Allow allmodconfig to build (finally !)) from the fixes tree and commits b1576fec7f4d (powerpc: No need to use dot symbols when branching to a

[PATCH] powerpc/pseries: relocate config DTL so KConfig nests properly

2014-05-12 Thread Cody P Schafer
Signed-off-by: Cody P Schafer c...@linux.vnet.ibm.com --- arch/powerpc/platforms/pseries/Kconfig | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig index 2cb8b77..e00dd4d