[PATCH] powerpc/83xx: add support for mpc8306

2015-03-28 Thread Filip Brozovic
Add chip specific initialization for the MPC8306. Signed-off-by: Filip Brozovic --- arch/powerpc/platforms/83xx/Kconfig | 8 arch/powerpc/platforms/83xx/mpc83xx.h | 4 arch/powerpc/platforms/83xx/usb.c | 14 +++--- arch/powerpc/platforms/Kconfig| 10

Re: nouveau regression on G5 Dual Core

2015-03-28 Thread Olaf Hering
On Sat, Mar 28, Olaf Hering wrote: > I just updated the kernel from some 3.18 based state to 4.0-rc5+. The 3.19 is already broken, will bisect next week. Olaf ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo

nouveau regression on G5 Dual Core

2015-03-28 Thread Olaf Hering
I just updated the kernel from some 3.18 based state to 4.0-rc5+. The result is a white screen. Looks like the failure is this, full dmesg below. ... [0.877458] [drm] Initialized drm 1.1.0 20060810 [0.877849] nouveau [ DEVICE][:0a:00.0] BOOT0 : 0x043100a4 [0.877853] nouveau [

Re: [PATCH] powerpc/powernv: Remove powernv RTAS support

2015-03-28 Thread Michael Ellerman
On Fri, 2015-03-27 at 18:24 +0530, Aneesh Kumar K.V wrote: > Michael Ellerman writes: > > > The powernv code has some conditional support for running on bare metal > > machines that have no OPAL firmware, but provide RTAS. > > > > No released machines ever supported that, and even in the lab it w

Re: [PATCH v4 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-28 Thread Michael Ellerman
On Sat, 2015-03-28 at 10:17 +0100, Gabriel Paubert wrote: > On Sat, Mar 28, 2015 at 12:19:10PM +1100, Michael Ellerman wrote: > > This adds a test of the switch_endian() syscall we added in the previous > > commit. ... > > + > > + /* r9 - r12 are clobbered */ > > + > > + addir13, r15, 13

[PATCH v5 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-28 Thread Michael Ellerman
This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch f

[PATCH v5 1/2] powerpc: Add a proper syscall for switching endianness

2015-03-28 Thread Michael Ellerman
We currently have a "special" syscall for switching endianness. This is syscall number 0x1ebe, which is handled explicitly in the 64-bit syscall exception entry. That has a few problems, firstly the syscall number is outside of the usual range, which confuses various tools. For example strace does

Re: [V4, 1/4] KVM: PPC: Use READ_ONCE when dereferencing pte_t pointer

2015-03-28 Thread Michael Ellerman
On Thu, 2015-26-03 at 13:13:39 UTC, "Aneesh Kumar K.V" wrote: > pte can get updated from other CPUs as part of multiple activities > like THP split, huge page collapse, unmap. We need to make sure we > don't reload the pte value again and again for different checks. > > --- > arch/powerpc/include

Re: [PATCH v4 2/2] selftests/powerpc: Add a test of the switch_endian() syscall

2015-03-28 Thread Gabriel Paubert
On Sat, Mar 28, 2015 at 12:19:10PM +1100, Michael Ellerman wrote: > This adds a test of the switch_endian() syscall we added in the previous > commit. > > We test it by calling the endian switch syscall, and then executing some > code in the other endian to check everything went as expected. That