[PATCH] arch/score/kernel/process.c: Remove useless varialbes 'ti' and 'regs'

2014-06-07 Thread Chen Gang
They are useless, so remove them, the related warning (with allmodconfig under score): CC arch/score/kernel/process.o arch/score/kernel/process.c: In function 'copy_thread': arch/score/kernel/process.c:76:18: warning: unused variable 'regs' [-Wunused-variable] struct pt_regs *reg

Re: [RFC PATCH 02/16] sched: Introduce CONFIG_SCHED_ENERGY

2014-06-07 Thread Henrik Austad
On Fri, May 23, 2014 at 07:16:29PM +0100, Morten Rasmussen wrote: > The Energy-aware scheduler implementation is guarded by > CONFIG_SCHED_ENERGY. > > Signed-off-by: Dietmar Eggemann > Signed-off-by: Morten Rasmussen > --- > arch/arm/Kconfig |5 + > 1 file changed, 5 insertions(+) > >

Re: [PATCH] Input - synaptics: fix resolution for manually provided min/max

2014-06-07 Thread Dmitry Torokhov
On Tue, Jun 03, 2014 at 01:59:35PM -0400, Benjamin Tissoires wrote: > commit 421e08c41fda fixed the reported min/max for the X and Y axis, > but unfortunately, it broke the resolution of those same axis. > > On the t540p, the resolution is the same regarding X and Y. It is not > a problem for xf86

Re: Crypto Update for 3.16

2014-06-07 Thread Herbert Xu
On Sat, Jun 07, 2014 at 07:56:53PM -0700, Linus Torvalds wrote: > > I'm assuming that the delete was actually incorrect, and should have > been a move, because it looks like the bfin_crc.c file won't compile > without it. So I've re-instated that file. Yes that would be my assumption as well. So

Re: What can change in ways Linux handles memory when all memory >4G is disabled? (x86)

2014-06-07 Thread Bjorn Helgaas
[+cc linux-pci, linux-pm] On Fri, Jun 6, 2014 at 6:06 PM, Nikolay Amiantov wrote: > Hello all, > > I'm trying to resolve a cryptic problem with Lenovo T440p (and with > Dell XPS 15z, as it appears) and nvidia in my spare time. You can read > more at [1]. Basically: when the user disables and then

[GET PULL] ext4 updates for 3.16

2014-06-07 Thread Theodore Ts'o
A fairly minor obvious merge fix will be required due to a conflicting change to a comment made by a commit already in your tree: - * Comments copied from block_write_full_page_endio: ++ * Comments copied from block_write_full_page: coupled with a move of the code in question in the

Re: tracing: NULL ptr deref in ring_buffer_wait

2014-06-07 Thread Sasha Levin
On 05/08/2014 12:16 PM, Steven Rostedt wrote: > On Thu, 08 May 2014 11:31:41 -0400 > Sasha Levin wrote: > >> On 05/05/2014 11:46 AM, Sasha Levin wrote: >>> [ 3589.407670] vfs_read (fs/read_write.c:430) >>> [ 3589.407670] SyS_read (fs/read_write.c:568 fs/read_write.c:560) >>> [ 3589.40

Re: mm,x86: warning at arch/x86/mm/pat.c:781 untrack_pfn+0x65/0xb0()

2014-06-07 Thread Sasha Levin
On 04/11/2014 08:50 AM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel I've stumbled on the following: Ping? Still happening (rarely on -next): [ 5818.038245] WARNING: CPU: 4 PID: 22726 at arch/x86/mm/pat.c:781 untrack_pfn+

Re: [RFC] Per-user namespace process accounting

2014-06-07 Thread Eric W. Biederman
James Bottomley writes: > On Tue, 2014-06-03 at 10:54 -0700, Eric W. Biederman wrote: >> >> 90% of that work is already done. >> >> As long as we don't plan to support XFS (as it XFS likes to expose it's >> implementation details to userspace) it should be quite straight >> forward. > > Any imp

Re: [Regression] commit 8a4aeec8d(libata/ahci: accommodate tag ordered controllers)

2014-06-07 Thread Ming Lei
Hi Suman, Could you forward the patches to me so that I can give a test? I don't subscribe to linux-ide list. Thanks, -- Ming Lei On Sat, Jun 7, 2014 at 5:33 AM, Suman Tripathi wrote: > Hi , > > I have just posted 3 patches "ata: Fix the dma state machine lockup for APM > X-Gene SoC SATA cont

Re: [PATCH 3.14 186/228] PCI: Wrong register used to check pending traffic

2014-06-07 Thread Ben Hutchings
On Wed, 2014-06-04 at 16:23 -0700, Greg Kroah-Hartman wrote: > 3.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Gavin Shan > > commit d0b4cc4e32705ff00d90d32da7783c266c702c04 upstream. > > The incorrect register offset is passed to p

Re: Crypto Update for 3.16

2014-06-07 Thread Linus Torvalds
On Wed, Jun 4, 2014 at 11:23 PM, Herbert Xu wrote: > > Here is the crypto update for 3.16: There's something odd going on with bfin_crc.h. You moved it in commit 52e6e543f2d8 ("crypto: bfin_crc - access crc registers by readl and writel functions"). It got *deleted* by commit 3356c99ea392 ("bfi

