Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread AEDilger Gmail
On 2013-03-30, at 14:45, Pavel Machek wrote: > On Sat 2013-03-30 13:08:39, Andreas Dilger wrote: >> On 2013-03-30, at 12:49 PM, Pavel Machek wrote: >>> Hmm, really? AFAICT it would be simple to provide an >>> open_deleted_file("directory") syscall. You'd open_deleted_file(), >>> copy source file

Re: [PATCH 6/9] cpufreq: pxa3xx: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Eric Miao
On Sun, Mar 31, 2013 at 11:52 AM, Viresh Kumar wrote: > Eric/Haojian, > > On 25 March 2013 15:41, Viresh Kumar wrote: >> This patch moves cpufreq driver of ARM based pxa3xx platform to >> drivers/cpufreq. >> >> Cc: Eric Miao Acked-by: Eric Miao >> Cc: Haojian Zhuang >> Signed-off-by:

Re: ipc,sem: sysv semaphore scalability

2013-03-30 Thread Davidlohr Bueso
On Sat, 2013-03-30 at 11:33 +0700, Emmanuel Benisty wrote: > On Sat, Mar 30, 2013 at 10:46 AM, Linus Torvalds > wrote: > > On Fri, Mar 29, 2013 at 8:02 PM, Emmanuel Benisty > > wrote: > >> > >> Then I start building a random package and the problems start. They > >> may also happen without

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Myklebust, Trond
On Sun, 2013-03-31 at 00:36 -0400, Trond Myklebust wrote: > On Sat, 2013-03-30 at 21:18 -0700, Andy Lutomirski wrote: > > On Sat, Mar 30, 2013 at 8:52 PM, Myklebust, Trond > > wrote: > > > On Sat, 2013-03-30 at 19:53 -0700, Andreas Dilger wrote: > > >> On 2013-03-30, at 16:21, Ric Wheeler wrote:

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Myklebust, Trond
On Sat, 2013-03-30 at 21:18 -0700, Andy Lutomirski wrote: > On Sat, Mar 30, 2013 at 8:52 PM, Myklebust, Trond > wrote: > > On Sat, 2013-03-30 at 19:53 -0700, Andreas Dilger wrote: > >> On 2013-03-30, at 16:21, Ric Wheeler wrote: > >> > >> > On 03/30/2013 05:57 PM, Myklebust, Trond wrote: > >> >>

Re: [PATCH] checkpatch: do not exit in main process subroutine

2013-03-30 Thread Joe Perches
On Sat, 2013-03-30 at 18:30 +0800, zhangwei(Jovi) wrote: > On 2013/3/28 11:43, zhangwei(Jovi) wrote: > > Currently checkpatch program exit when process empty file, > > This will cause issue when @ARGV include many files ready to check. > > > > For example, there may have Module.symvers empty file

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Andy Lutomirski
On Sat, Mar 30, 2013 at 8:52 PM, Myklebust, Trond wrote: > On Sat, 2013-03-30 at 19:53 -0700, Andreas Dilger wrote: >> On 2013-03-30, at 16:21, Ric Wheeler wrote: >> >> > On 03/30/2013 05:57 PM, Myklebust, Trond wrote: >> >> On Mar 30, 2013, at 5:45 PM, Pavel Machek >> >> wrote: >> >> >> >>>

Re: [PATCHv2 2/2] watchdog: fix w83627hf_wdt reboot due to timeout expired

2013-03-30 Thread Guenter Roeck
On Sat, Mar 30, 2013 at 06:59:08PM -0700, Tony Chung wrote: > Observed that the w83627hf watchdog timer start counting during reboot. > If the system load the driver after 5 minutes, it rebooted immediately > because of timer expired. > For example, fsck took more than 5 minutes to run, then

Re: [PATCH -mm -next] ipc,sem: untangle RCU locking with find_alloc_undo

2013-03-30 Thread Davidlohr Bueso
On Sat, 2013-03-30 at 21:30 -0400, Rik van Riel wrote: > On 03/30/2013 09:35 AM, Sasha Levin wrote: > > > I'm thinking that the solution is as simple as: > > Your patch is absolutely correct. All it needs now is your > signed-off-by, so Andrew can merge it into -mm :) > > Reviewed-by: Rik van

