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

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

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-15 Thread Hugh Dickins
On Fri, 14 Mar 2014, Mel Gorman wrote: > On Fri, Mar 14, 2014 at 12:06:25PM -0400, Rik van Riel wrote: > > On 03/14/2014 11:35 AM, Johannes Weiner wrote: > > > Page reclaim force-scans / swaps anonymous pages when file cache drops > > > below the high watermark of a zone in order to prevent what

Re: 3.14-rc: /proc/acpi/battery gone?

2014-03-15 Thread Stefan Lippers-Hollmann
Hi On Saturday 15 March 2014, Lan Tianyu wrote: > On 03/14/2014 10:17 PM, Stefan Lippers-Hollmann wrote: > > Hi > > > > On Saturday 15 March 2014, Rafael J. Wysocki wrote: > >> On Friday, March 14, 2014 06:14:12 PM Ilia Mirkin wrote: > >>> On Fri, Mar 14, 2014 at 6:11 PM, Pavel Machek wrote: >

Re: performance regression due to commit e82e0561("mm: vmscan: obey proportional scanning requirements for kswapd")

2014-03-15 Thread Hugh Dickins
On Fri, 14 Mar 2014, Mel Gorman wrote: > On Thu, Mar 13, 2014 at 05:44:57AM -0700, Hugh Dickins wrote: > > On Wed, 12 Mar 2014, Mel Gorman wrote: > > > On Tue, Feb 18, 2014 at 04:01:22PM +0800, Yuanhan Liu wrote: > > > > Hi, > > > > > > > > Commit e82e0561("mm: vmscan: obey proportional scanning

[PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-15 Thread Hugh Dickins
From: Suleiman Souhlal Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the file LRU getting force scanned even if there are a lot of anonymous pages we can reclaim, leading to

Re: [Suggestion] Makefile: about allmodconfig issue.

2014-03-15 Thread Chen Gang
On 03/16/2014 05:36 AM, Randy Dunlap wrote: > On 03/15/2014 02:30 PM, Chen Gang wrote: >> On 03/11/2014 09:08 AM, Chen Gang wrote: >>> On 03/10/2014 12:24 AM, Randy Dunlap wrote: On 03/09/2014 08:02 AM, Chen Gang wrote: >> [...] > Else ('depends on' priority is higher than 'select') >

Re: [v7] ext4: Add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2014-03-15 Thread tytso
I just noticed I had the v6 version of your patch in my tree. I've updated it to be the v7 version, thanks. - Ted -- 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

Re: [RFC PATCH] Support map_pages() for DAX

2014-03-15 Thread Matthew Wilcox
On Sat, Mar 15, 2014 at 01:32:33AM +0200, Kirill A. Shutemov wrote: > Side note: I'm sceptical about whole idea to use i_mmap_mutux to protect > against truncate. It will not scale good enough comparing lock_page() > with its granularity. I'm actually working on this now. The basic idea is to

Re: [RESEND v2 PATCH 1/2] aio, memory-hotplug: Fix confliction when migrating and accessing ring pages.

2014-03-15 Thread Gu Zheng
Hi Ben, Sorry for late. On 03/14/2014 11:14 PM, Benjamin LaHaise wrote: > Hi Gu, > > On Fri, Mar 14, 2014 at 06:25:16PM +0800, Gu Zheng wrote: >> Hi Ben, >> On 03/13/2014 06:17 AM, Benjamin LaHaise wrote: >> >>> Hello Tang, >>> >>> On Wed, Mar 12, 2014 at 01:25:26PM +0800, Tang Chen wrote: >>>

cond_resched() and RCU CPU stall warnings

2014-03-15 Thread Paul E. McKenney
So I have been tightening up rcutorture a bit over the past year. The other day, I came across what looked like a great opportunity for further tightening, namely the schedule() in rcu_torture_reader(). Why not turn this into a cond_resched(), speeding up the readers a bit and placing more stress

[PATCHv4 4/7] mfd: twl-core: Add twl_i2c_read/write_u16

2014-03-15 Thread Sebastian Reichel
Add a simple twl_i2c_read/write_u16 wrapper over the twl_i2c_read/write, which is similar to the twl_i2c_read/write_u8 wrapper. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- include/linux/i2c/twl.h | 12 1 file

[PATCHv4 6/7] Documentation: DT: Document twl4030-madc binding

2014-03-15 Thread Sebastian Reichel
Add devicetree binding documentation for twl4030-madc analog digital converter. Signed-off-by: Sebastian Reichel Acked-by: Jonathan Cameron --- .../devicetree/bindings/iio/adc/twl4030-madc.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644

[PATCHv4 3/7] mfd: twl4030-madc: Cleanup driver

2014-03-15 Thread Sebastian Reichel
Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Reported-by: Lee Jones Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 145 +++

[PATCHv4 5/7] mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers

2014-03-15 Thread Sebastian Reichel
Simplify reading and writing of 16 bit TWL registers in the driver by using twl_i2c_read_u16 and twl_i2c_write_u16. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 39

[PATCHv4 2/7] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-15 Thread Sebastian Reichel
This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel Tested-by: Marek Belisko Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/mfd/twl4030-madc.c | 127 +

[PATCHv4 1/7] mfd: twl4030-madc: Use managed resources

2014-03-15 Thread Sebastian Reichel
Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron Tested-by: Marek Belisko --- drivers/mfd/twl4030-madc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git

[PATCHv4 0/7] Convert twl4030-madc to IIO API and add DT support

2014-03-15 Thread Sebastian Reichel
Hi, This is PATCHv4 for converting twl4030-madc to the IIO API and adding DT support. The plan is to remove the private twl4030-madc API once all users have been removed or converted to the IIO API. The patchset compiles and has been tested on my Nokia N900. Changes since PATCHv3 [0]: * Dropped

[PATCHv4 7/7] mfd: twl4030-madc: Move driver to drivers/iio/adc

2014-03-15 Thread Sebastian Reichel
This is a driver for an A/D converter, which belongs into drivers/iio/adc. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile| 1 + drivers/{mfd =>

[PATCH] autofs4: check dev ioctl size before allocating

2014-03-15 Thread Sasha Levin
There wasn't any check of the size passed from userspace before trying to allocate the memory required. This meant that userspace might request more space than allowed, triggering an OOM. Signed-off-by: Sasha Levin --- fs/autofs4/dev-ioctl.c |3 +++ 1 files changed, 3 insertions(+), 0

asus-nb-wmi: probe of asus-nb-wmi failed with error -5

2014-03-15 Thread E R
Hello all, 've run into this issue I've submitted a bug report for; asus-nb-wmi: probe of asus-nb-wmi failed with error -5 https://bugzilla.kernel.org/show_bug.cgi?id=72131 Anyone have a clue here as to what is going on with this can help out? Thank you... EB -- To unsubscribe from this

Re: next-20140312 - build error in drivers/acpi/sleep.c

2014-03-15 Thread David Rientjes
On Fri, 14 Mar 2014, valdis.kletni...@vt.edu wrote: > This appears to be fixed in next-20140314, with updated commit: > Yes, I can no longer trigger the build errors, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RC6 Bell Chime] [PATCH 00/24] rfcomm fixes

2014-03-15 Thread Linus Torvalds
On Sat, Mar 15, 2014 at 1:45 PM, Peter Hurley wrote: > > FWIW, the 'known breakage' for 3.14 is a (valid) lockdep report. Ok, if it's just lockdep and unlikely to hit in real life and getting fixed later, I guess I don't really care all that deeply for 3.14 Linus -- To

[PATCH V2] ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug

2014-03-15 Thread Peter Senna Tschudin
1. For the 64 bits dma mask use dma_set_mask_and_coherent instead of dma_set_mask and dma_set_coherent_mask. 2. For the 32 bits dma mask dma_set_coherent_mask is only called if dma_set_mask fails, which is unusual. Assuming this as a bug, fixes it by replacing calls to dma_set_mask and

[PATCH] audit: get comm using lock to avoid race in string printing

2014-03-15 Thread Richard Guy Briggs
--- kernel/audit.c |5 ++--- kernel/auditsc.c |9 + 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 9239e5e..5b600c8 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -1883,7 +1883,7 @@ EXPORT_SYMBOL(audit_log_task_context);

[PATCH] audit: copy comm to avoid race in string printing

2014-03-15 Thread Richard Guy Briggs
--- kernel/audit.c |5 ++--- kernel/auditsc.c |3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 9239e5e..ecb08a5 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -1883,7 +1883,7 @@ EXPORT_SYMBOL(audit_log_task_context); void

race in audit_log_untrusted_string for task_struct::comm

2014-03-15 Thread Richard Guy Briggs
Hi, I'm investigating a race in audit_log_untrusted_string() in the case of task_struct::comm. Originally from commit 0a4ff8c2 audit_log_task() currently hands task_struct::comm directly to audit_log_untrusted_string() which can race if another task/thread on another CPU modifies it between the

Re: [PATCH] ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug

2014-03-15 Thread Sergei Shtylyov
Hello. On 03/15/2014 09:19 PM, Peter Senna Tschudin wrote: 1. For the 64 bits dma mask use dma_set_mask_and_coherent instead of dma_set_mask and dma_set_coherent_mask. 2. For the 32 bits dma mask dma_set_coherent_mask is only called if dma_set_mask fails, which is unusual. Assuming

Re: [PATCH 0/2] KVM: x86 emulator: emulate MOVAPS and MOVAPD SSE instructions

2014-03-15 Thread H. Peter Anvin
Stupid question... what instructions do NOT need emulsion in KVM? It would seem that at least anything that touches memory would? On March 15, 2014 1:01:58 PM PDT, Igor Mammedov wrote: >MS HCK test fails on 32-bit Windows 8.1 due to missing MOVAPS >instruction emulation, this series adds it and

Re: [PATCH 0/2] KVM: x86 emulator: emulate MOVAPS and MOVAPD SSE instructions

2014-03-15 Thread H. Peter Anvin
MOVAPS, MOVAPD, and MOVDQA are the same operation. They may, architecturally, have different performance characteristics, but nothing that would affect an emulator. On March 15, 2014 1:01:58 PM PDT, Igor Mammedov wrote: >MS HCK test fails on 32-bit Windows 8.1 due to missing MOVAPS

Re: [RC6 Bell Chime] [PATCH 00/24] rfcomm fixes

2014-03-15 Thread Sander Eikelenboom
Saturday, March 15, 2014, 9:45:03 PM, you wrote: > On 03/15/2014 01:53 PM, Linus Torvalds wrote: >> Guys, why is this being discussed? > FWIW, the 'known breakage' for 3.14 is a (valid) lockdep report. Hmm .. whoops you are right .. i remembered it as being an "oops", but you are right it was

Re: [Suggestion] Makefile: about allmodconfig issue.

2014-03-15 Thread Randy Dunlap
On 03/15/2014 02:30 PM, Chen Gang wrote: > On 03/11/2014 09:08 AM, Chen Gang wrote: >> On 03/10/2014 12:24 AM, Randy Dunlap wrote: >>> On 03/09/2014 08:02 AM, Chen Gang wrote: > [...] Else ('depends on' priority is higher than 'select') - some architectures can choose whether

Re: [Suggestion] Makefile: about allmodconfig issue.

2014-03-15 Thread Chen Gang
On 03/11/2014 09:08 AM, Chen Gang wrote: > On 03/10/2014 12:24 AM, Randy Dunlap wrote: >> On 03/09/2014 08:02 AM, Chen Gang wrote: [...] >>> Else ('depends on' priority is higher than 'select') >>> >>> - some architectures can choose whether support IRQ_DOMAIN. >>> >>> - if IRQ_DOMAIN enabled,

Re: [PATCH] iio: adc: at91_adc: correct default shtim value

2014-03-15 Thread Alexandre Belloni
Hi, On 15/03/2014 at 16:34:02 +, Jonathan Cameron wrote : > Applied to the fixes-togreg branch of iio.git. > Note that is likely that this will go upstream after the merge window now. > I was aiming at 3.15 anyway. Thanks for you help ! -- Alexandre Belloni, Free Electrons Embedded

Re: [PATCH] arch/avr32/mm/cache.c: export symbol flush_icache_range() for module using

2014-03-15 Thread Chen Gang
On 03/09/2014 11:19 PM, Chen Gang wrote: > On 03/09/2014 06:17 AM, Hans-Christian Egtvedt wrote: >> Around Sun 09 Mar 2014 05:47:04 +0800 or thereabout, Chen Gang wrote: >>> >>> After this patch, our linux kernel can pass "avr32-linux-" allmodconfig >>> (it contents quite a few of warnings, but

Re : [PATCH 1/1] remove cpqarray from mainline kernel

2014-03-15 Thread FĂ©lix
On Thu, Oct 17 2013, Jens Axboe wrote: > On Thu, Oct 17 2013, Andrew Morton wrote: > > On Thu, 17 Oct 2013 12:52:26 -0500 Mike Miller > wrote: > > > > > cpqarray hasn't been used in over 12 years. It's doubtful that > > > anyone still uses the board. It's time the driver was removed from the >

Re: [RC6 Bell Chime] [PATCH 00/24] rfcomm fixes

2014-03-15 Thread Peter Hurley
On 03/15/2014 01:53 PM, Linus Torvalds wrote: Guys, why is this being discussed? FWIW, the 'known breakage' for 3.14 is a (valid) lockdep report. This regression was introduced by a small patchset added to -next over the holidays that was intended to address 2 bug reports stemming from a

Re: [PATCH] zram: include linux/err.h

2014-03-15 Thread Arnd Bergmann
On Saturday 15 March 2014, Sergey Senozhatsky wrote: > On (03/15/14 10:40), Arnd Bergmann wrote: > > The zram driver uses the ERR_PTR macro defined in > > and relies on this header to be included implicitly through > > other headers, which is not (always) the case on the ARM architecture. > > >

Re: [PATCH] backing_dev: Fix hung task on sync

2014-03-15 Thread dbasehore .
Resurrecting this for further discussion about the root of the problem. mod_delayed_work_if_later addresses the problem one way, but the problem is still there for mod_delayed_work. I think we could take another approach that doesn't modify the API, but still addresses (most of) the problem.

[PATCH] ia64: keep format strings from leaking into printk

2014-03-15 Thread Kees Cook
The buffer being sent to printk has already had format strings resolved. The string should not be reinterpreted again to avoid any unintended format strings from leaking into printk. Signed-off-by: Kees Cook --- arch/ia64/kernel/mca.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 6/8] mfd: lpc_ich: Change Avoton to iTCO v3

2014-03-15 Thread Wim Van Sebroeck
Hi Peter, > The register layout of the Avoton is compatible with the iTCO v3 > register layout. > > Signed-off-by: Peter Tyser > Tested-by: Rajat Jain > Cc: Guenter Roeck > Cc: James Ralston > Cc: Samuel Ortiz > Cc: Lee Jones > Cc: Wim Van Sebroeck > Cc: linux-watch...@vger.kernel.org >

[PATCH kvm-unit-tests 0/2] test MOVAPS and MOVAPD SSE instructions

2014-03-15 Thread Igor Mammedov
This series adds checks for MOVAPS and MOVAPD SSE instructions. It's used by MS HCK test on 32-bit Windows 8.1 Igor Mammedov (2): emulator: movaps emulator: movapd x86/emulator.c | 14 ++ 1 file changed, 14 insertions(+) -- 1.8.5.3 -- To unsubscribe from this list: send the

[PATCH kvm-unit-tests 1/2] emulator: movaps

2014-03-15 Thread Igor Mammedov
Signed-off-by: Igor Mammedov --- x86/emulator.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/x86/emulator.c b/x86/emulator.c index 2e25dd8..1296a99 100644 --- a/x86/emulator.c +++ b/x86/emulator.c @@ -645,6 +645,13 @@ static void test_sse(sse_union *mem) mem->u[0] = 5;

Re: [PATCH 4/8] mfd: lpc_ich: Add support for iTCO v3

2014-03-15 Thread Wim Van Sebroeck
Hi Peter, > Some newer Atom CPUs, eg Avoton and Bay Trail, use slightly different > register layouts for the iTCO than the current v1 and v2 iTCO. > Differences from previous iTCO versions include: > - The ACPI space is enabled in the "ACPI base address" register instead > of the "ACPI control

[PATCH kvm-unit-tests 2/2] emulator: movapd

2014-03-15 Thread Igor Mammedov
Signed-off-by: Igor Mammedov --- x86/emulator.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/x86/emulator.c b/x86/emulator.c index 1296a99..388db99 100644 --- a/x86/emulator.c +++ b/x86/emulator.c @@ -652,6 +652,13 @@ static void test_sse(sse_union *mem) mem->u[0] = 5;

Re: [PATCH 5/8] watchdog: iTCO_wdt: Add support for v3 silicon

2014-03-15 Thread Wim Van Sebroeck
Hi Peter, > Some new Atom's, eg Avoton and Bay Trail, have slightly different iTCO > functionality: > - The watchdog timer ticks at 1 second instead of .6 seconds > > - Some 8 and 16-bit registers were combined into 32-bit registers > > - Some registers were removed (DAT_IN, DAT_OUT, MESSAGE) >

[PATCH 1/2] KVM: x86 emulator: emulate MOVAPS

2014-03-15 Thread Igor Mammedov
HCK memory driver test fails when testing 32-bit Windows 8.1 with baloon driver. tracing KVM shows error: reason EXIT_ERR rip 0x81c18326 info 0 0 x/10i 0x81c18326-20 0x81c18312: add%al,(%eax) 0x81c18314: add%cl,-0x7127711d(%esi) 0x81c1831a: rolb

[PATCH 2/2] KVM: x86 emulator: emulate MOVAPD

2014-03-15 Thread Igor Mammedov
Add emulation for 0x66 prefixed instruction of 0f 28 opcode that has been added earlier. Signed-off-by: Igor Mammedov --- arch/x86/kvm/emulate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index a26d075..205b17e 100644 ---

[PATCH 0/2] KVM: x86 emulator: emulate MOVAPS and MOVAPD SSE instructions

2014-03-15 Thread Igor Mammedov
MS HCK test fails on 32-bit Windows 8.1 due to missing MOVAPS instruction emulation, this series adds it and while at it, it adds emulation of MOVAPD which is trivial to implement on top of MOVAPS. Igor Mammedov (2): KVM: x86 emulator: emulate MOVAPS KVM: x86 emulator: emulate MOVAPD

Re: [PATCH v10 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-15 Thread Daniel Borkmann
On 03/14/2014 09:08 PM, David Miller wrote: From: Alexei Starovoitov Date: Fri, 14 Mar 2014 12:51:17 -0700 can you please explain why the status of these patches is 'deferred' in patchwork ? Is it because of bpf vs nft thread? I think that's orthogonal. I do not find it orthogonal, Pablo

Re: [RFC v3 3/3] of: Make of_find_node_by_path() handle /aliases

2014-03-15 Thread Rob Herring
On Sat, Mar 15, 2014 at 7:33 AM, Grant Likely wrote: > On Fri, 14 Mar 2014 16:39:38 -0500, Rob Herring wrote: >> On Fri, Mar 14, 2014 at 12:11 PM, Grant Likely >> wrote: >> > Make of_find_node_by_path() handle aliases as prefixes. To make this >> > work the name search is refactored to search

Re: [PATCH] it87_wdt: Work around non-working CIR interrupts

2014-03-15 Thread Wim Van Sebroeck
Hi Marc, > From: Marc van der Wal > > On some hardware platforms, the it87_wdt watchdog resets the machine > despite the watchdog daemon running and writing to /dev/watchdog. > > This is due to Consumer IR buffer underrun interrupts being used as > triggers to reset the timer. On some buggy

Re: [PATCH] watchdog: bcm281xx: Fix Kconfig dependency

2014-03-15 Thread Wim Van Sebroeck
Hi Markus, > Use more the applicable ARCH_BCM_MOBILE option instead of ARCH_BCM as > dependency for bcm_kona_wdt.c. > > Signed-off-by: Markus Mayer > --- > drivers/watchdog/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/watchdog/Kconfig

Re: [PATCH] powerpc/mm: Make sure a local_irq_disable prevent a parallel THP split

2014-03-15 Thread Rik van Riel
On 03/15/2014 06:47 AM, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > We have generic code like the one in get_futex_key that assume that > a local_irq_disable prevents a parallel THP split. Support that by > adding a dummy smp call function after setting _PAGE_SPLITTING. Code > paths

Re: [PATCH] exit.c: call proc_exit_connector() after exit_state is set

2014-03-15 Thread Linus Torvalds
On Sat, Mar 15, 2014 at 12:12 PM, Oleg Nesterov wrote: > > So I think the patch is fine, but let me repeat: > > I hope that someone > can confirm that netlink_broadcast() is safe even if > release_task(current) > was already called, so that the caller has no pids,

Re: [PATCH RFC 0/9] socket filtering using nf_tables

2014-03-15 Thread Alexei Starovoitov
On Sat, Mar 15, 2014 at 12:03 PM, Pablo Neira Ayuso wrote: > On Fri, Mar 14, 2014 at 09:04:50PM -0700, Alexei Starovoitov wrote: > [...] >> In the patches I sent, ebpf is _not_ exposed to the user. > > From your last patch: http://patchwork.ozlabs.org/patch/329713/ > > diff --git

Re: [PATCH] exit.c: call proc_exit_connector() after exit_state is set

2014-03-15 Thread Oleg Nesterov
On 03/15, Linus Torvalds wrote: > > [ Going through old emails, adding relevant people, ie Oleg for > kernel/exit.c and David because he seems to be the go-to person for > connector issues judging by commits ] > > Patch looks sane to me, and logically that exit_connector thing would > pair with

Re: [PATCH RFC 0/9] socket filtering using nf_tables

2014-03-15 Thread Pablo Neira Ayuso
On Fri, Mar 14, 2014 at 09:04:50PM -0700, Alexei Starovoitov wrote: [...] > In the patches I sent, ebpf is _not_ exposed to the user. >From your last patch: http://patchwork.ozlabs.org/patch/329713/ diff --git a/include/uapi/linux/filter.h b/include/uapi/linux/filter.h index

Re: [PATCH] exit.c: call proc_exit_connector() after exit_state is set

2014-03-15 Thread Linus Torvalds
[ Going through old emails, adding relevant people, ie Oleg for kernel/exit.c and David because he seems to be the go-to person for connector issues judging by commits ] Patch looks sane to me, and logically that exit_connector thing would pair with exit_notify(), but I'd like some comments on

[PATCH] ATHEROS-ALX: Use dma_set_mask_and_coherent and fix a bug

2014-03-15 Thread Peter Senna Tschudin
1. For the 64 bits dma mask use dma_set_mask_and_coherent instead of dma_set_mask and dma_set_coherent_mask. 2. For the 32 bits dma mask dma_set_coherent_mask is only called if dma_set_mask fails, which is unusual. Assuming this as a bug, fixes it by replacing calls to dma_set_mask and

Re: kernel panic 3.11.7 in kmem_cache_alloc+0x66/0x150

2014-03-15 Thread Linus Torvalds
[ Going through old emails, this is probably stale by now since you already figured out it was fixed in 3.13 ] On Mon, Feb 24, 2014 at 3:47 AM, Jasper Spaans wrote: > > Last weekend one of our machines showed some interesting behaviour, where > processes seemed to be crashing randomly. Further

Re: [PATCH 01/10] perf, tools: Add jsmn `jasmine' JSON parser

2014-03-15 Thread Andi Kleen
> Will this be useful for all arches? Yes they could define their own JSON files, perhaps with minor extensions of the parser and a new download sites in the downloader. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RC6 Bell Chime] [PATCH 00/24] rfcomm fixes

2014-03-15 Thread Linus Torvalds
On Sat, Mar 15, 2014 at 6:51 AM, Sander Eikelenboom wrote: > > > Ok but the breakage/regression was known since around the merge window. > I thought the "standard policy" when things cause new regression and are not > fixable (too intrusive, too time consuming you > name the reason), was to

[GIT PULL] SCSI fixes for 3.14-rc6

2014-03-15 Thread James Bottomley
This is a set of six fixes. Two are instant crash/null deref types (storvsc and isci reset fixes). The two qla2xxx are initialisation problems that cause MSI-X failures and card misdetection, the isci erroneous macro is actually illegal C that's causing a miscompile with certain gcc versions and

[Fix PATCH] ACPI/Button: Add ACPI Button event via netlink routine

2014-03-15 Thread Lan Tianyu
Commit 1696d9d(ACPI: Remove the old /proc/acpi/event interface) removes ACPI Button event which originally was sent to userspace via /proc/acpi/event. This causes ACPI shutdown regression on gentoo in the VirtualBox. Now ACPI events are sent to userspace via netlink. This patch is to add ACPI

Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-15 Thread Ohad Ben-Cohen
On Fri, Mar 14, 2014 at 5:23 PM, Josh Cartwright wrote: > So, are you suggesting that because fatal errors should be "extremely > rare", a consuming driver should just assume that if NULL is returned > from a hwspin_lock_request*() function that it was the "device not yet > probed" case that was

Re: 3.14-rc: /proc/acpi/battery gone?

2014-03-15 Thread Lan Tianyu
On 03/15/2014 12:05 PM, Pavel Machek wrote: Hi! They have attempted to use the sysfs api, but apparently that integration was done with an older version of that API. There's also some attempt to get it to work with upower, but I couldn't figure out how to make that work either on my

Re: [PATCH] iio: adc: at91_adc: correct default shtim value

2014-03-15 Thread Jonathan Cameron
On 05/03/14 11:04, Josh Wu wrote: Hi, Alexandre On 3/4/2014 2:07 AM, Alexandre Belloni wrote: When sample_hold_time is zero (this is the case when DT is not used or if atmel,adc-sample-hold-time is omitted), then the calculated shtim is large. Make that 0, which is the default for that

[PATCH net-next,v2,0/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-15 Thread Haiyang Zhang
In this updated version, I have re-written the send queue selection, which is based on ndo_select_queue now. I also applied the stop/wake queue for each queue separately as suggested by reviewers. Tom Herbert has submitted a Toeplitz library function with some optimization. But it's not accepted

[PATCH net-next,v2,1/1] hyperv: Add support for virtual Receive Side Scaling (vRSS)

2014-03-15 Thread Haiyang Zhang
This feature allows multiple channels to be used by each virtual NIC. It is available on Hyper-V host 2012 R2. Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan --- drivers/net/hyperv/hyperv_net.h | 111 ++- drivers/net/hyperv/netvsc.c | 132

Re: [PATCH] iio: cm36651: Fix i2c client leak and possible NULL pointer dereference

2014-03-15 Thread Jonathan Cameron
On 06/03/14 09:33, Krzysztof Kozlowski wrote: During probe the driver allocates dummy I2C devices (i2c_new_dummy()) but they aren't unregistered during driver remove or probe failure. Additionally driver does not check the return value of i2c_new_dummy(). In case of error (i2c_new_device():

[PATCH] perf sched latency: prettify printed table

2014-03-15 Thread Ramkumar Ramachandra
Cc: Frederic Weisbecker Cc: David Ahern Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/builtin-sched.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index

Re: [mac80211_hwsim] BUG: unable to handle kernel paging request at ce1db404

2014-03-15 Thread Krishna Chaitanya
On Sat, Mar 15, 2014 at 9:11 PM, Johannes Berg wrote: > On Sat, 2014-03-15 at 21:03 +0530, Krishna Chaitanya wrote: > >> > > what RC are u using? Default should be minstrel, i dont see >> > > a reason for rc alloc to fail (remote reason kmalloc failure), >> > > so did you disable RC completely?

Re: 3.14-rc: /proc/acpi/battery gone?

2014-03-15 Thread Pavel Machek
Hi! > >>>They have attempted to use the sysfs api, but apparently that > >>>integration was done with an older version of that API. There's also > >>>some attempt to get it to work with upower, but I couldn't figure out > >>>how to make that work either on my (up-to-date gentoo) box. (TBH I >

[ INFO: possible circular locking dependency detected ]

2014-03-15 Thread poma
https://bugzilla.redhat.com/attachment.cgi?id=874823 poma -- 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

Re: [PATCH 0/4] perf: trivial follow-ons to --list-cmds

2014-03-15 Thread David Ahern
On 3/14/14, 9:17 PM, Ramkumar Ramachandra wrote: Hi, With "perf kvm: introduce --list-cmds for use by scripts" accepted, these are trivial follow-on patches to enable the same functionality in kmem, mem, lock, and sched. Thanks. Ramkumar Ramachandra (4): perf kmem: introduce --list-cmds

Re: [PATCH 01/10] perf, tools: Add jsmn `jasmine' JSON parser

2014-03-15 Thread David Ahern
On 3/14/14, 8:27 PM, Andi Kleen wrote: On Fri, Mar 14, 2014 at 04:41:31PM -0600, David Ahern wrote: On 3/14/14, 3:31 PM, Andi Kleen wrote: @@ -374,6 +376,8 @@ LIB_OBJS += $(OUTPUT)util/stat.o LIB_OBJS += $(OUTPUT)util/record.o LIB_OBJS += $(OUTPUT)util/srcline.o LIB_OBJS +=

Re: [mac80211_hwsim] BUG: unable to handle kernel paging request at ce1db404

2014-03-15 Thread Johannes Berg
On Sat, 2014-03-15 at 21:03 +0530, Krishna Chaitanya wrote: > > > what RC are u using? Default should be minstrel, i dont see > > > a reason for rc alloc to fail (remote reason kmalloc failure), > > > so did you disable RC completely? No prints either w.r.t RC either in > > > dmesg? > > > > Pay

Re: [PATCHv3 9/9] iio: inkern: add iio_read_channel_average_raw

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Add iio_read_channel_average_raw to support reading averaged raw values in consumer drivers. Signed-off-by: Sebastian Reichel As this one also stands fine on it's own and isn't actually used by the rest of the patch set - applied to the togreg

Re: [PATCHv3 8/9] iio: documentation: Add ABI documentation for *_mean_raw

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Add ABI documentation for in_*_mean_raw files, which are already supported and used in the kernel for some time. Signed-off-by: Sebastian Reichel As this one stands fine on it's own... Applied to the togreg branch of iio.git Thanks ---

Re: [PATCHv3 3/9] mfd: twl4030-madc: Cleanup driver

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Reported-by: Lee Jones Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Tested-by: Marek Belisko Acked-by: Jonathan Cameron One, whilst you are here request below. ---

Re: [PATCHv3 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel Tested-by: Marek Belisko One issue in the remove function. Reorder that and I'm happy. ---

Re: [PATCHv3 1/9] mfd: twl4030-madc: Use managed resources

2014-03-15 Thread Jonathan Cameron
On 10/03/14 17:25, Sebastian Reichel wrote: Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Tested-by: Marek Belisko My email client was having a crazy day and not showing me this revision of the patches - I'll bring my comments

Re: [mac80211_hwsim] BUG: unable to handle kernel paging request at ce1db404

2014-03-15 Thread Krishna Chaitanya
On Sat, Mar 15, 2014 at 8:50 PM, Johannes Berg wrote: > > On Thu, 2014-03-13 at 02:15 +0530, Krishna Chaitanya wrote: > > > From the logs it looks like "rate_control_alloc" is failed, > > causing ieee80211_register_hw to fail triggering the crash. > > Yes. > > > what RC are u using? Default

Re: [PATCH 2/3] ARM: at91: at91sam9g45: change at91_adc name

2014-03-15 Thread Jonathan Cameron
On 10/03/14 13:26, Nicolas Ferre wrote: On 06/03/2014 20:16, Jonathan Cameron : On 05/03/14 16:57, Alexandre Belloni wrote: We can't use "at91_adc" to refer to the at91_adc driver anymore as the name is used to match an id_table. Signed-off-by: Alexandre Belloni As stated in previous email,

Re: 3.14-rc: /proc/acpi/battery gone?

2014-03-15 Thread Lan Tianyu
On 03/14/2014 10:17 PM, Stefan Lippers-Hollmann wrote: Hi On Saturday 15 March 2014, Rafael J. Wysocki wrote: On Friday, March 14, 2014 06:14:12 PM Ilia Mirkin wrote: On Fri, Mar 14, 2014 at 6:11 PM, Pavel Machek wrote: On Fri 2014-03-14 17:29:41, Ilia Mirkin wrote: On Fri, Mar 14, 2014 at

Re: [PATCHv2 9/9] iio: inkern: add iio_read_channel_average_raw

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Add iio_read_channel_average_raw to support reading averaged raw values in consumer drivers. Signed-off-by: Sebastian Reichel Acked-by: Jonathan Cameron Sometimes these wrappers seem a little bit silly. There might be a case for automating them

Re: [PATCHv2 8/9] iio: documentation: Add ABI documentation for *_mean_raw

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Add ABI documentation for in_*_mean_raw files, which are already supported and used in the kernel for some time. Signed-off-by: Sebastian Reichel Acked-by: Jonathan Cameron Thanks for doing this. --- Documentation/ABI/testing/sysfs-bus-iio | 8

Re: [PATCHv2 6/9] Documentation: DT: Document twl4030-madc binding

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Add devicetree binding documentation for twl4030-madc analog digital converter. Signed-off-by: Sebastian Reichel I'm happy with this, but it needs the usual sign off form a device tree maintainer or 3 weeks to pass since it was posted. Acked-by:

Re: [PATCHv2 3/9] mfd: twl4030-madc: Cleanup driver

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Gah - not sure I want to be known for reporting style issues :) Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Looks good - one little whilst you are here comment

Re: [PATCHv2 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel One issues right down in the remove function alongside the ones Lee raised. Otherwise looks pretty much there to

Re: [mac80211_hwsim] BUG: unable to handle kernel paging request at ce1db404

2014-03-15 Thread Johannes Berg
On Thu, 2014-03-13 at 02:15 +0530, Krishna Chaitanya wrote: > From the logs it looks like "rate_control_alloc" is failed, > causing ieee80211_register_hw to fail triggering the crash. Yes. > what RC are u using? Default should be minstrel, i dont see > a reason for rc alloc to fail (remote

Re: [PATCHv2 1/9] mfd: twl4030-madc: Use managed resources

2014-03-15 Thread Jonathan Cameron
On 04/03/14 22:05, Sebastian Reichel wrote: Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/mfd/twl4030-madc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff

Re: [PATCH] virtio-blk: make the queue depth the max supportable by the hypervisor

2014-03-15 Thread Theodore Ts'o
On Sat, Mar 15, 2014 at 06:57:23AM -0700, Christoph Hellwig wrote: > I don't think this should be a module parameter. The default sizing > should be based of the parameters of the actual virtqueue, and if we > want to allow tuning it it should be by a sysfs attribute, preferable > using the same

Re: 3.14-rc: /proc/acpi/battery gone?

2014-03-15 Thread Lan Tianyu
On 03/14/2014 05:45 PM, Richard Weinberger wrote: On Fri, Mar 14, 2014 at 10:29 PM, Ilia Mirkin wrote: On Fri, Mar 14, 2014 at 5:14 PM, Pavel Machek wrote: Hi! It seems /proc/acpi/battery interface is gone, and I don't see any option to reintroduce it... what is going on? The interface

Fwd: vmcore-dmesg ends with "No program header covering vaddr"

2014-03-15 Thread Prasad Koya
Forwarding to lkml. If there is any other relevant mailing list, pl let me know. -- Forwarded message -- From: Prasad Koya Date: Fri, Mar 14, 2014 at 10:39 PM Subject: vmcore-dmesg ends with "No program header covering vaddr" To: ke...@lists.infradead.org Hi I'm increasing

[PATCH v2 2/2] irqchip: sun4i: simplify sun4i_irq_ack

2014-03-15 Thread Hans de Goede
Now that we only ack irq 0 the code can be simplified a lot. Also switch from read / modify / write to a simple write clear: 1) This is what the android code does (it has a hack for acking irq 0 in its unmask code doing this) 2) read / modify / write simply does not make sense for an irq status

[PATCH v2 1/2] irqchip: sun4i: Use handle_fasteoi_irq for all interrupts

2014-03-15 Thread Hans de Goede
Since the sun4i irq chip does not require any action and clears the interrupt when the level goes back to inactive, we don't need to mask / unmask for non oneshot IRQs, to achieve this we make sun4i_irq_ack a nop for all irqs except irq 0 and use handle_fasteoi_irq for all interrupts. Now there

[PATCH v2 0/2] irqchip: sun4i: Use handle_fasteoi_irq for all irqs

2014-03-15 Thread Hans de Goede
Hi All, Here is v2 of my patchset for sun4i-irq.c to use handle_fasteoi_irq for all irqs + follow up clean-up patch. Changes since v2: -adjust commit msg based on Thomas' comments, and merge patch 1 and 2 as they make more sense as 1 patch Regards, Hans -- To unsubscribe from this list: send

Re: [PATCH v8 2/2] iio: Add AS3935 lightning sensor support

2014-03-15 Thread Jonathan Cameron
On 13/03/14 02:09, Marek Vasut wrote: On Wednesday, March 12, 2014 at 01:53:14 PM, Matt Ranostay wrote: AS3935 chipset can detect lightning strikes and reports those back as events and the estimated distance to the storm. Signed-off-by: Matt Ranostay Reviewed-by: Marek Vasut I'm not 100%

Re: [PATCH v8 1/2] iio:as3935: Add DT binding docs for AS3935 driver

2014-03-15 Thread Jonathan Cameron
On 12/03/14 14:30, Rob Herring wrote: On Wed, Mar 12, 2014 at 7:53 AM, Matt Ranostay wrote: Document compatible string, required and optional DT properties for AS3935 chipset driver. Signed-off-by: Matt Ranostay Acked-by: Rob Herring Applied to the togreg branch of iio.git (probably

  1   2   3   >