Re: [RFC PATCH 1/1] cleanup: use bool as return type for rwsem_is_locked

2014-06-07 Thread Pranith Kumar
On 06/07/2014 07:44 PM, Dave Chinner wrote: > On Fri, Jun 06, 2014 at 07:39:30PM -0700, Joe Perches wrote: >> On Fri, 2014-06-06 at 21:41 -0400, Pranith Kumar wrote: >>> On 06/06/2014 08:59 PM, Pranith Kumar wrote: On 06/06/2014 08:18 PM, Dave Chinner wrote: > If you are going to change th

Re: Phantom ACL-related xattrs on 3.14.4 NFS client

2014-06-07 Thread Philippe Troin
Hi Trond & Christoph, It's still broken, but in a different way. The phantom attrs are gone, but the attr/acl interaction is still uncertain. I have tested vanilla 3.14.5 + this patch on x86_64. Mount options are the same as last time (NFSv3). This is what I see on the client: nfsv3cli

Re: workqueue: WARN at at kernel/workqueue.c:2176

2014-06-07 Thread Lai Jiangshan
On 06/06/2014 09:36 PM, Peter Zijlstra wrote: > On Thu, Jun 05, 2014 at 06:54:35PM +0800, Lai Jiangshan wrote: >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c >> index 268a45e..d05a5a1 100644 >> --- a/kernel/sched/core.c >> +++ b/kernel/sched/core.c >> @@ -1474,20 +1474,24 @@ static int t

Re: [PATCH 3.14 103/228] revert "mm: vmscan: do not swap anon pages just because free+file is low"

2014-06-07 Thread Greg Kroah-Hartman
On Sun, Jun 08, 2014 at 03:03:15AM +0100, Ben Hutchings wrote: > On Wed, 2014-06-04 at 16:22 -0700, Greg Kroah-Hartman wrote: > > 3.14-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Johannes Weiner > > > > commit 623762517e2370be

Re: [PATCH 3.14 103/228] revert "mm: vmscan: do not swap anon pages just because free+file is low"

2014-06-07 Thread Ben Hutchings
On Wed, 2014-06-04 at 16:22 -0700, Greg Kroah-Hartman wrote: > 3.14-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Johannes Weiner > > commit 623762517e2370be3b3f95f4fe08d6c063a49b06 upstream. > > This reverts commit 0bf1457f0cfc ("mm:

[for-next][PATCH] tracing: Fix memory leak on instance deletion

2014-06-07 Thread Steven Rostedt
Ug, found a memory leak in instance deletion. Missed freeing the snapshot buffer. git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 17f83bffd1b41b5cd6fe08ad12c8a69341542ba2 Steven Rostedt (Red Hat) (1) tracing: Fix memory leak on instance deletio

[PATCH] staging: rtl8821ae: rtl8821ae: hw.c: Cleaning up if statement that always evaluates to false

2014-06-07 Thread Rickard Strandqvist
I find a logical error in an if statement '(X & 0xfc) == 0x3' is always false After pointing this out, Larry Finger informed what would be the correct one. '(X & 0x3) == 0x3' Signed-off-by: Rickard Strandqvist --- drivers/staging/rtl8821ae/rtl8821ae/hw.c |2 +- 1 file changed, 1 insertion(+

Re: [PATCH] arch: tile: kernel: unaligned.c: Cleaning up uninitialized variables

2014-06-07 Thread Chris Metcalf
On 5/31/2014 7:00 PM, Rickard Strandqvist wrote: There is a risk that the variable will be used without being initialized. This was largely found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist --- arch/tile/kernel/unaligned.c |2 +- 1 file cha

[PATCH] net: wireless: rtlwifi: rtl8723be: hw.c: Cleaning up if statement that always evaluates to false

2014-06-07 Thread Rickard Strandqvist
I find a logical error in an if statement '(X & 0xfc) == 0x3' is always false After pointing this out, Larry Finger informed what would be the correct one. '(X & 0x3) == 0x3' Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/rtlwifi/rtl8723be/hw.c |2 +- 1 file changed, 1 insertio

[PATCH] net: wireless: rtlwifi: rtl8723ae: hw.c: Cleaning up if statement that always evaluates to false

2014-06-07 Thread Rickard Strandqvist
I find a logical error in an if statement '(X & 0xfc) == 0x3' is always false After pointing this out, Larry Finger informed what would be the correct one. '(X & 0x3) == 0x3' Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/rtlwifi/rtl8723ae/hw.c |2 +- 1 file changed, 1 insertio

[PATCH] net: wireless: rtlwifi: rtl8192de: hw.c: Cleaning up if statement that always evaluates to false

2014-06-07 Thread Rickard Strandqvist
I find a logical error in an if statement '(X & 0xfc) == 0x3' is always false After pointing this out, Larry Finger informed what would be the correct one. '(X & 0x3) == 0x3' Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/rtlwifi/rtl8192de/hw.c |2 +- 1 file changed, 1 insertio

[PATCH] net: wireless: rtlwifi: rtl8192cu: hw.c: Cleaning up if statement that always evaluates to false

2014-06-07 Thread Rickard Strandqvist
I find a logical error in an if statement '(X & 0xfc) == 0x3' is always false After pointing this out, Larry Finger informed what would be the correct one. '(X & 0x3) == 0x3' Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/rtlwifi/rtl8192cu/hw.c |2 +- 1 file changed, 1 insertio

[PATCH] net: wireless: rtlwifi: rtl8192ce: hw.c: Cleaning up if statement that always evaluates to false

2014-06-07 Thread Rickard Strandqvist
I find a logical error in an if statement '(X & 0xfc) == 0x3' is always false After pointing this out, Larry Finger informed what would be the correct one. '(X & 0x3) == 0x3' Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/rtlwifi/rtl8192ce/hw.c |2 +- 1 file changed, 1 insertio

[PATCH] net: wireless: rtlwifi: rtl8188ee: hw.c: Cleaning up if statement that always evaluates to false

2014-06-07 Thread Rickard Strandqvist
I find a logical error in an if statement '(X & 0xfc) == 0x3' is always false After pointing this out, Larry Finger informed what would be the correct one. '(X & 0x3) == 0x3' Signed-off-by: Rickard Strandqvist --- drivers/net/wireless/rtlwifi/rtl8188ee/hw.c |2 +- 1 file changed, 1 insertio

Re: [PATCH] net: wireless: rtlwifi: rtl8192de: hw.c: Cleaning up conjunction always evaluates to false

2014-06-07 Thread Rickard Strandqvist
Hi all Good. New patches are on the way :) Best regards Rickard Strandqvist 2014-06-08 2:01 GMT+02:00 Larry Finger : > On 06/07/2014 10:24 AM, Rickard Strandqvist wrote: >> >> Hi! >> >> Yes, 0x3 was one of the most likely :) >> But wanted someone who knows the code better would be heard. >> All

