Re: [PATCH v4 1/1] powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100

2013-12-04 Thread Geert Uytterhoeven
On Tue, Dec 3, 2013 at 11:00 PM, Stephen Chivers schiv...@csc.com wrote: Address comments by Kular Gama and Scott Wood. Kumar Gala. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

[PATCH V4 02/10] powerpc, perf: Enable conditional branch filter for POWER8

2013-12-04 Thread Anshuman Khandual
Enables conditional branch filter support for POWER8 utilizing MMCRA register based filter and also invalidates any BHRB branch filter combination. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com --- arch/powerpc/perf/power8-pmu.c | 10 ++ 1 file changed, 10 insertions(+)

[PATCH V4 08/10] powerpc, perf: Enable SW filtering in branch stack sampling framework

2013-12-04 Thread Anshuman Khandual
This patch enables SW based post processing of BHRB captured branches to be able to meet more user defined branch filtration criteria in perf branch stack sampling framework. These changes increase the number of branch filters and their valid combinations on any powerpc64 server platform with BHRB

[PATCH V4 05/10] perf, documentation: Description for conditional branch filter

2013-12-04 Thread Anshuman Khandual
Adding documentation support for conditional branch filter. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com Reviewed-by: Stephane Eranian eran...@google.com --- tools/perf/Documentation/perf-record.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH V4 01/10] perf: Add PERF_SAMPLE_BRANCH_COND

2013-12-04 Thread Anshuman Khandual
POWER8 PMU based BHRB supports filtering for conditional branches. This patch introduces new branch filter PERF_SAMPLE_BRANCH_COND which will extend the existing perf ABI. Other architectures can provide this functionality with either HW filtering support (if present) or with SW filtering of

[PATCH V4 00/10] perf: New conditional branch filter

2013-12-04 Thread Anshuman Khandual
This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND branch filter. This patchset also enables SW based branch filtering support for book3s powerpc platforms which have PMU HW backed branch stack sampling

[PATCH V4 03/10] perf, tool: Conditional branch filter 'cond' added to perf record

2013-12-04 Thread Anshuman Khandual
Adding perf record support for new branch stack filter criteria PERF_SAMPLE_BRANCH_COND. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com Reviewed-by: Stephane Eranian eran...@google.com --- tools/perf/builtin-record.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH V4 07/10] powerpc, lib: Add new branch instruction analysis support functions

2013-12-04 Thread Anshuman Khandual
Generic powerpc branch instruction analysis support added in the code patching library which will help the subsequent patch on SW based filtering of branch records in perf. This patch also converts and exports some of the existing local static functions through the header file to be used else

[PATCH V4 10/10] powerpc, perf: Cleanup SW branch filter list look up

2013-12-04 Thread Anshuman Khandual
This patch adds enumeration for all available SW branch filters in powerpc book3s code and also streamlines the look for the SW branch filter entries while trying to figure out which all branch filters can be supported in SW. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com ---

[PATCH V4 04/10] x86, perf: Add conditional branch filtering support

2013-12-04 Thread Anshuman Khandual
This patch adds conditional branch filtering support, enabling it for PERF_SAMPLE_BRANCH_COND in perf branch stack sampling framework by utilizing an available software filter X86_BR_JCC. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com Reviewed-by: Stephane Eranian eran...@google.com

[PATCH V4 09/10] power8, perf: Change BHRB branch filter configuration

2013-12-04 Thread Anshuman Khandual
Powerpc kernel now supports SW based branch filters for book3s systems with some specifc requirements while dealing with HW supported branch filters in order to achieve overall OR semantics prevailing in perf branch stack sampling framework. This patch adapts the BHRB branch filter configuration

[PATCH V4 06/10] powerpc, perf: Change the name of HW PMU branch filter tracking variable

2013-12-04 Thread Anshuman Khandual
This patch simply changes the name of the variable from bhrb_filter to bhrb_hw_filter in order to add one more variable which will track SW filters in generic powerpc book3s code which will be implemented in the subsequent patch. Signed-off-by: Anshuman Khandual khand...@linux.vnet.ibm.com ---

Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: Implement symmetric_channels and symmetric_samplebits