Re: [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
Fixing Hans email id. On 31 March 2013 09:28, Viresh Kumar wrote: > On 25 March 2013 22:24, Viresh Kumar wrote: >> This patch moves cpufreq driver of AVR32 based at32ap platform to >> drivers/cpufreq. >> >> Cc: hans-christian.egtv...@atmel.com >> Cc: Haavard Skinnemoen >> Signed-off-by: Viresh

Re: [PATCH 9/9] powerpc: cpufreq: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
On 25 March 2013 22:24, Viresh Kumar wrote: > This patch moves cpufreq driver of powerpc platform to drivers/cpufreq. > > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Olof Johansson > Cc: linuxppc-...@lists.ozlabs.org > Signed-off-by: Viresh Kumar > --- >

Re: [PATCH 7/9] unicore2: cpufreq: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
On 25 March 2013 22:24, Viresh Kumar wrote: > This patch moves cpufreq driver of UNICORE-2 architecture to drivers/cpufreq. > > Cc: Guan Xuetao > Signed-off-by: Viresh Kumar > --- > arch/unicore32/kernel/Makefile | 1 - > drivers/cpufreq/Makefile

Re: [PATCH 5/9] mips: cpufreq: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
On 25 March 2013 22:24, Viresh Kumar wrote: > This patch moves cpufreq driver of MIPS architecture to drivers/cpufreq. > > Cc: Ralf Baechle > Cc: linux-m...@linux-mips.org > Signed-off-by: Viresh Kumar > --- > arch/mips/Kconfig | 9 - >

Re: [PATCH 3/9] cris: cpufreq: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
On 25 March 2013 22:24, Viresh Kumar wrote: > This patch moves cpufreq drivers of CRIS architecture to drivers/cpufreq. > > Cc: Jesper Nilsson > Cc: Mikael Starvik > Cc: linux-cris-ker...@axis.com > Signed-off-by: Viresh Kumar > --- > arch/cris/arch-v32/mach-a3/Makefile

Re: [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
On 25 March 2013 22:24, Viresh Kumar wrote: > This patch moves cpufreq driver of AVR32 based at32ap platform to > drivers/cpufreq. > > Cc: hans-christian.egtv...@atmel.com > Cc: Haavard Skinnemoen > Signed-off-by: Viresh Kumar > --- > arch/avr32/Kconfig

Re: [PATCH 9/9] cpufreq: sa11x0: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
On 25 March 2013 15:41, Viresh Kumar wrote: > This patch moves cpufreq driver of ARM based sa11x0 platform to > drivers/cpufreq. > > Cc: Russell King > Signed-off-by: Viresh Kumar > --- > arch/arm/Kconfig | 8 --- > arch/arm/mach-sa1100/Kconfig

Re: [PATCH 8/9] cpufreq: s3c24xx: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
On 25 March 2013 15:41, Viresh Kumar wrote: > This patch moves cpufreq driver of Samsung's ARM based s3c24xx platform to > drivers/cpufreq. > > Cc: Ben Dooks > Cc: Kukjin Kim > Cc: linux-samsung-...@vger.kernel.org > Signed-off-by: Viresh Kumar > --- > arch/arm/Kconfig

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Myklebust, Trond
On Sat, 2013-03-30 at 19:53 -0700, Andreas Dilger wrote: > On 2013-03-30, at 16:21, Ric Wheeler wrote: > > > On 03/30/2013 05:57 PM, Myklebust, Trond wrote: > >> On Mar 30, 2013, at 5:45 PM, Pavel Machek > >> wrote: > >> > >>> On Sat 2013-03-30 13:08:39, Andreas Dilger wrote: > On

Re: [PATCH 6/9] cpufreq: pxa3xx: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
Eric/Haojian, On 25 March 2013 15:41, Viresh Kumar wrote: > This patch moves cpufreq driver of ARM based pxa3xx platform to > drivers/cpufreq. > > Cc: Eric Miao > Cc: Haojian Zhuang > Signed-off-by: Viresh Kumar > --- > arch/arm/mach-pxa/Makefile |

Re: [PATCH 5/9] cpufreq: integrator: move cpufreq driver to drivers/cpufreq

2013-03-30 Thread Viresh Kumar
Russell, On 25 March 2013 15:41, Viresh Kumar wrote: > This patch moves cpufreq driver of ARM based integrator platform to > drivers/cpufreq. > > Cc: Russell King > Signed-off-by: Viresh Kumar > --- > arch/arm/Kconfig | 11 > --- >

Re: [PATCH V4 0/2] Implement per policy instance of governor

2013-03-30 Thread Viresh Kumar
On 31 March 2013 07:19, Rafael J. Wysocki wrote: > Yes, thanks. > > But the patches moving cpufreq drivers into drivers/cpufreq from somewhere > else > need each an ACK from the maintainer of that other place. I won't take any > patches like that without AKCs. Okay. I will ask respective

Re: [PATCH] cpufreq: Raname index as data in cpufreq_frequency_table

2013-03-30 Thread Viresh Kumar
On 31 March 2013 07:16, Rafael J. Wysocki wrote: > On Sunday, March 31, 2013 07:03:04 AM Viresh Kumar wrote: >> On 31 March 2013 03:31, Rafael J. Wysocki wrote: >> > Sorry, I won't apply this. It changes too much stuff at a time and I'm not >> > really sure if the change being made is

[PATCH 4/4] pwm: twl: Add .owner to struct pwm_ops

2013-03-30 Thread Axel Lin
Add missing .owner of struct pwm_ops. This prevents the module from being removed from underneath its users. Signed-off-by: Axel Lin --- drivers/pwm/pwm-twl.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pwm/pwm-twl.c b/drivers/pwm/pwm-twl.c index bf3fda2..ee7fa5d 100644 ---

[PATCH 3/4] pwm: twl-led: Add .owner to struct pwm_ops

2013-03-30 Thread Axel Lin
Add missing .owner of struct pwm_ops. This prevents the module from being removed from underneath its users. Signed-off-by: Axel Lin --- drivers/pwm/pwm-twl-led.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pwm/pwm-twl-led.c b/drivers/pwm/pwm-twl-led.c index

[PATCH 2/4] pwm: atmel-tcb: Add .owner to struct pwm_ops

2013-03-30 Thread Axel Lin
Add missing .owner of struct pwm_ops. This prevents the module from being removed from underneath its users. Signed-off-by: Axel Lin --- drivers/pwm/pwm-atmel-tcb.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/pwm-atmel-tcb.c b/drivers/pwm/pwm-atmel-tcb.c index

[PATCH 1/4] pwm: ab8500: Add .owner to struct pwm_ops

2013-03-30 Thread Axel Lin
Add missing .owner of struct pwm_ops. This prevents the module from being removed from underneath its users. Signed-off-by: Axel Lin --- drivers/pwm/pwm-ab8500.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pwm/pwm-ab8500.c b/drivers/pwm/pwm-ab8500.c index 3beb2b5..1d07a6f

[PATCH] Documentation: cfq-iosched: update documentation help for cfq tunnables

2013-03-30 Thread Namjae Jeon
From: Namjae Jeon Add the documentation text for latency, target_latency & group_idle tunnable parameters in the block/cfq-iosched.txt. Also fix few typo(spelling) mistakes. Signed-off-by: Namjae Jeon Signed-off-by: Amit Sahrawat --- Documentation/block/cfq-iosched.txt | 47

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Andreas Dilger
On 2013-03-30, at 16:21, Ric Wheeler wrote: > On 03/30/2013 05:57 PM, Myklebust, Trond wrote: >> On Mar 30, 2013, at 5:45 PM, Pavel Machek >> wrote: >> >>> On Sat 2013-03-30 13:08:39, Andreas Dilger wrote: On 2013-03-30, at 12:49 PM, Pavel Machek wrote: > Hmm, really? AFAICT it would

[PATCH] f2fs-tools: mkfs: fix to avoid format of device when already mounted

2013-03-30 Thread Namjae Jeon
From: Namjae Jeon In case of embedded devices, where /etc/ is mounted as 'read-only'. We donot have the /etc/mtab file. So, checking if the device is already mounted from this file is not sufficient. Try to read /proc/mounts in case of failure from /etc/mtab. Issue logs: /dev/sdb4 /mnt vfat

[PATCH v4] fat: editions to support fat_fallocate

2013-03-30 Thread Namjae Jeon
From: Namjae Jeon Implement preallocation via the fallocate syscall on VFAT partitions. Change Log: v4: Rework based on review comments. Add check in fat_setattr to release fallocated blocks on a truncate v3: Release preallocated blocks at file release. With FALLOC_FL_KEEP_SIZE, there is no

Re: ipc,sem: sysv semaphore scalability

2013-03-30 Thread Emmanuel Benisty
Hi Linus, On Sun, Mar 31, 2013 at 12:22 AM, Linus Torvalds wrote: > On Fri, Mar 29, 2013 at 10:57 PM, Emmanuel Benisty > wrote: >> On Sat, Mar 30, 2013 at 12:10 PM, Linus Torvalds >>> >>> This came from the gcc build? >> >> yes, very early in the build process, IIRC this line was repeated a >>

[PATCHv2 2/2] watchdog: fix w83627hf_wdt reboot due to timeout expired

2013-03-30 Thread Tony Chung
Observed that the w83627hf watchdog timer start counting during reboot. If the system load the driver after 5 minutes, it rebooted immediately because of timer expired. For example, fsck took more than 5 minutes to run, then reboot will occurred. Signed-off-by: Tony Chung ---

[PATCHv2 1/2] watchdog: improve w83627hf_wdt to timeout in minute

2013-03-30 Thread Tony Chung
Watchdog should support timeout in minutes. For example, crash dump will usually require 5+ minutes. This patch increase the timeout from 255 seconds to (255*60) seconds and should be good for older LTS releases. This patch need to be rewritten again when this driver migrate to new watchdog

Re: [PATCH] acpi/video: lcd_get_level_current doen't return current level

2013-03-30 Thread Rafael J. Wysocki
On Saturday, March 30, 2013 05:01:41 PM Artem Savkov wrote: > acpi_video_device_lcd_get_level_current() called > acpi_video_bqc_value_to_level() > with "*level" as a second argument, resulting in level being returned based on > initial input, not current brightness, breaking backlight controls.

Re: [PATCH V4 0/2] Implement per policy instance of governor

2013-03-30 Thread Rafael J. Wysocki
On Sunday, March 31, 2013 07:00:16 AM Viresh Kumar wrote: > On 31 March 2013 03:38, Rafael J. Wysocki wrote: > > OK, I'll remove it. > > Thanks. > > > And by the way, I'm no longer amused with the mess going on in the cpufreq > > land. > > > > Please send me *patches*. I'm not interested in

Re: [PATCH] cpufreq: Raname index as data in cpufreq_frequency_table

2013-03-30 Thread Rafael J. Wysocki
On Sunday, March 31, 2013 07:03:04 AM Viresh Kumar wrote: > On 31 March 2013 03:31, Rafael J. Wysocki wrote: > > Sorry, I won't apply this. It changes too much stuff at a time and I'm not > > really sure if the change being made is necessary. > > Hmm.. I thought it is important as it puts the

Re: gpf in pm_qos_remote_wakeup_show

2013-03-30 Thread Rafael J. Wysocki
[Moving the thread to the LKML.] On Saturday, March 30, 2013 06:41:16 PM Sasha Levin wrote: > On 03/15/2013 01:06 PM, Rafael J. Wysocki wrote: [...] > >> Rafael, Is there anything you would like me to test? > > > > Please just test 3.9-rc2 (or later). > > Hi Rafael, Hi, > I got this after a

Re: [PATCH] cpufreq: Raname index as data in cpufreq_frequency_table

2013-03-30 Thread Viresh Kumar
On 31 March 2013 03:31, Rafael J. Wysocki wrote: > Sorry, I won't apply this. It changes too much stuff at a time and I'm not > really sure if the change being made is necessary. Hmm.. I thought it is important as it puts the real meaning of "index" in the code. It is big as it fixes all the

Re: [PATCH V4 0/2] Implement per policy instance of governor

2013-03-30 Thread Viresh Kumar
On 31 March 2013 03:38, Rafael J. Wysocki wrote: > OK, I'll remove it. Thanks. > And by the way, I'm no longer amused with the mess going on in the cpufreq > land. > > Please send me *patches*. I'm not interested in git pointers. Hmm. > Moreover, please send those patches in a way allowing

Re: [PATCH -mm -next] ipc,sem: untangle RCU locking with find_alloc_undo

2013-03-30 Thread Rik van Riel
On 03/30/2013 09:35 AM, Sasha Levin wrote: I'm thinking that the solution is as simple as: Your patch is absolutely correct. All it needs now is your signed-off-by, so Andrew can merge it into -mm :) Reviewed-by: Rik van Riel diff --git a/ipc/sem.c b/ipc/sem.c index 6e109ef..ac36671

Re: LOCKDEP: 3.9-rc1: mount.nfs/4272 still has locks held!

2013-03-30 Thread Paul Walmsley
On Wed, 13 Mar 2013, Jeff Layton wrote: > Of course, this is all a lot of work, and not something we can shove > into the kernel for 3.9 at this point. In the meantime, while Mandeep's > warning is correctly pointing out a problem, I think we ought to back > it out until we can fix this properly.

[PATCH] Revert "lockdep: check that no locks held at freeze time"

2013-03-30 Thread Paul Walmsley
This reverts commit 6aa9707099c4b25700940eb3d016f16c4434360d. Commit 6aa970 causes problems with NFS root filesystems. The failures were noticed on OMAP2 and 3 boards during kernel init: [5.508148] [ BUG: swapper/0/1 still has locks held! ] [5.513610] 3.9.0-rc3-00344-ga937536 #1 Not

Re: [PATCH v7 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-03-30 Thread Guenter Roeck
On Sat, Mar 30, 2013 at 04:18:18PM -0700, Anton Vorontsov wrote: > On Wed, Mar 27, 2013 at 12:48:07PM -0700, Guenter Roeck wrote: > > On Wed, Mar 27, 2013 at 03:13:32PM +0800, Hongbo Zhang wrote: > > > Each of ST-Ericsson X500 chip set series consists of both ABX500 and > > > DBX500 > > > chips.

Re: gpio-ucb1400

2013-03-30 Thread Guenter Roeck
On Sat, Mar 30, 2013 at 08:20:44PM +0100, Marek Vasut wrote: > Dear Guenter Roeck, > > > On Fri, Mar 29, 2013 at 08:46:39PM +0100, Jean Delvare wrote: > > > Hi all, > > > > > > In September 2009, a driver for the GPIO function of the UCB1400 chip > > > was added to the kernel tree. The probe

Re: [PATCH v7 0/5] Add ST-Ericsson AB8500 HWMON driver

2013-03-30 Thread Anton Vorontsov
Hi Hongbo, On Wed, Mar 27, 2013 at 03:13:27PM +0800, Hongbo Zhang wrote: [...] > Hongbo Zhang (5): > ab8500_btemp: make ab8500_btemp_get* interfaces public > ab8500: power: eliminate CamelCase warning of some variables > ab8500: power: add const attributes to some data arrays > ab8500:

New garment supplier from China

2013-03-30 Thread debao
-- 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/lkml/

Re: [PATCH v7 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-03-30 Thread Anton Vorontsov
On Wed, Mar 27, 2013 at 12:48:07PM -0700, Guenter Roeck wrote: > On Wed, Mar 27, 2013 at 03:13:32PM +0800, Hongbo Zhang wrote: > > Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 > > chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for > > all

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Ric Wheeler
On 03/30/2013 05:57 PM, Myklebust, Trond wrote: On Mar 30, 2013, at 5:45 PM, Pavel Machek wrote: On Sat 2013-03-30 13:08:39, Andreas Dilger wrote: On 2013-03-30, at 12:49 PM, Pavel Machek wrote: Hmm, really? AFAICT it would be simple to provide an open_deleted_file("directory") syscall.

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2013-03-30 Thread Pali Rohár
On Saturday 30 March 2013 22:42:29 Pavel Machek wrote: > On Sat 2013-03-30 11:35:26, Anton Vorontsov wrote: > > On Sat, Mar 30, 2013 at 07:07:05PM +0100, Pavel Machek wrote: > > > On Wed 2012-10-31 10:48:40, Pali Rohár wrote: > > > > Hello, I fixed style issues and added it to Makefile and > > > >

Re: [REPOST Patch v1 3/3] power: power_supply_core: Add support for supplied_from

2013-03-30 Thread Anton Vorontsov
On Mon, Mar 25, 2013 at 10:24:50PM -0400, Rhyland Klein wrote: [...] > +int power_supply_find_supply_from_node(struct device_node *supply_node) > +{ > + int error; > + struct device *dev; > + struct class_dev_iter iter; > + > + /* Use iterator to see if any other device is

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Andy Lutomirski
On Sat, Mar 30, 2013 at 12:49 PM, Pavel Machek wrote: > Hi! > >> > I thought the first thing people would ask for is to atomically create a >> > new file and copy the old file into it (at least on local file systems). >> > The idea is that nothing should see an empty destination file, either >>

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-30 Thread Ивайло Димитров
Hi, > Оригинално писмо >От: Pavel Machek >Относно: Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround >До: Pali Rohár >Изпратено на: Събота, 2013, Март 30 20:36:54 EET > > >Hi! > >> +u32 rx51_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32

[Update][PATCH] PCI / PM: Disable runtime PM of PCIe ports

2013-03-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The runtime PM of PCIe ports turns out to be quite fragile, as in some cases things work while in some other cases they don't and we don't seem to have a good way to determine whether or not they are going to work in advance. For this reason, avoid enabling runtime PM

Re: [PATCH] drm: fix i_mapping and f_mapping initialization in drm_open in error path

2013-03-30 Thread Ilija Hadzic
This looks a bit like a hack and it doesn't look right, conceptually. If the call fails, it should restore things as if nothing has ever happened and overwriting old_mapping is not going to do the trick. I think the right way to fix it would be to separately store the original mapping for

Re: [PATCH 01/10] mm: vmscan: Limit the number of pages kswapd reclaims at each priority

2013-03-30 Thread Jiri Slaby
On 03/29/2013 09:22 AM, Michal Hocko wrote: > On Thu 28-03-13 23:31:18, Jiri Slaby wrote: >> On 03/25/2013 10:13 AM, Jiri Slaby wrote: >>> BTW I very pray this will fix also the issue I have when I run ltp tests >>> (highly I/O intensive, esp. `growfiles') in a VM while playing a movie >>> on the

Re: [PATCH V4 0/2] Implement per policy instance of governor

2013-03-30 Thread Rafael J. Wysocki
On Saturday, March 30, 2013 09:06:37 AM Viresh Kumar wrote: > On 30 March 2013 07:47, Rafael J. Wysocki wrote: > > On Wednesday, March 27, 2013 09:28:56 PM Viresh Kumar wrote: > > >> To test these over linux-next you need to revert following first: > >> db9baec cpufreq: Get rid of "struct

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Myklebust, Trond
On Mar 30, 2013, at 5:45 PM, Pavel Machek wrote: > On Sat 2013-03-30 13:08:39, Andreas Dilger wrote: >> On 2013-03-30, at 12:49 PM, Pavel Machek wrote: >>> Hmm, really? AFAICT it would be simple to provide an >>> open_deleted_file("directory") syscall. You'd open_deleted_file(), >>> copy

Re: [PATCH] cpufreq: Raname index as data in cpufreq_frequency_table

2013-03-30 Thread Rafael J. Wysocki
On Saturday, March 30, 2013 05:10:26 PM Viresh Kumar wrote: > "Index" field of struct cpufreq_frequency_table was never index and isn't used > at all by cpufreq core. And is only useful for cpufreq drivers for their > personal use. > > Many people now a days blindly set it in ascending order with

[PATCH v3] [libata] Fix HDIO_DRIVE_CMD ioctl sense data check

2013-03-30 Thread Gwendal Grignou
commit 84a9a8 "Set proper SK when CK_COND is set" changed the sense key used for returning task registers, but HDIO_DRIVE_CMD ioctl was not changed accordingly. Tested: check that SMART ENABLE sent using HDIO_DRIVE_CMD returns 0 instead of EIO. Signed-off-by: Gwendal Grignou ---

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Pavel Machek
On Sat 2013-03-30 13:08:39, Andreas Dilger wrote: > On 2013-03-30, at 12:49 PM, Pavel Machek wrote: > > Hmm, really? AFAICT it would be simple to provide an > > open_deleted_file("directory") syscall. You'd open_deleted_file(), > > copy source file into it, then fsync(), then link it into

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2013-03-30 Thread Pavel Machek
On Sat 2013-03-30 11:35:26, Anton Vorontsov wrote: > On Sat, Mar 30, 2013 at 07:07:05PM +0100, Pavel Machek wrote: > > On Wed 2012-10-31 10:48:40, Pali Rohár wrote: > > > Hello, I fixed style issues and added it to Makefile and Kconfig. > > > > > > power_supply: Add Nokia RX-51 battery driver > >

Re: [PATCH] ip_gre: don't overwrite iflink during net_dev init

2013-03-30 Thread David Miller
From: Antonio Quartulli Date: Sat, 30 Mar 2013 18:07:37 +0100 > iflink is currently set to 0 in __gre_tunnel_init(). This > function is invoked in gre_tap_init() and > ipgre_tunnel_init() which are both used to initialise the > ndo_init field of the respective net_device_ops structs > (ipgre..

Re: gpio-ucb1400

2013-03-30 Thread Marek Vasut
Dear Guenter Roeck, > On Fri, Mar 29, 2013 at 08:46:39PM +0100, Jean Delvare wrote: > > Hi all, > > > > In September 2009, a driver for the GPIO function of the UCB1400 chip > > was added to the kernel tree. The probe function of this driver requires > > ucbdata to be set. The only place where

Re: Supporting SYSRQ on broken laptops like the thinkpad T530

2013-03-30 Thread Steven Noonan
On Sat, Mar 30, 2013 at 10:56 AM, Pavel Machek wrote: > On Fri 2013-03-22 15:31:41, Marc MERLIN wrote: >> On Wed, Jan 09, 2013 at 03:36:44AM +0100, Roland Eggner wrote: >> > On 2013-01-08 Tuesday at 15:09 -0800 Marc MERLIN wrote: >> > > In its infinite wisdom, lenovo has removed the sysrq key on

Re: [PATCH] net/wireless/sme: sched_scan_mtx lock in cfg80211_conn_work()

2013-03-30 Thread David Miller
From: Artem Savkov Date: Sat, 30 Mar 2013 21:20:14 +0400 > Introduced in f9f475292dbb0e7035fb6661d1524761ea0888d9 When referencing commits, always provide the commit message header line, in parenthesis and double quotes, so that it is unambiguous. Otherwise, when changes are backported into

Re: [PATCH] ARM: kirkwood: add MACH_GURUPLUG_DT to defconfig

2013-03-30 Thread Jason Cooper
On Sat, Mar 23, 2013 at 01:58:22PM +0100, Sebastian Hesselbarth wrote: > This patch just adds the missing MACH_GURUPLUG_DT to kirkwood_defconfig. > > Signed-off-by: Sebastian Hesselbarth > Reported-by: Soeren Moch > --- > Cc: Soeren Moch > Cc: Jason Cooper > Cc: Andrew Lunn > Cc: Russell

Re: [PATCH] ARM: kirkwood: make use of DT mvsdio on guruplug board

2013-03-30 Thread Jason Cooper
On Sat, Mar 23, 2013 at 01:58:09PM +0100, Sebastian Hesselbarth wrote: > Device tree based guruplug boards still use mvsdio platform_data and > kirkwood_sdio_init to enable sdio. DT support for sdio is already there, > so make use of it. > > This also fixes mvsdio accidentially breaking nand by

Re: Supporting SYSRQ on broken laptops like the thinkpad T530

2013-03-30 Thread Marc MERLIN
On Sat, Mar 30, 2013 at 06:56:28PM +0100, Pavel Machek wrote: > Sometimes it works, sometimes it does not. Don't blame lenovo for > that. > > Maybe it should be modified to take sysrq and _then_ key? > > Or maybe we should use something like lshift+rshift+lalt+ralt+key? It can't hurt to add

Re: [PATCH 0/6] Make return type of i2c_del_adapter() (and i2c_del_mux_adapter()) void

2013-03-30 Thread Lars-Peter Clausen
On 03/30/2013 09:13 PM, Jean Delvare wrote: > Hi Lars, > > On Sat, 9 Mar 2013 19:16:43 +0100, Lars-Peter Clausen wrote: >> Currently i2c_del_adapter() returns 0 on success and potentially an error >> code >> on failure. Unfortunately this doesn't mix too well with the Linux device >> driver >>

Re: [PATCH] [trivial]treewide: Fix typos in printk

2013-03-30 Thread Randy Dunlap
On 03/30/13 09:23, Masanari Iida wrote: > Correct spelling typos in various part of printk. > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > drivers/gpu/drm/i915/intel_dp.c | 2 +- > drivers/i2c/busses/i2c-puv3.c | 2 +- >

Re: [PATCH 0/6] Make return type of i2c_del_adapter() (and i2c_del_mux_adapter()) void

2013-03-30 Thread Jean Delvare
Hi Lars, On Sat, 9 Mar 2013 19:16:43 +0100, Lars-Peter Clausen wrote: > Currently i2c_del_adapter() returns 0 on success and potentially an error code > on failure. Unfortunately this doesn't mix too well with the Linux device > driver > model. (...) I see: struct device_driver {

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Andreas Dilger
On 2013-03-30, at 12:49 PM, Pavel Machek wrote: > Hmm, really? AFAICT it would be simple to provide an > open_deleted_file("directory") syscall. You'd open_deleted_file(), > copy source file into it, then fsync(), then link it into filesystem. > > That should have atomicity properties reflected.

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Pavel Machek
Hi! > > I thought the first thing people would ask for is to atomically create a > > new file and copy the old file into it (at least on local file systems). > > The idea is that nothing should see an empty destination file, either > > by race or by crash. (This feature would perhaps be

[PATCH] cs5535-mfgpt: Add another reset method

2013-03-30 Thread Richard Weinberger
The CS5535/CS5536 MFGPT has no support to reset the device. The current method uses an undocumented bit but does not work on all devices. At least on my ALIX board it completely freezes the board. This new method tries to soft reset all timers by unconfiguring them. But this does not clear the RO

Re: [BUG] mod/file2alias: build error in devicetable-offsets.c [was: asm/types.h Header file wont get generated while building uImage ?]

2013-03-30 Thread Andreas Schwab
"Jon Medhurst (Tixy)" writes: > For builds which succeed I see this order: > > WRAParch/arm/include/generated/asm/types.h > [...] > GEN include/generated/asm-offsets.h > > and for those which fail: > > CC scripts/mod/devicetable-offsets.s > In file included from

Re: New copyfile system call - discuss before LSF?

2013-03-30 Thread Pavel Machek
Hi! > > > If I'm guessing correctly, sendfile64()+flags would be annoying because > > > it's > > > missing an out_fd_offset. The host will want to offload the guest's > > > copies by > > > calling sendfile on block ranges of a guest disk image file that > > > correspond to > > > the mappings

[GIT PULL] target fixes for v3.9-rc5

2013-03-30 Thread Nicholas A. Bellinger
Hi Linus, Here are two more target-pending fixes for v3.9-rc5 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This includes the bug-fix for a >= v3.8-rc1 regression specific to iscsi-target persistent reservation conflict

Re: usr/include/linux/types.h:27:1: error: unknown type name '__u16'

2013-03-30 Thread Sam Ravnborg
On Wed, Mar 27, 2013 at 11:44:53PM +0800, Fengguang Wu wrote: > Greetings, > > The below errors show up in both upstream and linux-next. > >make ARCH=sparc allyesconfig >make ARCH=sparc > >In file included from usr/include/linux/genetlink.h:4:0, > from

Re: [PATCH 1/3] kthread: implement probe_kthread_data()

2013-03-30 Thread Oleg Nesterov
On 03/30, Tejun Heo wrote: > > On Sat, Mar 30, 2013 at 10:00 AM, Oleg Nesterov wrote: > > > But I guess I missed the fact that this helper should be safe even this > > @task can be the a vfork'ed user-space process, yes? > > > > Yeap, we really don't know what to expect. OK, > > Or we can add

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2013-03-30 Thread Anton Vorontsov
On Sat, Mar 30, 2013 at 07:07:05PM +0100, Pavel Machek wrote: > On Wed 2012-10-31 10:48:40, Pali Rohár wrote: > > Hello, I fixed style issues and added it to Makefile and Kconfig. > > > > power_supply: Add Nokia RX-51 battery driver > > > > This driver exporting battery design capacity,

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-30 Thread Pavel Machek
Hi! > +u32 rx51_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, > +u32 arg3, u32 arg4) > +{ > + u32 ret; > + u32 param[5]; > + > + param[0] = nargs+1; > + param[1] = arg1; > + param[2] = arg2; > + param[3] = arg3; > +

Re: [PATCH] ADP1653 board code for Nokia RX-51

2013-03-30 Thread Pavel Machek
Hi! > +static int __init rx51_camera_hw_init(void) > +{ > + int rval; > + > + rval = rx51_adp1653_init(); > + if (rval) > + return rval; > + > + return 0; > +} "return rx51_adp1653_init()". Or better yet, rename rx51_adp1653_init to rx51_camera_hw_init. Thanks for

Re: [PATCH 2/6] i2c: i2c_del_adapter: Don't treat removing a non-registered adapter as error

2013-03-30 Thread Jean Delvare
On Sat, 9 Mar 2013 19:16:45 +0100, Lars-Peter Clausen wrote: > Currently i2c_del_adapter() returns -EINVAL when it gets an adapter which is > not > registered. But none of the users of i2c_del_adapter() depend on this > behavior, At least two used to depend on it actually, and this is even why

Re: [RFC PATCH 0/5] Add support for S3 non-stop TSC support.

2013-03-30 Thread Pavel Machek
Hi! > >On some new Intel Atom processors (Penwell and Cloverview), there is > >a feature that the TSC won't stop S3, say the TSC value won't be > >reset to 0 after resume. This feature makes TSC a more reliable > >clocksource and could benefit the timekeeping code during system > >suspend/resume

Re: [PATCH] net/wireless/sme: sched_scan_mtx lock in cfg80211_conn_work()

2013-03-30 Thread Johannes Berg
On Sat, 2013-03-30 at 21:20 +0400, Artem Savkov wrote: > Introduced in f9f475292dbb0e7035fb6661d1524761ea0888d9 > > cfg80211_conn_scan() which requires sched_scan_mtx to be held can be called > from cfg80211_conn_work(). Without this we are hitting multiple warnings like > the following: > > [

Re: [PATCH v2] New Nokia RX-51 power supply battery driver

2013-03-30 Thread Pavel Machek
On Wed 2012-10-31 10:48:40, Pali Rohár wrote: > Hello, I fixed style issues and added it to Makefile and Kconfig. > > power_supply: Add Nokia RX-51 battery driver > > This driver exporting battery design capacity, temperature and voltage > for battery in Nokia RX-51. This driver is needed for

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2013-03-30 Thread Pavel Machek
On Mon 2013-01-21 10:05:06, Felipe Balbi wrote: > Hi, > > On Sun, Jan 20, 2013 at 11:17:31AM +0100, Pali Rohár wrote: > > On Sunday 20 January 2013 10:25:37 Felipe Balbi wrote: > > > On Sun, Jan 20, 2013 at 03:58:13AM +0100, Pali Rohár wrote: > > > > Signed-off-by: Pali Rohár > > > > > > NAK

Re: [PATCH] RX-51: Register twl4030-madc device

2013-03-30 Thread Pavel Machek
On Sun 2013-01-20 03:54:26, Pali Rohár wrote: > Signed-off-by: Pali Rohár Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line

Re: [PATCH] RX-51: Add leds lp5523 names from Maemo 5 2.6.28 kernel

2013-03-30 Thread Pavel Machek
On Sun 2013-01-20 03:50:44, Pali Rohár wrote: > Signed-off-by: Pali Rohár Reviewed-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line

Re: Supporting SYSRQ on broken laptops like the thinkpad T530

2013-03-30 Thread Pavel Machek
On Fri 2013-03-22 15:31:41, Marc MERLIN wrote: > On Wed, Jan 09, 2013 at 03:36:44AM +0100, Roland Eggner wrote: > > On 2013-01-08 Tuesday at 15:09 -0800 Marc MERLIN wrote: > > > In its infinite wisdom, lenovo has removed the sysrq key on the latest > > > thinkpads, and replaced it with a stupid

[PATCH] ip_gre: don't overwrite iflink during net_dev init

2013-03-30 Thread Antonio Quartulli
iflink is currently set to 0 in __gre_tunnel_init(). This function is invoked in gre_tap_init() and ipgre_tunnel_init() which are both used to initialise the ndo_init field of the respective net_device_ops structs (ipgre.. and gre_tap..) used by GRE interfaces. However, in netdevice_register()

Re: ipc,sem: sysv semaphore scalability

2013-03-30 Thread Linus Torvalds
On Fri, Mar 29, 2013 at 10:57 PM, Emmanuel Benisty wrote: > On Sat, Mar 30, 2013 at 12:10 PM, Linus Torvalds >> >> This came from the gcc build? > > yes, very early in the build process, IIRC this line was repeated a > few times and the build just stalled. Ok, we're bringing out the crazy hacks

Re: [PATCH v4 13/14] workqueue: implement NUMA affinity for unbound workqueues

2013-03-30 Thread Lai Jiangshan
On 31/03/13 00:32, Tejun Heo wrote: > Hello, Lai. > > > On Sat, Mar 30, 2013 at 9:13 AM, Lai Jiangshan > wrote: > > > + /* all pwqs have been created successfully, let's install'em > */ > mutex_lock(>mutex); > >

[PATCH] net/wireless/sme: sched_scan_mtx lock in cfg80211_conn_work()

2013-03-30 Thread Artem Savkov
Introduced in f9f475292dbb0e7035fb6661d1524761ea0888d9 cfg80211_conn_scan() which requires sched_scan_mtx to be held can be called from cfg80211_conn_work(). Without this we are hitting multiple warnings like the following: [ 51.996440] [ cut here ] [ 51.996484]

[PATCH 1/2 tj/for-3.10] workqueue: add wq->freezing and remove POOL_FREEZING

2013-03-30 Thread Lai Jiangshan
freezing is nothing related to pools, but POOL_FREEZING adds a connection, and causes freeze_workqueues_begin() and thaw_workqueues() complicated. Since freezing is workqueue instance attribute, so we introduce wq->freezing instead and remove POOL_FREEZING. Signed-off-by: Lai Jiangshan ---

[PATCH 2/2 tj/for-3.10] workqueue: modify wq->freezing only when freezable

2013-03-30 Thread Lai Jiangshan
simplify pwq_adjust_max_active(). make freeze_workqueues_begin() and thaw_workqueues() fast skip non-freezable wq. Signed-off-by: Lai Jiangshan --- kernel/workqueue.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c

Re: [PATCH 1/3] kthread: implement probe_kthread_data()

2013-03-30 Thread Oleg Nesterov
Hi Tejun, On 03/30, Tejun Heo wrote: > > On Sat, Mar 30, 2013 at 7:36 AM, Oleg Nesterov wrote: > > > +void *probe_kthread_data(struct task_struct *task) > > > +{ > > > + struct kthread *kthread = to_kthread(task); > > > + void *data = NULL; > > > + > > > + probe_kernel_read(, >data,

Re: PNP: List Rafael Wysocki as a maintainer

2013-03-30 Thread Bjorn Helgaas
On Fri, Mar 29, 2013 at 3:59 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The Adam Belay's e-mail address in MAINTAINERS under PNP SUPPORT > is not valid any more and I started to maintain that code in the > meantime as a matter of fact, so list myself as a maintainer of it > along

[RFT][PATCH v2 2/2] pwm: lpc32xx: Don't change PWM_ENABLE bit in lpc32xx_pwm_config

2013-03-30 Thread Axel Lin
lpc32xx_pwm_config() is supposed to set duty_ns and period_ns, it should not change PWM_ENABLE and other bits. Signed-off-by: Axel Lin --- drivers/pwm/pwm-lpc32xx.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/pwm/pwm-lpc32xx.c

[PATCH] [trivial]treewide: Fix typos in printk

2013-03-30 Thread Masanari Iida
Correct spelling typos in various part of printk. Signed-off-by: Masanari Iida --- drivers/gpu/drm/i915/intel_dp.c | 2 +- drivers/i2c/busses/i2c-puv3.c | 2 +- drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c | 2 +-

  1   2   3   4   >