[RFC PATCH] gpio: Add a defer reset object to send board specific reset

2014-06-07 Thread Houcheng Lin
The Problem --- The reset signal on a hardware board is send either: - during machine initialization - during bus master's initialization In some hardware design, devices on bus need a non-standard and extra reset signal after bus is initialied. Most reason is to wake up device fro

Re: Missing USB XHCI and EHCI reset for kexec

2014-06-07 Thread Alan Stern
On Sun, 8 Jun 2014, Benjamin Herrenschmidt wrote: > Looking at the code a bit more ... that xhci_shutdown() worries me. > > It basically just whacks xhci_halt() and optionally reset() but nothing > is done that I can see to ensure that we aren't concurrently > doing things like queuing URBs, poll

Re: [PATCH] staging: tidspbridge: pmgr: dspapi.c: Cleaning up uninitialized variable

2014-06-07 Thread Rickard Strandqvist
Hi Sure, no problem! Glad I could help, and additionally with more than just a two-line fix this time :-) Best regards Rickard Strandqvist 2014-06-07 21:44 GMT+02:00 Dan Carpenter : > On Wed, Jun 04, 2014 at 12:23:39AM +0200, Rickard Strandqvist wrote: >> There is a risk that the variables wil

Re: [PATCH] net: wireless: rtlwifi: rtl8192de: hw.c: Cleaning up conjunction always evaluates to false

2014-06-07 Thread Larry Finger
On 06/07/2014 10:24 AM, Rickard Strandqvist wrote: Hi! Yes, 0x3 was one of the most likely :) But wanted someone who knows the code better would be heard. All agreed? Then I do a new patch. Looks like it is the same error in the files below, I'll fix them all them to. rtl8192cu/hw.c:1363:i

Re: [GIT PULL] Reiserfs & ext3 changes for 3.16-rc1

2014-06-07 Thread Linus Torvalds
On Wed, Jun 4, 2014 at 1:27 PM, Jan Kara wrote: > Hello Linus, > > could you please pull from > > git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus > > to get big reiserfs cleanup from Jeff, an ext3 deadlock fix, and some small > cleanups. This does not work at all for

Re: [PATCH linux-next] staging: r8192ee: Adapt flush function prototype

2014-06-07 Thread Larry Finger
On 06/07/2014 12:39 PM, Vincent Stehlé wrote: Commit 77be2c54c5bd 'mac80211: add vif to flush call' modifies the flush operation prototype. Update r8192ee function accordingly. This fixes the following compilation warnings: drivers/staging/rtl8192ee/core.c: At top level: drivers/staging/r

Re: [RFC PATCH 1/1] cleanup: use bool as return type for rwsem_is_locked

2014-06-07 Thread Dave Chinner
On Fri, Jun 06, 2014 at 07:39:30PM -0700, Joe Perches wrote: > On Fri, 2014-06-06 at 21:41 -0400, Pranith Kumar wrote: > > On 06/06/2014 08:59 PM, Pranith Kumar wrote: > > > On 06/06/2014 08:18 PM, Dave Chinner wrote: > > >> If you are going to change the return type to bool, then you should > > >>

Free Lotto Award Notification(Reference:WIN-37-14-29-14)

2014-06-07 Thread INFO
>From claim´s processing office. Free Lotto Lottery Award Notification Confirmation Ticket No: 33-48-19-H5H Reference:WIN-37-14-29-14 You have won( 1 Million Euros )in the Free Lotto Lottery Award 2014 held in Madrid Spain This email was sent to notify you officially as you are advise to contact t

