Re: [alsa-devel] [PATCH] ASoC: simple-card: overwrite DAIFMT_MASTER of cpu_dai-fmt

2014-03-11 Thread Kuninori Morimoto
Hi Nicolin static struct asoc_simple_card_info fsi_wm8978_info = { ... .daifmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_CBM_CFM, .cpu_dai = { ... .fmt= SND_SOC_DAIFMT_IB_NF, }, .codec_dai = { ...

Re: [PATCH v2] tools/net/Makefile: Define PACKAGE to fix build problems

2014-03-11 Thread David Miller
From: Markos Chandras markos.chand...@imgtec.com Date: Tue, 11 Mar 2014 08:49:39 + Fixes the following build problem with binutils-2.24 gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c In file included from bpf_jit_disasm.c:25:0: /usr/include/bfd.h:35:2: error: #error config.h

Re: [PATCH net-next] r8152: support dumping the hw counters

2014-03-11 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Tue, 11 Mar 2014 16:24:19 +0800 Add dumping the tally counter by ethtool. Signed-off-by: Hayes Wang hayesw...@realtek.com Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH net] r8169: fix the incorrect tx descriptor version

2014-03-11 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Tue, 11 Mar 2014 15:11:59 +0800 The tx descriptor version of RTL8111B belong to RTL_TD_0. Signed-off-by: Hayes Wang hayesw...@realtek.com Applied, thank you. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread Andrew Morton
On Wed, 12 Mar 2014 14:10:25 +1100 NeilBrown ne...@suse.de wrote: On Tue, 11 Mar 2014 20:03:31 -0700 Andrew Morton a...@linux-foundation.org wrote: On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown ne...@suse.de wrote: The md driver currently supports 'poll' on /proc/mdstat. This is

[PATCH v2 0/4] Introduce new Kconfig for Samsung common clock

2014-03-11 Thread Pankaj Dubey
Introduce a new Kconfig file for Samsung common clock infrastructure related config options. As current Samsung common clock gets compiled based on PLAT_SAMSUNG, but moving ahead with ARM64 we can not have any more such config options, so this patch introduce new COMMON_CLK_SAMSUNG invisible

[PATCH v2 2/4] drivers: clk: use CONFIG_COMMON_CLK_SAMSUNG for Samsung clock support

2014-03-11 Thread Pankaj Dubey
This patch includes Samsung clock Kconfig file, and replaces PLAT_SAMSUNG with COMMON_CLK_SAMSUNG for Samsung common clock support. Any Samsung SoC want to use Samsung common clock infrastructure can simply select COMMON_CLK_SAMSUNG. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com ---

[PATCH v2 3/4] ARM: select COMMON_CLK_SAMSUNG for ARCH_EXYNOS and ARCH_S3C64XX

2014-03-11 Thread Pankaj Dubey
This patch selects COMMON_CLK_SAMSUNG for EXYNOS and S3C64XX SoC and removes COMMON_CLK selection as COMMON_CLK_SAMSUNG selects it's dependency. CC: Russell King li...@arm.linux.org.uk Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com --- arch/arm/Kconfig |4 ++-- 1 file changed, 2

[PATCH v2 1/4] clk: samsung: add new Kconfig for Samsung common clock options

2014-03-11 Thread Pankaj Dubey
This patch adds new Kconfig file for adding new config option as COMMON_CLK_SAMSUNG for Samsung common clock. This patch also moves S3C24XX specific clock options here in this file. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com --- drivers/clk/samsung/Kconfig | 11 +++ 1 file

[PATCH v2 4/4] ARM: S3C24XX: remove S3C24XX specific clock Kconfig options

2014-03-11 Thread Pankaj Dubey
This patch removes S3C24XX specific clock Kconfig options as it has been moved into drivers/clk/samsung/Kconfig also removes COMMON_CLK selection as COMMON_CLK_SAMSUNG is selecting it's dependency. CC: Ben Dooks ben-li...@fluff.org CC: Kukjin Kim kgene@samsung.com CC: Russell King

Re: [RFC][PATCH 0/7] locking: qspinlock

2014-03-11 Thread Dave Chinner
On Tue, Mar 11, 2014 at 11:11:59PM -0400, Steven Rostedt wrote: On Wed, 12 Mar 2014 13:31:53 +1100 Dave Chinner da...@fromorbit.com wrote: So either this patchset doesn't work right now, or there's something else broken in the tip/master tree... I've found a few things broken with the

Re: [PATCH 4/9] powerpc/85xx: support CPU hotplug for e500mc and e5500

2014-03-11 Thread Chenhui Zhao
On Tue, Mar 11, 2014 at 06:48:13PM -0500, Scott Wood wrote: On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao wrote: diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index ac2621a..f3f4401 100644 --- a/arch/powerpc/kernel/smp.c +++ b/arch/powerpc/kernel/smp.c @@ -405,8

Re: [PATCH] poll/wait/md: allow module to safely support 'poll' on /proc files

2014-03-11 Thread NeilBrown
On Tue, 11 Mar 2014 21:19:24 -0700 Andrew Morton a...@linux-foundation.org wrote: On Wed, 12 Mar 2014 14:10:25 +1100 NeilBrown ne...@suse.de wrote: On Tue, 11 Mar 2014 20:03:31 -0700 Andrew Morton a...@linux-foundation.org wrote: On Wed, 12 Mar 2014 13:36:38 +1100 NeilBrown

Re: [RFC 4/6] sched: powerpc: create a dedicated topology table

2014-03-11 Thread Preeti U Murthy
On 03/11/2014 06:48 PM, Vincent Guittot wrote: On 11 March 2014 11:08, Preeti U Murthy pre...@linux.vnet.ibm.com wrote: Hi Vincent, On 03/05/2014 12:48 PM, Vincent Guittot wrote: Create a dedicated topology table for handling asymetric feature. The current proposal creates a new level which

Re: [PATCH v3 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-11 Thread George Cherian
Hi Tony, On 3/7/2014 5:26 PM, George Cherian wrote: The patch series adds USB dt nodes for am43xx epos and gp evm Boot tested with Benoit's for_3.15 + following patches https://patchwork.kernel.org/patch/3600821/ https://patchwork.kernel.org/patch/3600831/

Re: [PATCH v2 0/2] x86: Relocate the compat vdso per process

2014-03-11 Thread H. Peter Anvin
On 03/11/2014 03:15 PM, Andy Lutomirski wrote: The meat of this patch series is in patch 1. Patch 2 is split out for improved bisectability. Changes from v1: Split into two patches and fixed a comment. Andy Lutomirski (2): x86: Dynamically relocate the compat vdso x86_32: Remove user

RE: [PATCH v2 3/4] ASoC: simple-card: accept many DAI links

2014-03-11 Thread li.xi...@freescale.com
Subject: [PATCH v2 3/4] ASoC: simple-card: accept many DAI links Some simple audio cards may have many DAI links. This patch extends the simple-card driver for handling such cards. Signed-off-by: Jean-Francois Moine moin...@free.fr --- sound/soc/generic/simple-card.c | 132

Re: [RESEND v2 PATCH 1/2] aio, memory-hotplug: Fix confliction when migrating and accessing ring pages.

2014-03-11 Thread Tang Chen
Hi Ben, Sorry for the delay. On 03/12/2014 02:46 AM, Benjamin LaHaise wrote: On Mon, Mar 10, 2014 at 04:15:33PM +0800, Tang Chen wrote: IO ring page migration has been implemented by the following patch:

RE: Subject: [PATCH] mm: use vm_map_ram for only temporal object

2014-03-11 Thread Gioh Kim
Hello, I got a mail from Andrew Morton that he fixed my typo and poor English like this: http://ozlabs.org/~akpm/mmots/broken-out/mm-vmallocc-enhance-vm_map_ram-comment-fix.patch Thank you for your attention. -Original Message- From: linux-kernel-ow...@vger.kernel.org

Re: [PATCH 9/9] powerpc/pm: support deep sleep feature on T1040

2014-03-11 Thread Kevin Hao
On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott Wood wrote: + FSL_DIS_ALL_IRQ + + /* +* Place DDR controller in self refresh mode. +* From here on, DDR can't be access any more. +*/ + lwz r10, 0(r13) + orisr10, r10, CCSR_DDR_SDRAM_CFG_2_FRC_SR@h +

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-11 Thread H. Peter Anvin
On 03/10/2014 02:29 PM, stef...@seibold.net wrote: > > Do you except a complete new patch set or an incremental patch based on the > current patch set? > An incremental patch is probably easier. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH v15 3/3] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2014-03-11 Thread Kishon Vijay Abraham I
On Tuesday 11 March 2014 02:15 AM, Tejun Heo wrote: On Sun, Mar 09, 2014 at 10:23:33PM -0700, Loc Ho wrote: Hi Tejun, On Fri, Mar 7, 2014 at 9:28 AM, Loc Ho wrote: This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 2 and 3

Re: [PATCH] module: LLVMLinux: Remove unused function warning from __param_check macro

2014-03-11 Thread Rusty Russell
beh...@converseincode.com writes: > From: Mark Charlebois > > This code makes a compile time type check that is optimized away. Clang > complains that it generates an unused function. > > I believe GCC won't complain for a static inline fuction but would if it > was just a static function. > >

[PATCH 1/2] pstore: fix NULL pointer fault if get NULL prz in ramoops_get_next_prz

2014-03-11 Thread Liu ShuoX
These two patches are applied on top of patches: https://lkml.org/lkml/2014/3/3/368 It has been added in -mm tree. Below is the first patch, and i will send the second by replying this one. From: Liu ShuoX ramoops_get_next_prz get the prz according the paramters. If it get a uninitialized prz,

[PATCH 2/2] pstore: correct the max_dump_cnt clearing of ramoops

2014-03-11 Thread Liu ShuoX
From: Liu ShuoX In case that ramoops_init_przs failed, max_dump_cnt won't be reset to zero in error handle path. Signed-off-by: Liu ShuoX --- fs/pstore/ram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c index 6f96d8c..522e530

Re: [PATCH] x86: Remove compat vdso support

2014-03-11 Thread Andi Kleen
Andy Lutomirski writes: > The compat vDSO is a complicated hack that's needed to maintain > compatibility with a small range of never-released glibc versions. > > This removes it and replaces it with a much simpler hack: a config > option to disable the 32-bit vDSO by default. Nack! That

Re: [PATCH 1/1] HFSPLUS: add __init to hfsplus_create_attr_tree_cache()

2014-03-11 Thread Vyacheslav Dubeyko
On Mon, 2014-03-10 at 21:56 +0100, Fabian Frederick wrote: > hfsplus_create_attr_tree_cache is only called by __init init_hfsplus_fs > I think that it is the reasonable fix. Looks good for me. Reviewed-by: Vyacheslav Dubeyko Thanks, Vyacheslav Dubeyko. > Signed-off-by: Fabian Frederick >

Re: [PATCH 5/5] skbuff: skb_segment: orphan frags before copying

2014-03-11 Thread Michael S. Tsirkin
On Tue, Mar 11, 2014 at 08:39:41AM +0800, Herbert Xu wrote: > On Tue, Mar 11, 2014 at 12:30:01AM +0200, Michael S. Tsirkin wrote: > > > > How about we do the simple thing as the first step and try to optimize > > as a separate patch on top? > > Sure let's do that. > > Cheers, Could you send an

[PATCH] tools, perf: Add asprintf replacement

2014-03-11 Thread Andi Kleen
From: Andi Kleen asprintf corrupts memory on some older glibc versions. Provide a replacement. This fixes various segfaults with --branch-history on older Fedoras. Signed-off-by: Andi Kleen --- tools/perf/Makefile.perf | 1 + tools/perf/util/asprintf.c | 28 2

Re: [PATCH] drivers: mfd: silence compiler warning in sec-core.c

2014-03-11 Thread Lee Jones
> >>When used 64bit compiler GCC warns as > >>drivers/mfd/sec-core.c:199:10: warning: > >>cast from pointer to integer of different size [-Wpointer-to-int-cast] > >> > >>This patch fixes this by type-casting "match->data" into "long" before > >>converting into "int" > >> > >>Signed-off-by: Pankaj

Re: [PATCH v6 6/6] pci: Add support for creating a generic host_bridge from device tree

2014-03-11 Thread Arnd Bergmann
On Monday 10 March 2014 21:56:00 Liviu Dudau wrote: > > PCI_IOBASE is always defined. See the discussion with Russell on this subject. > > include/asm-generic/io.h has at line 118: > > #ifndef PCI_IOBASE > #define PCI_IOBASE ((void __iomem *) 0) > #endif That is only defined for those that use

[PATCH v2] gpio: clamp returned values to the boolean range

2014-03-11 Thread Alexandre Courbot
Nothing prevents GPIO drivers from returning values outside the boolean range, and as it turns out a few drivers are actually doing so. These values were passed as-is to unsuspecting consumers and created confusion. This patch makes the internal _gpiod_get_raw_value() function return a bool,

Re: [PATCH] Revert "ALSA: emu10k1: Fix warning: "CCR" redefined"

2014-03-11 Thread Takashi Iwai
At Mon, 10 Mar 2014 21:20:55 +0100, Geert Uytterhoeven wrote: > > This reverts commit 83fc3bc09518d42e8f5073e2a65884701dfadf19. > > sh-specific "CCR" and "CCR2" have been prefixed by "SH_" in commit > a5f6ea29f9a918403629f8369ae55fac6b09cb53 ('sh: prefix sh-specific "CCR" and > "CCR2" by

RE: [PATCH] pinctrl: at91: add the config GPIO_OUTPUT_x

2014-03-11 Thread Yang, Wenyou
> -Original Message- > From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] > Sent: Tuesday, March 11, 2014 12:16 PM > To: Yang, Wenyou > Cc: Jean-Christophe PLAGNIOL-VILLARD; mark.rutl...@arm.com; > devicet...@vger.kernel.org; pawel.m...@arm.com; >

Re: [PATCH] sound: sound_core: Reduce checkpatch noise

2014-03-11 Thread Takashi Iwai
At Mon, 10 Mar 2014 16:28:14 -0700, Joe Perches wrote: > > Mostly whitespace cleanups (spaces around operators, remove > trailing spaces and unnecessary blank lines, etc) and > > o Reduce indent of switch/case labels > o Use pr_ for printks, add pr_fmt > o Move braces to appropriate locations >

Re: [PATCHv3 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-11 Thread Lee Jones
> This converts twl4030-madc module to use the Industrial IO ADC > framework and adds device tree support. > > Signed-off-by: Sebastian Reichel > Tested-by: Marek Belisko > --- > drivers/mfd/twl4030-madc.c | 127 > + > 1 file changed, 116

Re: [PATCH 1/5] kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang

2014-03-11 Thread Behan Webster
On 03/09/14 14:58, Sam Ravnborg wrote: On Tue, Feb 25, 2014 at 05:08:39PM -0800, beh...@converseincode.com wrote: From: Behan Webster Add support to toplevel Makefile for compiling with clang, both for HOSTCC and CC. Use cc-option to prevent gcc option from breaking clang, and from clang

Re: [PATCH] i2c-cadence: Do not let signals interrupt I2C transfers

2014-03-11 Thread Mike Looijmans
On 03/11/2014 05:49 AM, Suneel Garapati wrote: Hi Mike/Soren, Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) (0) 499 33 69 79 Telefax: (+31) (0) 499 33 69 70 E-mail:

Re: [PATCH] module: LLVMLinux: Remove unused function warning from __param_check macro

2014-03-11 Thread Behan Webster
On 03/10/14 23:11, Rusty Russell wrote: beh...@converseincode.com writes: From: Mark Charlebois This code makes a compile time type check that is optimized away. Clang complains that it generates an unused function. I believe GCC won't complain for a static inline fuction but would if it was

Re: [PATCH] arm: LLVMLinux: use static inline in ARM ftrace.h

2014-03-11 Thread Behan Webster
On 02/20/14 18:22, beh...@converseincode.com wrote: From: Behan Webster With compilers which follow the C99 standard (like modern versions of gcc and clang), "extern inline" does the wrong thing (emits code for an externally linkable version of the inline function). In this case using static

[PATCH] i2c-cadence: Do not let signals interrupt I2C transfers

2014-03-11 Thread Mike Looijmans
Pressing CTRL-C while communicating with an I2C device leads to erratic behaviour. The cause is that the controller will interrupt the I2C transfer in progress, and leave the client device in an undefined state. Many drivers do not handle error return codes on I2C transfers. The calling driver has

[PATCH net] r8169: fix the incorrect tx descriptor version

2014-03-11 Thread Hayes Wang
The tx descriptor version of RTL8111B belong to RTL_TD_0. Signed-off-by: Hayes Wang --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index e977965..3ff7bc3

Re: [PATCH V2] input: misc: da9063: OnKey driver

2014-03-11 Thread Lee Jones
> From: Opensource [Steve Twiss] > > Add the OnKey driver for DA9063 > > Plus some minor dependencies: > - Addition of "ONKEY" name to OnKey IRQ resource structure; > - Bool key_power platform data driver configuration option. > > Signed-off-by: Opensource [Steve Twiss] > --- > >

Re: [PATCH 5/5] skbuff: skb_segment: orphan frags before copying

2014-03-11 Thread Herbert Xu
On Tue, Mar 11, 2014 at 08:41:50AM +0200, Michael S. Tsirkin wrote: > On Tue, Mar 11, 2014 at 08:39:41AM +0800, Herbert Xu wrote: > > On Tue, Mar 11, 2014 at 12:30:01AM +0200, Michael S. Tsirkin wrote: > > > > > > How about we do the simple thing as the first step and try to optimize > > > as a

RE: [RFC PATCH] edac: zynq: Added EDAC support for zynq ddr ecc controller

2014-03-11 Thread Punnaiah Choudary Kalluri
>-Original Message- >From: Michal Simek [mailto:mon...@monstr.eu] >Sent: Monday, March 10, 2014 5:29 PM >To: Mark Rutland >Cc: Punnaiah Choudary Kalluri; dougthomp...@xmission.com; >devicet...@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- >ker...@lists.infradead.org;

[PATCH] staging: unisys: remove incorrect error handling after queue_delayed_work

2014-03-11 Thread Daeseok Youn
The queue_delayed_work() return false if the work is already on the queue, true otherwise. So return value cannot be less than zero. Signed-off-by: Daeseok Youn --- .../unisys/visorchipset/visorchipset_main.c| 14 -- 1 files changed, 4 insertions(+), 10 deletions(-) diff

[PATCH net-next V5 1/2] irq: Utility function to get affinity_hint by policy

2014-03-11 Thread Amir Vadai
This function sets the affinity_mask for a multi queue device according to a numa aware policy. affinity_mask could be used as an affinity hint for the IRQ related to this queue. Current policy is to spread queues accross cores - local cores first. It could be extended in the future. CC: Prarit

[PATCH net-next V5 2/2] net/mlx4_en: Use affinity hint

2014-03-11 Thread Amir Vadai
From: Yuval Atias The “affinity hint” mechanism is used by the user space daemon, irqbalancer, to indicate a preferred CPU mask for irqs. Irqbalancer can use this hint to balance the irqs between the cpus indicated by the mask. We wish the HCA to preferentially map the IRQs it uses to numa

[PATCH net-next V5 0/2] irq,net: Affinity hint helper function

2014-03-11 Thread Amir Vadai
Hi, This patchset will set affinity hint to influence IRQs to be allocated on the same NUMA node as the one where the card resides. As discussed in http://www.spinics.net/lists/netdev/msg271497.html If number of IRQs allocated is greater than the number of local NUMA cores, all local cores will

Re: [PATCHSET 0/9] perf tools: Update on filtered entries' percentage output (v7)

2014-03-11 Thread Namhyung Kim
Hi Andi, On Mon, 10 Mar 2014 23:08:19 +0100, Andi Kleen wrote: > On Mon, Mar 10, 2014 at 04:43:51PM +0900, Namhyung Kim wrote: >> Hello, >> >> I added --percentage option to perf report to control display of >> percentage of filtered entries. >> >> usage: perf report [] >> >>

[PATCH 0/5] ARM: dts: exynos: Add missing dt data to bring kernel of Exynos4x12

2014-03-11 Thread Chanwoo Choi
This patch add missing dt data of Exynos4x12 to bring up kernel feature and code clean. exynos4x12/exynos4412/exynos4212.dtsi - Add ADC (Analog and Digital Converter) to get raw data - Add PMU (Performance Monitoring Unit) for perf event - Add gps_alive power domain to remove power leakage when

[PATCH 3/5] ARM: dts: exynos4x12: Add GPS_ALIVE power domain

2014-03-11 Thread Chanwoo Choi
This patch add GPS_ALIVE power domain for Exynos4x12 SoC. GPS_ALIVE power domain include GPS_BLK for GPS IP. Exynos SoC used generic power-domain driver to control power domain. After completed kernel booting, Exynos power-domain driver disable un-used power domain to reduce

[PATCH 5/5] ARM: dts: exynos4412-trats2: Add ADC's dt data to get temperature of SoC/battery

2014-03-11 Thread Chanwoo Choi
This patch use ADC to get the temperature of SoC/battery by using NTC thermistor driver in hwmon. NTC thermistor driver covnvert ADC's raw data to temperature by using following variables: - pullup-uv: Voltage - pullup-ohm : Pull-up resistance - pulldown-ohm : Pull-down resistance -

[PATCH 4/5] ARM: dts: exynos: Move common dt data for interrupt combiner controller

2014-03-11 Thread Chanwoo Choi
This patch move common dt data of interrupt combiner controller to exynos4x12.dtsi. Each Exynos4x12 SoC has different number of interrput combiner as following: - Exynos4212 : interrput combiner 18(0 ~ 17) - Exynos4412 : interrput combiner 20(0 ~ 19) The exynos combiner driver initialize

[PATCH 1/5] ARM: dts: exynos4x12: Add ADC's dt data to read raw data

2014-03-11 Thread Chanwoo Choi
This patch add ADC(Analog to Digital Converter)'s dt data to get raw data with IIO subsystem. Usually, ADC is used to check temperature, jack type, and so on. Register map - <0x126C 0x100> : ADC register's base address - <0x10020718 0x4> : ADC_PHY_CONTROL, TS-ADC control register address

Re: [PATCHSET 0/9] perf tools: Update on filtered entries' percentage output (v7)

2014-03-11 Thread Namhyung Kim
Hi Davidlohr, On Mon, 10 Mar 2014 19:58:23 -0700, Davidlohr Bueso wrote: > On Mon, 2014-03-10 at 23:08 +0100, Andi Kleen wrote: >> On Mon, Mar 10, 2014 at 04:43:51PM +0900, Namhyung Kim wrote: >> > Hello, >> > >> > I added --percentage option to perf report to control display of >> > percentage

[PATCH 2/5] ARM: dts: exynos4x12: Add PMU dt data to support PMU(Perforamnce Monitoring Unit)

2014-03-11 Thread Chanwoo Choi
ARM CPU has its own performance profiling unit(PMU, Perforamnce Monitoring Unit). This patch add PMU dt data to support PMU which count cache hit and miss events. PMU interrput list of Exynos4212 - <2 2> : INTG2[2] - PMUIRQ[0] for CPU0 - <3 2> : INTG3[2] - PMUIRQ[1] for CPU1 PMU interrput list

Re: [PATCH RFC net-next v1 1/9] ptp: introduce programmable pins.

2014-03-11 Thread Christian Riesch
Hi Richard, --On March 08, 2014 20:42 +0100 Richard Cochran wrote: This patch adds a pair of new ioctls to the PTP Hardware Clock device interface. Using the ioctls, user space programs can query each pin to find out its current function and also reprogram a different function if desired.

Re: [PATCH] sched/clock: prevent tracing recursion in sched_clock_cpu()

2014-03-11 Thread Peter Zijlstra
On Mon, Mar 10, 2014 at 11:47:06PM -0400, Steven Rostedt wrote: > On Mon, 10 Mar 2014 16:17:18 +0900 > Fernando Luis Vázquez Cao wrote: > > > > Thank you four your review, Peter, Steven. > > > > By the way, who is going to pick this patch? Do you want > > me to resend with Steven's Acked-by

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Heiko Carstens
On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: > This patch add a macro named NICE_TO_RLIMIT in prio.h to > convert nice value [19,-20] to rlimit style value [1,40]. > > Signed-off-by: Dongsheng Yang > --- > include/linux/sched/prio.h | 5 + > 1 file changed, 5

Re: [PATCH v3 2/5] pinctrl: st: Enhance the controller to manage unavailable registers

2014-03-11 Thread Maxime Coquelin
On 03/10/2014 10:17 AM, Lee Jones wrote: From: Giuseppe Cavallaro This patch adds a new logic inside the st pinctrl to manage an unsupported scenario: some sysconfig are not available! This is the case of STiH407 where, although documented, the following registers from SYSCFG_FLASH have

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Dongsheng Yang
On 03/11/2014 04:17 PM, Heiko Carstens wrote: On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: This patch add a macro named NICE_TO_RLIMIT in prio.h to convert nice value [19,-20] to rlimit style value [1,40]. Signed-off-by: Dongsheng Yang --- include/linux/sched/prio.h | 5

[PATCH v6 01/35] mtd: st_spi_fsm: Allocate resources and register with MTD framework

2014-03-11 Thread Lee Jones
This is a new driver. It's used to communicate with a special type of optimised Serial Flash Controller called the FSM. The FSM uses a subset of the SPI protocol to communicate with supported NOR-Flash devices. Acked-by Angus Clark Signed-off-by: Lee Jones --- Hi Brian, Sorry about the

[PATCH net-next] r8152: support dumping the hw counters

2014-03-11 Thread Hayes Wang
Add dumping the tally counter by ethtool. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 95 +++-- 1 file changed, 93 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index a90a7eb9..aa1d5b2 100644

Re: oops in slab/leaks_show

2014-03-11 Thread Joonsoo Kim
On Tue, Mar 11, 2014 at 11:58:11AM +0900, Joonsoo Kim wrote: > On Mon, Mar 10, 2014 at 09:24:55PM -0400, Dave Jones wrote: > > On Tue, Mar 11, 2014 at 10:01:35AM +0900, Joonsoo Kim wrote: > > > On Tue, Mar 11, 2014 at 09:35:00AM +0900, Joonsoo Kim wrote: > > > > On Fri, Mar 07, 2014 at

[PATCH] dm: era: use do_div for 64-bit division

2014-03-11 Thread Arnd Bergmann
Commit 983043be0c1de "dm era: support non power-of-2 blocksize" introduced the use of sector_div to divide a variable of type dm_block_t by an integer. This fails on 32-bit machines when CONFIG_LBDAF is not set, because that assumes that the first argument is a 32-bit number. To allow building

Re: [RFC PATCH] edac: zynq: Added EDAC support for zynq ddr ecc controller

2014-03-11 Thread Michal Simek
On 03/10/2014 11:32 PM, Sören Brinkmann wrote: > On Mon, 2014-03-10 at 12:58PM +0100, Michal Simek wrote: >> On 03/10/2014 11:56 AM, Mark Rutland wrote: >>> On Sun, Mar 09, 2014 at 02:57:16AM +, Punnaiah Choudary Kalluri wrote: Added EDAC support for reporting the ecc errors of zynq ddr

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Heiko Carstens
On Tue, Mar 11, 2014 at 04:20:24PM +0800, Dongsheng Yang wrote: > On 03/11/2014 04:17 PM, Heiko Carstens wrote: > >On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: > >>+#define NICE_TO_RLIMIT(nice) (MAX_NICE - nice + 1) > >Where is MAX_NICE defined? The s390 patch fails to

Re: [PATCH v2] x86: Remove compat vdso support

2014-03-11 Thread Ingo Molnar
* Andy Lutomirski wrote: > [...] > > Currently there are three options: sane vDSO, no vDSO, and OpenSuSE > 9-compatible vDSO. The latter is a mess to maintain and breaks ASLR > (even for users of modern glibc), and having a vDSO is apparently > important enough that people are willing to

Re: [PATCH] mtd: nand: fix mention to CONFIG_MTD_NAND_ECC_BCH

2014-03-11 Thread Lee Jones
> Mention to CONFIG_MTD_ECC_BCH in the warning message can be confusing as this > doesn't match the exact name of the configuration option. > This warning showed up once to me when I was starting to set up BCH. After > checking my .config file, it took a moment before realizing it is >

Re: [PATCH] net: phy: fix uninitalized WOL parameters in phy_ethtool_get_wol

2014-03-11 Thread Sebastian Hesselbarth
On 03/11/2014 12:17 AM, Ben Hutchings wrote: On Mon, 2014-03-10 at 10:49 +, Sebastian Hesselbarth wrote: On 03/10/2014 02:51 AM, Ben Hutchings wrote: On Mon, 2014-03-10 at 02:01 +0100, Sebastian Hesselbarth wrote: phy_ethtool_get_wol is a helper to get current WOL settings from a phy

Re: [PATCH v2] tools/net/Makefile: Define PACKAGE to fix build problems

2014-03-11 Thread Markos Chandras
On 03/11/2014 01:53 AM, David Miller wrote: From: Markos Chandras Date: Mon, 10 Mar 2014 10:39:48 + Fixes the following build problem with binutils-2.24 gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c In file included from bpf_jit_disasm.c:25:0: /usr/include/bfd.h:35:2: error:

"can't evaluate _CRS: 1" messages since b355cee [ACPI / resources: ignore invalid ACPI device resources]

2014-03-11 Thread Markus Trippelsdorf
Since: commit b355cee88e3b1a193f0e9a81db810f6f83ad728b Author: Zhang Rui Date: Thu Feb 27 11:37:15 2014 +0800 ACPI / resources: ignore invalid ACPI device resources The following error message is printed three times during boot on my machine: "can't evaluate _CRS: 1" Here's the dmesg

Re: [PATCH 01/15] sched/prio: Add a macro named NICE_TO_RLIMIT in prio.h.

2014-03-11 Thread Dongsheng Yang
On 03/11/2014 04:36 PM, Heiko Carstens wrote: On Tue, Mar 11, 2014 at 04:20:24PM +0800, Dongsheng Yang wrote: On 03/11/2014 04:17 PM, Heiko Carstens wrote: On Tue, Mar 11, 2014 at 12:59:16PM +0800, Dongsheng Yang wrote: +#define NICE_TO_RLIMIT(nice) (MAX_NICE - nice + 1) Where is MAX_NICE

Re: [PATCHv8 2/4] power_supply: Introduce generic psy charging driver

2014-03-11 Thread Pavel Machek
Hi! > > You still miss some wovels here. Sometimes it imakes it unlear: > > chrg is charge? charger? > > chrgr means charger, chrg means charge. Isn't it used consistently?. Can fix > it if > it's really annoying. Please suggest. Well... with all the missing letters, it is not clear if

Re: [PATCH v9 0/9] USB Host support for OMAP5 uEVM

2014-03-11 Thread Roger Quadros
Hi Lee, On 02/27/2014 04:18 PM, Roger Quadros wrote: > Hi, > > This patchset brings up USB Host ports and Ethernet port on > the OMAP5 uEVM board. > > It also does some cleanup with respect to DT clock binding > for the mfd/omap-usb-host driver. > > Please queue these for -next. > > Lee, > >

[PATCH v2] tools/net/Makefile: Define PACKAGE to fix build problems

2014-03-11 Thread Markos Chandras
Fixes the following build problem with binutils-2.24 gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c In file included from bpf_jit_disasm.c:25:0: /usr/include/bfd.h:35:2: error: #error config.h must be included before this header #error config.h must be included before this header This

Re: [PATCH v2 7/7] ARM: zynq: DT: Migrate UART to Cadence binding

2014-03-11 Thread Michal Simek
On 03/10/2014 10:40 PM, Soren Brinkmann wrote: > The Zynq UART is Cadence IP and the driver has been renamed accordingly. > Migrate the DT to use the new binding for the UART driver. > > Signed-off-by: Soren Brinkmann > Acked-by: Peter Crosthwaite > Acked-by: Rob Herring > --- > This change

Re: [PATCH] cris: Convert ffs from an object-like macro to a function-like macro

2014-03-11 Thread Jesper Nilsson
On Mon, Mar 10, 2014 at 02:22:13PM +0100, Geert Uytterhoeven wrote: > This avoids bad interactions with code using identifiers called "ffs": > > drivers/usb/gadget/f_fs.c: In function 'ffsmod_init': > drivers/usb/gadget/f_fs.c:2693:494: error: 'ffsusb_func' undeclared (first > use in this

Re: [PATCH v3 3/5] pinctrl: st: add pinctrl support for the STiH407 SoC

2014-03-11 Thread Maxime Coquelin
On 03/10/2014 03:44 PM, Lee Jones wrote: From: Giuseppe Cavallaro This patch adds the initial support for pinctrl based on H407 SoC. Signed-off-by: Maxime Coquelin Signed-off-by: Giuseppe Cavallaro SOBs should be in order of submission flow and author's should only be kept if the patch

Re: [PATCH v4 6/7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-03-11 Thread Maxime Ripard
On Mon, Mar 10, 2014 at 06:57:00PM +0100, Arnd Bergmann wrote: > On Monday 10 March 2014 17:51:56 Maxime Ripard wrote: > > > > > > Neither "pll6" nor "ahb1_mux" are listed in the DT binding. Also, why > > > is it the driver's business to set the parent? > > > > Those are global clocks, so it's

Build regressions/improvements in v3.14-rc6

2014-03-11 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.14-rc6[1] compared to v3.13[2]. Summarized: - build errors: +11/-28 - build warnings: +112/-77 JFYI, when comparing v3.14-rc6[1] to v3.14-rc5[3], the summaries are: - build errors: +10/-4 - build warnings: +35/-163

[PATCH v3 2/4] clk: at91: propagate rate change on system clks

2014-03-11 Thread Boris BREZILLON
From: Boris BREZILLON System clks are just gates, and thus do not provide any rate operations. Authorize clk rate change to be propagated to system clk parents. Signed-off-by: Boris BREZILLON --- drivers/clk/at91/clk-system.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 0/4] clk: at91: better support for the PCKs

2014-03-11 Thread Boris BREZILLON
From: Boris BREZILLON This serie implements a better support for the Programmable Clocks. The first two patch are related to changing the rate of the PCKs. The 3rd patch is a fix to handle properly the PCKRDY interrupt. The last patch is a small optimzation/simplification of the determine_rate

[PATCH v3 4/4] clk: at91: optimization of the set_rate callback

2014-03-11 Thread Boris BREZILLON
From: Jean-Jacques Hiblot Signed-off-by: Boris BREZILLON Signed-off-by: Jean-Jacques Hiblot --- drivers/clk/at91/clk-programmable.c | 38 --- 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/drivers/clk/at91/clk-programmable.c

[PATCH v3 3/4] clk: at91: fix programmable clk irq handling

2014-03-11 Thread Boris BREZILLON
From: Jean-Jacques Hiblot The PCKRDY bit is not set until the system clock is enabled. This patch moves the management of the ready status in the system clock driver. Signed-off-by: Boris BREZILLON Signed-off-by: Jean-Jacques Hiblot --- drivers/clk/at91/clk-programmable.c | 108

[PATCH v3 1/4] clk: at91: replace prog clk round_rate with determine_rate

2014-03-11 Thread Boris BREZILLON
From: Boris BREZILLON Implement the determine_rate callback to choose the best parent clk that fulfills the requested rate. Signed-off-by: Boris BREZILLON --- drivers/clk/at91/clk-programmable.c | 56 +-- 1 file changed, 28 insertions(+), 28 deletions(-)

Re: "can't evaluate _CRS: 1" messages since b355cee [ACPI / resources: ignore invalid ACPI device resources]

2014-03-11 Thread Paul Bolle
[+cc Bjorn] Markus Trippelsdorf schreef op di 11-03-2014 om 09:44 [+0100]: > Since: > commit b355cee88e3b1a193f0e9a81db810f6f83ad728b > Author: Zhang Rui > Date: Thu Feb 27 11:37:15 2014 +0800 > > ACPI / resources: ignore invalid ACPI device resources Which is included in v3.14-rc6.

[PATCHv4] perf tools: enable close-on-exec flag on perf file descriptor

2014-03-11 Thread Yann Droneaud
In commit a21b0b354d4a, flag PERF_FLAG_FD_CLOEXEC was added to perf_event_open(2) syscall to allows userspace to atomically enable close-on-exec behavor when creating the file descriptor. This patch makes perf tools use the new flag if supported by the kernel, so that the event file descriptors

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-03-11 Thread Paul Bolle
Bjorn Helgaas schreef op ma 10-03-2014 om 20:07 [-0600]: > On Mon, Mar 10, 2014 at 6:15 PM, Paul Bolle wrote: > > On Mon, 2014-03-10 at 18:07 -0600, Bjorn Helgaas wrote: > >> On Mon, Mar 10, 2014 at 5:45 PM, Paul Bolle wrote: > >> > A bit of doubt is caused by two new boot time messages: > >> >

[PATCH 14/16] driver/staging/lustre: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: de...@driverdev.osuosl.org cc: Xiong Zhou cc: Andreas Dilger cc: Cyril Roelandt cc: Kent Overstreet cc: Peng Tao --- drivers/staging/lustre/lustre/llite/lloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 03/16] workqueue: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: Tejun Heo --- kernel/workqueue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 3fa5b8f..7528bec 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -100,10 +100,10 @@ enum {

[PATCH 07/16] ioprio: Add a macro named NICE_TO_IOPRIO.

2014-03-11 Thread Dongsheng Yang
As the task nice value is in [-20, 19] and the io priority is in [0, 7], and the convert method from niceval to ioprio is implemented with an opened code in task_nice_ioprio(). This patch move the implementation to a macro NICE_TO_IOPRIO, making it more readable and modular. Signed-off-by:

[PATCH 08/16] fs/hearbeat: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: ocfs2-de...@oss.oracle.com cc: Dong Fang --- fs/ocfs2/cluster/heartbeat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ocfs2/cluster/heartbeat.c b/fs/ocfs2/cluster/heartbeat.c index bf482df..7303929 100644 ---

[PATCH 13/16] driver/staging/android: Use rlimit_to_nice to replace opened code implementation.

2014-03-11 Thread Dongsheng Yang
There is a macro rlimit_to_nice in linux/sched/prio.h to convert priority in rlimit to nice value. This patch replace the opened implementation with rlimit_to_nice. Signed-off-by: Dongsheng Yang cc: de...@driverdev.osuosl.org cc: Masanari Iida cc: Bojan Prtvar cc: Serban Constantinescu

[PATCH 11/16] drivers/s390: Replace hardcoding of 19 with MAX_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: linux-s...@vger.kernel.org cc: Heiko Carstens cc: Martin Schwidefsky cc: Ingo Tuchscherer --- drivers/s390/crypto/ap_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c index

[PATCH 06/16] mm: Replace hardcoding of 19 with MAX_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: linux...@kvack.org cc: Bob Liu cc: "Aneesh Kumar K.V" cc: "Kirill A. Shutemov" cc: Mel Gorman cc: Rik van Riel cc: Andrew Morton --- mm/huge_memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c

[PATCH 10/16] driver/char: Replace hardcoding of 19 with MAX_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: openipmi-develo...@lists.sourceforge.net cc: Corey Minyard --- drivers/char/ipmi/ipmi_si_intf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 03f4189..03c0eed 100644

[PATCH 15/16] driver/scsi: Replace hardcoding of -20 with MIN_NICE.

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang cc: fcoe-de...@open-fcoe.org cc: James Smart cc: Robert Jennings cc: Robert Love --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 4 ++-- drivers/scsi/bnx2i/bnx2i_hwi.c| 2 +- drivers/scsi/fcoe/fcoe.c | 2 +- drivers/scsi/ibmvscsi/ibmvfc.c| 2 +-

[PATCH 16/16] sched: Get rid of opened code implementation of funtion nice_to_rlimit().

2014-03-11 Thread Dongsheng Yang
Signed-off-by: Dongsheng Yang --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index ee8004c..d2735eb 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -3046,7 +3046,7 @@

<    4   5   6   7   8   9   10   11   12   13   >