Re: [PATCH 4/4] sound/core/seq: make prioq_match return bool

2015-09-23 Thread Yaowei Bai
On Tue, Sep 22, 2015 at 03:28:12PM +0200, Johannes Berg wrote: > On Tue, 2015-09-22 at 21:22 +0800, Yaowei Bai wrote: > > On Mon, Sep 21, 2015 at 04:11:00PM +0200, Johannes Berg wrote: > > > > > > > -static inline int prioq_match(struct snd_seq_event_cell *cell, > > > > +static inline bool

[PATCH RESEND 3/4] sound/fabrics/layout: make aoa_fabric_layout_init return directly

2015-09-23 Thread Yaowei Bai
Catching the return value of soundbus_register_driver in aoa_fabric_layout_init is not necessary, let's return it directly. No functional change. Signed-off-by: Yaowei Bai --- sound/aoa/fabrics/layout.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

[PATCH RESEND 1/4] sound/onyx: remove redundant case entry

2015-09-23 Thread Yaowei Bai
Case ti->tag == 0 can be included in the last return, remove it. No functional change. Signed-off-by: Yaowei Bai --- sound/aoa/codecs/onyx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c index a04edff..a407e1f 100644

[PATCH] powerpc/e6500: add TMCFG0 register definition

2015-09-23 Thread Laurentiu Tudor
The register is not currently used in the base kernel but will be in a forthcoming kvm patch. Signed-off-by: Laurentiu Tudor --- arch/powerpc/include/asm/reg_booke.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/powerpc/include/asm/reg_booke.h

Re: [PATCH 24/31] powerpc/mm: Convert __hash_page_64K to C

2015-09-23 Thread Anshuman Khandual
On 09/21/2015 12:10 PM, Aneesh Kumar K.V wrote: > Convert from asm to C > > Signed-off-by: Aneesh Kumar K.V > --- > arch/powerpc/include/asm/book3s/64/hash-64k.h | 3 +- > arch/powerpc/include/asm/book3s/64/hash.h | 1 + > arch/powerpc/mm/hash64_64k.c

[PATCH RESEND 2/4] sound/i2sbus/core: make format more appropriate

2015-09-23 Thread Yaowei Bai
Make 'return' stay in a singe line. No functional change. Signed-off-by: Yaowei Bai --- sound/aoa/soundbus/i2sbus/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c index

[PATCH v2 4/4] sound/core/seq: make prioq_match return bool

2015-09-23 Thread Yaowei Bai
This patch makes prioq_match return bool due to this particular function only using either one or zero as its return value. No functional change. Change from v1: fix indentation to line up properly (Johannes Berg) Signed-off-by: Yaowei Bai ---

Re: [PATCH v2 25/30] cxlflash: Fix MMIO and endianness errors

2015-09-23 Thread Brian King
Reviewed-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v2 26/30] cxlflash: Fix to prevent EEH recovery failure

2015-09-23 Thread Brian King
Reviewed-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] powerpc/vdso: Avoid link stack corruption in __get_datapage()

2015-09-23 Thread Denis Kirjanov
On 9/23/15, Michael Neuling wrote: > The 32 and 64 bit variants of __get_datapage() use a "bcl; mflr" to > determine the loaded address of the VDSO. The current version of these > attempt to use the special bcl variant which avoids pushing to the > link stack. > > Unfortunately

Re: [PATCH v2 27/30] cxlflash: Correct spelling, grammar, and alignment mistakes

2015-09-23 Thread Brian King
Reviewed-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v2 30/30] MAINTAINERS: Add cxlflash driver

2015-09-23 Thread Brian King
Reviewed-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] powerpc/vdso: Avoid link stack corruption in __get_datapage()

2015-09-23 Thread Michael Neuling
The 32 and 64 bit variants of __get_datapage() use a "bcl; mflr" to determine the loaded address of the VDSO. The current version of these attempt to use the special bcl variant which avoids pushing to the link stack. Unfortunately it uses bcl+8 rather than the required bcl+4. Hence the current

[PATCH] powerpc/powernv: Panic on unhandled Machine Check

2015-09-23 Thread Daniel Axtens
All unrecovered machine check errors on PowerNV should cause an immediate panic. There are 2 reasons that this is the right policy: it's not safe to continue, and we're already trying to reboot. Firstly, if we go through the recovery process and do not successfully recover, we can't be sure about

[PATCH V3] thermal: qoriq: Add thermal management support

2015-09-23 Thread Jia Hongtao
This driver add thermal management support by enabling TMU (Thermal Monitoring Unit) on QorIQ platform. It's based on thermal of framework: - Trip points defined in device tree. - Cpufreq as cooling device registered in qoriq cpufreq driver. Signed-off-by: Jia Hongtao

RE: [PATCH 04/17] powerpc: mpic: use IRQCHIP_SKIP_SET_WAKE instead of redundant mpic_irq_set_wake