Linux 3.10.42

2014-06-07 Thread Greg KH
I'm announcing the release of the 3.10.42 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

Linux 3.14.6

2014-06-07 Thread Greg KH
I'm announcing the release of the 3.14.6 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web browser:

Re: 3.15-rc: regression in suspend

2014-06-07 Thread Pavel Machek
On Sat 2014-06-07 14:06:14, Pavel Machek wrote: > On Thu 2014-05-15 17:31:54, Daniel Vetter wrote: > > On Thu, May 15, 2014 at 5:29 PM, Jiri Kosina wrote: > > >> > Note that X do work somehow after resume (I can't switch virtual > > >> > desktops and dialog is stuck on screen, but it is not comple

Linux 3.4.92

2014-06-07 Thread Greg KH
I'm announcing the release of the 3.4.92 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

[PATCH] ip_tunnel: fix i_key matching in ip_tunnel_find

2014-06-07 Thread Dmitry Popov
Some tunnels (though only vti as for now) can use i_key just for internal use: for example vti uses it for fwmark'ing incoming packets. So raw i_key value shouldn't be treated as a distinguisher for them. ip_tunnel_key_match exists for cases when we want to compare two ip_tunnel_parms' i_keys. E

Kernel for olpc-1.75

2014-06-07 Thread Pavel Machek
Hi! I broke installation on olpc-1.75, and I guess its time for it to start running self-compiled kernel. (It still boots if I hold right game key, but I can no longer control backlight. It does not boot at all by default.) AFAICT, olpc.fth and zImage in the boot/ directory of USB disk should do

Re: Missing USB XHCI and EHCI reset for kexec

2014-06-07 Thread Benjamin Herrenschmidt
On Sat, 2014-06-07 at 11:40 -0400, Alan Stern wrote: > The current xhci-hcd driver includes a quirk flag (XHCI_SPURIOS_WAKEUP) > that causes the shutdown routine to reset the controller. It wasn't > meant for fixing kexec problems, but I bet you could use it for that > purpose. > > In additio

Re: [PATCH v3] cpufreq: governor: Be friendly towards latency-sensitive bursty workloads

2014-06-07 Thread Pavel Machek
> > the idle time or idle residency; and the high frequency of the CPU when it > > goes > > to cpu-idle does not affect/hurt the power-savings of deep idle states). > > > > Signed-off-by: Srivatsa S. Bhat > > Reviewed-by: Gautham R. Shenoy > > Acked-by: Viresh Kumar Acked-by: Pavel Machek

[PATCH v2] ip_vti: Fix 'ip tunnel add' with 'key' parameters

2014-06-07 Thread Dmitry Popov
ip tunnel add remote 10.2.2.1 local 10.2.2.2 mode vti ikey 1 okey 2 translates to p->iflags = VTI_ISVTI|GRE_KEY and p->i_key = 1, but GRE_KEY != TUNNEL_KEY, so ip_tunnel_ioctl would set i_key to 0 (same story with o_key) making us unable to create vti tunnels with [io]key via ip tunnel. We cannot

Re: [PATCH 1/1] fs/proc/kcore.c: use PAGE_ALIGN instead of ALIGN(PAGE_SIZE)

2014-06-07 Thread David Rientjes
On Sat, 7 Jun 2014, Fabian Frederick wrote: > use mm.h definition > > Cc: Andrew Morton > Cc: Xishi Qiu > Signed-off-by: Fabian Frederick Acked-by: David Rientjes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [GIT PULL] char/misc driver patches for 3.16-rc1

2014-06-07 Thread One Thousand Gnomes
> At the very least, we have (CAP_SYS_ADMIN?) should be required before > allowing root to compromise kernel, no? CAP_SYS_RAWIO for anything that can compromise the kernel itself. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [PATCH v2] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread David Rientjes
On Sat, 7 Jun 2014, Manuel Schoelling wrote: > > kzalloc() would be unnecessary overhead (zeroing definitely comes with a > > cost) if you're going to copy to the memory immediately afterwards. Just > > leave the kmalloc(), do the memcpy() and explicitly zero terminate it > > _result. > > Usi

Re: [PATCH] ip_vti: Fix 'ip tunnel add' with 'key' parameters

2014-06-07 Thread Dmitry Popov
On Sun, 08 Jun 2014 01:55:22 +0400 Sergei Shtylyov wrote: > Please surround & with spaces for consistency; this also would follow the > general kernel coding style. > WBR, Sergei > Okay, original code was without spaces, didn't want to break this, I will resend. -- To unsubscribe from th

[PATCH v3] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread Manuel Schölling
dns_query() credulously assumes that keys are null-terminated and returns a copy of a memory block that is off by one. Signed-off-by: Manuel Schölling --- net/dns_resolver/dns_query.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/dns_resolver/dns_query.c b/net/dns

Re: [PATCH v2] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread Sergei Shtylyov
On 06/08/2014 01:42 AM, David Rientjes wrote: dns_query() credulously assumes that keys are null-terminated and returns a copy of a memory block that is off by one. No sign-off? Please read Documentation/SubmittingPatches. --- net/dns_resolver/dns_query.c |4 ++-- 1 file changed, 2

