Re: [PATCH] cpu: rid cpu_hotplug_disabled check for cpu_down()

2013-04-29 Thread li guang
在 2013-04-29一的 10:29 +0530,Srivatsa S. Bhat写道: On 04/29/2013 10:12 AM, li guang wrote: 在 2013-04-29一的 10:00 +0530,Srivatsa S. Bhat写道: On 04/29/2013 08:19 AM, liguang wrote: in cpu_down(), _cpu_down() will do if (num_online_cpus() == 1) return -EBUSY;

Re: [PATCH v2 3/3] process cputimer is moving faster than its corresponding clock

2013-04-29 Thread KOSAKI Motohiro
(4/27/13 12:41 AM), Olivier Langlois wrote: Add thread group delta to cpu timer sample when computing a timer expiration. This is mandatory to make sure that the posix cpu timer does not fire too soon relative to the process cpu clock which do include the task group delta. test case to

[PATCH 1/2] posix-cpu-timers: fix acounting delta_exec twice

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Currently glibc rt/tst-cpuclock2 test(*) sporadically fail. Because scheduler delta can be accounted twice from thread_group_cputimer() and account_group_exec_runtime(). Finally, clock_nanosleep() wakes up before an argument. And that is posix

[PATCH 2/2] posix-cpu-timers: fix wrong timer initialization

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Currently glibc's rt/tst-cputimer1 testcase is spradically fail because a timer created by timer_create() may faire earlier than an argument. There are two faults. 1) cpu_timer_sample_group() adds task_delta_exec(current). But it is definity

Re: [PATCH V5 1/5] workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues

2013-04-29 Thread Viresh Kumar
Hey Tejun, On 27 April 2013 00:41, Tejun Heo t...@kernel.org wrote: Hey, Viresh. It's already too late for the upcoming merge window, but things generally look good to me and I'll apply the patchset once wq/for-3.11 opens. One nitpick tho. Obviously. I understand this and agree with you on

[GIT PULL] PCI changes for v3.10

2013-04-29 Thread Bjorn Helgaas
The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git tags/pci-v3.10-changes for you to fetch changes up to

Re: linux-next: Tree for Apr 26

2013-04-29 Thread Geert Uytterhoeven
On Mon, Apr 29, 2013 at 1:36 AM, Stephen Rothwell s...@canb.auug.org.au wrote: P.S. Geert, please trim your replies. Sorry, I noticed only after sending. (First time I wanted to reply without quoting anything using the new gmail web interface. So it was not intuitive ;-) Gr{oetje,eeting}s,

Re: [PATCH net v2 2/3] unix/dgram: fix peeking with an offset larger than data in queue

