Re: [PATCH] selftests/powerpc: run eeb tests only on POWER8

2015-10-18 Thread Michael Ellerman
On Sat, 2015-10-17 at 21:31 +0300, Denis Kirjanov wrote: > Event Based Branches currenly available on POWER8. > so we can skip them on other CPUs. Thanks for the patch, but .. > I've found that at least one test loops forever > on 970MP (cycles_with_freeze_test). Ooo interesting. The harness sh

Re: [PATCH] selftests/powerpc: run eeb tests only on POWER8

2015-10-18 Thread Denis Kirjanov
On 10/18/15, Michael Ellerman wrote: > On Sat, 2015-10-17 at 21:31 +0300, Denis Kirjanov wrote: > >> Event Based Branches currenly available on POWER8. >> so we can skip them on other CPUs. > > Thanks for the patch, but .. > >> I've found that at least one test loops forever >> on 970MP (cycles_wi

[PATCH v2] selftests/powerpc: run eeb tests only on POWER8

2015-10-18 Thread Denis Kirjanov
Event Based Branches currenly available on POWER8. so we can skip them on other CPUs. I've found that at least one test loops forever on 970MP (cycles_with_freeze_test). Signed-off-by: Denis Kirjanov v2 changes: - use get_auxv_entry() helper to get supported features --- .../selftests/powerpc

[PATCH 1/5] drivers/tty: make hvc/hvc_vio.c explicitly non-modular

2015-10-18 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/tty/hvc/Kconfig:config HVC_CONSOLE drivers/tty/hvc/Kconfig:bool "pSeries Hypervisor Virtual Console support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is

[PATCH 2/5] drivers/tty: make ehv_bytechan.c explicitly non-modular

2015-10-18 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/tty/Kconfig:config PPC_EPAPR_HV_BYTECHAN drivers/tty/Kconfig:bool "ePAPR hypervisor byte channel driver" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentia

[PATCH 0/5] drivers/tty: make more bool drivers explicitly non-modular

2015-10-18 Thread Paul Gortmaker
This next set of patches to drivers/tty fixes up more drivers that would perhaps appear modular when looking at the code, but are controlled by a bool Kconfig. We make sure they don't look modular and get rid of module related code in the drivers that would never be used. The one common thread he

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-18 Thread Boqun Feng
On Thu, Oct 15, 2015 at 09:30:40AM -0700, Paul E. McKenney wrote: > On Thu, Oct 15, 2015 at 12:48:03PM +0800, Boqun Feng wrote: > > On Wed, Oct 14, 2015 at 08:07:05PM -0700, Paul E. McKenney wrote: [snip] > > > > > Why not try creating a longer litmus test that requires P0's write to > > > "a" to

Re: [PATCH v2] barriers: introduce smp_mb__release_acquire and update documentation

2015-10-18 Thread Boqun Feng
On Fri, Oct 09, 2015 at 10:40:39AM +0100, Will Deacon wrote: > On Fri, Oct 09, 2015 at 10:31:38AM +0200, Peter Zijlstra wrote: [snip] > > > > So lots of little confusions added up to complete fail :-{ > > > > Mostly I think it was the UNLOCK x + LOCK x are fully ordered (where I > > forgot: but n

RE: [V2,1/2] powerpc/fsl: Add PCI node in device tree of bsc9132qds

2015-10-18 Thread Hou Zhiqiang
> -Original Message- > From: Wood Scott-B07421 > Sent: 2015年10月17日 9:34 > To: Hou Zhiqiang-B48286 > Cc: linuxppc-dev@lists.ozlabs.org; ga...@kernel.crashing.org; > b...@kernel.crashing.org; pau...@samba.org; m...@ellerman.id.au; > devicet...@vger.kernel.org; robh...@kernel.org; pawel.m...

Re: [PATCH V4 00/31] powerpc/mm: Update page table format for book3s 64

2015-10-18 Thread Aneesh Kumar K.V
Benjamin Herrenschmidt writes: > On Sat, 2015-10-17 at 15:38 +0530, Aneesh Kumar K.V wrote: >> Hi All, >> >> This patch series attempt to update book3s 64 linux page table format to >> make it more flexible. Our current pte format is very restrictive and we >> overload multiple pte bits. This is

Re: [PATCH v2] powerpc/mpc5xxx: Avoid dereferencing potentially freed memory

2015-10-18 Thread Michael Ellerman
On Fri, 2015-10-16 at 22:05 +0200, Christophe JAILLET wrote: > Hi, > sorry if un-clear. > > What I mean is that in the patch related > 'powerpc/sysdev/mpc5xxx_clocks.c', there was no call to 'be32_to_cpup'. > So in the proposed patch, 'of_property_read_u32' adds it. > > While in the patch agains

[PATCH] powerpc/ps3: Quieten the build when building ps3

2015-10-18 Thread Michael Ellerman
The boot wrapper uses dd when building for ps3, which annoyingly tells us in great detail what it's doing, eg: 512+0 records in 512+0 records out 512 bytes (512 B) copied, 0.000802129 s, 638 kB/s 512+0 records in 512+0 records out 512 bytes (512 B) copied, 0.000745101 s, 687 kB/s Also