Re: [PATCH 1/1] mm/slab.c: add __init to init_lock_keys

2014-06-07 Thread David Rientjes
On Sat, 7 Jun 2014, Fabian Frederick wrote: > init_lock_keys is only called by __init kmem_cache_init_late > > Cc: Christoph Lameter > Cc: Andrew Morton > Signed-off-by: Fabian Frederick No functional change because these functions are inlined, but it makes sense anyway. Acked-by: David Rie

Re: [PATCH] ip_vti: Fix 'ip tunnel add' with 'key' parameters

2014-06-07 Thread Sergei Shtylyov
hello. On 06/08/2014 01:25 AM, Dmitry Popov wrote: ip tunnel add remote 10.2.2.1 local 10.2.2.2 mode vti ikey 1 okey 2 translates to p->iflags = VTI_ISVTI|GRE_KEY and p->i_key = 1, but GRE_KEY != TUNNEL_KEY, so ip_tunnel_ioctl would set i_key to 0 (same story with o_key) making us unable to cre

Re: [PATCH v2] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread Manuel Schoelling
On Sa, 2014-06-07 at 14:42 -0700, David Rientjes wrote: > On Sat, 7 Jun 2014, Manuel Schölling wrote: > > > dns_query() credulously assumes that keys are null-terminated and > > returns a copy of a memory block that is off by one. > > No sign-off? Please read Documentation/SubmittingPatches. It'

Re: [GIT PULL] x86 fixes for v3.15

2014-06-07 Thread Linus Torvalds
On Sat, Jun 7, 2014 at 1:59 PM, H. Peter Anvin wrote: > > A significantly larger than I'd like set of patches for just below the > wire. All of these, however, fix real problems. However, if you feel > it is too scary we can do it for the merge window and rely on pushing > them into -stable. Ug

Re: [PATCH v2] mm: rmap: fix use-after-free in __put_anon_vma

2014-06-07 Thread David Rientjes
On Fri, 6 Jun 2014, Andrey Ryabinin wrote: > While working address sanitizer for kernel I've discovered use-after-free > bug in __put_anon_vma. > For the last anon_vma, anon_vma->root freed before child anon_vma. > Later in anon_vma_free(anon_vma) we are referencing to already freed > anon_vma->r

Re: [PATCH v2] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread David Rientjes
On Sat, 7 Jun 2014, Manuel Schölling wrote: > dns_query() credulously assumes that keys are null-terminated and > returns a copy of a memory block that is off by one. No sign-off? Please read Documentation/SubmittingPatches. > --- > net/dns_resolver/dns_query.c |4 ++-- > 1 file changed, 2

Re: [RFC] Per-user namespace process accounting

2014-06-07 Thread James Bottomley
On Tue, 2014-06-03 at 10:54 -0700, Eric W. Biederman wrote: > Serge Hallyn writes: > > > Quoting Pavel Emelyanov (xe...@parallels.com): > >> On 05/29/2014 07:32 PM, Serge Hallyn wrote: > >> > Quoting Marian Marinov (m...@1h.com): > >> >> We are not using NFS. We are using a shared block storage t

[PATCH] ip_vti: Fix 'ip tunnel add' with 'key' parameters

2014-06-07 Thread Dmitry Popov
ip tunnel add remote 10.2.2.1 local 10.2.2.2 mode vti ikey 1 okey 2 translates to p->iflags = VTI_ISVTI|GRE_KEY and p->i_key = 1, but GRE_KEY != TUNNEL_KEY, so ip_tunnel_ioctl would set i_key to 0 (same story with o_key) making us unable to create vti tunnels with [io]key via ip tunnel. We cannot

Re: Missing USB XHCI and EHCI reset for kexec

2014-06-07 Thread Benjamin Herrenschmidt
On Sat, 2014-06-07 at 11:40 -0400, Alan Stern wrote: > The current xhci-hcd driver includes a quirk flag (XHCI_SPURIOS_WAKEUP) > that causes the shutdown routine to reset the controller. It wasn't > meant for fixing kexec problems, but I bet you could use it for that > purpose. > > In addition

[GIT PULL] x86 fixes for v3.15

2014-06-07 Thread H. Peter Anvin
Hi Linus, A significantly larger than I'd like set of patches for just below the wire. All of these, however, fix real problems. However, if you feel it is too scary we can do it for the merge window and rely on pushing them into -stable. The one thing that is genuinely scary in here is the cha

Re: [PATCH v3] cpufreq: governor: Be friendly towards latency-sensitive bursty workloads

2014-06-07 Thread Rafael J. Wysocki
On Sunday, June 08, 2014 02:11:43 AM Srivatsa S. Bhat wrote: > Cpufreq governors like the ondemand governor calculate the load on the CPU > periodically by employing deferrable timers. A deferrable timer won't fire > if the CPU is completely idle (and there are no other timers to be run), in > orde

[PATCH] hwmon: (ina2xx) Change register cache to signed

2014-06-07 Thread Fabio Baltieri
All devices supported by the ina2xx driver are bidirectional and reports the measured value as a signed 16 bit, but the current driver implementation caches the number as an u16, leading to an incorrect sign extension when reporting to the userspace in ina2xx_get_value(). This patch fixes the prob

