Re: [PATCH v2] arch: use WRITE_ONCE/READ_ONCE in smp_store_release/smp_load_acquire

2015-08-02 Thread Ralf Baechle
On Sun, Aug 02, 2015 at 05:11:04PM +0200, Andrey Konovalov wrote: > diff --git a/arch/mips/include/asm/barrier.h b/arch/mips/include/asm/barrier.h > index 7ecba84..752e0b8 100644 > --- a/arch/mips/include/asm/barrier.h > +++ b/arch/mips/include/asm/barrier.h > @@ -133,12 +133,12 @@ > do {

Re: [PATCH v2] arch: use WRITE_ONCE/READ_ONCE in smp_store_release/smp_load_acquire

2015-08-02 Thread Michael Ellerman
On Sun, 2015-08-02 at 17:11 +0200, Andrey Konovalov wrote: > Replace ACCESS_ONCE() macro in smp_store_release() and smp_load_acquire() > with WRITE_ONCE() and READ_ONCE() on x86, arm, arm64, ia64, metag, mips, > powerpc, s390, sparc and asm-generic since ACCESS_ONCE does not work > reliably on non-

Re: [PATCH v2] arch: use WRITE_ONCE/READ_ONCE in smp_store_release/smp_load_acquire

2015-08-02 Thread Davidlohr Bueso
On Sun, 2015-08-02 at 17:11 +0200, Andrey Konovalov wrote: > Replace ACCESS_ONCE() macro in smp_store_release() and smp_load_acquire() > with WRITE_ONCE() and READ_ONCE() on x86, arm, arm64, ia64, metag, mips, > powerpc, s390, sparc and asm-generic since ACCESS_ONCE does not work > reliably on non-

Re: [PATCH] cxl: Fix ambiguous else warnings

2015-08-02 Thread Michael Ellerman
On Mon, 2015-08-03 at 10:47 +1000, Daniel Axtens wrote: > > This should be a static inline, not a #define. > > > I'm changing them to static inlines at the moment. Would you prefer a v3 > of the EEH patches, or a new patch on top? Without looking closer I think a v3. ie. before you change the lo

Re: [2/5] powerpc/perf: Change type of the bhrb_users variable

2015-08-02 Thread Michael Ellerman
On Tue, 2015-30-06 at 08:20:28 UTC, Anshuman Khandual wrote: > This patch just changes data type of bhrb_users variable from > int to unsigned int because it never contains a negative value. > > Reported-by: Daniel Axtens > Signed-off-by: Anshuman Khandual Applied to powerpc next, thanks. http

Re: powerpc/rtas: Replace magic values with defines

2015-08-02 Thread Michael Ellerman
On Wed, 2015-22-07 at 16:56:47 UTC, Thomas Huth wrote: > rtas.h already has some nice #defines for RTAS return status > codes - let's use them instead of hard-coded "magic" values! > > Signed-off-by: Thomas Huth > Reviewed-by: Tyrel Datwyler Applied to powerpc next, thanks. https://git.kernel.

Re: [v3, 2/8] powerpc/perf/hv-24x7: Simplify extracting counter from result buffer

2015-08-02 Thread Michael Ellerman
On Wed, 2015-15-07 at 03:01:49 UTC, Sukadev Bhattiprolu wrote: > Simplify code that extracts a 24x7 counter from the HCALL's result buffer. > > Suggested-by: Joe Perches > Signed-off-by: Sukadev Bhattiprolu Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/465345ca387ed491c467

Re: [v3, 1/8] powerpc/perf/hv-24x7: Whitespace - fix parameter alignment

2015-08-02 Thread Michael Ellerman
On Wed, 2015-15-07 at 03:01:48 UTC, Sukadev Bhattiprolu wrote: > Fix parameter alignment to be consistent with coding style. > > Signed-off-by: Sukadev Bhattiprolu Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/40386217cd7bc38908d6 cheers

Re: powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers

2015-08-02 Thread Michael Ellerman
On Fri, 2015-17-07 at 10:46:58 UTC, Thomas Huth wrote: > The EPOW interrupt handler uses rtas_get_sensor(), which in turn > uses rtas_busy_delay() to wait for RTAS becoming ready in case it > is necessary. But rtas_busy_delay() is annotated with might_sleep() > and thus may not be used by interrupt

Re: [v2] powerpc: Use hardware RNG for arch_get_random_seed_* not arch_get_random_*

2015-08-02 Thread Michael Ellerman
On Fri, 2015-17-07 at 10:11:43 UTC, Paul Mackerras wrote: > The hardware RNG on POWER8 and POWER7+ can be relatively slow, since > it can only supply one 64-bit value per microsecond. Currently we > read it in arch_get_random_long(), but that slows down reading from > /dev/urandom since the code i

Re: [PATCH] cxl: Fix ambiguous else warnings

2015-08-02 Thread Daniel Axtens
> This should be a static inline, not a #define. > I'm changing them to static inlines at the moment. Would you prefer a v3 of the EEH patches, or a new patch on top? -- Regards, Daniel signature.asc Description: This is a digitally signed message part _

Re: [PATCH] cxl: Fix ambiguous else warnings

2015-08-02 Thread Michael Ellerman
On Mon, 2015-08-03 at 10:36 +1000, Daniel Axtens wrote: > Hi Andreas, > > On Fri, 2015-07-31 at 11:16 +0200, Andreas Schwab wrote: > > Daniel Axtens writes: > > > > > Every time I build cxl I see the following warnings: > > > > > > /scratch/dja/linux-capi/drivers/misc/cxl/pci.c: In function > >

Re: [PATCH] cxl: Fix ambiguous else warnings

2015-08-02 Thread Daniel Axtens
Hi Andreas, On Fri, 2015-07-31 at 11:16 +0200, Andreas Schwab wrote: > Daniel Axtens writes: > > > Every time I build cxl I see the following warnings: > > > > /scratch/dja/linux-capi/drivers/misc/cxl/pci.c: In function > > ‘sanitise_afu_regs’: > > /scratch/dja/linux-capi/drivers/misc/cxl/pci.c

[git pull] Please pull powerpc/linux.git powerpc-4.2-3 tag

2015-08-02 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.2: The following changes since commit c5dfd654d0ec0a28fe81e7bd4d4fd984a9855e09: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2015-07-22 14:45:25 -0700) are available in the git repository at: git://git.kernel.org/pub/sc

