[PATCH NEXT 4/4] powerpc/pasemi: Connect Nemo boot code.

2017-12-31 Thread Darren Stevens
The previous 3 commits added support code for the Nemo motherbard as used in the Amigaone X1000, now wire them up so the board can be detected and initalised at boot time. Signed-off-by: Darren Stevens --- diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/pla

[PATCH NEXT 2/4] powerpc/pasemi: Add Nemo board IRQ init routine

2017-12-31 Thread Darren Stevens
Add a IRQ init routine for the Nemo board which also inits and attatches the i8259 found in the SB600. Signed-off-by: Darren Stevens --- diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c index c4a3e93..c583c17 100644 --- a/arch/powerpc/pl

[PATCH NEXT 1/4] powerpc/pasemi: Add PCI initialisation for Nemo board.

2017-12-31 Thread Darren Stevens
The A-Eon Amigaone X1000's Nemo motherboard has an AMD SB600 connected to one of the PCI-e root ports on its PaSemi Pwrficient 1628M SoC. Normally the SB600 southbridge would be connected to a hidden PCI-e port on the system's northbridge, and as a result doesn't fully comply wi

[PATCH NEXT 3/4] powerpc/pasemi: Add Nemo board device init code.

2017-12-31 Thread Darren Stevens
Add routines for Nemo specific devices to init at boot time, these being board level power-off and SB600's rtc. Also add a run time variable to prevent these being activated if we boot on a reference board. Signed-off-by: Darren Stevens ---diff --git a/arch/powerpc/p

[RESEND PATCH] i2c/busses/pasemi: Remove hardcoded bus numbers on smbus

2017-12-31 Thread Darren Stevens
The pasemi smbus controller uses PCI_FUNC(dev->devfn) to define which number bus to attach to, however this fails when something else is probed first, for example an ATI Radeon graphics card will claim 9 or 10 busses, including the ones the pasemi wants. Patch the driver to call i2c_add_adapter ra

Re: Getting kernel 4.14 to run on PS3

2017-12-31 Thread Nathan Whitehorn
On 12/12/17 15:05, Geoff Levand wrote: Hi Nathan, On 12/08/2017 01:25 PM, Nathan Whitehorn wrote: I submitted patches to libfdt that resolve this particular ABI breakage yesterday. If the patch gets merged, newer kernels should become bootable again. Here's the link: https://github.com/

[PATCH 1/2] powerpc/tm: Fix endianness flip on trap

2017-12-31 Thread Gustavo Romero
Currently it's possible that a thread on PPC64 LE has its endianness flipped inadvertently to Big-Endian resulting in a crash once the process is back from the signal handler. If giveup_all() is called when regs->msr has the bits MSR.FP and MSR.VEC disabled (and hence MSR.VSX disabled too) it retu

[PATCH 2/2] powerpc/selftests: Check endianness on trap in TM

2017-12-31 Thread Gustavo Romero
Add a selftest to check if endianness is flipped inadvertently to BE (MSR.LE set to zero) on BE and LE machines when a trap is caught in transactional mode and load_fp and load_vec are zero, i.e. when MSR.FP and MSR.VEC are zeroed (disabled). Signed-off-by: Gustavo Romero --- tools/testing/selft

[PATCH] powerpc/mm: restore SEGV_ACCERR for segv on mapped region

2017-12-31 Thread John Sperbeck
A recent refactoring of the powerpc page fault handler caused access to protected memory regions to indicate SEGV_MAPERR instead of the traditional SEGV_ACCERR in the si_code field of a user-space signal handler. This can confuse debug libraries that temporarily change the protection of memory reg

Re: Getting kernel 4.14 to run on PS3

2017-12-31 Thread Sascha Schroeder
Sounds like progress! Nice one! I encountered several issues with this box but still believe Cell can do more. We're at an incredible architecture right here, what concerns me most is that we still today miss the availability of the mightyness of this machine. Gallium 0.2 is still working for e