[PATCH v3] cpufreq: governor: Be friendly towards latency-sensitive bursty workloads

2014-06-07 Thread Srivatsa S. Bhat
Cpufreq governors like the ondemand governor calculate the load on the CPU periodically by employing deferrable timers. A deferrable timer won't fire if the CPU is completely idle (and there are no other timers to be run), in order to avoid unnecessary wakeups and thus save CPU power. However, the

Re: net: netlink executing RO memory

2014-06-07 Thread Thomas Gleixner
On Sat, 7 Jun 2014, Thomas Gleixner wrote: > On Sat, 7 Jun 2014, Sasha Levin wrote: > So one thing which might give us at least some data is the debug patch > below. With CONFIG_STACKTRACE enabled and > > # echo 1 >/sys/kernel/debug/tracing/options/stacktrace > > we should get a recording of rcu

Re: net: netlink executing RO memory

2014-06-07 Thread Thomas Gleixner
On Sat, 7 Jun 2014, Sasha Levin wrote: > On 06/06/2014 01:45 AM, Sasha Levin wrote: > > On 06/05/2014 04:21 PM, Sasha Levin wrote: > >> Hi all, > >> > >> While fuzzing with trinity inside a KVM tools guest running the latest > >> -next > >> kernel I've stumbled on the following spew: > >> > >> [

Re: 3.12.9 kern.log spam from vgaswitcheroo

2014-06-07 Thread Dave Airlie
cc'ing list On 8 June 2014 04:08, Howard Chu wrote: > On Asus NP56D, if you use vgaswitcheroo to turn off the discrete GPU, the > kernel starts spewing these messages endlessly, until /var/log partition > fills up: > > Jun 7 17:40:27 gamba kernel: [470008.702322] [drm:radeon_cs_parser_init] > *E

Re: [PATCH 1/1] mm/slab.c: add __init to init_lock_keys

2014-06-07 Thread Christoph Lameter
On Sat, 7 Jun 2014, Fabian Frederick wrote: > init_lock_keys is only called by __init kmem_cache_init_late Acked-by: Christoph Lameter -- 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://v

Re: [PATCH] staging: tidspbridge: pmgr: dspapi.c: Cleaning up uninitialized variable

2014-06-07 Thread Dan Carpenter
On Wed, Jun 04, 2014 at 12:23:39AM +0200, Rickard Strandqvist wrote: > There is a risk that the variables will be used without being initialized. > Has also improved error handling, after an email proposal from Dan Carpenter. > > Signed-off-by: Rickard Strandqvist Looks ok. This fixes some info

[GIT PULL] LLVMLinux patches for v3.16

2014-06-07 Thread Behan Webster
Linus, Next set of patches to support compiling the kernel with clang. They've been soaking in linux-next since the last merge window. More still in the works for the next merge window... Thanks, Behan -- Behan Webster beh...@converseincode.com The following changes since commit d4c54919

[PATCH v2] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread Manuel Schölling
dns_query() credulously assumes that keys are null-terminated and returns a copy of a memory block that is off by one. --- net/dns_resolver/dns_query.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dns_resolver/dns_query.c b/net/dns_resolver/dns_query.c index e7b6d

Re: [PATCH] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread Manuel Schoelling
LOL, that was stupid! Sorry, I'll send a corrected version in a second... On Sa, 2014-06-07 at 14:54 -0400, Trond Myklebust wrote: > On Sat, Jun 7, 2014 at 1:56 PM, Manuel Schölling > wrote: > > dns_query() credulously assumes that keys are null-terminated and > > returns a copy of a memory block

Re: [PATCH] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread Trond Myklebust
On Sat, Jun 7, 2014 at 1:56 PM, Manuel Schölling wrote: > dns_query() credulously assumes that keys are null-terminated and > returns a copy of a memory block that is off by one. > --- > net/dns_resolver/dns_query.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/ne

3.12.9 kern.log spam from vgaswitcheroo

