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

2014-05-12 Thread Michael Neuling
> powerpc/pseries: relocate "config DTL" so KConfig nests properly I don't know what that means. Can you describe it in more detail? Mikey On Mon, 2014-05-12 at 20:09 -0700, Cody P Schafer wrote: > Signed-off-by: Cody P Schafer > --- > arch/powerpc/platforms/pseries/Kconfig | 20 ++--

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

2014-05-12 Thread Cody P Schafer
Signed-off-by: Cody P Schafer --- 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 100644 --- a/arch/powerpc/pla

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

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

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

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 > --- Let's stick to the variant involving a FW call instead. Cheers,

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 y

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. > >

[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 Cc: Stuart Yoder --- arch/powerpc/kernel/epapr_paravirt.c | 2 ++ 1 file changed, 2 insertions(+) dif

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; > @@ > - SET

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 Thanks, applied both to kvm-ppc-queue. Alex

[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 --- arch/powerpc/include/asm/disassemble.h | 34 + arch/powerpc/kernel/align.c| 34 +-

[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 --- Changes from V5: * Split the patch to two and also update commit message arch/powerpc/kvm/book3s_emulate.c | 7 +++ 1 file change

[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 --- arch/powerpc/configs/corenet64_smp_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/configs/corenet64_smp_defconfig

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 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 effect of th

[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 Signed-off-by: Rusty R