2013-12-04 Thread Mark Brown
On Wed, Dec 04, 2013 at 03:27:03PM +0800, Nicolin Chen wrote: Sir, shall we also implement these two to other drivers like codecs? I know this symmetry is a new feature and might be still immature. By implementing it might bring some side effects. But meanwhile, it would also allows us to

Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: Implement symmetric_channels and symmetric_samplebits

2013-12-04 Thread Nicolin Chen
On Wed, Dec 04, 2013 at 10:42:30AM +, Mark Brown wrote: On Wed, Dec 04, 2013 at 03:27:03PM +0800, Nicolin Chen wrote: Sir, shall we also implement these two to other drivers like codecs? I know this symmetry is a new feature and might be still immature. By implementing it might bring

Re: [PATCH] powerpc: fix xmon disassembler for little-endian

2013-12-04 Thread Philippe Bergheaud
Tom Musta wrote: On 12/2/2013 3:10 AM, Philippe Bergheaud wrote: This patch fixes the disassembler of the powerpc kernel debugger xmon, for little-endian. Signed-off-by: Philippe Bergheaud fe...@linux.vnet.ibm.com --- arch/powerpc/xmon/xmon.c |4 1 file changed, 4 insertions(+) diff

Re: [PATCH v2] offb: make the screen properties endian safe

2013-12-04 Thread Cedric Le Goater
On 11/23/2013 10:04 PM, Benjamin Herrenschmidt wrote: On Sat, 2013-11-23 at 18:38 +0100, Cedric Le Goater wrote: So, 32bpp works but 16 is broken ... I guess my palette fix is just a lucky hack and I need to dig deeper in fb code to have a better understanding of the color map. I should

[PATCH v3 2/2] offb: add palette hack for little endian

2013-12-04 Thread Cédric Le Goater
The pseudo palette color entries need to be ajusted for little endian. This patch byteswaps the values in the pseudo palette depending on the host endian order and the screen depth. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- Tested on powerpc, little endian and big endian, for 8, 15,

[PATCH v3 1/2] offb: little endian fixes

2013-12-04 Thread Cédric Le Goater
The screen properties : depth, width, height, linebytes need to be converted to the host endian order when read from the device tree. The offb_init_palette_hacks() routine also made assumption on the host endian order. Signed-off-by: Cédric Le Goater c...@fr.ibm.com --- Changes in v3: - fixed

Re: [PATCH v6 10/17] serial: mpc512x: setup the PSC FIFO clock as well

2013-12-04 Thread Greg Kroah-Hartman
On Sat, Nov 30, 2013 at 11:51:30PM +0100, Gerhard Sittig wrote: prepare and enable the FIFO clock upon PSC FIFO initialization, check for and propagage errors when enabling the PSC FIFO clock, disable and unprepare the FIFO clock upon PSC FIFO uninitialization devm_{get,put}_clk() doesn't

Re: [PATCH v6 11/17] USB: fsl-mph-dr-of: adjust for OF based clock lookup

2013-12-04 Thread Greg Kroah-Hartman
On Sat, Nov 30, 2013 at 11:51:31PM +0100, Gerhard Sittig wrote: after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the component index -- remove the usb%d_clk template, always use ipg instead Cc: Greg Kroah-Hartman

Re: [PATCH v6 09/17] serial: mpc512x: adjust for OF based clock lookup

2013-12-04 Thread Greg Kroah-Hartman
On Sat, Nov 30, 2013 at 11:51:29PM +0100, Gerhard Sittig wrote: after device tree based clock lookup became available, the peripheral driver need no longer construct clock names which include the PSC index, remove the psc%d_mclk template and unconditionally use 'mclk' acquire and release the

[PATCH 2/2] arch/powerpc: Dynamically allocate slb_shadow from memblock