2014-06-07 Thread Howard Chu
On Asus NP56D, if you use vgaswitcheroo to turn off the discrete GPU, the kernel starts spewing these messages endlessly, until /var/log partition fills up: Jun 7 17:40:27 gamba kernel: [470008.702322] [drm:radeon_cs_parser_init] *ERROR* VM not ac tive on asic! Jun 7 17:40:27 gamba kernel: [

[no subject]

2014-06-07 Thread 金经理
¡¶³É¹¦µÄ²úÆ·¾­Àí¡ª¡ª²úÆ·¾­ÀíµÄÒ°Âù³É³¤¡· ¡¾Ö÷½²£ºCharles¡¿ ±¨ÃûÏêÇé > ¡¾Åàѵʱ¼ä¡¿2014Äê6ÔÂ23-24ÈÕÉϺ£¡¢6ÔÂ26-27ÈÕÉîÛÚ¡¢6ÔÂ30-7ÔÂ1ÈÕ±±¾© ¡¾Åàѵ¶ÔÏó¡¿ÆóÒµCEO/×ܾ­Àí¡¢Ñз¢×ܾ­Àí/¸±×Ü¡¢¹«Ë¾×ܹ¤/¼¼Êõ×ܼ

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-07 Thread Linus Torvalds
So we very recently (as in this merge window) merged a change to this very area, but that change was very specific to one case. Hillf's patch (below) apparently fixes the problem Felipe sees, and I have to say, his problem sounds a *lot* like the kind of horrible performance I've seen with writing

Re: [PATCH 1/2] ARM: zynq: DT: Add XADC node

2014-06-07 Thread Michal Simek
On 06/05/2014 06:05 PM, Soren Brinkmann wrote: > Add node for the Xilinx A/D Converter. > > Cc: Lars-Peter Clausen > Signed-off-by: Soren Brinkmann > --- > arch/arm/boot/dts/zynq-7000.dtsi | 8 > 1 file changed, 8 insertions(+) Applied to zynq/dt branch. Thanks, Michal -- To unsubs

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable XADC driver

2014-06-07 Thread Michal Simek
On 06/05/2014 06:05 PM, Soren Brinkmann wrote: > The Xilinx A/D Converter is found in Xilinx devices including Zynq. > > Signed-off-by: Soren Brinkmann > --- > arch/arm/configs/multi_v7_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/configs/multi_v7_defconfig > b/a

[GIT PULL] target fixes for v3.15

2014-06-07 Thread Nicholas A. Bellinger
Hi Linus, Here are the remaining fixes for v3.15. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master This series includes: - iser-target fix for ImmediateData exception reference count bug (Sagi + nab) - iscsi-target fix for MC/S lo

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-07 Thread Lorenzo Pieralisi
On Fri, Jun 06, 2014 at 10:43:05PM +0100, Doug Anderson wrote: > On exynos mcpm systems the firmware is hardcoded to jump to an address > in SRAM (0x02073000) when secondary CPUs come up. By default the > firmware puts a bunch of code at that location. That code expects the > kernel to fill in a

[PATCH] dns_resolver: assure that dns_query() result is null-terminated

2014-06-07 Thread Manuel Schölling
dns_query() credulously assumes that keys are null-terminated and returns a copy of a memory block that is off by one. --- net/dns_resolver/dns_query.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/dns_resolver/dns_query.c b/net/dns_resolver/dns_query.c index e7b6d5

Re: [PATCH] net: wan: wanxl.c: Cleaning up declaration of a while loop

2014-06-07 Thread Krzysztof Halasa
Rickard Strandqvist writes: > Unusual declaration of a while loop. > However, believe you also want to make sure that the pointer is not NULL Not really. The code is meant to do exactly what it currently does - set variable desc and then check desc->stat. All rx_descs are at this point already i

[PATCH v5] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-06-07 Thread Max Schwarz
Driver for the native I2C adapter found in Rockchip RK3xxx SoCs. Configuration is only possible through devicetree. The driver is interrupt driven and supports the I2C_M_IGNORE_NAK mangling bit. Signed-off-by: Max Schwarz --- Sorry for the resend, I forgot to CC the developers at Rockchip, whic

[PATCH linux-next] staging: r8192ee: Adapt flush function prototype

2014-06-07 Thread Vincent Stehlé
Commit 77be2c54c5bd 'mac80211: add vif to flush call' modifies the flush operation prototype. Update r8192ee function accordingly. This fixes the following compilation warnings: drivers/staging/rtl8192ee/core.c: At top level: drivers/staging/rtl8192ee/core.c:1599:2: warning: initialization fr

Re: [PATCH] ipip, sit: fix ipv4_{update_pmtu,redirect} calls

2014-06-07 Thread Dmitry Popov
On Sat, 7 Jun 2014 19:54:12 +0400 Dmitry Popov wrote: > 3) gre: > ipgre is a framework for subprotos which doesn't work with tunnel devices by > itself (see net/ipv4/gre_demux.c:gre_cisco_err). Although it uses > skb->dev->ifindex for ipv4_{update_pmtu,redirect} which might be wrong for > hosts

[PATCH v5] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-06-07 Thread Max Schwarz
Driver for the native I2C adapter found in Rockchip RK3xxx SoCs. Configuration is only possible through devicetree. The driver is interrupt driven and supports the I2C_M_IGNORE_NAK mangling bit. Signed-off-by: Max Schwarz --- The driver cannot be used without a proper clock driver supporting ra

Re: [PATCH 3.2 00/92] 3.2.60-rc1 review

2014-06-07 Thread Ben Hutchings
On Sat, 2014-06-07 at 09:33 -0700, Guenter Roeck wrote: > On Sat, Jun 07, 2014 at 02:26:28AM +0100, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.60 release. > > There are 92 patches in this series, which will be posted as responses > > to this one. If anyone ha

Re: [PATCH v2 0/5] staging: ft1000: ft1000-usb: ft1000_debug.c: Fix style errors and warnings.

2014-06-07 Thread Greg KH
On Fri, Jun 06, 2014 at 08:02:13PM -0700, Thomas Wood wrote: > Changes since v1: > * Made single patch into a patch set. > * Added better commit messages. > > Is this better, or do I still have to split up my first patch? At first glance, it looks fine, I'll queue this up after 3.16-rc1 is out

