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/util.c between commit 823a5ed16606 ("ipc_schedule_free() can do vfree() now") from the vfs tree and commit "ipc: make refcounter atomic" from the akpm tree. I fixed it up (I hope - see below) and can carry the fix as

generic_make_request not locked

2013-04-29 Thread remaper
/* * We only want one ->make_request_fn to be active at a time, * else stack usage with stacked devices could be a problem. * So use current->bio_list to keep a list of requests * submited by a make_request_fn function. * current->bio_list is also used as a flag to say if *

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

2013-04-29 Thread Guenter Roeck
On Tue, Apr 30, 2013 at 02:01:25PM +0900, Jingoo Han wrote: > Use devm_*() functions to make cleanup paths simpler. > > Signed-off-by: Jingoo Han > --- > Changes since v1: > - used sizeof(*nuc900_wdt) instead of sizeof(struct nuc900_wdt) > - declared 'nuc900_wdt->res' variable as logical

[GIT PULL] battery-2.6.git

2013-04-29 Thread Anton Vorontsov
Hello Linus, Please pull battery-2.6 git tree to receive changes queued for v3.10. Here are some highlights for this merge cycle: - OpenFirmware/DeviceTree support for the Power Supply core: the core now automatically populates supplied_from hierarchy from the device tree. With these patches

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-29 Thread Mike Galbraith
On Fri, 2013-04-26 at 17:11 +0200, Mike Galbraith wrote: > On Wed, 2013-04-17 at 17:53 -0400, Len Brown wrote: > > On 04/12/2013 12:48 PM, Mike Galbraith wrote: > > > On Fri, 2013-04-12 at 18:23 +0200, Borislav Petkov wrote: > > >> On Fri, Apr 12, 2013 at 04:46:50PM +0800, Alex Shi wrote: > >

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

2013-04-29 Thread Sekhar Nori
On 4/29/2013 1:25 PM, Gupta, Pekon wrote: > From: avinash philip > > 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. > >

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

2013-04-29 Thread Sekhar Nori
On 4/29/2013 1:23 PM, Gupta, Pekon wrote: > From: avinash philip > > From: "Philip, Avinash" From: line is repeated twice. > > Add ELM data node to AM33XX device tree file. > > Signed-off-by: Philip Avinash > Acked-by: Peter Korsgaard > Tested-by: Pekon Gupta You should add your

[PATCH V2 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 --- No changes since v1: drivers/watchdog/ts72xx_wdt.c | 64 +++-- 1 files changed, 11 insertions(+), 53 deletions(-) diff --git a/drivers/watchdog/ts72xx_wdt.c

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

2013-04-29 Thread Jingoo Han
Use devm_kzalloc() to make cleanup paths simpler. Reviewed-by: Guenter Roeck Signed-off-by: Jingoo Han --- No changes since v1: 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

[PATCH V2 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. Reviewed-by: Guenter Roeck Signed-off-by: Jingoo Han --- No changes since v1: drivers/watchdog/rc32434_wdt.c | 10 +++--- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/watchdog/rc32434_wdt.c

[PATCH V2 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 --- Changes since v1: - used sizeof(*nuc900_wdt) instead of sizeof(struct nuc900_wdt) - declared 'nuc900_wdt->res' variable as logical variable drivers/watchdog/nuc900_wdt.c | 50

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

2013-04-29 Thread Jingoo Han
Use devm_ioremap() to make cleanup paths simpler. Reviewed-by: Guenter Roeck Signed-off-by: Jingoo Han --- No changes since v1: drivers/watchdog/mv64x60_wdt.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/mv64x60_wdt.c

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

2013-04-29 Thread Jingoo Han
Use devm_ioremap_nocache() to make cleanup paths simpler. Reviewed-by: Guenter Roeck Signed-off-by: Jingoo Han --- No changes since v1: drivers/watchdog/bcm63xx_wdt.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/bcm63xx_wdt.c

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

2013-04-29 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Acked-by: Guenter Roeck Signed-off-by: Jingoo Han --- No changes since v1: drivers/watchdog/at32ap700x_wdt.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/watchdog/at32ap700x_wdt.c

Re: dummy irq trace 'Flags mismatch'

2013-04-29 Thread Jiri Kosina
On Mon, 29 Apr 2013, Dave Jones wrote: > When set to built-in, the dummy irq driver causes this trace when I boot.. > > [3.996055] genirq: Flags mismatch irq 0. 0080 (dummy_irq) vs. > 00015a20 (timer) > [3.997055] Pid: 1, comm: swapper/0 Not tainted 3.9.0+ #29 > [3.997768] Call

Re: Abysmal HDD/USB write speed after sleep on a UEFI system

2013-04-29 Thread Bjorn Helgaas
On Sat, Apr 27, 2013 at 4:10 AM, Artem S. Tashkinov wrote: >> >>Did this problem ever get resolved? >> > > Hello, > > Unfortunately, no. Out of curiosity I've tried booting kernel > 3.9-rc8 in EUFI mode but it exhibits the same problem. > > Right after the boot: > > [root@localhost ~]# dd

Re: [PATCH v3 3/3] unix/stream: fix peeking with an offset larger than data in queue

2013-04-29 Thread David Miller
From: Benjamin Poirier Date: Mon, 29 Apr 2013 17:42:14 -0400 > Currently, peeking on a unix stream socket with an offset larger than len of > the data in the sk receive queue returns immediately with bogus data. > > This patch fixes this so that the behavior is the same as peeking with no >

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

2013-04-29 Thread David Miller
From: Benjamin Poirier Date: Mon, 29 Apr 2013 17:42:13 -0400 > Currently, peeking on a unix datagram socket with an offset larger than len of > the data in the sk receive queue returns immediately with bogus data. That's > because *off is not reset between each skb_queue_walk(). > > This patch

Re: [PATCH v3 1/3] unix/dgram: peek beyond 0-sized skbs

2013-04-29 Thread David Miller
From: Benjamin Poirier Date: Mon, 29 Apr 2013 17:42:12 -0400 > "77c1090 net: fix infinite loop in __skb_recv_datagram()" (v3.8) introduced a > regression: > After that commit, recv can no longer peek beyond a 0-sized skb in the queue. > __skb_recv_datagram() instead stops at the first skb with

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

2013-04-29 Thread H. Peter Anvin
On 04/29/2013 01:36 AM, Matthias Schniedermeyer wrote: > 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 "clean"ed (but not > "mrproper"ed) before building 3.9 results

Re: pull request: wireless-next 2013-04-29

2013-04-29 Thread David Miller
From: "John W. Linville" Date: Mon, 29 Apr 2013 15:45:51 -0400 > For the Bluetooth bits, Gustavo says: > > "A few more patches intended for 3.10, the most important one is the support > in > btusb for fw loading for the Intel Bluetooth device. Other than that we have > only fixes and clean

Re: [PATCH 04/10] posix-cpu-timers: don't account cpu timer after stopped thread runtime accounting

2013-04-29 Thread KOSAKI Motohiro
Hm. I'm not sure why this path series start [patch 4/10]. maybe I need to review my script again. anyway, patch 1-3 don't exist. sorry for confusing. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v2 1/4] Wrap crc_t10dif function all to use crypto transform framework

2013-04-29 Thread Herbert Xu
On Mon, Apr 29, 2013 at 01:40:30PM -0700, Tim Chen wrote: > > If I allocate the transform under the mod init instead, how can I make > sure that the fast version is already registered if I have it compiled > in? It is not clear to me how that's done looking at the libcrc32c > code. This is

[PATCH 03/10] ARM: OMAP4: hwmod data: make 'ocp2scp_usb_phy_phy_48m" as the main clock

2013-04-29 Thread kosaki . motohiro
From: Kishon Vijay Abraham I Commit 92702df3570e ("ARM: OMAP4: PM: fix PM regression introduced by recent clock cleanup") makes the 'ocp2scp_usb_phy_phy_48m' as optional functional clock causing regression in MUSB. But this 48MHz clock is a mandatory clock for usb phy attached to ocp2scp and

[PATCH 10/10] posix-cpu-timers: cleanup cpu_{clock,timer}_sample{,_group}

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro Now we have similar four timer related functions, cpu_clock_sample(), cpu_clock_sample_group(), cpu_timer_sample() and cpu_timer_sample_group(). For readability, making do_cpu_clock_timer_sample() and thread_cputime() helper functions and all *_sample functions use them.

[PATCH 09/10] sched: task_sched_runtime introduce micro optimization

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro rq lock in task_sched_runtime() is necessary for two reasons. 1) accessing se.sum_exec_runtime is inatomic on 32bit and 2) do_task_delta_exec() require it. And then, 64bit can avoid holds rq lock when add_delta is false. Signed-off-by: KOSAKI Motohiro ---

[PATCH 08/10] posix-cpu-timers: check_thread_timers() uses task_sched_runtime()

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro A type of tsk->se.sum_exec_runtime is u64. Thus reading it is racy when running 32bit. We should use task_sched_runtime(). Cc: Olivier Langlois CC: Martin Schwidefsky Cc: Steven Rostedt Cc: Thomas Gleixner Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra

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

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro Currently glibc's rt/tst-cputimer1 testcase is spradically fail because a timer created by timer_create() may fire earlier than it's specified. posix_cpu_timer_set() uses "val" as current time for three purpose. 1) initialize sig->cputimer. 2) calculation "old" val. 3)

[PATCH 07/10] posix-cpu-timers: timer functions must use timer time instead of clock time

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro For process timer, we use cpu_clock_sample_group() and cpu_timer_sample_group() correctly. However for thread timer, we always use cpu_clock_sample(). That's wrong becuase cpu_clock_sample() account uncommited delta_exec too. And this is inconsistency against

[PATCH 05/10] posix-cpu-timers: fix acounting delta_exec twice

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro 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 violation. This issue was

[PATCH 04/10] posix-cpu-timers: don't account cpu timer after stopped thread runtime accounting

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro When tsk->signal->cputimer->running is 1, signal->cputimer and tsk->sum_sched_runtime increase the same pace. update_curr() increase both account. However, there is one exeception. When thread exiting, __exit_signal() turns over task's sum_shced_runtime to

[PATCH 01/10] events: Protect access via task_subsys_state_check()

2013-04-29 Thread kosaki . motohiro
From: Paul E. McKenney The following RCU splat indicates lack of RCU protection: [ 953.267649] === [ 953.267652] [ INFO: suspicious RCU usage. ] [ 953.267657] 3.9.0-0.rc6.git2.4.fc19.ppc64p7 #1 Not tainted [ 953.267661] --- [

[PATCH 02/10] vm: add no-mmu vm_iomap_memory() stub

2013-04-29 Thread kosaki . motohiro
From: Linus Torvalds I think we could just move the full vm_iomap_memory() function into util.h or similar, but I didn't get any reply from anybody actually using nommu even to this trivial patch, so I'm not going to touch it any more than required. Here's the fairly minimal stub to make the

[PATCH v3 0/7] posix-cpu-timers fixlet

2013-04-29 Thread kosaki . motohiro
Glibc's posix timer testcase found a lot of bugs in posix timer code. This series, hopefully, fixes all of them. All patches are independent each other logically. [PATCH 1/7] posix-cpu-timers: don't account cpu timer after stopped thread runtime accounting [PATCH 2/7] posix-cpu-timers: fix

[PATCH v2 4/4] s390: Provide default implementation for dma_{alloc,free}_attrs

2013-04-29 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on s390.

[PATCH v2 3/4] parisc: Provide default implementation for dma_{alloc,free}_attrs

2013-04-29 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on

[PATCH v2 2/4] c6x: Provide default implementation for dma_{alloc,free}_attrs

2013-04-29 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on c6x.

[PATCH v2 1/4] arm64: Provide default implementation for dma_{alloc,free}_attrs

2013-04-29 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on

[PATCH v2 0/4] dma-mapping: Define dma_{alloc,free}_attrs() for all archs

2013-04-29 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA=y, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Provide a default definition for the archs that define

Re: [PATCH] f2fs: use f2fs_iget_nowait again

2013-04-29 Thread Jaegeuk Kim
change log from v1: o found another deadlock case, so change the approach From 145b6ee0b2523bad0e28c09f4ac5bb050cd22085 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Tue, 30 Apr 2013 11:33:27 +0900 Subject: [PATCH] f2fs: avoid deadlock during evict after f2fs_gc Cc:

[GIT PULL] target updates for v3.10-rc1

2013-04-29 Thread Nicholas A. Bellinger
Hello Linus! Here are the target pending changes for the v3.10-rc1 merge window. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next-merge The highlights this round include: - Add fileio support for WRITE_SAME w/ UNMAP=1 discard

[PATCH v2 1/2] sched: Add cond_resched_rcu_lock() helper

2013-04-29 Thread Simon Horman
This is intended for use in loops which read data protected by RCU and may have a large number of iterations. Such an example is dumping the list of connections known to IPVS: ip_vs_conn_array() and ip_vs_conn_seq_next(). The call to cond_resched() is guarded by #ifndef CONFIG_PREEMPT_RCU as in

[PATCH v2 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections

2013-04-29 Thread Simon Horman
This avoids the situation where a dump of a large number of connections may prevent scheduling for a long time while also avoiding excessive calls to rcu_read_unlock() and rcu_read_lock(). Note that in the case of !CONFIG_PREEMPT_RCU this will add a call to cond_resched(). Compile tested only.

[PATCH v2 0/2] sched: Add cond_resched_rcu_lock() helper

2013-04-29 Thread Simon Horman
Add a helper that for use in loops which read data protected by RCU and may have a large number of iterations. Such an example is dumping the list of connections known to IPVS: ip_vs_conn_array() and ip_vs_conn_seq_next(). This series also updates the two ip_vs functions mentioned above to use

Re: [PATCH 2/2] ipvs: Use cond_resched_rcu_lock() helper when dumping connections

2013-04-29 Thread Simon Horman
On Fri, Apr 26, 2013 at 08:15:34AM +0200, Ingo Molnar wrote: > > * Simon Horman wrote: > > > This avoids the situation where a dump of a large number of connections > > may prevent scheduling for a long time while also avoiding excessive > > calls to rcu_read_unlock() and rcu_read_lock(). > >

Re: [PATCH] Msleep_interruptible() on a dual processor system may wait a long time.

2013-04-29 Thread Steven Rostedt
This should have been Cc'd to the scheduler maintainers. -- Steve On Mon, Apr 29, 2013 at 06:20:28PM -0700, David VomLehn wrote: > Msleep_interruptible() on a dual processor system may wait a long time. > > On some reboots, calling msleep_interruptible() from CPU 1 on a dual > processor system

Re: [PATCH] kvm: KVM_CAP_IOMMU only available with device assignment

2013-04-29 Thread Marcelo Tosatti
On Mon, Apr 29, 2013 at 09:59:30AM -0700, Randy Dunlap wrote: > On 04/29/13 09:54, Alex Williamson wrote: > > Fix build with CONFIG_PCI unset by linking KVM_CAP_IOMMU to > > device assignment config option. It has no purpose otherwise. > > > > Signed-off-by: Alex Williamson > > Reported-by:

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-04-29 Thread Simon Horman
On Tue, Apr 30, 2013 at 10:58:40AM +0900, Simon Horman wrote: > On Mon, Apr 29, 2013 at 04:49:07PM +0200, Arnd Bergmann wrote: > > On Friday 26 April 2013, Simon Horman wrote: > > > > diff --git a/arch/arm/mach-shmobile/intc-r8a7740.c > > > > b/arch/arm/mach-shmobile/intc-r8a7740.c > > > > index

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

2013-04-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/mac802154/mac802154.h between commit 2c1bbbffa0b6 ("net: mac802154: comparision issue of type cast, finding by EXTRA_CFLAGS=-W") from the net tree and commit 7dd43d356e73 ("mac802154: Do not try to resend failed packets")

Re: [ANNOUNCE] 3.4.41-rt55-feat3

2013-04-29 Thread Steven Rostedt
On Mon, 2013-04-29 at 21:06 -0400, Steven Rostedt wrote: > Dear RT Folks, > > I'm pleased to announce the 3.4.41-rt55-feat3 feature release. > > Note, I first uploaded -feat2 then realized I didn't add a compile fix by > Mike Galbraith, and then created the -feat3 with that fix. > Because of

Re: CONFIG_X86_INTEL_PSTATE disables CPU frequency transition stats, many governors and other standard features

2013-04-29 Thread Andy Lutomirski
On 04/27/2013 07:35 AM, Rafael J. Wysocki wrote: > On Saturday, April 27, 2013 04:58:53 AM Artem S. Tashkinov wrote: >> Hello, >> >> Just wanted to let everyone know that CONFIG_X86_INTEL_PSTATE wreaks >> havoc with the CPU frequency subsystem in the Linux kernel. >> >> With this option enabled:

[ANNOUNCE] 3.2.43-rt63-feat2

2013-04-29 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.43-rt63-feat2 feature release. Note, although this release adds the changes to use slub in -rt, I'm now hitting a large latency using SLUB instead of SLAB. As this only seems to happen in 3.2-rt and not 3.4-rt or 3.6-rt, I'm not really worried

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

2013-04-29 Thread Jingoo Han
On Tuesday, April 30, 2013 3:10 AM, Guenter Roeck wrote: > On Mon, Apr 29, 2013 at 06:36:34PM +0900, Jingoo Han wrote: > > Use devm_*() functions to make cleanup paths simpler. > > > > Signed-off-by: Jingoo Han > > --- > > drivers/watchdog/ts72xx_wdt.c | 64 > >

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

2013-04-29 Thread Jingoo Han
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Tuesday, April 30, 2013 3:03 AM > To: Jingoo Han > Cc: 'Andrew Morton'; linux-kernel@vger.kernel.org; 'Wim Van Sebroeck'; > linux-watch...@vger.kernel.org > Subject: Re: [PATCH RESEND 4/7] watchdog:

Re: [ 00/42] 3.8.11-stable review

2013-04-29 Thread Greg Kroah-Hartman
On Tue, Apr 30, 2013 at 01:54:37AM +, Shuah Khan wrote: > On Mon, 2013-04-29 at 12:01 -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.8.11 release. > > There are 42 patches in this series, all will be posted as a response > > to this one. If anyone

Re: [PATCH 03/21] ARM: shmobile: don't call irqchip_init unconditionally

2013-04-29 Thread Simon Horman
On Mon, Apr 29, 2013 at 04:49:07PM +0200, Arnd Bergmann wrote: > On Friday 26 April 2013, Simon Horman wrote: > > > diff --git a/arch/arm/mach-shmobile/intc-r8a7740.c > > > b/arch/arm/mach-shmobile/intc-r8a7740.c > > > index 8871f77..5dc57f1 100644 > > > ---

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

2013-04-29 Thread Guenter Roeck
On Tue, Apr 30, 2013 at 10:56:39AM +0900, Jingoo Han wrote: > On Tuesday, April 30, 2013 2:55 AM, Guenter Roeck wrote: > > On Mon, Apr 29, 2013 at 06:35:15PM +0900, Jingoo Han wrote: > > > Use devm_ioremap() to make cleanup paths simpler. > > > > > > Signed-off-by: Jingoo Han > > > > This patch

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

2013-04-29 Thread Guenter Roeck
On Tue, Apr 30, 2013 at 10:54:03AM +0900, Jingoo Han wrote: > On Tuesday, April 30, 2013 1:44 AM, Guenter Roeck wrote: > > On Mon, Apr 29, 2013 at 06:30:43PM +0900, Jingoo Han wrote: > > > Use devm_gpio_request_one() to make cleanup paths simpler. > > > > > > Signed-off-by: Jingoo Han > > > >

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

2013-04-29 Thread Jingoo Han
On Tuesday, April 30, 2013 2:55 AM, Guenter Roeck wrote: > On Mon, Apr 29, 2013 at 06:35:15PM +0900, Jingoo Han wrote: > > Use devm_ioremap() to make cleanup paths simpler. > > > > Signed-off-by: Jingoo Han > > This patch also addresses the missing call to iounmap() if the call > to

Re: [ 00/42] 3.8.11-stable review

2013-04-29 Thread Shuah Khan
On Mon, 2013-04-29 at 12:01 -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.8.11 release. > There are 42 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

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

2013-04-29 Thread Jingoo Han
On Tuesday, April 30, 2013 1:44 AM, Guenter Roeck wrote: > On Mon, Apr 29, 2013 at 06:30:43PM +0900, Jingoo Han wrote: > > Use devm_gpio_request_one() to make cleanup paths simpler. > > > > Signed-off-by: Jingoo Han > > This patch also addresses the missing gpio_free in the probe error path >

Re: [ 00/34] 3.4.43-stable review

2013-04-29 Thread Shuah Khan
On Mon, 2013-04-29 at 12:02 -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.43 release. > There are 34 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [ 00/30] 3.0.76-stable review

2013-04-29 Thread Shuah Khan
On Mon, 2013-04-29 at 12:02 -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.76 release. > There are 30 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: linux-next: build failure after merge of the cgroup tree

2013-04-29 Thread Benjamin Herrenschmidt
On Mon, 2013-04-29 at 15:55 -0700, Tejun Heo wrote: > Benjamin, can you please pick this up? > > Thanks a lot and sorry about the trouble. Done. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH] Msleep_interruptible() on a dual processor system may wait a long time.

2013-04-29 Thread David VomLehn
Msleep_interruptible() on a dual processor system may wait a long time. On some reboots, calling msleep_interruptible() from CPU 1 on a dual processor system will not return for seconds or even minutes. This happens because ksoftirqd/1 migrates to CPU 0, which is allowed because its cpus_allowed

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-29 Thread Greg Kroah-Hartman
On Mon, Apr 29, 2013 at 05:36:40PM -0700, Simon Kirby wrote: > On Mon, Apr 29, 2013 at 05:21:17PM -0700, Greg Kroah-Hartman wrote: > > > On Mon, Apr 29, 2013 at 05:14:45PM -0700, Simon Kirby wrote: > > > On Mon, Apr 29, 2013 at 12:01:44PM -0700, Greg Kroah-Hartman wrote: > > > > > > > 3.8-stable

Re: IO regression after ab8fabd46f on x86 kernels with high memory

2013-04-29 Thread Pierre-Loup A. Griffais
On 04/29/2013 05:48 PM, Rik van Riel wrote: On 04/29/2013 06:03 PM, Linus Torvalds wrote: Seriously, you can compile yourself a 64-bit kernel and continue to use your 32-bit user-land. And you can complain to whatever distro you used that it didn't do that in the first place. But we're not

Re: [patch 07/15] clocksource: Provide unbind interface in sysfs

2013-04-29 Thread John Stultz
On 04/25/2013 01:31 PM, Thomas Gleixner wrote: With the module refcount held for the current clocksource there is no way to unload the module. Provide a sysfs interface which allows to unbind the clocksource. One could argue that the clocksource override could be (ab)used to do so, but the

[PATCH] PM: Add pm_ops_ptr() macro

2013-04-29 Thread Jingoo Han
Add pm_ops_ptr() macro that allows the .pm entry in the driver structures to be assigned without having an #define xxx NULL for the case that PM is not enabled. Signed-off-by: Jingoo Han --- drivers/i2c/busses/i2c-s3c2410.c |8 +--- include/linux/pm.h |2 ++ 2 files

[ANNOUNCE] 3.4.41-rt55-feat3

2013-04-29 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.41-rt55-feat3 feature release. Note, I first uploaded -feat2 then realized I didn't add a compile fix by Mike Galbraith, and then created the -feat3 with that fix. You can get this release via the git tree at:

Re: [PATCH] fs/proc: smaps should avoid VM_PFNMAP areas

2013-04-29 Thread Naoya Horiguchi
Hello Cliff, On Mon, Apr 29, 2013 at 04:25:53PM -0500, Cliff Wickman wrote: > > /proc//smaps should not be looking at VM_PFNMAP areas. > > Certain tests in show_smap() (especially for huge pages) assume that the > mapped PFN's are backed with page structures. And this is not usually true > for

Re: [PATCH 0/2] [GIT PULL] localmodconfig: Fix missing depends of config files included in if statements

2013-04-29 Thread Steven Rostedt
On Mon, 2013-04-29 at 20:08 -0400, Steven Rostedt wrote: > I'll also run my full ftrace test suite on your latest kernel, and see > if it finds anything else. > With the fix I sent, everything passed. Thanks, -- Steve -- To unsubscribe from this list: send the line "unsubscribe

Re: [patch 08/15] clocksource: Let clocksource_unregister() return success/error

2013-04-29 Thread John Stultz
On 04/25/2013 01:31 PM, Thomas Gleixner wrote: The unregister call can fail, if the clocksource is the current one and there is no replacement clocksource available. It can also fail, if the clocksource is the watchdog clocksource and I'm not going to provide support for this. Signed-off-by:

Re: [patch 05/15] clocksource: Allow clocksource select to skip current clocksource

2013-04-29 Thread John Stultz
On 04/25/2013 01:31 PM, Thomas Gleixner wrote: Preparatory patch for clocksource unbind support. Modify clocksource_select, so it skips the current clocksource on request and tries to find a fallback clocksource. Convert all existing users. No functional change. Signed-off-by: Thomas Gleixner

Re: [PATCH] PM: Add pm_ops_ptr() macro

2013-04-29 Thread Jingoo Han
On Monday, April 29, 2013 9:13 PM, Lars-Peter Clausen wrote: > On 04/29/2013 07:41 AM, Jingoo Han wrote: > > On Saturday, April 27, 2013 11:41 PM, Rafael J. Wysocki: > >> > >> On Saturday, April 27, 2013 11:54:50 AM Jingoo Han wrote: > >>> Add pm_ops_ptr() macro that allows the .pm entry in the

[GIT PULL] cgroup changes for v3.10-rc1

2013-04-29 Thread Tejun Heo
Hello, Linus. * Fixes and a lot of cleanups. Locking cleanup is finally complete. cgroup_mutex is no longer exposed to individual controlelrs which used to cause nasty deadlock issues. Li fixed and cleaned up quite a bit including long standing ones like racy cgroup_path(). * device

Re: [patch 04/15] clocksource: Add module refcount

2013-04-29 Thread John Stultz
On 04/25/2013 01:31 PM, Thomas Gleixner wrote: Add a module refcount, so the current clocksource cannot be removed unconditionally. Signed-off-by: Thomas Gleixner --- include/linux/clocksource.h |3 +++ kernel/time/timekeeping.c | 15 ++- 2 files changed, 13

Re: [PATCH v3 3/3] unix/stream: fix peeking with an offset larger than data in queue

2013-04-29 Thread Eric Dumazet
On Mon, 2013-04-29 at 17:42 -0400, Benjamin Poirier wrote: > Currently, peeking on a unix stream socket with an offset larger than len of > the data in the sk receive queue returns immediately with bogus data. > > This patch fixes this so that the behavior is the same as peeking with no > offset

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

2013-04-29 Thread Eric Dumazet
On Mon, 2013-04-29 at 17:42 -0400, Benjamin Poirier wrote: > Currently, peeking on a unix datagram socket with an offset larger than len of > the data in the sk receive queue returns immediately with bogus data. That's > because *off is not reset between each skb_queue_walk(). > > This patch

Re: IO regression after ab8fabd46f on x86 kernels with high memory

2013-04-29 Thread Rik van Riel
On 04/29/2013 06:03 PM, Linus Torvalds wrote: Seriously, you can compile yourself a 64-bit kernel and continue to use your 32-bit user-land. And you can complain to whatever distro you used that it didn't do that in the first place. But we're not going to bother with trying to tune PAE for some

Re: [PATCH v3 1/3] unix/dgram: peek beyond 0-sized skbs

2013-04-29 Thread Eric Dumazet
On Mon, 2013-04-29 at 17:42 -0400, Benjamin Poirier wrote: > "77c1090 net: fix infinite loop in __skb_recv_datagram()" (v3.8) introduced a > regression: > After that commit, recv can no longer peek beyond a 0-sized skb in the queue. > __skb_recv_datagram() instead stops at the first skb with len

Re: [patch 03/15] clocksource: Let timekeeping_notify return success/error

2013-04-29 Thread John Stultz
On 04/25/2013 01:31 PM, Thomas Gleixner wrote: timekeeping_notify() can fail due cs->enable() failure. Though the caller does not notice and happily keeps the wrong clocksource as the current one. Let the caller know about failure, so the current clocksource will be shown correctly in sysfs.

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-29 Thread Simon Kirby
On Mon, Apr 29, 2013 at 05:21:17PM -0700, Greg Kroah-Hartman wrote: > On Mon, Apr 29, 2013 at 05:14:45PM -0700, Simon Kirby wrote: > > On Mon, Apr 29, 2013 at 12:01:44PM -0700, Greg Kroah-Hartman wrote: > > > > > 3.8-stable review patch. If anyone has any objections, please let me > > > know.

Re: [patch 02/15] clocksource: Always verify highres capability

2013-04-29 Thread John Stultz
On 04/25/2013 01:31 PM, Thomas Gleixner wrote: If a clocksource has a (wrong) high rating, but can't be used as a timebase for oneshot tick mode, it is unconditionally selected even when the system is already in oneshot tick mode. This causes full system failure. Verify the clocksource

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-29 Thread Simon Kirby
On Mon, Apr 29, 2013 at 12:01:44PM -0700, Greg Kroah-Hartman wrote: > 3.8-stable review patch. If anyone has any objections, please let me know. I object. This breaks functionality I use every day (seeing who else is working on stuff with "w"). Furthermore, the patch does not actually fix the

Re: [patch 01/15] clocksource: apb_timer: Remove unsused function

2013-04-29 Thread John Stultz
On 04/25/2013 01:31 PM, Thomas Gleixner wrote: Signed-off-by: Thomas Gleixner Cc: Jamie Iles Acked-by: John Stultz thanks -john --- drivers/clocksource/dw_apb_timer.c | 12 include/linux/dw_apb_timer.h |1 - 2 files changed, 13 deletions(-) Index:

[patch] mm, memcg: add rss_huge stat to memory.stat

2013-04-29 Thread David Rientjes
This exports the amount of anonymous transparent hugepages for each memcg via the new "rss_huge" stat in memory.stat. The units are in bytes. This is helpful to determine the hugepage utilization for individual jobs on the system in comparison to rss and opportunities where MADV_HUGEPAGE may be

Re: [PATCH] PM: Add pm_ops_ptr() macro

2013-04-29 Thread Jingoo Han
On Monday, April 29, 2013 8:35 PM, Rafael J. Wysocki: > On Monday, April 29, 2013 02:41:48 PM Jingoo Han wrote: > > On Saturday, April 27, 2013 11:41 PM, Rafael J. Wysocki: > > > > > > On Saturday, April 27, 2013 11:54:50 AM Jingoo Han wrote: > > > > Add pm_ops_ptr() macro that allows the .pm

Re: [ 02/42] TTY: do not update atime/mtime on read/write

2013-04-29 Thread Greg Kroah-Hartman
On Mon, Apr 29, 2013 at 05:14:45PM -0700, Simon Kirby wrote: > On Mon, Apr 29, 2013 at 12:01:44PM -0700, Greg Kroah-Hartman wrote: > > > 3.8-stable review patch. If anyone has any objections, please let me know. > > I object. This breaks functionality I use every day (seeing who else is >

Re: systemtap broken by removal of register_timer_hook

2013-04-29 Thread Frederic Weisbecker
On Fri, Apr 19, 2013 at 10:46:55AM -0400, Frank Ch. Eigler wrote: > Hi, Frederic - > > > > > How about this? > > > > > > Author: Frank Ch. Eigler > > > Date: Wed Apr 3 10:35:21 2013 -0400 > > > > > > profiling: add profile_tick tracepoint > > > [...] > > > It would be better not to tie

[PATCH 2/2] Make batch size for memory accounting configured according to size of memory

2013-04-29 Thread Tim Chen
Currently the per cpu counter's batch size for memory accounting is configured as twice the number of cpus in the system. However, for system with very large memory, it is more appropriate to make it proportional to the memory size per cpu in the system. For example, for a x86_64 system with 64

Re: [PATCH 0/2] [GIT PULL] localmodconfig: Fix missing depends of config files included in if statements

2013-04-29 Thread Steven Rostedt
On Mon, 2013-04-29 at 20:08 -0400, Steven Rostedt wrote: > On Mon, 2013-04-29 at 14:42 -0700, Linus Torvalds wrote: > > On Mon, Apr 29, 2013 at 2:01 PM, Linus Torvalds > > wrote: > > > > > > There's just too much confusion here for me to touch anything at all, > > > so please fix things up. > >

[PATCH 1/2] Make the batch size of the percpu_counter configurable

2013-04-29 Thread Tim Chen
Currently, there is a single, global, variable (percpu_counter_batch) that controls the batch sizes for every 'struct percpu_counter' on the system. However, there are some applications, e.g. memory accounting where it is more appropriate to scale the batch size according to the memory size. This

Re: [PATCH 0/2] [GIT PULL] localmodconfig: Fix missing depends of config files included in if statements

2013-04-29 Thread Steven Rostedt
On Mon, 2013-04-29 at 14:42 -0700, Linus Torvalds wrote: > On Mon, Apr 29, 2013 at 2:01 PM, Linus Torvalds > wrote: > > > > There's just too much confusion here for me to touch anything at all, > > so please fix things up. > > Oh, and you might as well check that I resolved the conflicts in the

[GIT PULL] workqueue changes for v3.10-rc1

2013-04-29 Thread Tejun Heo
Hello, Linus. A lot of activities on workqueue side this time. The changes achieve the followings. * WQ_UNBOUND workqueues - the workqueues which are per-cpu - are updated to be able to interface with multiple backend worker pools. This involved a lot of churning but the end result seems

Re: MFD: move ssbi driver into drivers/mfd

2013-04-29 Thread David Brown
Arnd Bergmann writes: > There is no reason for ssbi to have its own top-level driver directory > when the only users of this interface are all MFD drivers. The only > mainline driver using it at the moment (PM8921) is marked broken and in > fact does not compile. I have verified that fixing the

linux-next: build warning while building Linus' tree

2013-04-29 Thread Stephen Rothwell
Hi Tomi, In Linus' tree, today's linux-next build (powerpc ppc64_defconfig) produced this warning: drivers/video/ps3fb.c: In function 'ps3fb_mmap': drivers/video/ps3fb.c:712:2: warning: suggest parentheses around '+' inside '<<' [-Wparentheses] Introduced by commit 11bd5933abe0 ("fbdev/ps3fb:

Re: [PATCH 07/10] futex: use freezable blocking call

2013-04-29 Thread Colin Cross
On Mon, Apr 29, 2013 at 3:52 PM, Darren Hart wrote: > Colin, > > I don't know anything about when or when not to use freezable*, and I > suspect that may be true for others as well. A more complete > description of why it's acceptable here in the commit log might help > expedite acceptance. >

Re: [PATCH] idle: fix hlt/nohlt command-line handling in new generic idle

2013-04-29 Thread Kevin Hilman
"Srivatsa S. Bhat" writes: > On 04/25/2013 05:49 AM, Kevin Hilman wrote: >> commit d1669912 (idle: Implement generic idle function) added a new >> generic idle along with support for hlt/nohlt command line options to >> override default idle loop behavior. However, the command-line >>

Re: [PATCH 6/6] ptrace: PTRACE_DETACH should do flush_ptrace_hw_breakpoint(child)

2013-04-29 Thread Frederic Weisbecker
On Thu, Apr 18, 2013 at 08:44:25PM +0200, Oleg Nesterov wrote: > Change ptrace_detach() to call flush_ptrace_hw_breakpoint(child). > This frees the slots for non-ptrace PERF_TYPE_BREAKPOINT users, and > this ensures that the tracee won't be killed by SIGTRAP triggered by > the active breakpoints.

  1   2   3   4   5   6   7   8   9   10   >