2015-09-23 Thread Thomas Gleixner
On Wed, 23 Sep 2015, Wang Dongsheng wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Thomas Gleixner > > Sent: Wednesday, September 23, 2015 11:49 AM > > To: Wang Dongsheng-B40534 > > Cc: Wood

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-23 Thread Michal Marek
On 2015-09-23 07:40, Michael Ellerman wrote: > +else ifneq ($(wildcard arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) > @$(kecho) "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'" > $(Q)$< $(silent) > --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig) >

Re: [PATCH] powerpc/vdso: Avoid link stack corruption in __get_datapage()

2015-09-23 Thread Aaron Sawdey
One thing that occurred to me was that since the __kernel_datapage_offset is located immediately before the function, the offset is small and you could get rid of the addi and just fold it into the lwz. Aaron Sawdey, Ph.D. saw...@us.ibm.com 050-2/C113 (507) 253-7520 TL: 553-7520 home:

Re: [RFC PATCH 1/2] scripts/kconfig/Makefile: Allow KBUILD_DEFCONFIG to be a target

2015-09-23 Thread Michael Ellerman
On 23 September 2015 19:50:52 GMT+10:00, Michal Marek wrote: >On 2015-09-23 07:40, Michael Ellerman wrote: >> +else ifneq ($(wildcard >arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG)),) >> @$(kecho) "*** Default configuration is based on >'$(KBUILD_DEFCONFIG)'" >> $(Q)$<

Re: [PATCH 18/31] powerpc/mm: Increase the pte frag size.

2015-09-23 Thread Benjamin Herrenschmidt
On Mon, 2015-09-21 at 17:23 +0530, Aneesh Kumar K.V wrote: > The page that contain pte entries. Or the last level of the linux page > table. or we could call them pte fragments. We need to allocate one > full page at lowest level, because we want to use split ptlock. Now > for keeping the pte_t

Re: [PATCH] powerpc/vdso: Avoid link stack corruption in __get_datapage()

2015-09-23 Thread Michael Ellerman
On 23 September 2015 16:05:02 GMT+10:00, Michael Neuling wrote: >The 32 and 64 bit variants of __get_datapage() use a "bcl; mflr" to >determine the loaded address of the VDSO. The current version of these >attempt to use the special bcl variant which avoids pushing to the

Re: [PATCH v2 28/30] cxlflash: Fix to prevent stale AFU RRQ

2015-09-23 Thread Brian King
Reviewed-by: Brian King -- Brian King Power Linux I/O IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] powerpc/powernv: Panic on unhandled Machine Check

2015-09-23 Thread Ian Munsie
Thanks Daniel. Reviewed-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] powerpc/vdso: Avoid link stack corruption in __get_datapage()

2015-09-23 Thread Michael Neuling
On Wed, 2015-09-23 at 13:35 -0500, Aaron Sawdey wrote: > One thing that occurred to me was that since the > __kernel_datapage_offset is located immediately before the function, > the offset is small and you could get rid of the addi and just fold it > into the lwz. r3 is reused at the end to add

Re: [PATCH v2 0/9] Phy, mdiobus, and netdev struct device fixes

2015-09-23 Thread David Miller
From: Russell King - ARM Linux Date: Tue, 22 Sep 2015 17:17:10 +0100 > This is the second version of the series, with the comments David had > on the first patch fixed up. Original series description with updated > diffstat below. This needs some build fixes:

Re: [PATCH] powerpc/powernv: Panic on unhandled Machine Check

2015-09-23 Thread Andrew Donnellan
On 23/09/15 16:41, Daniel Axtens wrote: All unrecovered machine check errors on PowerNV should cause an immediate panic. There are 2 reasons that this is the right policy: it's not safe to continue, and we're already trying to reboot. Firstly, if we go through the recovery process and do not

Re: [PATCH 0/9] powerpc32: set of optimisation of network checksum functions

2015-09-23 Thread David Miller
From: Christophe Leroy Date: Tue, 22 Sep 2015 16:34:17 +0200 (CEST) > This patch serie gather patches related to checksum functions on powerpc. > Some of those patches have already been submitted individually. I'm assuming that the powerpc folks will integrate this

Re: [PATCH] powerpc/vdso: Avoid link stack corruption in __get_datapage()

2015-09-23 Thread Michael Neuling
> I've got the following results on POWER7 64bit > without the patch: > # ./tb > time = 0.263337 > # ./tb > time = 0.251273 > # ./tb > time = 0.258453 > # ./tb > time = 0.260189 > > with the patch: > # ./tb > time = 0.241517 > # ./tb > time = 0.241973 > # ./tb > time = 0.239365 > # ./tb > time =

[PATCH] perf/probe: Search both .eh_frame and .debug_frame sections for probe location

2015-09-23 Thread Hemant Kumar
perf probe through debuginfo__find_probes() in util/probe-finder.c checks for the functions' frame descriptions in either .eh_frame section of an ELF or the .debug_frame. The check is based on whether either one of these sections is present. But sometimes, it may happen that, .eh_frame, even if