Re: [PATCH v3 2/5] pwm: kona: Introduce Kona PWM controller support

2014-03-18 Thread Tim Kryger
On Tue, Mar 18, 2014 at 4:47 PM, Tim Kryger wrote: > On Tue, Mar 18, 2014 at 2:52 PM, Thierry Reding > wrote: >> On Wed, Mar 12, 2014 at 01:15:43PM -0700, Tim Kryger wrote: >>> + >>> + /* There is polarity support in HW but it is easier to manage in SW */ >>> + if (pwm->polarity == PWM_P

Re: [PATCH 1/3] bridge: preserve random init MAC address

2014-03-18 Thread Toshiaki Makita
(2014/03/19 9:50), Luis R. Rodriguez wrote: > On Tue, Mar 18, 2014 at 5:42 PM, Toshiaki Makita > wrote: >> nit, >> If the last detached port happens to have the same addr as >> random_init_addr, this seems to call br_stp_change_bridge_id() even >> though bridge_id is not changed. > > Ah good poin

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-18 Thread DaeSeok Youn
oh... You didn't get my reply about vmalloc usage. My replay attach again, below. > 2014-03-18 9:37 GMT+09:00 Greg KH : >> On Tue, Mar 18, 2014 at 09:26:07AM +0900, DaeSeok Youn wrote: >>> I think vmalloc/kmalloc in uislib_malloc() can be removed and just use >>> vmalloc/kmalloc directly. >> >> Y

Re: [PATCH v11 17/27] iommu/exynos: remove calls to Runtime PM API functions

2014-03-18 Thread Cho KyongHo
On Tue, 18 Mar 2014 16:09:50 +0100, Tomasz Figa wrote: > On 18.03.2014 10:56, Cho KyongHo wrote: > > On Fri, 14 Mar 2014 13:59:00 +0100, Tomasz Figa wrote: > >> Hi KyongHo, > >> > >> On 14.03.2014 06:08, Cho KyongHo wrote: > > [snip] > > >>> -static bool __exynos_sysmmu_disable(struct sysmmu_drvd

Re: [PATCH] staging: wlags49_h2: Coding style correction

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 01:52:09AM +0100, Mathieu Maret wrote: > As the file was mixing tab and space, reindent the file > Mainly correct use of C99 comments, > space between parenthesis, > remove commented code > > Signed-off-by: Mathieu Maret > --- > drivers/staging/wlags49_h2/wl_netdev.c | 19

Re: [PATCH] s390: correct misuses of module_put in appldata_generic_handler.

2014-03-18 Thread Zhouyi Zhou
Delicate design! thanks for replying, sorry for the trouble On Tue, Mar 18, 2014 at 9:34 PM, Gerald Schaefer wrote: > On Tue, 18 Mar 2014 09:24:55 +0800 > Zhouyi Zhou wrote: > >> Thanks Gerald for reviewing and sorry for not elaborated it in the e-mail. >> >> Firstly, I think you can't call mod

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 09:03:49AM +0900, DaeSeok Youn wrote: > Hi, greg. > > Review my comment below. What comment? confused, greg k-h- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http:

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-18 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Wed, Mar 19, 2014 at 09:09:59AM +0900, DaeSeok Youn wrote: > Hi, Ken > Thanks for review. > > But I have a question, I wan to know why tracing buffer > status(Malloc_FailuresAlloc, Malloc_BytesInU

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

2014-03-18 Thread Chenhui Zhao
On Tue, Mar 18, 2014 at 05:42:09PM -0500, Scott Wood wrote: > On Mon, 2014-03-17 at 19:19 +0800, Chenhui Zhao wrote: > > On Fri, Mar 14, 2014 at 06:18:27PM -0500, Scott Wood wrote: > > > On Wed, 2014-03-12 at 18:40 +0800, Chenhui Zhao wrote: > > > > On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott W

linux-next: build failure after merge of the drm-intel tree

2014-03-18 Thread Stephen Rothwell
x27;TP_fast_assign' TP_fast_assign( ^ Caused by commit a25ca17c1eac ("drm/i915: Do not dereference pointers from ring buffer in evict event"). I have used the drm-intel tree from next-20140318 for today. -- Cheers, Stephen Rothwell pgpVfa3HCVJ7H.pgp Description: PGP signature

Re: [PATCH 1/3] bridge: preserve random init MAC address

2014-03-18 Thread Luis R. Rodriguez
On Tue, Mar 18, 2014 at 5:42 PM, Toshiaki Makita wrote: > nit, > If the last detached port happens to have the same addr as > random_init_addr, this seems to call br_stp_change_bridge_id() even > though bridge_id is not changed. Ah good point. > Shouldn't the assignment of random_init_addr be do

Re: [PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure

2014-03-18 Thread Joe Perches
On Wed, 2014-03-19 at 10:14 +1100, Finn Thain wrote: > As for side-effects, chip register accesses would be affected if dprintk() > expanded to no_printk() when NDEBUG & flg == 0. > > E.g. NCR5380.c line 1213: > dprintk(NDEBUG_INTR, "scsi : unknown interrupt, BASR 0x%X, MR 0x%X, SR > 0x%x\n", >

Re: [PATCH 0/6] perf tools: Share map groups within process

2014-03-18 Thread Namhyung Kim
Hi Jiri, On Tue, Mar 18, 2014 at 2:46 PM, Jiri Olsa wrote: > hi, > this patchset moves thread's map_groups to be dynamically > allocated and shared within process threads. > > The main benefit would be to be able to look up memory > map from any thread that belongs to the process. > > This implem

Re: [PATCH 1/3] bridge: preserve random init MAC address

2014-03-18 Thread Toshiaki Makita
(2014/03/13 12:15), Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > As it is now if you add create a bridge it gets started > with a random MAC address and if you then add a net_device > as a slave but later kick it out you end up with a zero > MAC address. Instead preserve the original

Re: bad rss-counter message in 3.14rc5

2014-03-18 Thread Hugh Dickins
On Tue, 11 Mar 2014, Dave Jones wrote: > On Tue, Mar 11, 2014 at 09:36:03PM +0400, Cyrill Gorcunov wrote: > > On Tue, Mar 11, 2014 at 01:10:45PM -0400, Dave Jones wrote: > > > > > > > > Dave, iirc trinity can write log file pointing which exactly syscall > sequence > > > > was passed, righ

Re: [PATCH v11 20/27] iommu/exynos: allow having multiple System MMUs for a master H/W

2014-03-18 Thread Cho KyongHo
On Tue, 18 Mar 2014 15:26:48 +0100, Tomasz Figa wrote: > > > On 18.03.2014 14:01, Cho KyongHo wrote: > > On Fri, 14 Mar 2014 17:12:03 +0100, Tomasz Figa wrote: > >> Hi KyongHo, > >> > >> On 14.03.2014 06:10, Cho KyongHo wrote: > >>> Some master device descriptor like fimc-is which is an abstracti

Re: [PATCH v3 0/2] Add stop callback to the cpufreq_driver interface.

2014-03-18 Thread Rafael J. Wysocki
On Tuesday, March 18, 2014 12:25:14 PM Dirk Brandewie wrote: > On 03/18/2014 12:08 PM, Srivatsa S. Bhat wrote: > > On 03/18/2014 10:52 PM, dirk.brande...@gmail.com wrote: > >> From: Dirk Brandewie > >> > > > > I don't mean to nitpick, but generally its easier to deal with > > patchsets if you post

[PATCH 3/5] f2fs: increase pages_skipped when skipping writepages

2014-03-18 Thread Jaegeuk Kim
This patch increases pages_skipped when skipping writepages. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 11 ++- fs/f2fs/data.c | 6 +- fs/f2fs/node.c | 6 +- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/ch

[PATCH 1/5] f2fs: introduce get_dirty_dents for readability

2014-03-18 Thread Jaegeuk Kim
The get_dirty_dents gives us the number of dirty dentry pages. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 2 +- fs/f2fs/f2fs.h | 5 + fs/f2fs/inode.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index

[PATCH 4/5] f2fs: introduce nr_pages_to_write for segment alignment

2014-03-18 Thread Jaegeuk Kim
This patch introduces nr_pages_to_write to align page writes to the segment or other operational unit size, which can be tuned according to the system environment. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 11 ++- fs/f2fs/data.c | 12 +++- fs/f2fs/node.c |

[PATCH 5/5] f2fs: call f2fs_wait_on_page_writeback instead of native function

2014-03-18 Thread Jaegeuk Kim
If a page is on writeback, f2fs can face with deadlock due to under writepages. This is caused by merging IOs inside f2fs, so if it comes to detect, let's throw merged IOs, which is implemented by f2fs_wait_on_page_writeback. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 6 ++ fs/f2

[PATCH 2/5] f2fs: avoid small data writes by skipping writepages

2014-03-18 Thread Jaegeuk Kim
This patch introduces nr_pages_to_skip(sbi, type) to determine writepages can be skipped. The dentry, node, and meta pages can be conrolled by F2FS without breaking the FS consistency. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 4 ++-- fs/f2fs/data.c | 4 fs/f2fs/node.c

[PATCH V2] regulator: dbx500: use seq_puts() instead of seq_printf()

2014-03-18 Thread Jingoo Han
For a constant format without additional arguments, use seq_puts() instead of seq_printf(). Also, it fixes the following checkpatch warning. WARNING: Prefer seq_puts to seq_printf Signed-off-by: Jingoo Han --- Changes since v1: - Removed unnecessary seq_puts() in ux500_regulator_power_state_cn

Re: [RFC 0/6] mm: support madvise(MADV_FREE)

2014-03-18 Thread Andy Lutomirski
On Tue, Mar 18, 2014 at 5:18 PM, Minchan Kim wrote: > Hello, > > On Tue, Mar 18, 2014 at 10:55:24AM -0700, Andy Lutomirski wrote: >> On 03/13/2014 11:37 PM, Minchan Kim wrote: >> > This patch is an attempt to support MADV_FREE for Linux. >> > >> > Rationale is following as. >> > >> > Allocators ca

Re: [PATCH 03/11] Input: synaptics-rmi4 - do not update configuration in rmi_f01_probe()

2014-03-18 Thread Christopher Heiny
On 02/12/2014 09:27 PM, Dmitry Torokhov wrote: Do not write configuration data in probe(), we have config() for that. I've just submitted a patch to correctly call config() after probe(). So this becomes... Signed-off-by: Christopher Heiny Signed-off-by: Dmitry Torokhov --- drivers/in

Re: [PATCH 2/3] regulator: dbx500: use seq_puts() instead of seq_printf()

2014-03-18 Thread Jingoo Han
On Wednesday, February 26, 2014 10:21 AM, Jingoo Han wrote: > > For a constant format without additional arguments, use seq_puts() > instead of seq_printf(). Also, it fixes the following checkpatch > warning. > > WARNING: Prefer seq_puts to seq_printf > > Signed-off-by: Jingoo Han > --- > dr

Re: [PATCH 3/9] perf hists: Add support for showing relative percentage

2014-03-18 Thread Namhyung Kim
Hi Arnaldo, On Tue, Mar 18, 2014 at 8:08 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 10, 2014 at 04:43:54PM +0900, Namhyung Kim escreveu: >> @@ -695,12 +695,17 @@ static void hists__remove_entry_filter(struct hists >> *hists, struct hist_entry *h >> if (h->filtered) >>

Re: [PATCH v3 1/3] clk: s2mps11: Add support for S2MPS14 clocks

2014-03-18 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-03-17 02:19:16) > This patch adds support for S2MPS14 PMIC clocks (BT and AP) to the > s2mps11 clock driver. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Yadwinder Singh Brar > Reviewed-by: Tomasz Figa This does not apply cleanly to to clk tree trip,

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-18 Thread DaeSeok Youn
Hi, Ken Thanks for review. But I have a question, I wan to know why tracing buffer status(Malloc_FailuresAlloc, Malloc_BytesInUse...) for info_proc_read_helper() are needed. If it doesn't need, whole tracing stuff for memory can be removed. After getting a reply from you and greg, I will make a

Re: [PATCH trivial 1/2] ARM: shmobile: armadillo800eva: Spelling and grammar

2014-03-18 Thread Simon Horman
On Tue, Mar 18, 2014 at 10:39:23AM +0100, Geert Uytterhoeven wrote: > From: Geert Uytterhoeven > > Signed-off-by: Geert Uytterhoeven > Cc: Simon Horman > Cc: linux...@vger.kernel.org Thanks, I have queued this up. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in th

[PATCH V2] checkpatch: Reduce false positives for "Missing blank line after declarations" test

2014-03-18 Thread Joe Perches
Reduce the false positives of this test by checking previous lines for known macros that declare variables. Add c90 keywords and test those too. Comment the specific tests done a bit better. Signed-off-by: Joe Perches --- V2: I believe this one works better. Don't allow "else if" to be an

Re: [PATCH 7/9] fsl: add EPU FSM configuration for deep sleep

2014-03-18 Thread Chenhui Zhao
On Tue, Mar 18, 2014 at 06:21:22PM -0500, Scott Wood wrote: > On Mon, 2014-03-17 at 18:27 +0800, Chenhui Zhao wrote: > > On Fri, Mar 14, 2014 at 05:51:09PM -0500, Scott Wood wrote: > > > On Wed, 2014-03-12 at 16:34 +0800, Chenhui Zhao wrote: > > > > On Tue, Mar 11, 2014 at 07:08:43PM -0500, Scott W

Re: [PATCH] staging: unisys: use kzalloc instead of kmalloc/memset 0

2014-03-18 Thread DaeSeok Youn
Hi, greg. Review my comment below. Thanks. Daeseok Youn. 2014-03-18 17:11 GMT+09:00 DaeSeok Youn : > 2014-03-18 9:37 GMT+09:00 Greg KH : >> On Tue, Mar 18, 2014 at 09:26:07AM +0900, DaeSeok Youn wrote: >>> I think vmalloc/kmalloc in uislib_malloc() can be removed and just use >>> vmalloc/kmalloc

Re: [PATCH] ASoC: Add support for multi register mux

2014-03-18 Thread Mark Brown
On Tue, Mar 18, 2014 at 04:51:32PM -0700, Arun Shamanna Lakshmi wrote: > Currently soc_enum structure supports only 2 registers (reg, reg2) > for kcontrol. However, it is possible to have multiple registers > per mux. This change allows us to control these multiple registers. I'd want to see a us

Re: [PATCH V5 0/5] Add X-Gene platform reboot mechanism

2014-03-18 Thread Feng Kan
Just want to ping this again, since no activity for a while. I have added endian and access size related information in the documentation. Please let me know if more is needed. On Wed, Jan 29, 2014 at 4:03 PM, Feng Kan wrote: > Enable reboot driver for the X-Gene platform. Add generic syscon reb

Re: [PATCH v11 10/27] iommu/exynos: use managed device helper functions

2014-03-18 Thread Jingoo Han
On Wednesday, March 19, 2014 12:12 AM, Tomasz Figa wrote: > On 18.03.2014 11:38, Cho KyongHo wrote: > > On Fri, 14 Mar 2014 14:28:36 +0100, Tomasz Figa wrote: > >> On 14.03.2014 06:05, Cho KyongHo wrote: > >>> This patch uses managed device helper functions in the probe(). > >>> > >>> Signed-off-by

[PATCH] ASoC: Add support for multi register mux

2014-03-18 Thread Arun Shamanna Lakshmi
Currently soc_enum structure supports only 2 registers (reg, reg2) for kcontrol. However, it is possible to have multiple registers per mux. This change allows us to control these multiple registers. Signed-off-by: Arun Shamanna Lakshmi Signed-off-by: Songhee Baek --- include/sound/soc.h |3

Re: [PATCH v3 2/5] pwm: kona: Introduce Kona PWM controller support

2014-03-18 Thread Tim Kryger
On Tue, Mar 18, 2014 at 2:52 PM, Thierry Reding wrote: > On Wed, Mar 12, 2014 at 01:15:43PM -0700, Tim Kryger wrote: > [...] >> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig >> index 22f2f28..1fd42af 100644 >> --- a/drivers/pwm/Kconfig >> +++ b/drivers/pwm/Kconfig >> @@ -62,6 +62,16 @@ co

mmotm 2014-03-18-16-37 uploaded

2014-03-18 Thread akpm
The mm-of-the-moment snapshot 2014-03-18-16-37 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [PATCH 4/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:15:44AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/ppp/pptp.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c > index 89f829

Re: [PATCH 5/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:16:42AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/wireless/ath/carl9170/main.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/net/wireless/ath/carl917

Re: [PATCH 2/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:12:16AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ethernet/chelsio/c

Re: [PATCH 3/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/macvtap.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:14:31AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/macvtap.c |8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c > index 1

Re: [PATCH 1/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/broadcom/bnx2.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 04:10:42AM +0530, Monam Agarwal wrote: > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/net/ethernet/broadcom/bnx2.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/broadcom/bnx2.c > b/driver

Re: [BUG -next] "mm: per-thread vma caching fix 5" breaks s390

2014-03-18 Thread Stephen Rothwell
m: per-thread > > > vma caching" patch I was wondering if something in there is architecture > > > specific. > > > But it doesn't look like that. So I'm wondering if this only breaks on > > > s390? > > > > I'm seeing this same BUG_O

Re: [PATCH 7/9] fsl: add EPU FSM configuration for deep sleep

2014-03-18 Thread Scott Wood
On Mon, 2014-03-17 at 18:27 +0800, Chenhui Zhao wrote: > On Fri, Mar 14, 2014 at 05:51:09PM -0500, Scott Wood wrote: > > On Wed, 2014-03-12 at 16:34 +0800, Chenhui Zhao wrote: > > > On Tue, Mar 11, 2014 at 07:08:43PM -0500, Scott Wood wrote: > > > > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao w

Re: [PATCH] staging/xillybus: Handle OOM in xillybus_init()

2014-03-18 Thread Eli Billauer
Hi, I stand (shamefully) corrected. Thanks. Eli On 19/03/14 01:07, Richard Weinberger wrote: alloc_workqueue() can fail and returns NULL in case of OOM. Handle this case and undo class_create(). Signed-off-by: Richard Weinberger --- drivers/staging/xillybus/xillybus_core.c | 6 +- 1

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

2014-03-18 Thread Scott Wood
On Sun, 2014-03-16 at 12:58 +0800, Kevin Hao wrote: > On Fri, Mar 14, 2014 at 05:26:27PM -0500, Scott Wood wrote: > > On Thu, 2014-03-13 at 15:46 +0800, Kevin Hao wrote: > > > On Wed, Mar 12, 2014 at 12:43:05PM -0500, Scott Wood wrote: > > > > > Shouldn't we use "readback, sync" here? The following

[PATCH 2/3] ARM: at91/dt: at91sam9m10g45ek: add ADC and touchscreen support

2014-03-18 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts index 7ff665a8c708..7800931a4b16 100644 --- a/arch/arm/boot/dts/at91sam

[PATCH 3/3] ARM: at91/dt: at91sam9m10g45ek PWM leds polarity is inversed

2014-03-18 Thread Alexandre Belloni
The real polarity of the LEDs is inversed. The led is between 3.3v and the PWM. It was working before because the driver was getting the duty cycle calculation wrong. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletio

[PATCH 0/3] ARM: at91: improve at91sam9m10g45ek support

2014-03-18 Thread Alexandre Belloni
Here are a few DT improvements for the at91sam9m10g45ek. The first patch corrects the ADC support for the at91sam9g45. The second patch adds ADC and touchscreen support to the at91sam9m10g45ek. The last one corrects the PWM polarity after the polarity got right in the driver, following patch "PW

[PATCH 1/3] ARM: at91/dt: sam9g45: improve ADC/touchscreen support

2014-03-18 Thread Alexandre Belloni
Fixes the compatible string, adds the pinmuxing for the ADC pins. Also, removes atmel,adc-use-external-triggers as it is not possible to remove it unless redefining the whole adc node Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g45.dtsi | 33 +++--

Re: [PATCH 00/12] scsi/NCR5380: fix debugging macros and #include structure

2014-03-18 Thread Finn Thain
On Tue, 18 Mar 2014, Joe Perches wrote: > On Tue, 2014-03-18 at 13:55 +0100, Geert Uytterhoeven wrote: > > > > #define dprintk(flg, fmt, ...) no_printk(fmt, ##__VA_ARGS__) > > Fine, but with a correction. > > no_printk keeps all side effects like performing any function calls made > by the s

Re: [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote: > This fixes the following sparse warning: > * drivers/staging/cxt1e1/hwprobe.c:43:19: > warning: symbol 'hdw_info' was not declared. Should it be static? > * drivers/staging/cxt1e1/hwprobe.c:47:1: > warning: symbol 'show_two' was not d

Re: [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote: > This fixes the following sparse warning: > * drivers/staging/cxt1e1/hwprobe.c:43:19: > warning: symbol 'hdw_info' was not declared. Should it be static? > * drivers/staging/cxt1e1/hwprobe.c:47:1: > warning: symbol 'show_two' was not d

Re: [BUG -next] "mm: per-thread vma caching fix 5" breaks s390

2014-03-18 Thread Andrew Morton
> > specific. > > But it doesn't look like that. So I'm wondering if this only breaks on > > s390? > > I'm seeing this same BUG_ON() on ia64 (when trying out next-20140318) -next is missing http://ozlabs.org/~akpm/mmots/broken-out/mm-per-thread-vma-caching-f

Re: [PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Greg KH
On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote: > This fixes the following sparse warning: > * drivers/staging/cxt1e1/hwprobe.c:43:19: > warning: symbol 'hdw_info' was not declared. Should it be static? > * drivers/staging/cxt1e1/hwprobe.c:47:1: > warning: symbol 'show_two' was not d

Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-03-18 Thread Alexandre Belloni
On 18/03/2014 at 16:02:51 -0700, Bryan Wu wrote : > On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni > wrote: > > Set inversed polarity when .active_low is set in the platform_data. With > > device > > tree, this is taken care of by of_pwm_xlate_with_flags(), called from > > of_pwm_get(). > >

Re: [PATCH] staging: slicoss: Fix prefer ether_addr_copy over memcpy

2014-03-18 Thread Joel Pelaez Jorge
El 17/03/14 23:49, Jingoo Han escribió: On Tuesday, March 18, 2014 2:04 PM, Joel Pelaez Jorge wrote: @@ -810,8 +810,8 @@ static int slic_mac_set_address(struct net_device *dev, void *ptr) if (!is_valid_ether_addr(addr->sa_data)) return -EINVAL; - memcpy(dev->dev_

Re: [BUG -next] "mm: per-thread vma caching fix 5" breaks s390

2014-03-18 Thread Tony Luck
ndering if this only breaks on > s390? I'm seeing this same BUG_ON() on ia64 (when trying out next-20140318) Starting HAkernel BUG at mm/vmacache.c:76! L daemon7[?25lps[3259]: bugcheck! 0 [1] Modules linked in: mptctl CPU: 0 PID: 3259 Comm: ps Not tainted 3.14.0-rc7-zx1-smp-nex

[PATCH] staging/xillybus: Handle OOM in xillybus_init()

2014-03-18 Thread Richard Weinberger
alloc_workqueue() can fail and returns NULL in case of OOM. Handle this case and undo class_create(). Signed-off-by: Richard Weinberger --- drivers/staging/xillybus/xillybus_core.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/staging/xillybus/xillybus_core.c

Re: [PATCH] leds: pwm: set polarity on non DT platforms

2014-03-18 Thread Bryan Wu
On Mon, Mar 17, 2014 at 11:38 AM, Alexandre Belloni wrote: > Set inversed polarity when .active_low is set in the platform_data. With > device > tree, this is taken care of by of_pwm_xlate_with_flags(), called from > of_pwm_get(). > > Signed-off-by: Alexandre Belloni > --- > drivers/leds/leds-p

Re: [RFC PATCH 1/2] ACPICA: Dispatcher: Ignore SyncLevel for auto-serialization mechanism.

2014-03-18 Thread Sabrina Dubroca
Hi, 2014-03-18, 00:50:04 +, Zheng, Lv wrote: > Hi, Sabrina and Valdis > > Could you give this patch a try to see if this patch is working? > > Thanks and best regards > -Lv I applied the two patches. The laptop boots and there is no ACPI error in the logs, both with auto-serialization enabl

[PATCH 9/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/vhost/test.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c index fc9a1d7..82b3744 100644 --- a/drivers/vhost/test.c +++ b/drivers/vhost/test.c @@ -128,7 +128,7 @@ static void *vhost_test_

[PATCH 8/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/vhost/net.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index 882a51f..b243e06 100644 --- a/drivers/vhost/net.c +++ b/drivers/vhost/net.c @@ -556,7 +556,7 @@ static struct socket *vhost_n

[PATCH 7/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/target/tcm_fc/tfc_sess.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/target/tcm_fc/tfc_sess.c b/drivers/target/tcm_fc/tfc_sess.c index 3269213..95fb826 100644 --- a/drivers/target/tcm_fc/tfc_sess.c +++ b/drivers/target/tc

[PATCH 6/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/scsi/libfc/fc_libfc.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/libfc/fc_libfc.c b/drivers/scsi/libfc/fc_libfc.c index b773512..ee74eec 100644 --- a/drivers/scsi/libfc/fc_libfc.c +++ b/drivers/scsi/libfc/fc_lib

[PATCH 5/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/wireless/ath/carl9170/main.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index f06e069..5518592 100644 --- a/drivers/net/wireles

[PATCH 4/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/ppp/pptp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c index 89f829f..ede899c 100644 --- a/drivers/net/ppp/pptp.c +++ b/drivers/net/ppp/pptp.c @@ -162,7 +162,7 @@ static void de

[PATCH 3/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/macvtap.c

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/macvtap.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index 1b7082d..7c88d13 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -145,8 +145,8 @@ static void

[PATCH 2/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c index da5a5d9..a7ec886 100644 ---

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

2014-03-18 Thread Scott Wood
On Mon, 2014-03-17 at 19:19 +0800, Chenhui Zhao wrote: > On Fri, Mar 14, 2014 at 06:18:27PM -0500, Scott Wood wrote: > > On Wed, 2014-03-12 at 18:40 +0800, Chenhui Zhao wrote: > > > On Tue, Mar 11, 2014 at 08:10:24PM -0500, Scott Wood wrote: > > > > On Fri, 2014-03-07 at 12:58 +0800, Chenhui Zhao w

[PATCH 1/9] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/net/ethernet/broadcom/bnx2.c

2014-03-18 Thread Monam Agarwal
Signed-off-by: Monam Agarwal --- drivers/net/ethernet/broadcom/bnx2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index 965c723..5eab730 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/

[PATCH 0/9] Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,NULL)

2014-03-18 Thread Monam Agarwal
This patchset uses following coccinelle script to replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x,NULL) @@ expression E; @@ - rcu_assign_pointer( + RCU_INIT_POINTER( E, NULL) Monam Agarwal (9): rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drive

Re: [PATCH v3 1/4] mfd: max8997: use regmap to access registers

2014-03-18 Thread Bryan Wu
On Thu, Mar 13, 2014 at 2:38 AM, Robert Baldyga wrote: > This patch modifies max8997 driver and each associated function driver, > to use regmap instead of operating directly on i2c bus. It will allow to > simplify IRQ handling using regmap-irq. > > Signed-off-by: Robert Baldyga > Reviewed-by: Kr

[PATCH] staging: cxt1e1: hwprobe: Fix sparse warning

2014-03-18 Thread Matei Oprea
This fixes the following sparse warning: * drivers/staging/cxt1e1/hwprobe.c:43:19: warning: symbol 'hdw_info' was not declared. Should it be static? * drivers/staging/cxt1e1/hwprobe.c:47:1: warning: symbol 'show_two' was not declared. Should it be static? * drivers/staging/cxt1e1/hwprobe.c:99:1:

Re: [PATCH] mfd: mc13xxx: Move definitions out of structures

2014-03-18 Thread Bryan Wu
On Tue, Mar 18, 2014 at 2:40 AM, Lee Jones wrote: >> > > > > Signed-off-by: Alexander Shiyan >> > > > > --- >> > > > > include/linux/mfd/mc13xxx.h | 22 -- >> > > > > 1 file changed, 12 insertions(+), 10 deletions(-) >> > > > > >> > > > > diff --git a/include/linux/mfd/mc13xx

Re: For review: open_by_name_at(2) man page

2014-03-18 Thread NeilBrown
On Tue, 18 Mar 2014 13:37:15 +0100 "Michael Kerrisk (man-pages)" wrote: > On 03/18/2014 10:43 AM, Christoph Hellwig wrote: > > On Tue, Mar 18, 2014 at 09:00:07AM +1100, NeilBrown wrote: > >> ESTALE is also returned if the filesystem does not support file-handle -> > >> file mappings. > >> On file

Re: [PATCH v2 11/15] arm64: add EFI stub

2014-03-18 Thread Jason Gunthorpe
On Tue, Mar 18, 2014 at 02:48:30PM -0700, Roy Franz wrote: > > It isn't clear to me if UEFI does cache flushing at ExitBootServices > > time, but even so, at least stack use will get cached between then and > > the kernel entry point. The stub could conceivably get its hands on the > > EFI memmap

Re: [PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 03:32:30AM +0530, Monam Agarwal wrote: > This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, > NULL) in drivers/infiniband/hw/qib/qib_qp.c > > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/infiniband/hw/qib/qib_qp.c |

Re: [PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/input.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 03:30:29AM +0530, Monam Agarwal wrote: > This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, > NULL) in drivers/input/input.c > > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/input/input.c |2 +- > 1 file changed,

Re: [patch 02/12] can: c_can: Fix hardware raminit function

2014-03-18 Thread Thomas Gleixner
On Tue, 18 Mar 2014, Marc Kleine-Budde wrote: > On 03/18/2014 06:19 PM, Thomas Gleixner wrote: > > +static void c_can_hw_raminit_wait(const struct c_can_priv *priv, u32 mask, > > + u32 val) > > +{ > > + /* We look only at the bits of our instance. */ > > + val &= mas

Re: [GIT PULL] uprobes: Add uprobes support for ARM

2014-03-18 Thread David Long
On 03/17/14 19:52, Russell King - ARM Linux wrote: On Tue, Mar 11, 2014 at 02:36:09PM -0400, David Long wrote: git://git.linaro.org/people/dave.long/linux.git uprobes-v7 for you to fetch changes up to e55c35236b8adf79453a998506ec6081833b9484: ARM: add uprobes support (2014-03-11 11:40:29

Re: [PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/endev.c

2014-03-18 Thread Paul E. McKenney
On Wed, Mar 19, 2014 at 03:28:39AM +0530, Monam Agarwal wrote: > This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, > NULL) in drivers/input/endev.c > > Signed-off-by: Monam Agarwal Reviewed-by: Paul E. McKenney > --- > drivers/input/evdev.c |2 +- > 1 file changed,

[ANNOUNCE] Git v1.9.1

2014-03-18 Thread Junio C Hamano
The latest maintenance release Git v1.9.1 is now available at the usual places. The release tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the v1.9.1 tag and the maint branch that the tag points at: url = https://ke

Re: [UPDATED PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-18 Thread Christoffer Dall
On 18 March 2014 03:23, Srivatsa S. Bhat wrote: > On 03/15/2014 12:40 AM, Christoffer Dall wrote: >> On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote: >>> On 03/13/2014 04:51 AM, Christoffer Dall wrote: On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote: > Su

[PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/input.c

2014-03-18 Thread Monam Agarwal
This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/input.c Signed-off-by: Monam Agarwal --- drivers/input/input.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/input.c b/drivers/input/input.c index da38d97..41b5

[PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL)

2014-03-18 Thread Monam Agarwal
This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/infiniband/hw/qib/qib_qp.c Signed-off-by: Monam Agarwal --- drivers/infiniband/hw/qib/qib_qp.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/hw/qib/qib_qp.

[PATCH v3 5/7] OF: i2c: Add overlay bus handler

2014-03-18 Thread Pantelis Antoniou
Add the bus handler registration needed for performing overlays containing i2c devices. Signed-off-by: Pantelis Antoniou --- drivers/i2c/i2c-core.c | 87 +- 1 file changed, 86 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core.c b/driv

[PATCH] rcu: Replace rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/endev.c

2014-03-18 Thread Monam Agarwal
This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, NULL) in drivers/input/endev.c Signed-off-by: Monam Agarwal --- drivers/input/evdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index 4cf2534..92e7

[PATCH v3 2/7] OF: Introduce DT overlay support.

2014-03-18 Thread Pantelis Antoniou
Introduce DT overlay support. Using this functionality it is possible to dynamically overlay a part of the kernel's tree with another tree that's been dynamically loaded. It is also possible to remove node and properties. The creation/destruction of the devices is handled by calling in to bus spec

[PATCH v3 7/7] of: i2c: Export single device registration method

2014-03-18 Thread Pantelis Antoniou
From: Pantelis Antoniou Dynamically inserting i2c client device nodes requires the use of a single device registration method. Rework and export it. Signed-off-by: Pantelis Antoniou --- drivers/i2c/i2c-core.c | 99 +++--- include/linux/i2c.h| 10

[PATCH v3 4/7] OF: platform: Add overlay bus handler

2014-03-18 Thread Pantelis Antoniou
Add the bus handler registration needed for performing overlays containing platform devices. Signed-off-by: Pantelis Antoniou --- drivers/base/platform.c | 99 +++-- 1 file changed, 96 insertions(+), 3 deletions(-) diff --git a/drivers/base/platform.c

[PATCH v3 6/7] OF: spi: Add overlay bus handler

2014-03-18 Thread Pantelis Antoniou
Add the bus handler registration needed for performing overlays containing spi devices. Signed-off-by: Pantelis Antoniou --- drivers/spi/spi.c | 345 ++ 1 file changed, 242 insertions(+), 103 deletions(-) diff --git a/drivers/spi/spi.c b/drive

[PATCH v3 0/7] Introducing (yet again) Device Tree Overlays

2014-03-18 Thread Pantelis Antoniou
The following patchset introduces Device Tree overlays, a method of dynamically altering the kernel's live Device Tree, along with a generic interface to use it in a board agnostic manner. It is dependent on Grant Likely's DT kobjectification patches located in his tree as queued for -next. It re

[PATCH v3 3/7] OF: DT-Overlay configfs interface

2014-03-18 Thread Pantelis Antoniou
Add a runtime interface to using configfs for generic device tree overlay usage. A device-tree configfs entry is created in /config/device-tree/overlays To create an overlay you mkdir the directory and then echo the overlay firmware file to the path property file. # mkdir /config/device-

[PATCH v3 1/7] OF: Introduce Device Tree resolve support.

2014-03-18 Thread Pantelis Antoniou
Introduce support for dynamic device tree resolution. Using it, it is possible to prepare a device tree that's been loaded on runtime to be modified and inserted at the kernel live tree. Export of of_resolve by Guenter Roeck Signed-off-by: Pantelis Antoniou --- .../devicetree/dynamic-resolutio

[PATCH] OF: Add [__]of_find_node_by_full_name

2014-03-18 Thread Pantelis Antoniou
__of_find_node_by_full_name recursively searches for a matching node with the given full name without taking any locks. of_find_node_by_full_name takes locks and takes a reference on the matching node. Signed-off-by: Pantelis Antoniou --- drivers/of/base.c | 58

Re: [PATCH v2 0/4] RDSEED support for the Linux kernel

2014-03-18 Thread tytso
On Mon, Mar 17, 2014 at 04:36:26PM -0700, H. Peter Anvin wrote: > Changes since version 1: > > a. Rebased on top of random.git:dev. > b. Unbreak the PowerPC build (I had managed to miss that PowerPC had >grown archrandom.h support.) > c. Remove duplicate dummy function definitions in . > d. Ad

Re: [PATCH v3 0/5] Add Broadcom Kona PWM Support

2014-03-18 Thread Thierry Reding
On Fri, Mar 14, 2014 at 09:43:24AM -0400, Matt Porter wrote: > On Wed, Mar 12, 2014 at 01:15:41PM -0700, Tim Kryger wrote: > > This series introduces the driver for the Kona PWM controller found in > > Broadcom mobile SoCs like bcm281xx and updates the device tree and the > > defconfig to enable us

<    1   2   3   4   5   6   7   8   >