[PATCH v2] arch: use WRITE_ONCE/READ_ONCE in smp_store_release/smp_load_acquire

2015-08-02 Thread Andrey Konovalov
Replace ACCESS_ONCE() macro in smp_store_release() and smp_load_acquire() with WRITE_ONCE() and READ_ONCE() on x86, arm, arm64, ia64, metag, mips, powerpc, s390, sparc and asm-generic since ACCESS_ONCE does not work reliably on non-scalar types. WRITE_ONCE() and READ_ONCE() were introduced in the

[PATCH 6/6 v2] ASoC: fsl_ssi: adjust set DAI format in AC'97 mode

2015-08-02 Thread Maciej S. Szmigiero
Adjust set DAI format function in fsl_ssi driver so it doesn't fail and clears RXDIR in AC'97 mode. Changes from v1: fix indentation to be consistent with rest of the driver. Signed-off-by: Maciej Szmigiero --- sound/soc/fsl/fsl_ssi.c |8 +--- 1 files changed, 5 insertions(+), 3 deletio

Re: [PATCH 6/6] ASoC: fsl_ssi: adjust set DAI format in AC'97 mode

2015-08-02 Thread Markus Pargmann
On Fri, Jul 31, 2015 at 05:13:06PM +0200, Maciej S. Szmigiero wrote: > On 31.07.2015 07:58, Markus Pargmann wrote: > > On Thu, Jul 30, 2015 at 04:35:58PM +0200, Maciej S. Szmigiero wrote: > >> Adjust set DAI format function in fsl_ssi driver so it > >> doesn't fail and clears RXDIR in AC'97 mode. >

Re: [PATCH 3/6] ASoC: fsl_ssi: enable AC'97 asymmetric rates

2015-08-02 Thread Markus Pargmann
Hi, On Fri, Jul 31, 2015 at 04:38:20PM +0200, Maciej S. Szmigiero wrote: > Hi Markus, > > Thanks for looking into the changes. > > On 31.07.2015 07:53, Markus Pargmann wrote: > > On Fri, Jul 31, 2015 at 07:27:19AM +0200, Markus Pargmann wrote: > >> Hi, > >> > >> On Thu, Jul 30, 2015 at 04:34:19P

Re: [PATCH 5/6] ASoC: fsl_ssi: instantiate AC'97 CODEC

2015-08-02 Thread Markus Pargmann
On Fri, Jul 31, 2015 at 04:39:20PM +0200, Maciej S. Szmigiero wrote: > On 31.07.2015 07:46, Markus Pargmann wrote: > > On Thu, Jul 30, 2015 at 04:35:23PM +0200, Maciej S. Szmigiero wrote: > >> Instantiate AC'97 CODEC in fsl_ssi driver AC'97 mode. > >> > >> Signed-off-by: Maciej Szmigiero > >> ---

Re: [PATCH v2] arch: use WRITE_ONCE/READ_ONCE in smp_store_release/smp_load_acquire

2015-08-02 Thread Peter Zijlstra
On Sun, Aug 02, 2015 at 05:11:04PM +0200, Andrey Konovalov wrote: > Replace ACCESS_ONCE() macro in smp_store_release() and smp_load_acquire() > with WRITE_ONCE() and READ_ONCE() on x86, arm, arm64, ia64, metag, mips, > powerpc, s390, sparc and asm-generic since ACCESS_ONCE does not work > reliably

RE: [PATCH v4] powerpc/mpc85xx: Add MDIO bus muxing support to the board device tree(s)

2015-08-02 Thread Liberman Igal
Regards, Igal Liberman. > -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, July 30, 2015 11:16 PM > To: Liberman Igal-B31950 > Cc: devicet...@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; Bucur > Madalin-Cristian-B32716; Xie Shaohui-B21989; linux-ker...@vger.kernel.org >