2013-04-29 Thread Cong Wang
On Fri, 26 Apr 2013 at 18:35 GMT, Benjamin Poirier bpoir...@suse.de wrote: struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned int flags, - int *peeked, int *off, int *err) + int *peeked, int *_off, int *err) { -

Re: linux-next: Tree for Apr 26

2013-04-29 Thread Sedat Dilek
On Mon, Apr 29, 2013 at 8:58 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Apr 29, 2013 at 1:36 AM, Stephen Rothwell s...@canb.auug.org.au wrote: P.S. Geert, please trim your replies. Sorry, I noticed only after sending. (First time I wanted to reply without quoting anything

[PATCH] openrisc: call do_notify_resume() with interrupts enabled

2013-04-29 Thread Stefan Kristiansson
A signal delivered through do_notify_resume() would cause the irqs_disabled() check in _local_bh_enable_ip() to be triggered. Enable interrupts before calling do_notify_resume(). Signed-off-by: Stefan Kristiansson stefan.kristians...@saunalahti.fi --- arch/openrisc/kernel/entry.S | 1 + 1 file

Re: [PATCH] lib: add weak __clzsi2()/__clzdi2() functions

2013-04-29 Thread Geert Uytterhoeven
On Mon, Apr 29, 2013 at 7:40 AM, Chanho Min chanho@lge.com wrote: Some architectures need __clzsi2() or __clzdi2() for __builtin_clz and It causes build failure. They can be implemented using the fls() and overridden by linking arch-specific versions may not be implemented yet. Reference:

Re: [PATCH -tip/apic 2/2] x86/MSI: Allocate as many multiple-MSIs as requested

2013-04-29 Thread Jan Beulich
On 29.04.13 at 06:33, Alexander Gordeev agord...@redhat.com wrote: --- a/drivers/iommu/irq_remapping.c +++ b/drivers/iommu/irq_remapping.c @@ -55,19 +55,19 @@ static int do_setup_msi_irqs(struct pci_dev *dev, int nvec) unsigned int irq; struct msi_desc *msidesc; - nvec

linux-next: manual merge of the vhost tree with the net-next tree

2013-04-29 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in drivers/vhost/net.c between commit 70181d51209c (vhost_net: remove tx polling state) from the net-next tree and commits 11569c7119a6 (vhost: Allow device specific fields per vq), 15a51679a0a1 (vhost: Move vhost-net zerocopy

Re: [PATCH 10/14] sched: update the buddy CPU

2013-04-29 Thread Vincent Guittot
On 28 April 2013 10:20, Francesco Lavra francescolavra...@gmail.com wrote: Hi, On 04/25/2013 07:23 PM, Vincent Guittot wrote: Periodically updates the buddy of a CPU according to the current activity of the system. A CPU is its own buddy if it participates to the packing effort. Otherwise,

Re: [PATCH] module: fix mutiple defined issue

2013-04-29 Thread Uwe Kleine-König
On Mon, Apr 29, 2013 at 02:32:01PM +0900, Inki Dae wrote: This patch fixes mutiple defined issue to MODULE_DEVICE_TABLE s/mutiple/multiple/, still this sentence doesn't sound right. What is the error message you see? The issue could be induced when some framework which includes two more sub

Re: For review: user_namespaces(7) man page

2013-04-29 Thread richard -rw- weinberger
On Thu, Mar 21, 2013 at 4:52 PM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hi Serge, On Fri, Mar 15, 2013 at 4:38 PM, Serge Hallyn serge.hal...@ubuntu.com wrote: Hi, you mention that after creating a new user namespace you at first have all capabilities in the new ns. You

Re: [PATCH v2 net-next 2/3] x86: bpf_jit_comp: support BPF_S_ANC_SECCOMP_LD_W instruction

2013-04-29 Thread Xi Wang
On Sat, Apr 27, 2013 at 9:21 PM, Eric Dumazet eric.duma...@gmail.com wrote: I would feel more comfortable if you added : if (seen SEEN_DATAREF) { pr_err_once(SECCOMP_LD_W assertion failed\n): goto out; } This way, if BPF is changed in the

[PATCHv2 0/3] Add support for velocity network driver on platform devices

2013-04-29 Thread Tony Prisk
v2 changes: Drop patch #1 as requested by David Miller. Correct the PHYID_ICPLUS_IP101A MII bits - should be ON, rather than OFF. Read the platform rev_id from the correct register [regs-rev_id]. It's possible this would work for the PCI version as well and would remove the need for the 'if (pci)'

[PATCHv2 2/3] net: velocity: Convert to generic dma functions

2013-04-29 Thread Tony Prisk
Remove the pci_* dma functions and replace with the more generic versions. In preparation of adding platform support, a new struct device *dev is added to struct velocity_info which can be used by both the pci and platform code. Signed-off-by: Tony Prisk li...@prisktech.co.nz ---

[PATCHv2 1/3] net: velocity: Rename vptr-dev to vptr-netdev

2013-04-29 Thread Tony Prisk
Improve the clarity of the code in preparation for converting the dma functions to generic versions, which require a struct device *. This makes it possible to store a 'struct device *dev' in the velocity_info structure. Signed-off-by: Tony Prisk li...@prisktech.co.nz ---

[PATCHv2 3/3] net: velocity: Add platform device support to VIA velocity driver

2013-04-29 Thread Tony Prisk
Add support for the VIA Velocity network driver to be bound to a OF created platform device. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- .../devicetree/bindings/net/via-velocity.txt | 20 + drivers/net/ethernet/via/Kconfig |3 +-

linux-next: manual merge of the arm-soc tree with the xen-arm tree

2013-04-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-virt/platsmp.c between commit fe4bff02886b (arm: introduce psci_smp_ops) from the xen-arm tree and commit c0114709ed85 (irqchip: gic: Perform the gic_secondary_init() call via CPU notifier) from the arm-soc tree.

[v2,1/3] ARM: dts: AM33XX: Add ELM node

2013-04-29 Thread Gupta, Pekon
From: avinash philip avinashphi...@ti.com From: Philip, Avinash avinashphi...@ti.com Add ELM data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Tested-by: Pekon Gupta pe...@ti.com --- Changes since v2: -

[v2,2/3] ARM: dts: AM33XX: Add GPMC node

2013-04-29 Thread Gupta, Pekon
From: avinash philip avinashphi...@ti.com From: Philip, Avinash avinashphi...@ti.com Add GPMC data node to AM33XX device tree file. Signed-off-by: Philip Avinash avinashphi...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk Tested-by: Pekon Gupta pe...@ti.com --- Changes since v2: -

[v2, 3/3] ARM: dts: AM33XX: Add NAND flash device tree data to am335x-evm

2013-04-29 Thread Gupta, Pekon
From: avinash philip avinashphi...@ti.com NAND flash connected in am335x-evm on GPMC controller. This patch adds device tree node in am3355-evm with GPMC contoller timing for NAND flash interface, NAND partition table, ECC scheme, elm handle id. Signed-off-by: Philip Avinash avinashphi...@ti.com

RE: [PATCH] module: fix mutiple defined issue

2013-04-29 Thread Inki Dae
Hi, -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Uwe Kleine-Konig Sent: Monday, April 29, 2013 4:35 PM To: Inki Dae Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; dri-

[PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the mt9p031 sensor driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc:

perf: report loops endlessly if record was killed via SIGTERM

2013-04-29 Thread Mike Galbraith
Boring notabug report, but.. (Dr. Dr., perf acts all dainbramaged when you shoot it in the head) reproducer: perf record -a -g sleep 1;whatever;killall perf Discovered because AIM7 needs input, and does not run properly when profiled via the more conventional perf record -a -g -- ./multitask

Re: linux-next: Tree for Apr 26

2013-04-29 Thread Matt Fleming
On 29/04/13 00:36, Stephen Rothwell wrote: Commit e29c2de5f591 (Merge tag 'v3.9-rc8' into efi-for-tip) by Matt Fleming from the tip tree merged v3.9-rc8 (which has 0635eb8a54cf) with the branch that contains 048517722cde but lost the select UCS2_STRING which should be in

Re: [PATCH] HID: Add PID for Japanese version of NE4K keyboard

2013-04-29 Thread Jiri Kosina
On Mon, 29 Apr 2013, Adam Jiang wrote: This patche adds PID of Japanese Natual Ergonomic Keyboard 4000. HID NE4K driver depends on this PID for determining its quirks. F14-F18 keys would not work without the patch. Signed-off-by: Adam Jiang jiang.a...@gmail.com --- drivers/hid/hid-core.c

Re: [PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Sascha Hauer
On Mon, Apr 29, 2013 at 01:30:01PM +0530, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com add OF support for the mt9p031 sensor driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Hans Verkuil hans.verk...@cisco.com Cc: Laurent Pinchart

linux-next: manual merge of the akpm tree with the vfs tree

2013-04-29 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/proc/internal.h between commit 4608da4a9433 (proc: Move non-public stuff from linux/proc_fs.h to fs/proc/internal.h) from the vfs tree and commit mm, vmalloc: move get_vmalloc_info() to vmalloc.c from the akpm tree. I

Re: linux-next: manual merge of the arm-soc tree with the xen-arm tree

2013-04-29 Thread Catalin Marinas
Stephen, On Mon, Apr 29, 2013 at 08:54:26AM +0100, Stephen Rothwell wrote: Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-virt/platsmp.c between commit fe4bff02886b (arm: introduce psci_smp_ops) from the xen-arm tree and commit c0114709ed85 (irqchip: gic: Perform

linux-next: manual merge of the akpm tree with the vfstree

2013-04-29 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/proc/internal.h between commit 4608da4a9433 (proc: Move non-public stuff from linux/proc_fs.h to fs/proc/internal.h) from the vfs tree and commit pagemap: introduce the /proc/PID/pagemap2 file from the akpm tree. I fixed

v3.9.0-rc8 : oops in tick_do_update_jiffies64+0xbc/0x110

2013-04-29 Thread Mark Jackson
I've been experiencing several crashes all pointing exactly the same place in the same tick routine (see below). The exception stack trace at the end changes depending on when the oops occurs. I've had the oops occur maybe 6 times in the last 50 reboots. Any ideas ? Mark J. --- [

linux-next: manual merge of the akpm tree with the vfs tree

2013-04-29 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in ipc/msgutil.c between commit b3ecda5869da (proc: Split the namespace stuff out into linux/proc_ns.h) from the vfs tree and commit ipc/msgutil.c: use linux/uaccess.h from the akpm tree. I fixed it up (see below) and can carry

[GIT PULL] s390 patches for the 3.10 merge window #1

2013-04-29 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: This is the first batch of s390 patches for the 3.10 merge window. Included are some performance enhancements: storage key

linux-next: manual merge of the akpm tree with Linus' tree

2013-04-29 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/aio.c between commit 91d80a84bbc8 (aio: fix possible invalid memory access when DEBUG is enabled) from Linus' tree and commit aio: dprintk() - pr_debug() from the akpm tree. I fixed it up (see below) and can carry the fix

Re: [PATCH] Add a sysctl for numa_balancing.

2013-04-29 Thread Mel Gorman
On Wed, Apr 24, 2013 at 04:56:24PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com As discussed earlier, this adds a working sysctl to enable/disable automatic numa memory balancing at runtime. This was possible earlier through debugfs, but only with special debugging

Build-failure with old files in build-directory (Was: Linux 3.9 released)

2013-04-29 Thread Matthias Schniedermeyer
On 28.04.2013 17:56, Linus Torvalds wrote: I'm not sure if it is supported, but building with a O= -directory that was previously used to build a 3.8.9-kernel that was cleaned (but not mrpropered) before building 3.9 results in a build-failure: make[2]: *** No rule to make target

Re: linux-next: Tree for Apr 26

2013-04-29 Thread Stephen Rothwell
On Mon, 29 Apr 2013 09:11:13 +0100 Matt Fleming matt.flem...@intel.com wrote: On 29/04/13 00:36, Stephen Rothwell wrote: Commit e29c2de5f591 (Merge tag 'v3.9-rc8' into efi-for-tip) by Matt Fleming from the tip tree merged v3.9-rc8 (which has 0635eb8a54cf) with the branch that contains

Re: 3.9-rc5: Encountedred INFO: rcu_sched self-detected stall on CPU due to 09a9f1d27

2013-04-29 Thread Michel Lespinasse
On Mon, Apr 15, 2013 at 6:27 PM, Hugh Dickins hu...@google.com wrote: On Mon, 15 Apr 2013, Michel Lespinasse wrote: sys_brk() passes the length as the difference of two page aligned addresses, so it's fine. But vm_brk() doesn't - it calls do_brk() which page aligns the length, but then

Re: [PATCH v9 1/2] arm: introduce psci_smp_ops

2013-04-29 Thread Will Deacon
On Sun, Apr 28, 2013 at 03:50:49PM +0100, Stefano Stabellini wrote: Rename virt_smp_ops to psci_smp_ops and move them to arch/arm/kernel/psci_smp.c. Remove mach-virt/platsmp.c, now unused. Compile psci_smp if CONFIG_ARM_PSCI and CONFIG_SMP. Add a cpu_die smp_op based on psci_ops.cpu_off.

Re: [PATCH 1/4] clocksource: nomadik-mtu: fix up clocksource/timer

2013-04-29 Thread Linus Walleij
On Sat, Apr 27, 2013 at 2:12 AM, Olof Johansson o...@lixom.net wrote: On Sat, Apr 20, 2013 at 03:19:43PM +0200, Linus Walleij wrote: On Sat, Apr 20, 2013 at 3:08 PM, Linus Walleij linus.wall...@linaro.org wrote: The Nomadik clocksource driver has had a bad define making it impossible to

[PATCH RESEND 1/5] watchdog: dw_wdt: use devm_clk_get()

2013-04-29 Thread Jingoo Han
Use devm_clk_get() to make cleanup paths more simple. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/dw_wdt.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/dw_wdt.c b/drivers/watchdog/dw_wdt.c index 2037669..2e70fd0 100644 ---

[PATCH RESEND 2/5] watchdog: imx2_wdt: use devm_clk_get()

2013-04-29 Thread Jingoo Han
Use devm_clk_get() to make cleanup paths more simple. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/imx2_wdt.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c index ff90882..0c2b075

[PATCH RESEND 3/5] watchdog: pnx4008_wdt: use devm_clk_get()

2013-04-29 Thread Jingoo Han
Use devm_clk_get() to make cleanup paths more simple. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/pnx4008_wdt.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/pnx4008_wdt.c b/drivers/watchdog/pnx4008_wdt.c index

[PATCH RESEND 4/5] watchdog: shwdt: use devm_clk_get()

2013-04-29 Thread Jingoo Han
Use devm_clk_get() to make cleanup paths more simple. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/shwdt.c | 16 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/watchdog/shwdt.c b/drivers/watchdog/shwdt.c index 6185af2..ea2154b

[PATCH RESEND 5/5] watchdog: sp805_wdt: use devm_clk_get()

2013-04-29 Thread Jingoo Han
Use devm_clk_get() to make cleanup paths more simple. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/sp805_wdt.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/sp805_wdt.c b/drivers/watchdog/sp805_wdt.c index 8872642..58df98a

Re: [PATCH 1/2] acpi: video: add function to support unregister backlight

2013-04-29 Thread joeyli
Hi Dmitry, Thanks for your review and suggestions first! 於 一,2013-04-22 於 21:12 -0700,Dmitry Torokhov 提到: On Mon, Apr 22, 2013 at 08:39:15PM +0800, Chun-Yi Lee wrote: From: Lee, Chun-Yi j...@suse.com +static acpi_status +find_video_unregister_backlight(acpi_handle handle, u32 lvl, void

Re: [PATCH 2/2] acer-wmi: add Acer Aspire 5750G to video vendor list but keep acpi video driver

2013-04-29 Thread joeyli
Hi Dmitry, Thanks for your review and suggestion! 於 一,2013-04-22 於 21:04 -0700,Dmitry Torokhov 提到: On Mon, Apr 22, 2013 at 08:39:14PM +0800, Chun-Yi Lee wrote: From: Lee, Chun-Yi j...@suse.com After Andrzej's testing, we found the acpi backlight methods broken on Acer Aspire 5750G but

lttng and full nohz

2013-04-29 Thread Mats Liljegren
I've been investigating why lttng destroys full nohz mode, and the root cause is that lttng uses timers for flushing trace buffers. So I'm planning on moving the timers to the ticking CPU, so that any CPU using full nohz mode can continue to do so even though they might have tracepoints. I can

[PATCH RESEND 1/2] watchdog: s3c2410_wdt: use dev_err()/dev_info() instead of pr_err()/pr_info()

2013-04-29 Thread Jingoo Han
dev_err()/dev_info() are more preferred than pr_err()/pr_info(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/s3c2410_wdt.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/s3c2410_wdt.c b/drivers/watchdog/s3c2410_wdt.c index

[PATCH RESEND 2/2] watchdog: s3c2410_wdt: convert s3c2410wdt to dev_pm_ops

2013-04-29 Thread Jingoo Han
Instead of using legacy suspend/resume methods, using newer dev_pm_ops structure allows better control over power management. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/s3c2410_wdt.c | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git

[PATCH RESEND 1/2] watchdog: mtx1-wdt: use devm_gpio_request_one()

2013-04-29 Thread Jingoo Han
Use devm_gpio_request_one() to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/mtx-1_wdt.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c index 14dab6f..b434111

[PATCH RESEND 2/2] watchdog: wm831x_wdt: use devm_gpio_request_one()

2013-04-29 Thread Jingoo Han
Use devm_gpio_request_one() to make cleanup paths simpler. Also, GPIOF_DIR_OUT | GPIOF_INIT_LOW is replaced with GPIOF_OUT_INIT_LOW. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/wm831x_wdt.c | 17 ++--- 1 files changed, 6 insertions(+), 11 deletions(-) diff

[PATCH RESEND 1/7] watchdog: at32ap700x_wdt: use devm_*() functions

2013-04-29 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/at32ap700x_wdt.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/watchdog/at32ap700x_wdt.c b/drivers/watchdog/at32ap700x_wdt.c

[PATCH RESEND 2/7] watchdog: bcm63xx_wdt: use devm_ioremap_nocache()

2013-04-29 Thread Jingoo Han
Use devm_ioremap_nocache() to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/bcm63xx_wdt.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/bcm63xx_wdt.c b/drivers/watchdog/bcm63xx_wdt.c index

[PATCH RESEND 3/7] watchdog: mv64x60_wdt: use devm_ioremap()

2013-04-29 Thread Jingoo Han
Use devm_ioremap() to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/mv64x60_wdt.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/mv64x60_wdt.c b/drivers/watchdog/mv64x60_wdt.c index c7fb878..e4cf980

[PATCH RESEND 4/7] watchdog: nuc900_wdt: use devm_*() functions

2013-04-29 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/nuc900_wdt.c | 45 1 files changed, 9 insertions(+), 36 deletions(-) diff --git a/drivers/watchdog/nuc900_wdt.c

[PATCH RESEND 5/7] watchdog: rc32434_wdt: use devm_ioremap_nocache() functions

2013-04-29 Thread Jingoo Han
Use devm_ioremap_nocache() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/rc32434_wdt.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/watchdog/rc32434_wdt.c b/drivers/watchdog/rc32434_wdt.c

[PATCH RESEND 6/7] watchdog: riowd: use devm_kzalloc()

2013-04-29 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/riowd.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/watchdog/riowd.c b/drivers/watchdog/riowd.c index 0040451..13363ad 100644 ---

[PATCH RESEND 7/7] watchdog: ts72xx_wdt: use devm_*() functions

2013-04-29 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/ts72xx_wdt.c | 64 +++-- 1 files changed, 11 insertions(+), 53 deletions(-) diff --git a/drivers/watchdog/ts72xx_wdt.c

Re: [PATCH 2/5] Add aix lvm partitions support files

2013-04-29 Thread Karel Zak
On Thu, Apr 25, 2013 at 11:10:26PM +0200, Philippe De Muyter wrote: +int aix_partition(struct parsed_partitions *state) +{ + int ret = 0; + Sector sect; + unsigned char *d; + u32 pp_bytes_size; + u32 pp_blocks_size = 0; + u32 vgda_sector = 0; + u32 vgda_len =

Re: [tpmdd-devel] tpm_tis driver failed to suspend, error -62

2013-04-29 Thread peterasplund
2013-04-23 18:29 skrev Kent Yoder: On Tue, Apr 23, 2013 at 10:03 AM, peteraspl...@gentoo.se wrote: 2013-04-23 16:43 skrev Kent Yoder: On Tue, Apr 23, 2013 at 04:30:53PM +0200, peteraspl...@gentoo.se wrote: 2013-04-11 23:41 skrev Kent Yoder: On Sat, Apr 06, 2013 at 06:00:59PM +0200,

Re: linux-next: manual merge of the arm-soc tree with the xen-arm tree

2013-04-29 Thread Stefano Stabellini
On Mon, 29 Apr 2013, Catalin Marinas wrote: Stephen, On Mon, Apr 29, 2013 at 08:54:26AM +0100, Stephen Rothwell wrote: Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-virt/platsmp.c between commit fe4bff02886b (arm: introduce psci_smp_ops) from the xen-arm

Re: [PATCH] openrisc: call do_notify_resume() with interrupts enabled

2013-04-29 Thread Stefan Kristiansson
On Mon, Apr 29, 2013 at 10:12:37AM +0300, Stefan Kristiansson wrote: A signal delivered through do_notify_resume() would cause the irqs_disabled() check in _local_bh_enable_ip() to be triggered. Enable interrupts before calling do_notify_resume(). Signed-off-by: Stefan Kristiansson

Re: [PATCH] module: fix mutiple defined issue

2013-04-29 Thread Russell King - ARM Linux
On Mon, Apr 29, 2013 at 02:32:01PM +0900, Inki Dae wrote: This patch fixes mutiple defined issue to MODULE_DEVICE_TABLE The issue could be induced when some framework which includes two more sub drivers, is built as one moudle because those sub drivers could have their own

[PATCH] rtc: rs5c372: add R2221T/L variant to the driver

2013-04-29 Thread Jan Luebbe
From: Lucas Stach l.st...@pengutronix.de Register layout is the same, so just add the variant to the appropriate places. Signed-off-by: Lucas Stach l.st...@pengutronix.de Signed-off-by: Jan Luebbe j...@pengutronix.de --- drivers/rtc/rtc-rs5c372.c | 5 + 1 file changed, 5 insertions(+) diff

Re: [PATCH] x86, efi: initial the local variable of DataSize to zero

2013-04-29 Thread Matt Fleming
On 26/04/13 18:19, Lee, Chun-Yi wrote: That will be better initial the value of DataSize to zero for the input of GetVariable(), otherwise we will feed a random value. The debug log of input DataSize like this: ... [ 195.915612] EFI Variables Facility v0.08 2004-May-17 [ 195.915819] efi:

Re: [PATCH] perf: powerpc: Fix compile errors in bp_signal files

2013-04-29 Thread Jiri Olsa
On Fri, Apr 26, 2013 at 10:33:21AM -0700, Sukadev Bhattiprolu wrote: From 0e27e218def9ae630cc07efbd21664c150a3727a Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Date: Fri, 26 Apr 2013 10:17:56 -0700 Subject: [PATCH] perf: powerpc: Fix compile errors in bp_signal

Re: [PATCH 21/26] perf tools: Switch to full patch C include directories

2013-04-29 Thread Jiri Olsa
On Fri, Apr 26, 2013 at 10:26:53AM -0600, David Ahern wrote: On 4/24/13 3:37 AM, Jiri Olsa wrote: Switching to full patch C include directories, to make the includes clear. s/patch/path/ ? email subject line too ok, thanks jirka -- To unsubscribe from this list: send the line

[PATCH v6 7/9] usb: musb: omap2430: use the new generic PHY framework

2013-04-29 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on/get_sync and power_off/put_sync to align with the new PHY framework. musb-xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a

[PATCH v6 4/9] usb: phy: twl4030: twl4030 shouldn't be subsys_initcall

2013-04-29 Thread Kishon Vijay Abraham I
Changed the inticall from subsys_initcall to module_init for twl4030-usb. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy-twl4030-usb.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/usb/phy/phy-twl4030-usb.c

[PATCH v6 1/9] drivers: phy: add generic PHY framework

2013-04-29 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by

[PATCH v6 0/9] Generic PHY Framework

2013-04-29 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only to devices that uses external PHY (PHY functionality is not embedded

[PATCH v6 2/9] usb: phy: omap-usb2: use the new generic PHY framework

2013-04-29 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. Now the power off and power on are done in omap_usb_power_off and omap_usb_power_on respectively. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new framework will break

[PATCH v6 3/9] usb: phy: twl4030: use the new generic PHY framework

2013-04-29 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. For powering on and powering off the PHY, power_on and power_off ops are used. Once the MUSB OMAP glue is adapted to the new framework, the suspend and resume ops of usb phy library will be removed. However using the old usb phy library cannot

[PATCH v6 6/9] ARM: dts: omap: update usb_otg_hs data

2013-04-29 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at

RE: [PATCH] module: fix mutiple defined issue

2013-04-29 Thread Inki Dae
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Russell King - ARM Linux Sent: Monday, April 29, 2013 6:52 PM To: Inki Dae Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; dri-

[PATCH v6 9/9] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-04-29 Thread Kishon Vijay Abraham I
Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy-twl4030-usb.c | 55 - 1 file changed, 12

[PATCH v6 8/9] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-04-29 Thread Kishon Vijay Abraham I
Now that omap-usb2 is adapted to the new generic PHY framework, *set_suspend* ops can be removed from omap-usb2 driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy-omap-usb2.c | 24 1 file changed, 24 deletions(-) diff --git

Re: [PATCH 1/2] acpi: video: add function to support unregister backlight

2013-04-29 Thread joeyli
於 五,2013-04-26 於 13:24 +0800,Aaron Lu 提到: On 04/22/2013 08:39 PM, Chun-Yi Lee wrote: From: Lee, Chun-Yi j...@suse.com There have situation we unregister whole acpi/video driver by downstream driver just want to remove backlight control interface of acpi/video. It caues we lost

[PATCH v6 5/9] ARM: OMAP: USB: Add phy binding information

2013-04-29 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information (phy device name) should be added in the platform data of the controller. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/usb-musb.c |6 +- include/linux/usb/musb.h |

[PATCH] AHCI: Make distinct names for ports in /proc/interrupts

2013-04-29 Thread Alexander Gordeev
Currently all interrupts assigned to AHCI ports show up in '/proc/interrupts' as 'ahci'. This fix adds port numbers as suffixes and hence makes the descriptions distinct. Reported-by: Jan Beulich jbeul...@suse.com Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/ata/ahci.c |6

Re: [PATCH RESEND 5/5] watchdog: sp805_wdt: use devm_clk_get()

2013-04-29 Thread Viresh Kumar
On Mon, Apr 29, 2013 at 2:46 PM, Jingoo Han jg1@samsung.com wrote: Use devm_clk_get() to make cleanup paths more simple. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/sp805_wdt.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) You should have used

Re: [linux-next-20130422] Bug in SLAB?

2013-04-29 Thread Pekka Enberg
On Mon, Apr 29, 2013 at 5:40 AM, Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: Tetsuo Handa wrote: Also, kmalloc_index() in include/linux/slab.h can return 0 to 26. If (MAX_ORDER + PAGE_SHIFT - 1) 25 is true and kmalloc_index(64 * 1024 * 1024) is requested (I don't know whether such

Re: [PATCH v2 net-next 3/3] ARM: net: bpf_jit_32: support BPF_S_ANC_SECCOMP_LD_W instruction

2013-04-29 Thread Daniel Borkmann
On 04/27/2013 08:32 PM, Xi Wang wrote: On Sat, Apr 27, 2013 at 2:27 AM, Daniel Borkmann dbork...@redhat.com wrote: Besides all that, I think I also pointed you to a patch that already made it in for ARM, not sure why you keep posting the ARM JIT implementation? That's why I asked in the

[PATCH] f2fs: check truncation of mapping after lock_page

2013-04-29 Thread Jaegeuk Kim
We call lock_page when we need to update a page after readpage. Between grab and lock page, the page can be truncated by other thread. So, we should check the page after lock_page whether it was truncated or not. Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/checkpoint.c | 4

[PATCH] f2fs: use f2fs_iget_nowait again

2013-04-29 Thread Jaegeuk Kim
Previously, I removed f2fs_iget_nowait() through the commit: d4686d56ec912d55fd8a9d6d509de50de24e90ab f2fs: avoid balanc_fs during evict_inode. But, there is another error scenario as follows. Thread 1: - writeback_sb_inodes - do_writepages - f2fs_write_data_pages - write_cache_pages -

[PATCH] f2fs: modify the number of issued pages to merge IOs

2013-04-29 Thread Jaegeuk Kim
When testing f2fs on an SSD, I found some 128 page IOs followed by 1 page IO were issued by f2fs_write_node_pages. This means that there were some mishandling flows which degrades performance. Previous f2fs_write_node_pages determines the number of pages to be written, nr_to_write, as follows.

Re: [PATCH] x86, efi: initial the local variable of DataSize to zero

2013-04-29 Thread joeyli
於 六,2013-04-27 於 01:19 +0800,Lee, Chun-Yi 提到: That will be better initial the value of DataSize to zero for the input of GetVariable(), otherwise we will feed a random value. The debug log of input DataSize like this: ... [ 195.915612] EFI Variables Facility v0.08 2004-May-17 [

Re: [PATCH v9 1/2] arm: introduce psci_smp_ops

2013-04-29 Thread Stefano Stabellini
Russell, are you OK with this series now? Olof, Arnd, when you merge this series don't forget to include this fix from Stephen Rothwell: http://marc.info/?l=linux-arm-kernelm=136722292031420w=2 On Mon, 29 Apr 2013, Will Deacon wrote: On Sun, Apr 28, 2013 at 03:50:49PM +0100, Stefano

Re: [PATCH] x86, efi: initial the local variable of DataSize to zero

2013-04-29 Thread joeyli
於 一,2013-04-29 於 18:25 +0800,joeyli 提到: 於 六,2013-04-27 於 01:19 +0800,Lee, Chun-Yi 提到: That will be better initial the value of DataSize to zero for the input of GetVariable(), otherwise we will feed a random value. The debug log of input DataSize like this: ... [ 195.915612] EFI

Re: [PATCH 2/2] posix-cpu-timers: fix wrong timer initialization

2013-04-29 Thread Peter Zijlstra
On Mon, Apr 29, 2013 at 02:26:02AM -0400, kosaki.motoh...@gmail.com wrote: From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Currently glibc's rt/tst-cputimer1 testcase is spradically fail because a timer created by timer_create() may faire earlier than an argument. There are two

[PATCH v2] openrisc: call do_notify_resume() with interrupts enabled

2013-04-29 Thread Stefan Kristiansson
A signal delivered through do_notify_resume() would cause the irqs_disabled() check in _local_bh_enable_ip() to be triggered. Enable interrupts before calling do_notify_resume(), but read the current_thread_info-flags before doing so. Signed-off-by: Stefan Kristiansson

Re: [PATCH 1/2] f2fs: reorganize f2fs_vm_page_mkwrite

2013-04-29 Thread Namjae Jeon
2013/4/29, Jaegeuk Kim jaegeuk@samsung.com: Hi, Hi. Jaegeuk. 2013-04-28 (일), 09:04 +0900, Namjae Jeon: From: Namjae Jeon namjae.j...@samsung.com Few things can be changed in the default mkwrite function 1) Make file_update_time at the start before acquiring any lock 2) the condition

GFS2: Pull request (merge window)

2013-04-29 Thread Steven Whitehouse
Hi, Please consider pulling the following changes, Steve. -- There is not a whole lot of change this time - there are some further changes which are in the works, but those will be held over until next time. Here there are

Re: [PATCH RFC] media: i2c: mt9p031: add OF support

2013-04-29 Thread Prabhakar Lad
Hi Sascha, Thanks for the quick review. On Mon, Apr 29, 2013 at 1:51 PM, Sascha Hauer s.ha...@pengutronix.de wrote: Snip +Required Properties : +- compatible : value should be either one among the following + (a) aptina,mt9p031-sensor for mt9p031 sensor + (b) aptina,mt9p031m-sensor

Re: [PATCH] PCI: Fix racing for pci device removing via sysfs

2013-04-29 Thread Gu Zheng
Hi Yinghai, On 04/27/2013 05:01 AM, Yinghai Lu wrote: On Fri, Apr 26, 2013 at 1:53 PM, Bjorn Helgaas bhelg...@google.com wrote: You can't be serious. This is a disgusting mess. Checking a list pointer for LIST_POISON1? As far as I'm concerned, this is a waste of my time. Well, then

  1   2   3   4   5   6   7   8   9   10   >