2013-12-04 Thread Jeremy Kerr
Currently, the slb_shadow buffer is our largest symbol: [jk@pablo linux]$ nm --size-sort -r -S obj/vmlinux | head -1 c0da 0004 d slb_shadow - we allocate 128 bytes per cpu; so 256k with NR_CPUS=2048. As we have constant initialisers, it's allocated in .text, causing a

[PATCH 1/2] arch/powerpc: Make slb_shadow a local

2013-12-04 Thread Jeremy Kerr
The only external user of slb_shadow is the pseries lpar code, and it can access through the paca array instead. Signed-off-by: Jeremy Kerr j...@ozlabs.org --- arch/powerpc/include/asm/lppaca.h |2 -- arch/powerpc/kernel/paca.c|2 +- arch/powerpc/platforms/pseries/lpar.c

[PATCH v2] arch/powerpc: Dynamically allocate slb_shadow from memblock

2013-12-04 Thread Jeremy Kerr
Currently, the slb_shadow buffer is our largest symbol: [jk@pablo linux]$ nm --size-sort -r -S obj/vmlinux | head -1 c0da 0004 d slb_shadow - we allocate 128 bytes per cpu; so 256k with NR_CPUS=2048. As we have constant initialisers, it's allocated in .text, causing a

Re: [PATCH] powerpc: fix xmon disassembler for little-endian

2013-12-04 Thread Benjamin Herrenschmidt
On Wed, 2013-12-04 at 14:45 +0100, Philippe Bergheaud wrote: +#ifdef __LITTLE_ENDIAN__ +#define GETWORD(v) (((v)[3] 24) + ((v)[2] 16) + ((v)[1] 8) + (v)[0]) +#else #define GETWORD(v) (((v)[0] 24) + ((v)[1] 16) + ((v)[2] 8) + (v)[3]) +#endif #define isxdigit(c)(('0' =

Re: [PATCH V4 00/10] perf: New conditional branch filter

2013-12-04 Thread Michael Ellerman
On Wed, 2013-12-04 at 16:02 +0530, Anshuman Khandual wrote: This patchset is the re-spin of the original branch stack sampling patchset which introduced new PERF_SAMPLE_BRANCH_COND branch filter. This patchset also enables SW based branch filtering support for book3s powerpc

Re: [PATCH 3/8] IBM Akebono: Add support for a new PHY interface to the IBM emac driver

2013-12-04 Thread Benjamin Herrenschmidt
On Fri, 2013-11-22 at 13:08 +1100, Alistair Popple wrote: The IBM PPC476GTR SoC that is used on the Akebono board uses a different ethernet PHY interface that has wake on lan (WOL) support with the IBM emac. This patch adds support to the IBM emac driver for this new PHY interface. At this

Re: [PATCH -V2 3/5] mm: Move change_prot_numa outside CONFIG_ARCH_USES_NUMA_PROT_NONE

2013-12-04 Thread Aneesh Kumar K.V
Adding Mel and Rik to cc: Benjamin Herrenschmidt b...@au1.ibm.com writes: On Mon, 2013-11-18 at 14:58 +0530, Aneesh Kumar K.V wrote: From: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com change_prot_numa should work even if _PAGE_NUMA != _PAGE_PROTNONE. On archs like ppc64 that don't use

Re: [PATCH -V2 3/5] mm: Move change_prot_numa outside CONFIG_ARCH_USES_NUMA_PROT_NONE

2013-12-04 Thread Benjamin Herrenschmidt
On Thu, 2013-12-05 at 10:48 +0530, Aneesh Kumar K.V wrote: Ok, I can move the changes below #ifdef CONFIG_NUMA_BALANCING ? We call change_prot_numa from task_numa_work and queue_pages_range(). The later may be an issue. So doing the below will help ? -#ifdef CONFIG_ARCH_USES_NUMA_PROT_NONE

[PATCH] powerpc/p1010rdb-pa: modify phy interrupt.

2013-12-04 Thread Zhao Qiang
It is not correct according to p1010rdb-pa user guide. So modify it. Signed-off-by: Zhao Qiang b45...@freescale.com --- arch/powerpc/boot/dts/p1010rdb-pa.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/p1010rdb-pa.dtsi