Re: [PATCH][RESEND 2] Revert "AUDIT: Allow login in non-init namespaces"

2015-01-13 Thread Richard Guy Briggs
On 15/01/08, Calvin Owens wrote: > This reverts 543bc6a1a987 "AUDIT: Allow login in non-init namespaces". > > This commit incorrectly assumes that libpam treats -ECONNREFUSED as > an indicator that audit is disabled, and -EPERM or any other error > as a fatal error that prevents the login from con

Re: [PATCH v7 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver.

2015-01-13 Thread Felipe Balbi
On Tue, Jan 13, 2015 at 10:35:52AM +0100, Robert Jarzmik wrote: > Paul Zimmerman writes: > > The patch below fixes it. And it seems like the right thing to me, > > since GPIOs should be optional for a generic phy, I would think. But > > my device tree foo is very weak, so I'm not sure. > > > > CCi

Re: [PATCH 1/1] ahci: Remove Device ID for Intel Sunrise Point PCH

2015-01-13 Thread Tejun Heo
On Mon, Jan 12, 2015 at 04:13:52PM -0800, James Ralston wrote: > This patch removes a duplicate AHCI-mode SATA Device ID for the Intel Sunrise > Point PCH. > > Signed-off-by: James Ralston Applied to libata/for-3.19-fixes. Thanks. -- tejun -- To unsubscribe from this list: send the line "uns

Re: [RFC PATCH 01/11] ARM: kprobes: directly modify code if kprobe is not initialized.

2015-01-13 Thread Masami Hiramatsu
(2015/01/07 16:35), Wang Nan wrote: > If kprobe is optimized before kprobe is initialized, there should > be only one core, the probed instruction is not armed with breakpoint, > so simply patch text is okay. This patch looks very hacky. If kprobes is not initialized, why anyone can optimize kprob

Re: [PATCH V2 12/12] selftests, powerpc: Add thread based stress test for DSCR sysfs interfaces

2015-01-13 Thread Shuah Khan
On 01/13/2015 03:22 AM, Anshuman Khandual wrote: > This patch adds a test to update the system wide DSCR value repeatedly > and then verifies that any thread on any given CPU on the system must > be able to see the same DSCR value whether its is being read through > the problem state based SPR or t

Re: [RFC PATCH 02/11] x86,fpu: replace fpu_switch_t with a thread flag

2015-01-13 Thread Oleg Nesterov
Rik, I can't review this series, I forgot almost everything I learned about this code. The only thing I can recall is that it needs cleanups and fixes ;) Just a couple of random questions. On 01/11, r...@redhat.com wrote: > > +static inline void switch_fpu_prepare(struct task_struct *old, struct

Re: [PATCH 00/10] mpt2sas: Phase19 and Phase20 patch set

2015-01-13 Thread Christoph Hellwig
Thanks, Ive applied the series to the scsi-for-3.20 branch. -- 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://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: ata_eh_report() unable to handle kernel NULL pointer dereference

2015-01-13 Thread Tejun Heo
On Tue, Jan 13, 2015 at 11:25:09PM +0900, Sergey Senozhatsky wrote: > Hi, > > linux-next 20150112 > > [ 934.572323] ata2: exception Emask 0x50 SAct 0x0 SErr 0x4090800 action 0xe > frozen > [ 934.572329] ata2: irq_stat 0x00400040, connection status changed > [ 934.572332] ata2: SError: { HostI

[PATCH] mmc: host: sdhci: Added a space before (

2015-01-13 Thread Mohammad Jamal
This patch solves the coding style issue by adding a space before ( Signed-off-by: Mohammad Jamal --- drivers/mmc/host/sdhci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 1453cd1..910ee7b 100644 --- a/drivers/mm

Re: [RFC PATCH 03/11] x86,fpu: move __thread_fpu_begin to when the task has the fpu

2015-01-13 Thread Oleg Nesterov
On 01/11, r...@redhat.com wrote: > > --- a/arch/x86/include/asm/fpu-internal.h > +++ b/arch/x86/include/asm/fpu-internal.h > @@ -420,7 +420,6 @@ static inline void switch_fpu_prepare(struct task_struct > *old, struct task_struc > if (preload) { > new->thread.fpu

Re: [PATCH V2 09/12] selftests, powerpc: Add test for DSCR value inheritence across fork

2015-01-13 Thread Shuah Khan
On 01/13/2015 03:22 AM, Anshuman Khandual wrote: > This patch adds a test to verify that the changed DSCR value inside > any process would be inherited to it's child process across the fork > system call. > > Signed-off-by: Anshuman Khandual > --- > tools/testing/selftests/powerpc/dscr/Makefile

Re: [PATCH V2 08/12] selftests, powerpc: Add test for DSCR SPR numbers

2015-01-13 Thread Shuah Khan
On 01/13/2015 03:22 AM, Anshuman Khandual wrote: > This patch adds a test which verifies that the DSCR privilege and > problem state SPR read & write accesses while making sure that the > results are always the same irrespective of which SPR number is > being used. > > Signed-off-by: Anshuman Khan

Re: [PATCH 3/5] workqueue: fixup existing pool->node

2015-01-13 Thread Tejun Heo
On Tue, Jan 13, 2015 at 03:08:28PM +0800, Lai Jiangshan wrote: > On 12/26/2014 04:14 AM, Tejun Heo wrote: > > On Mon, Dec 15, 2014 at 09:23:49AM +0800, Lai Jiangshan wrote: > >> The pwqs of the old node's cpumask do be discarded. But the pools of the > >> old > >> node's cpumask maybe recycle. For

Re: [PATCH] clocksource: sirf: remove unused variable

2015-01-13 Thread Barry Song
2015-01-13 22:27 GMT+08:00 Daniel Lezcano : > On 01/13/2015 03:22 PM, Arnd Bergmann wrote: >> >> A recent rework of the driver left an obviously unused variable >> around, and now the compiler complains: >> >> clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init': >> clocksource/timer-m

Re: [PATCH V2 11/12] selftests, powerpc: Add test for all DSCR sysfs interfaces

2015-01-13 Thread Shuah Khan
On 01/13/2015 03:22 AM, Anshuman Khandual wrote: > This test continuously updates the system wide DSCR default value > in the sysfs interface and makes sure that the same is reflected > across all the sysfs interfaces for each individual CPUs present > on the system. > > Signed-off-by: Anshuman Kh

Re: [PATCH] clocksource: sirf: remove unused variable

2015-01-13 Thread Arnd Bergmann
On Tuesday 13 January 2015 15:27:05 Daniel Lezcano wrote: > On 01/13/2015 03:22 PM, Arnd Bergmann wrote: > > A recent rework of the driver left an obviously unused variable > > around, and now the compiler complains: > > > > clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init': > > clo

Re: [PATCH V2 10/12] selftests, powerpc: Add test for DSCR inheritence across fork & exec

2015-01-13 Thread Shuah Khan
On 01/13/2015 03:22 AM, Anshuman Khandual wrote: > This patch adds a test case to verify that the changed DSCR value > inside any process would be inherited to it's child across the fork > and exec system call. > > Signed-off-by: Anshuman Khandual > --- > tools/testing/selftests/powerpc/dscr/Mak

Re: Linux 3.19-rc3

2015-01-13 Thread Peter Zijlstra
On Tue, Jan 06, 2015 at 05:28:44AM -0800, Kent Overstreet wrote: > On Tue, Jan 06, 2015 at 02:03:17PM +0100, Peter Zijlstra wrote: > > Yeah I got that aspect. I'm still trying to get my head around how the > > wait_event bit would be a natural match though ;-) > > > > Let me stew a bit on that. >

Re: [PATCH V2 07/12] selftests, powerpc: Add test for explicitly changing DSCR value

2015-01-13 Thread Shuah Khan
On 01/13/2015 03:22 AM, Anshuman Khandual wrote: > This patch adds a test which modifies the DSCR using mtspr instruction > and verifies the change using mfspr instruction. It uses both the > privilege state SPR as well as the problem state SPR for the purpose. > > Signed-off-by: Anshuman Khandual

Re: [PATCH V2 06/12] selftests, powerpc: Add test for system wide DSCR default

2015-01-13 Thread Shuah Khan
On 01/13/2015 03:22 AM, Anshuman Khandual wrote: > This patch adds a test case for the system wide DSCR default > value, which when changed through it's sysfs interface must > be visible to all threads reading DSCR either through the > privilege state SPR or the problem state SPR. The DSCR value >

Re: [PATCH v3 0/2] ARM: mediatek: Add driver for Mediatek I2C controller

2015-01-13 Thread Wolfram Sang
> I think the quirks can describe our HW limitation without issue. > We are porting our i2c driver base on that. Will let you know the test > result. Great news, thanks for the update :) signature.asc Description: Digital signature

Re: [PATCH 1/2] workqueue: update numa affinity info at node hotplug

2015-01-13 Thread Tejun Heo
Hello, On Tue, Jan 13, 2015 at 03:19:09PM +0800, Lai Jiangshan wrote: > The Mapping of the *online* cpus to nodes is already maintained by numa code. > > What the workqueue needs is a special Mapping: > The Mapping of the *possible* cpus to nodes > > But this mapping (if the numa code main

Re: [PATCH v2 1/3] ASoC: codecs: wm8904: add dt ids table

2015-01-13 Thread Nicolas Ferre
Le 15/12/2014 04:31, Bo Shen a écrit : > From: Alexander Morozov > > Signed-off-by: Alexander Morozov > [Add driver data to distinguish device type] > Signed-off-by: Bo Shen > --- > > Changes in v2: > - Add driver data for distinguish the device capability. > > sound/soc/codecs/wm8904.c | 22

Re: [RFC] A question about memcg/kmem

2015-01-13 Thread Vladimir Davydov
On Tue, Jan 13, 2015 at 09:25:44AM -0500, Johannes Weiner wrote: > On Tue, Jan 13, 2015 at 12:24:24PM +0300, Vladimir Davydov wrote: > > Hi, > > > > There's one thing about kmemcg implementation that's bothering me. It's > > about arrays holding per-memcg data (e.g. kmem_cache->memcg_params-> > >

Re: [PATCH v2 -next] i2c: imx: fix handling of wait_for_completion_timeout result

2015-01-13 Thread Wolfram Sang
On Sat, Dec 27, 2014 at 08:33:53AM -0500, Nicholas Mc Guire wrote: > wait_for_completion_timeout does not return negative values so > "result" handling here should be simplified to cover the actually > possible cases only. > > patch was only compile tested for imx_v6_v7_defconfig > > V2 spellch

Re: [PATCH v3 0/2] ARM: mediatek: Add driver for Mediatek I2C controller

2015-01-13 Thread Yingjoe Chen
On Tue, 2015-01-13 at 10:57 +0100, Wolfram Sang wrote: > On Tue, Jan 06, 2015 at 02:37:53PM +0100, Wolfram Sang wrote: > > > > > We've started upstream work for MT8173[1]. > > > > > > We've fixed these issues for new SoC, and we believe it is fully I2C > > > compatible now. We'll add mt8173 suppo

Re: [PATCH v2] ALSA: ASoC: soc-compress.c: fix NULL dereference

2015-01-13 Thread Qais Yousef
On 01/13/2015 02:59 PM, Vinod Koul wrote: On Tue, Jan 13, 2015 at 11:18:53AM +, Qais Yousef wrote: In soc_new_compress() when rtd->dai_link->daynmic is set, we create the pcm typo substreams with this call: ret = snd_pcm_new_internal

Re: [PATCH v8 12/14] x86: perf: intel_pt: Intel PT PMU driver

2015-01-13 Thread Alexander Shishkin
Peter Zijlstra writes: > On Fri, Nov 14, 2014 at 03:43:45PM +0200, Alexander Shishkin wrote: >> +static void pt_event_stop(struct perf_event *event, int mode) >> +{ >> +struct pt *pt = this_cpu_ptr(&pt_ctx); >> + >> +ACCESS_ONCE(pt->handle_nmi) = 0; > > Why is this needed? Will the hardwa

[PATCH] gpio: gpio-dln2: Added a Blank line after declaration

2015-01-13 Thread Mohammad Jamal
Fix the coding style issue by adding a blank line after declaration Signed-off-by: Mohammad Jamal --- drivers/gpio/gpio-dln2.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-dln2.c b/drivers/gpio/gpio-dln2.c index ce3c155..dbdb4de 100644 --- a/drivers/gpio/gpio-dln2.c +

RE: [PATCH net-next] rhashtable: Lower/upper bucket may map to same lock while shrinking

2015-01-13 Thread David Laight
From: Thomas Graf ... > > > spin_lock_bh(old_bucket_lock1); > > > - spin_lock_bh_nested(old_bucket_lock2, RHT_LOCK_NESTED); > > > - spin_lock_bh_nested(new_bucket_lock, RHT_LOCK_NESTED2); > > > + > > > + /* Depending on the lock per buckets mapping, the bucket in >

[PATCH v0] lockstat: Add documentation on contention and contenting points

2015-01-13 Thread Daniel Wagner
Signed-off-by: Daniel Wagner Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Jonathan Corbet --- I spent some time to figure out what I saw in /proc/lock_stat. Maybe someone else has the same question. --- Documentation/locking/lockstat.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Docu

RE: [PATCH net-next] rhashtable: Lower/upper bucket may map to same lock while shrinking

2015-01-13 Thread David Laight
From: Thomas Graf ... > > Thought, could the shrunk table use the same locks as the lower half > > of the old table? > > No. A new bucket table and thus a new set of locks is allocated when the > table is shrunk or grown. We only have check for overlapping locks > when holding multiple locks for t

Re: [patch 3/3] mm: memcontrol: consolidate swap controller code

2015-01-13 Thread Michal Hocko
On Fri 09-01-15 21:14:01, Johannes Weiner wrote: > The swap controller code is scattered all over the file. Gather all > the code that isn't directly needed by the memory controller at the > end of the file in its own CONFIG_MEMCG_SWAP section. Well, the idea was to stick with corresponding infra

Re: [PATCH v19 10/11] ARM: kprobes: check register usage for probed instruction.

2015-01-13 Thread Jon Medhurst (Tixy)
On Mon, 2015-01-05 at 19:29 +0800, Wang Nan wrote: > This patch utilizes previous introduced checker to check register usage > for probed ARM instruction and saves it in a mask. Futher patch will > use such information to avoid simuation or emulation. There's a couple of spelling mistakes above an

Re: [PATCH v2] ALSA: ASoC: soc-compress.c: fix NULL dereference

2015-01-13 Thread Vinod Koul
On Tue, Jan 13, 2015 at 11:18:53AM +, Qais Yousef wrote: > In soc_new_compress() when rtd->dai_link->daynmic is set, we create the pcm typo > substreams with this call: > >ret = snd_pcm_new_internal(rtd->card->snd_card, new_name, num, >

[PATCH] MODSIGN: /proc/keys is not unconditionally available

2015-01-13 Thread Jiri Kosina
Documentation/module-signing.txt file is referring to /proc/keys file in order to view all keys contained in the kernel's keyring. That file is not universally avialble when CONFIG_KEYS is enabled, which is confusing. The fact that the option needed for this procfs interface to exist contains "

NBD Maintainer

2015-01-13 Thread Paul Clements
All, I've maintained the NBD driver since 2003, but alas, I no longer have the time and energy to continue maintaining it. If someone would like to take over, let me know. Thanks, Paul -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...

Re: [PATCH 3/4] ARM: shmobile: emev2: Add PFC information to emev2.dtsi

2015-01-13 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Friday 12 December 2014 21:01:36 Niklas Söderlund wrote: > With this information all GPIOs can make use of the PFC functionality. > > Signed-off-by: Niklas Söderlund > --- > arch/arm/boot/dts/emev2.dtsi | 11 +++ > 1 file changed, 11 insertions(+)

Re: [patch 2/3] mm: memcontrol: consolidate memory controller initialization

2015-01-13 Thread Michal Hocko
On Fri 09-01-15 21:14:00, Johannes Weiner wrote: > The initialization code for the per-cpu charge stock and the soft > limit tree is compact enough to inline it into mem_cgroup_init(). > > Signed-off-by: Johannes Weiner Acked-by: Michal Hocko > --- > mm/memcontrol.c | 57 > ++

Re: [patch 1/3] mm: memcontrol: remove unnecessary soft limit tree node test

2015-01-13 Thread Michal Hocko
On Fri 09-01-15 21:13:59, Johannes Weiner wrote: > kzalloc_node() automatically falls back to nodes with suitable memory. > > Signed-off-by: Johannes Weiner Acked-by: Michal Hocko > --- > mm/memcontrol.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/mm/memco

Re: [4/4] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2015-01-13 Thread Guenter Roeck
On 01/13/2015 06:32 AM, David Paris wrote: Hi Guenter, Please forget this implementation of ST LPC Watchdog, Lee has provided a new patchset. Search for "[STLinux Kernel] [PATCH 0/8] mfd: watchdog: rtc: New driver for ST's LPC IP" And I even looked it and provided feedback. Oh well ...

Re: [PATCH] ALSA: compress_driver.h: include sound/core.h explicitly

2015-01-13 Thread Vinod Koul
On Tue, Jan 13, 2015 at 11:42:07AM +, Qais Yousef wrote: > Ping > > On 12/19/2014 11:38 AM, Qais Yousef wrote: > >Fixes the following compilation error: > > > >include/sound/compress_driver.h: In function ‘snd_compr_drain_notify’: > >include/sound/compress_driver.h:177:2: error: implic

[PATCH 3/6] virtio/console: verify device has config space

2015-01-13 Thread Michael S. Tsirkin
Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/console needs config space access so make it fail gracefully if not there. Signed-off-by: Michael S. Tsirkin --- drivers/char/virtio_console.c | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH 1/6] virtio/9p: verify device has config space

2015-01-13 Thread Michael S. Tsirkin
Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/9p needs config space access so make it fail gracefully if not there. Signed-off-by: Michael S. Tsirkin --- net/9p/trans_virtio.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/net/

[PATCH 4/6] virtio/net: verify device has config space

2015-01-13 Thread Michael S. Tsirkin
Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/net needs config space access so make it fail gracefully if not there. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/

Re: [PATCH] dmaengine: k3: fix duplicate function definition

2015-01-13 Thread Vinod Koul
On Tue, Jan 13, 2015 at 02:23:13PM +0100, Arnd Bergmann wrote: > Commit db08425ebd51f ("dmaengine: k3: Split device_control") introduced > two new helper functions, which unfortunately have the same names > as the existing suspend/resume functions, resulting in a build error > when CONFIG_PM_SLEEP

[PATCH v2] clk: at91: keep slow clk enabled to prevent system hang

2015-01-13 Thread Boris Brezillon
All slow clk users are not properly claiming it (get + prepare + enable) before using it. If all users properly claiming this clock release it, the clock is disabled, but faulty users still depends on it, and the system hangs. This fix prevents the slow clock from being disabled, and should solve

[PATCH 5/6] virtio/scsi: verify device has config space

2015-01-13 Thread Michael S. Tsirkin
Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/scsi needs config space access so make it fail gracefully if not there. Signed-off-by: Michael S. Tsirkin --- drivers/scsi/virtio_scsi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH] ARM: dts: re-fromat AT91 part to match other entries

2015-01-13 Thread Nicolas Ferre
The entries are separated as ARM V4/V5 and ARM V7 as some other per-SoC config options may be removed in the near future. Signed-off-by: Nicolas Ferre --- Hi Olof, This is an attempt to match other ARM SoC families format. If you feel that the patch can be good, do not hesitate to take it yourse

[PATCH 6/6] virtio/balloon: verify device has config space

2015-01-13 Thread Michael S. Tsirkin
Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/balloon needs config space access so make it fail gracefully if not there. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_balloon.c | 6 ++ 1 file changed, 6 insertions(+) di

[PATCH 2/6] virtio/blk: verify device has config space

2015-01-13 Thread Michael S. Tsirkin
Some devices might not implement config space access (e.g. remoteproc used not to - before 3.9). virtio/blk needs config space access so make it fail gracefully if not there. Signed-off-by: Michael S. Tsirkin --- drivers/block/virtio_blk.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH 0/6] virtio: graceful failure with get == NULL

2015-01-13 Thread Michael S. Tsirkin
virtio 1.0 says device configuration is optional, but most drivers treat it as mandatory. Even if presented by device, guest bios might disable the BAR holding that configuration, so we can't assume it's there, but we also don't want to fail if not in case drivers can cope with it's absence - such

[PATCH] serial: digicolor: fix sysrq handling

2015-01-13 Thread Arnd Bergmann
Trying to build the digicolor-usart driver when sysrq is disabled results in a compile error: drivers/tty/serial/digicolor-usart.c: In function 'digicolor_uart_console_write': drivers/tty/serial/digicolor-usart.c:407:33: error: 'struct uart_port' has no member named 'sysrq' Like a lot of other

Re: [PATCH] i2c: designware: use {readl|writel}_relaxed instead of readl/writel

2015-01-13 Thread Wolfram Sang
On Thu, Dec 11, 2014 at 02:26:41PM +0800, Jisheng Zhang wrote: > readl/writel is too expensive especially on Cortex A9 w/ outer L2 cache. > This introduces i2c read/write errors on Marvell BG2/BG2Q SoCs when there > are heavy L2 cache maintenance operations at the same time. Reading this again, I

Re: [4/4] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2015-01-13 Thread David Paris
Hi Guenter, Please forget this implementation of ST LPC Watchdog, Lee has provided a new patchset. Search for "[STLinux Kernel] [PATCH 0/8] mfd: watchdog: rtc: New driver for ST's LPC IP" David On 01/13/2015 03:23 PM, Guenter Roeck wrote: On Thu, Oct 23, 2014 at 04:18:44PM +0100, Le

Re: [PATCH] i2c: designware: use {readl|writel}_relaxed instead of readl/writel

2015-01-13 Thread Mika Westerberg
On Tue, Jan 13, 2015 at 12:52:05PM +0100, Wolfram Sang wrote: > On Fri, Dec 19, 2014 at 10:43:15AM +0800, Jisheng Zhang wrote: > > Dear all, > > > > Is there any issue I need to resolve so that the patch can be merged? > > Adding Mika to the loop. He uses the driver a lot (and knows other > peopl

Re: [PATCH] clocksource: sirf: remove unused variable

2015-01-13 Thread Daniel Lezcano
On 01/13/2015 03:22 PM, Arnd Bergmann wrote: A recent rework of the driver left an obviously unused variable around, and now the compiler complains: clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init': clocksource/timer-marco.c:260:6: warning: unused variable 'timer_div' [-Wunused

Re: [PATCH 2/4] sh-pfc: Add emev2 pinmux support

2015-01-13 Thread Laurent Pinchart
Hi Niklas, Thank you for the patch. On Friday 12 December 2014 21:01:35 Niklas Söderlund wrote: > Add PFC support for the EMMA Mobile EV2 SoC including pin groups for > on-chip devices. > > Signed-off-by: Niklas Söderlund > --- > .../bindings/pinctrl/renesas,pfc-pinctrl.txt |1 + > d

Re: [PATCH 1/2] gpio: pcf857x: Propagate wake-up setting to parent irq controller

2015-01-13 Thread Linus Walleij
On Wed, Dec 10, 2014 at 2:36 PM, Geert Uytterhoeven wrote: > The pcf857x GPIO and interrupt controller uses dummy_irq_chip, which > does not implement irq_chip.irq_set_wake() and does not set > IRQCHIP_SKIP_SET_WAKE. > > This causes two s2ram issues if wake-up is enabled for the pcf857x GPIO > pi

[PATCH] usb: phy: mv-usb: fix usb_phy build errors

2015-01-13 Thread Arnd Bergmann
The driver was recently adapted to a core API change, but the change was incomplete, missing out the suspend helper and leaving an extraneous local variable around: usb/phy/phy-mv-usb.c: In function 'mv_otg_update_state': usb/phy/phy-mv-usb.c:341:18: warning: unused variable 'phy' [-Wunused-variab

Re: [RFC] A question about memcg/kmem

2015-01-13 Thread Johannes Weiner
On Tue, Jan 13, 2015 at 12:24:24PM +0300, Vladimir Davydov wrote: > Hi, > > There's one thing about kmemcg implementation that's bothering me. It's > about arrays holding per-memcg data (e.g. kmem_cache->memcg_params-> > memcg_caches). On kmalloc or list_lru_{add,del} we want to quickly > lookup t

[PATCH v3 3/4] ata: libahci: Allow using multiple regulators

2015-01-13 Thread Gregory CLEMENT
The current implementation of the libahci allows using multiple PHYs but not multiple regulators. This patch adds the support of multiple regulators. Until now it was mandatory to have a PHY under a subnode, now a port subnode can contain either a regulator or a PHY (or both). In order to be able

ata_eh_report() unable to handle kernel NULL pointer dereference

2015-01-13 Thread Sergey Senozhatsky
Hi, linux-next 20150112 [ 934.572323] ata2: exception Emask 0x50 SAct 0x0 SErr 0x4090800 action 0xe frozen [ 934.572329] ata2: irq_stat 0x00400040, connection status changed [ 934.572332] ata2: SError: { HostInt PHYRdyChg 10B8B DevExch } [ 934.572341] BUG: unable to handle kernel NULL pointe

Re: [4/4] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2015-01-13 Thread Guenter Roeck
On Thu, Oct 23, 2014 at 04:18:44PM +0100, Lee Jones wrote: > Signed-off-by: David Paris > Signed-off-by: Lee Jones Digging myself out of my hole. Sorry for the lte reply. > --- > drivers/watchdog/Kconfig | 16 +++ > drivers/watchdog/Makefile | 1 + > drivers/watchdog/st_wdt.c | 317 >

[PATCH v3 0/4] ata: libahci: Allow using a regulator for each port

2015-01-13 Thread Gregory CLEMENT
Hi, The current implementation of the libahci allows using one PHY per port but we still have one single regulator for the whole controller. This series adds the support of multiple regulators. This is the third version of the series. I use now the same binding introduced in the first version. T

[PATCH v3 2/4] Documentation: bindings: Add the regulator property to the sub-nodes AHCI bindings

2015-01-13 Thread Gregory CLEMENT
It is now possible to use a regulator property for each port of the AHCI controller. Signed-off-by: Gregory CLEMENT --- Documentation/devicetree/bindings/ata/ahci-platform.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/ata/ahci-

[PATCH v3 1/4] ata: libahci: Clean-up the ahci_platform_en/disable_phys functions

2015-01-13 Thread Gregory CLEMENT
The phy_ functions handle the NULL pointer case, so there is no need to skip them if there is a NULL pointer. Moreover, after the error label there is already no check on the pointer. This patch removes the unnecessary tests and brings some consistency. Signed-off-by: Gregory CLEMENT Acked-by: Ha

[PATCH v3 4/4] ARM: mvebu: Armada 385 GP: Add regulators to the SATA port

2015-01-13 Thread Gregory CLEMENT
Add the regulators to each SATA port. Signed-off-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-388-gp.dts | 126 1 file changed, 126 insertions(+) diff --git a/arch/arm/boot/dts/armada-388-gp.dts b/arch/arm/boot/dts/armada-388-gp.dts index 4df22bf91683..

[PATCH] clocksource: sirf: remove unused variable

2015-01-13 Thread Arnd Bergmann
A recent rework of the driver left an obviously unused variable around, and now the compiler complains: clocksource/timer-marco.c: In function 'sirfsoc_marco_timer_init': clocksource/timer-marco.c:260:6: warning: unused variable 'timer_div' [-Wunused-variable] Remove it. Signed-off-by: Arnd Ber

Re: [PATCH v3] ath10k: fixup wait_for_completion_timeout return handling

2015-01-13 Thread Kalle Valo
Nicholas Mc Guire writes: > wait_for_completion_timeout does not return negative values so the tests > for <= 0 are not needed and the case differentiation in the error handling > path unnecessary. > > Signed-off-by: Nicholas Mc Guire Thanks, applied to ath.git. -- Kalle Valo -- To unsubscrib

Re: [PATCH v3 3/3] media: au0828 remove video and vbi buffer timeout work-around

2015-01-13 Thread Devin Heitmueller
> I couldn't reproduce what I was seeing when I did patch v2 series > work. What I noticed was that I was seeing a few too many green screens > and I had to re-tune xawtv when the timeout code is in place. My > thinking was that this timeout handling could be introducing blank > green frames when t

Re: [PATCH] lib: proportions.c: Remove some unused functions

2015-01-13 Thread Peter Zijlstra
On Mon, Dec 22, 2014 at 01:26:26PM -0800, Andrew Morton wrote: > On Sat, 20 Dec 2014 15:51:53 +0100 Rickard Strandqvist > wrote: > > > Removes some functions that are not used anywhere: > > prop_change_shift() prop_descriptor_init() prop_fraction_percpu() > > prop_fraction_single() __prop_inc_p

Re: [PATCH 8/8] ath10k: fix error return code

2015-01-13 Thread Kalle Valo
Julia Lawall writes: > Return a negative error code on failure. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > identifier ret; expression e1,e2; > @@ > ( > if (\(ret < 0\|ret != 0\)) > { ... return ret; } > | >

Re: [PATCH] memcg: remove extra newlines from memcg oom kill log

2015-01-13 Thread Johannes Weiner
On Mon, Jan 12, 2015 at 10:45:39PM -0800, Greg Thelen wrote: > Commit e61734c55c24 ("cgroup: remove cgroup->name") added two extra > newlines to memcg oom kill log messages. This makes dmesg hard to read > and parse. The issue affects 3.15+. > Example: > Task in /t <<<

Re: [PATCH v3 3/3] media: au0828 remove video and vbi buffer timeout work-around

2015-01-13 Thread Shuah Khan
On 01/12/2015 09:44 PM, Devin Heitmueller wrote: > Hi Shuah, > > On Mon, Jan 12, 2015 at 9:56 PM, Shuah Khan wrote: >> au0828 does video and vbi buffer timeout handling to prevent >> applications such as tvtime from hanging by ensuring that the >> video frames continue to be delivered even when t

[GIT PULL] x86 cleanups for 3.20

2015-01-13 Thread Borislav Petkov
Hi guys, here just a bunch of minor cleanups for 3.20. Please pull, thanks. --- The following changes since commit b1940cd21c0f4abdce101253e860feff547291b0: Linux 3.19-rc3 (2015-01-05 17:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/

[PATCH] pcmcia: add missing include for new pci resource handler

2015-01-13 Thread Arnd Bergmann
The recently added rsrc_pci.c file calls pci_bus_alloc_resource without including the header file that declares it, and that sometimes causes a build warning on ARM: drivers/pcmcia/rsrc_pci.c: In function 'find_io_region': drivers/pcmcia/rsrc_pci.c:40:2: error: implicit declaration of function 'p

[PATCH] rtlwifi/rtl8192de: remove redundant else if check

2015-01-13 Thread Colin King
From: Colin Ian King The else if check condition checks for the opposite of the if check, hence the else if check is redundant and can be replaced with a simple else: if (rtlpriv->rtlhal.macphymode == SINGLEMAC_SINGLEPHY) { .. } else if (rtlpriv->rtlhal.macphymode != SINGLEMAC_SINGLEPHY)

[PATCH] Btrfs: avoid build warning on 32-bit

2015-01-13 Thread Arnd Bergmann
A recent change introduced a type cast from a private 64-bit value to a pointer, which works fine on 64-bit architectures, but not on 32-bit ones, where it produces a harmless compiler warning: fs/btrfs/extent_io.c: In function 'btrfs_free_io_failure_record': fs/btrfs/extent_io.c:2193:13: warning:

Re: Another SCHED_DEADLINE bug (with bisection and possible fix)

2015-01-13 Thread Peter Zijlstra
On Tue, Jan 12, 2015 at 12:26:40PM +0300, Kirill Tkhai wrote: > > Well, I'm inclined to agree to Luca's viewpoint. We should not change > > parameters of a throttled task or we may affect other tasks. > > Could you explain your viewpoint more? How does this affects other tasks? I agree with Juri

[PATCH] tools: ffs-aio-example: use endpoint addresses from descriptors

2015-01-13 Thread Robert Baldyga
This makes examples more platform independent and more compatible with USB standard, as endpoint addresses in given interface may differ between hardware platforms or even between configurations in single USB device. Signed-off-by: Robert Baldyga --- tools/usb/ffs-aio-example/multibuff/host_app/

FAST LOANS

2015-01-13 Thread FAST LOAN
VIEW DETAILS IN ATTACHED FILE 3.5 WONGA EXPRESS LOANS..pdf Description: Adobe PDF document

Re: [PATCH v3] hv: hv_fcopy: drop the obsolete message on transfer failure

2015-01-13 Thread Vitaly Kuznetsov
Dexuan Cui writes: > In the case the user-space daemon crashes, hangs or is killed, we > need to down the semaphore, otherwise, after the daemon starts next > time, the obsolete data in fcopy_transaction.message or > fcopy_transaction.fcopy_msg will be used immediately. It seems this patch got l

[PATCH 2/4] gpio: max732x: Rewrite IRQ code to use irq_domain API

2015-01-13 Thread Semen Protsenko
Signed-off-by: Semen Protsenko --- drivers/gpio/Kconfig|1 + drivers/gpio/gpio-max732x.c | 100 --- 2 files changed, 66 insertions(+), 35 deletions(-) diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 633ec21..d81d441 100644 --- a

[PATCH 1/4] gpio: max732x: Add device tree support

2015-01-13 Thread Semen Protsenko
Signed-off-by: Semen Protsenko --- drivers/gpio/gpio-max732x.c | 62 +++ 1 file changed, 51 insertions(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-max732x.c b/drivers/gpio/gpio-max732x.c index 6c67622..a642f78 100644 --- a/drivers/gpio/gpio-max732

[PATCH 4/4] gpio: max732x: Add DT binding documentation

2015-01-13 Thread Semen Protsenko
Add a devicetree binding documentation for the max732x driver. Signed-off-by: Semen Protsenko --- .../devicetree/bindings/gpio/gpio-max732x.txt | 59 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpio/gpio-max732x.txt diff --g

[RFC 1/4] nbd: Replace kthread_create with kthread_run

2015-01-13 Thread Markus Pargmann
kthread_run includes the wake_up_process() call, so instead of kthread_create() followed by wake_up_process() we can use this macro. Signed-off-by: Markus Pargmann --- drivers/block/nbd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/nbd.c b/drivers/bloc

[PATCH 0/4] gpio: max732x: Update MAX732X driver to use modern kernel API

2015-01-13 Thread Semen Protsenko
This patch series updates driver for MAX732X I/O expander to use modern kernel API (like Device Tree). Basically, I was needed this driver to work with kernel 3.8 on our ARM-based board, but it was in obsolete state (supporting only platform data from board-file). First patch makes driver work with

[RFC 4/4] nbd: Add support for nbd as root device

2015-01-13 Thread Markus Pargmann
Adding support to nbd to use it as a root device. This code essentially provides a minimal nbd-client implementation within the kernel. It opens a socket and makes the negotiation with the server. Afterwards it passes the socket to the normal nbd-code to handle the connection. The arguments for th

Re: [PATCH] fbdev: ssd1307fb: drop unused function ssd1307fb_write_data()

2015-01-13 Thread Maxime Ripard
On Mon, Jan 12, 2015 at 07:21:14PM +, Lad, Prabhakar wrote: > this patch drops the unused function ssd1307fb_write_data(). > > Signed-off-by: Lad, Prabhakar Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electron

Re: [PATCH 2/2] fbdev: ssd1307fb: check return value while setting offset

2015-01-13 Thread Prabhakar Lad
On Tue, Jan 13, 2015 at 1:39 PM, Maxime Ripard wrote: > On Tue, Jan 13, 2015 at 11:53:01AM +, Prabhakar Lad wrote: >> On Tue, Jan 13, 2015 at 11:43 AM, Tomi Valkeinen >> wrote: >> > On 08/01/15 10:17, Lad, Prabhakar wrote: >> >> this patch checks the return value of write command while >> >>

Re: [PATCH v2 2/8] PCI/MSI: Add hooks to populate the msi_domain field

2015-01-13 Thread Marc Zyngier
On 13/01/15 12:34, Yijing Wang wrote: >> static struct pci_bus *pci_alloc_child_bus(struct pci_bus *parent, >> struct pci_dev *bridge, int busnr) >> { >> @@ -713,6 +727,7 @@ static struct pci_bus *pci_alloc_child_bus(struct >> pci_bus *parent, >> brid

[RFC 3/4] nbd: Create helper functions for ioctls

2015-01-13 Thread Markus Pargmann
This patch prepares the nbd code for the nbd-root device patch. It moves the ioctl code into separate functions so they can be called directly. The patch creates nbd_set_total_size(), nbd_set_blksize(), nbd_set_sock() and nbd_set_timeout(). Signed-off-by: Markus Pargmann --- drivers/block/nbd.c

[RFC 0/4] nbd: root device support

2015-01-13 Thread Markus Pargmann
Hi, This series adds root device support to nbd. The last patch contains a simple and small implementation of the nbd-client to make the nbd negotiation. After the negotiation, the socket is bound to nbd0 so the rootfs can be mounted from nbd0. The connection parameters are passed as module parame

[RFC 2/4] nbd: Split 'DO_IT' into three functions

2015-01-13 Thread Markus Pargmann
The DO_IT ioctl does a lot of things to handle the connection. This patch splits the DO_IT ioctl routine into three functions nbd_connection_start()/run()/stop(). This makes it easier to read and allows other functions to call the same code. This patch prepares the DO_IT code for nbd-root device.

[PATCH v3 1/5] perf tools: [uclibc] fix statfs.f_type data type mismatch build error

2015-01-13 Thread Vineet Gupta
From: Alexey Brodkin ARC Linux uses the no legacy syscalls abi and corresponding uClibc headers statfs defines f_type to be U32 which causes perf build breakage http://git.uclibc.org/uClibc/tree/libc/sysdeps/linux/common-generic/bits/statfs.h --->8--- CC fs/fs.o f

[PATCH v3 0/5] Perf tool fixes for ARC + uClibc

2015-01-13 Thread Vineet Gupta
Hi, This series based off linux-next of 20150105 allows us to build/use perf for ARC with uClibc based userland. v3: Changes since v2 [2] * 1/5 : Ack from Jiri * 2/5 : no changes * 3/5 : sys/syscall.h included [Jiri] * 4/5 : no changes * 5/5 : -lpthread added to link target [J

[PATCH v3 5/5] perf tools: [uclibc] provide stub for pthread_attr_setaffinity_np

2015-01-13 Thread Vineet Gupta
uClibc Linuxthreads.old doesnt support pthread_attr_setaffinity_np() call ->8--- CC bench/futex-hash.o CC bench/futex-wake.o bench/futex-hash.c: In function 'bench_futex_hash': bench/futex-hash.c:161:3: error: implicit declaration of function

[PATCH v3 3/5] perf tools: [uclibc] Avoid build splat for syscall numbers

2015-01-13 Thread Vineet Gupta
This is due to duplicated unistd inclusion (via uClibc headers + kernel headers) Also seen on ARM uClibc based tools --- ARC build -->8- CC util/evlist.o In file included from ~/arc/k.org/arch/arc/include/uapi/asm/unistd.h:25:0, from util/../per

[PATCH v3 2/5] perf tools: [uclibc] Elide strlcpy warning

2015-01-13 Thread Vineet Gupta
->8-- CC bench/sched-pipe.o In file included from builtin-annotate.c:13:0: util/cache.h:76:15: warning: redundant redeclaration of 'strlcpy' [-Wredundant-decls] extern size_t strlcpy(char *dest, const char *src, size_t size); ^ In file incl

<    3   4   5   6   7   8   9   10   11   >