[PATCH 2/3] f2fs: recover fallocated space

2014-06-07 Thread Jaegeuk Kim
If a fallocated file is fsynced, we should recover the i_size after sudden power cut. Signed-off-by: Jaegeuk Kim --- fs/f2fs/file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index d97e5c4..78110da 100644 --- a/fs/f2fs/file.c +++ b/fs/f2fs/file.c @@ -682,

[PATCH 3/3] f2fs: avoid not to call remove_dirty_inode

2014-06-07 Thread Jaegeuk Kim
There is an errorneous case during the recovery like below. In recovery_dentry, 1) dir = f2fs_iget(); 2) mark the dir with FI_DELAY_IPUT 3) goto unmap_out After the end of recovery routine, there is no dirty dentries so the dir cannot be released by iput in remove_dirty_dir_inode. This patch

[PATCH 1/3] f2fs: fix to recover data written by dio

2014-06-07 Thread Jaegeuk Kim
If data are overwritten through dio, previous f2fs doesn't remain the fsync mark due to no additional node writes. Note that this patch should resolve the xfstests:311. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 3 +++ fs/f2fs/f2fs.h | 1 + fs/f2fs/node.c | 12 3 files chang

[PATCHv3 2/3] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-07 Thread Ken Helias
From: Ken Helias All other add functions for lists have the new item as first argument and the position where it is added as second argument. This was changed for no good reason in this function and makes using it unnecessary confusing. The name was changed to let old code generate a compile err

[PATCHv3 3/3] klist: Use same naming scheme as hlist for klist_add_after

2014-06-07 Thread Ken Helias
From: Ken Helias The name was modified from hlist_add_after to hlist_add_behind when adjusting the order of arguments to match the one with klist_add_after. This is necessary to avoid old code to compile against it when it would use it the wrong way. It would be good when klist would also follow

[PATCHv3 1/3] list: Use argument hlist_add_after names from rcu variant

2014-06-07 Thread Ken Helias
From: Ken Helias The argument names of the hlist_add_after are poorly chosen because they look the same as the ones from hlist_add_before but have to be used completely different. This easily confuses the reader. The creator of the hlist_add_after_rcu function has made a lot better choice. Signe

[tip:x86/urgent] x86/boot: EFI_MIXED should not prohibit loading above 4G

2014-06-07 Thread tip-bot for Matt Fleming
Commit-ID: 745c51673e289acf4d9ffc2835524de73ef923fd Gitweb: http://git.kernel.org/tip/745c51673e289acf4d9ffc2835524de73ef923fd Author: Matt Fleming AuthorDate: Sat, 7 Jun 2014 12:26:20 +0100 Committer: H. Peter Anvin CommitDate: Sat, 7 Jun 2014 09:31:00 -0700 x86/boot: EFI_MIXED should

Re: [PATCH 3.2 00/92] 3.2.60-rc1 review

2014-06-07 Thread Guenter Roeck
On Sat, Jun 07, 2014 at 02:26:28AM +0100, Ben Hutchings wrote: > This is the start of the stable review cycle for the 3.2.60 release. > There are 92 patches in this series, which will be posted as responses > to this one. If anyone has any issues with these being applied, please > let me know. >

[PATCHv4 net-next 0/4] bridge: multicast snooping patches / exports

2014-06-07 Thread Linus Lüssing
The first patch is simply a cosmetic patch. So far I (and maybe others too?) have been regularly confusing these two structs, therefore I'd suggest renaming them and therefore making the follow-up patches easier to understand and nicer to fit in. The second patch fixes a minor issue, but probably

[PATCHv4 net-next 2/4] bridge: adhere to querier election mechanism specified by RFCs

2014-06-07 Thread Linus Lüssing
MLDv1 (RFC2710 section 6), MLDv2 (RFC3810 section 7.6.2), IGMPv2 (RFC2236 section 3) and IGMPv3 (RFC3376 section 6.6.2) specify that the querier with lowest source address shall become the selected querier. So far the bridge stopped its querier as soon as it heard another querier regardless of its

[PATCHv4 net-next 1/4] bridge: rename struct bridge_mcast_query/querier

2014-06-07 Thread Linus Lüssing
The current naming of these two structs is very random, in that reversing their naming would not make any semantical difference. This patch tries to make the naming less confusing by giving them a more specific, distinguishable naming. This is also useful for the upcoming patches reintroducing th

[PATCHv4 net-next 4/4] bridge: memorize and export selected IGMP/MLD querier port

2014-06-07 Thread Linus Lüssing
Adding bridge support to the batman-adv multicast optimization requires batman-adv knowing about the existence of bridged-in IGMP/MLD queriers to be able to reliably serve any multicast listener behind this same bridge. Signed-off-by: Linus Lüssing --- include/linux/if_bridge.h |1 + net/bri

[PATCHv4 net-next 3/4] bridge: add export of multicast database adjacent to net_dev

2014-06-07 Thread Linus Lüssing
With this new, exported function br_multicast_list_adjacent(net_dev) a list of IPv4/6 addresses is returned. This list contains all multicast addresses sensed by the bridge multicast snooping feature on all bridge ports of the bridge interface of net_dev, excluding addresses from the specified net_

  1   2   >