[PATCH] drivers:staging:skein:skein_generic.c: Fixed a whitespace error

2014-11-21 Thread Anjana Sasindran
This patch fixes the checkpatch.pl error: ERROR: trailing whitespace Signed-off-by: Anjana Sasindran --- drivers/staging/skein/skein_generic.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/skein/skein_generic.c b/drivers/staging/skein/skein_generic.c index 7096d5

[PATCH] can: eliminate banner[] variable and switch to pr_info()

2014-11-21 Thread Jeremiah Mahler
Several CAN modules use a design pattern with a banner[] variable at the top which defines a string that is used once during init to print the banner. The string is also embedded with KERN_INFO which makes it printk() specific. Improve the code by eliminating the banner[] variable and moving the

Re: [PATCH] KVM: nVMX: nested MSR auto load/restore emulation.

2014-11-21 Thread Jan Kiszka
On 2014-11-22 05:24, Wincy Van wrote: > Some hypervisors need MSR auto load/restore feature. > > We read MSRs from vm-entry MSR load area which specified by L1, > and load them via kvm_set_msr in the nested entry. > When nested exit occurs, we get MSRs via kvm_get_msr, writting > them to L1`s MSR

Re: [RFC] situation with csum_and_copy_... API

2014-11-21 Thread David Miller
From: Al Viro Date: Sat, 22 Nov 2014 04:28:57 + > OK, here's the next bunch. Sorry about the delay, iov_iter.c stuff > took most of the day (and it's not included in this pile). Please, review. I read over this stuff twice and this series looks fine to me. Since this is the weekend.

Re: [PATCH] Revert "staging: sm7xxfb: remove driver"

2014-11-21 Thread Sudip Mukherjee
On Thu, Nov 20, 2014 at 03:23:29PM -0800, Greg Kroah-Hartman wrote: > On Thu, Nov 20, 2014 at 05:09:25PM -0500, Steven Rostedt wrote: > > > > Someone reported a bug in the function graph tracer for MIPS. As I'm > > still waiting on my USB serial for my Imagination MIPS board, I decided > > to brin

[PATCH] percpu-ref: correctly get percpu pointer

2014-11-21 Thread Shaohua Li
I saw randam system hang testing virtio with blk-mq enabled and cpu hotplug runing in the background. It turns out __ref_is_percpu() doesn't always return correct percpu pointer. percpu_ref_put() calls __ref_is_percpu(), which checks __PERCPU_REF_ATOMIC. After this check, the __PERCPU_REF_ATOMIC or

Re: [PATCH] Staging:skein: Fix trailing whitespace error

2014-11-21 Thread Sudip Mukherjee
On Sat, Nov 22, 2014 at 11:34:29AM +0530, Anjana Sasindran wrote: > This patch fixes the checkpatch.pl error: this patch is not applying to next-20141121. > > ERROR: trailing whitespace but your patch is adding a blank line in the code ? thanks sudip > > Signed-off-by: A

[PATCH] Drivers:Staging:rtl8188eu:hal:usb_halinit.c: Added blank lines after declarations

2014-11-21 Thread Anjana Sasindran
This patch fixes the five checkpatch.pl warnings: WARNING:Missing a blank line after declaration Signed-off-by: Anjana Sasindran --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drive

[PATCH] Drivers:Staging:rtl8188eu:hal:usb_halinit.c: Added blank lines after declarations

2014-11-21 Thread Anjana Sasindran
This patch fixes the five checkpatch.pl warnings: WARNING:Missing a blank line after declaration Signed-off-by: Anjana Sasindran --- drivers/staging/rtl8188eu/hal/usb_halinit.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/rtl8188eu/hal/usb_halinit.c b/drive

[PATCH] Staging:skein: Fix trailing whitespace error

2014-11-21 Thread Anjana Sasindran
This patch fixes the checkpatch.pl error: ERROR: trailing whitespace Signed-off-by: Anjana Sasindran --- drivers/staging/skein/skein_generic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/skein/skein_generic.c b/drivers/staging/skein/skein_generic.c index 7096d5a..86

Re: [PATCH v4 2/5] x86, traps: Track entry into and exit from IST context

2014-11-21 Thread Andy Lutomirski
On Fri, Nov 21, 2014 at 8:20 PM, Paul E. McKenney wrote: > On Fri, Nov 21, 2014 at 06:00:14PM -0800, Andy Lutomirski wrote: >> On Fri, Nov 21, 2014 at 3:38 PM, Paul E. McKenney >> wrote: >> > On Fri, Nov 21, 2014 at 03:06:48PM -0800, Andy Lutomirski wrote: >> >> On Fri, Nov 21, 2014 at 2:55 PM, P

[git pull] vfs.git fixes

2014-11-21 Thread Al Viro
Assorted fixes, most in overlayfs land. Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Arnd Bergmann (1): isofs: avoid unused function warning Miklos Szeredi (8): ovl: rename filesystem type to "overlay"

[PATCH 17/17] rds: switch rds_message_copy_from_user() to iov_iter

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- net/rds/message.c | 42 -- net/rds/rds.h |3 +-- net/rds/send.c|4 +++- 3 files changed, 16 insertions(+), 33 deletions(-) diff --git a/net/rds/message.c b/net/rds/message.c index 7a546e0..ff22022 100644 --- a/n

[PATCH 16/17] rds: switch ->inc_copy_to_user() to passing iov_iter

2014-11-21 Thread Al Viro
instances get considerably simpler from that... Signed-off-by: Al Viro --- net/rds/ib.h |3 +-- net/rds/ib_recv.c | 37 +++-- net/rds/iw.h |3 +-- net/rds/iw_recv.c | 37 +++-- net/rds/message.c | 35 +++

[PATCH 14/17] vmci_transport: switch ->enqeue_dgram, ->enqueue_stream and ->dequeue_stream to msghdr

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- include/net/af_vsock.h |6 +++--- net/vmw_vsock/af_vsock.c |6 +++--- net/vmw_vsock/vmci_transport.c | 14 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/include/net/af_vsock.h b/include/net/af_vsock.h index 42827

[PATCH 15/17] [atm] switch vcc_sendmsg() to copy_from_iter()

2014-11-21 Thread Al Viro
... and make it handle multi-segment iovecs - deals with that "fix this later" issue for free. A bit of shame, really - it had been there since 2.3.15pre3 when the whole thing went into the tree, practically a historical artefact by now... Signed-off-by: Al Viro --- net/atm/common.c | 17

[PATCH 13/17] tipc_msg_build(): pass msghdr instead of its ->msg_iov

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- net/tipc/msg.c|8 net/tipc/msg.h|2 +- net/tipc/socket.c |7 +++ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/net/tipc/msg.c b/net/tipc/msg.c index ec18076..9155496 100644 --- a/net/tipc/msg.c +++ b/net/tipc/msg.c @@ -1

[PATCH 09/17] kill zerocopy_sg_from_iovec()

2014-11-21 Thread Al Viro
no users left Signed-off-by: Al Viro --- include/linux/skbuff.h |2 -- net/core/datagram.c| 65 ++-- 2 files changed, 2 insertions(+), 65 deletions(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index ce69d48..fa11bbd 100644

[PATCH 10/17] switch AF_PACKET and AF_UNIX to skb_copy_datagram_from_iter()

2014-11-21 Thread Al Viro
... and kill skb_copy_datagram_iovec() Signed-off-by: Al Viro --- include/linux/skbuff.h |3 -- net/core/datagram.c| 88 ++-- net/packet/af_packet.c | 11 -- net/unix/af_unix.c | 11 -- 4 files changed, 18 insertions(+), 95 de

[PATCH 07/17] new helpers: skb_copy_datagram_from_iter() and zerocopy_sg_from_iter()

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- include/linux/skbuff.h |3 ++ net/core/datagram.c| 115 2 files changed, 118 insertions(+) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 18ce42e..ce69d48 100644 --- a/include/linux/skbuff.h

[PATCH 08/17] {macvtap,tun}_get_user(): switch to iov_iter

2014-11-21 Thread Al Viro
allows to switch macvtap and tun from ->aio_write() to ->write_iter() Signed-off-by: Al Viro --- drivers/net/macvtap.c | 43 --- drivers/net/tun.c | 43 +++ 2 files changed, 43 insertions(+), 43 deletions(-)

PATCH 11/17] switch sctp_user_addto_chunk() and sctp_datamsg_from_user() to passing iov_iter

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- include/net/sctp/structs.h |6 +++--- net/sctp/chunk.c |9 - net/sctp/sm_make_chunk.c | 16 net/sctp/socket.c |5 - 4 files changed, 19 insertions(+), 17 deletions(-) diff --git a/include/net/sctp/structs.

[PATCH 12/17] tipc_sendmsg(): pass msghdr instead of its ->msg_iov

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- net/tipc/socket.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 591bbfa..8c94ec4 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -692,7 +692,7 @@ static unsigned int tipc_poll(struct

[PATCH 06/17] switch macvtap to ->read_iter()

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- drivers/net/macvtap.c | 39 --- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index cea99d4..cdd820f 100644 --- a/drivers/net/macvtap.c +++ b/drivers/net/macvtap.c @@ -

[PATCH 05/17] switch drivers/net/tun.c to ->read_iter()

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- drivers/net/tun.c | 40 +++- 1 file changed, 15 insertions(+), 25 deletions(-) diff --git a/drivers/net/tun.c b/drivers/net/tun.c index ac53a73..405dfdf 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c @@ -1339,18 +1339,17 @@

[PATCH 04/17] new helper: memcpy_to_msg()

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- crypto/algif_hash.c|2 +- include/linux/skbuff.h |5 + net/caif/caif_socket.c |2 +- net/can/bcm.c |2 +- net/can/raw.c |2 +- net/decnet/af_decnet.c |2 +- net/ipv4/tcp.c |2 +- net/irda/af_irda.c |2

[PATCH 03/17] switch ipxrtr_route_packet() from iovec to msghdr

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- include/net/ipx.h |2 +- net/ipx/af_ipx.c|3 +-- net/ipx/ipx_route.c |4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/include/net/ipx.h b/include/net/ipx.h index 320f47b..e5cff68 100644 --- a/include/net/ipx.h +++ b/include/net/i

[PATCH 02/17] new helper: memcpy_from_msg()

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- crypto/algif_skcipher.c | 10 +- drivers/isdn/mISDN/socket.c |2 +- drivers/net/ppp/pppoe.c |2 +- include/linux/skbuff.h |5 + include/net/sctp/sm.h |2 +- net/appletalk/ddp.c |2 +- net/ax25/af_ax25.c

[PATCH 01/17] new helper: skb_copy_and_csum_datagram_msg()

2014-11-21 Thread Al Viro
Signed-off-by: Al Viro --- include/linux/skbuff.h |5 + net/ipv4/udp.c |5 ++--- net/ipv6/raw.c |2 +- net/ipv6/udp.c |2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 73c370e..4f

Re: [RFC] situation with csum_and_copy_... API

2014-11-21 Thread Al Viro
OK, here's the next bunch. Sorry about the delay, iov_iter.c stuff took most of the day (and it's not included in this pile). Please, review. Al Viro (17): new helper: skb_copy_and_csum_datagram_msg() new helper: memcpy_from_msg() switch ipxrtr_route_packet() from iovec

[PATCH] KVM: nVMX: nested MSR auto load/restore emulation.

2014-11-21 Thread Wincy Van
Some hypervisors need MSR auto load/restore feature. We read MSRs from vm-entry MSR load area which specified by L1, and load them via kvm_set_msr in the nested entry. When nested exit occurs, we get MSRs via kvm_get_msr, writting them to L1`s MSR store area. After this, we read MSRs from vm-exit

Re: [PATCH v4 2/5] x86, traps: Track entry into and exit from IST context

2014-11-21 Thread Paul E. McKenney
On Fri, Nov 21, 2014 at 06:00:14PM -0800, Andy Lutomirski wrote: > On Fri, Nov 21, 2014 at 3:38 PM, Paul E. McKenney > wrote: > > On Fri, Nov 21, 2014 at 03:06:48PM -0800, Andy Lutomirski wrote: > >> On Fri, Nov 21, 2014 at 2:55 PM, Paul E. McKenney > >> wrote: > >> > On Fri, Nov 21, 2014 at 02:1

Re: Removal of bus->msi assignment breaks MSI with stacked domains

2014-11-21 Thread Yijing Wang
在 2014/11/22 1:31, Bjorn Helgaas 写道: On Fri, Nov 21, 2014 at 09:54:40AM +0800, Yijing Wang wrote: Thomas, let me know if you want to do that. I suppose we could add a new patch to add it back, but that would leave bisection broken for the interval between c167caf8d174 and the patch that adds i

Your editor/IDE settings for autocompletion and other easiness

2014-11-21 Thread Andrey Utkin
(I was asked to research this topic to help students. So please ignore this topic if all you want to say is that it is OK to code in editor without autocompletion and any other integration, and that there's LXR website. We all know that.) Dear kernel developers, if you have a minute, please share

Re: [PATCH 01/12] time: Rename udelay_test.c to test_udelay.c

2014-11-21 Thread Greg KH
On Fri, Nov 21, 2014 at 03:30:51PM -0800, Kees Cook wrote: > On Fri, Nov 21, 2014 at 11:44 AM, John Stultz wrote: > > Kees requested that this test module be renamed for consistency sake, > > so this patch renames the udelay_test.c file (recently added to > > tip/timers/core for 3.17) to test_udel

Re: [PATCH] ipc,sem block sem_lock on sma->lock during sma initialization

2014-11-21 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/21/2014 07:56 PM, Davidlohr Bueso wrote: > On Fri, 2014-11-21 at 18:03 -0500, Rik van Riel wrote: >> In other words, if you try to use a semaphore array before getsem >> returns, you can oops the task that calls semop. > > This seems bogus from

Re: [RFC] situation with csum_and_copy_... API

2014-11-21 Thread Al Viro
On Sat, Nov 22, 2014 at 03:27:18AM +, Al Viro wrote: > @@ -566,38 +445,15 @@ static size_t copy_to_iter_bvec(void *from, size_t > bytes, struct iov_iter *i) [snip] > + iterate_bvec(i, bytes, page, off, len, true, > + memcpy_from_page((from += len) - len, page, off, len)

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

2014-11-21 Thread David Miller
From: Stephen Rothwell Date: Mon, 17 Nov 2014 13:34:04 +1100 > I applied the following merge fix patch: > > From: Stephen Rothwell > Date: Mon, 17 Nov 2014 13:31:33 +1100 > Subject: [PATCH] openvswitch: fix up for OVS_NLERR API change > > Signed-off-by: Stephen Rothwell Thanks Stephen, I int

Re: [RFC] situation with csum_and_copy_... API

2014-11-21 Thread Al Viro
On Fri, Nov 21, 2014 at 08:49:56AM +, Al Viro wrote: > Overall, I think I have the whole series plotted in enough details to be > reasonably certain we can pull it off. Right now I'm dealing with > mm/iov_iter.c stuff; the amount of boilerplate source is already high enough > and with those e

Re: [PATCH 00/10] Save MSI chip in pci_sys_data

2014-11-21 Thread Yijing Wang
在 2014/11/22 1:20, Bjorn Helgaas 写道: [+cc Marc] On Tue, Nov 11, 2014 at 09:23:59PM -0700, Bjorn Helgaas wrote: On Mon, Oct 27, 2014 at 03:48:37PM +0800, Yijing Wang wrote: Now PCI host bridge drivers in arm associate MSI chip and PCI bus by adding .add_bus(), and assign MSI chip pointer to ev

Re: [PATCH v2 0/4] Hot plug support for the Armada 38x SoCs

2014-11-21 Thread Jason Cooper
On Thu, Oct 30, 2014 at 12:39:40PM +0100, Gregory CLEMENT wrote: > Hi, > > This patch set is the second version of the series adding the hot plug > and also kexec support for the Armada 38x Socs. > > If nobody object we could push them in linux-next. > > The first patch was done in order to have

Re: [PATCH v5 7/7] clk: Add floor and ceiling constraints to clock rates

2014-11-21 Thread Stephen Boyd
On 11/18/2014 08:31 AM, Tomeu Vizoso wrote: > On 14 November 2014 08:50, Stephen Boyd wrote: >> It's >> possible that whatever is constrained at this user level goes >> down to the hardware driver and then is rounded up or down to a >> value that is outside of the constraints, in which case the >>

RE: [PATCH v5] ARM: EXYNOS: add Exynos3250 PMU support

2014-11-21 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote: > > This patch prepares the PMU code for the future: > - suspend/resume (S2R) support > - cpuidle AFTR/W-AFTR modes support > on Exynos3250. > > Cc: Vikas Sajjan > Reviewed-by: Pankaj Dubey > Acked-by: Kyungmin Park > Signed-off-by: Chanwoo Choi > Signed-off-b

Re: [PATCH v3] x86/mce: Try printing all machine check banks known before panic

2014-11-21 Thread rui wang
On 11/22/14, Borislav Petkov wrote: >... there are two possibilities: > > * error got logged into mcelog and is long out to dmesg. > > So we go look at dmesg. Not very easy to do when we panic, I know, so we > better make sure we have serial connected. > > > [ Btw., we can know when userspace is

Re: [PATCH v4 6/7] ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

2014-11-21 Thread Jason Cooper
On Thu, Nov 13, 2014 at 12:47:48PM +0100, Gregory CLEMENT wrote: > Now that the USB cluster node has been added, use it as a PHY provider > for the USB controller linked to it: the first EHCI and the xHCI. > > Signed-off-by: Gregory CLEMENT > --- > arch/arm/boot/dts/armada-375.dtsi | 5 + >

Re: [PATCH v4 2/5] x86, traps: Track entry into and exit from IST context

2014-11-21 Thread Andy Lutomirski
On Fri, Nov 21, 2014 at 3:38 PM, Paul E. McKenney wrote: > On Fri, Nov 21, 2014 at 03:06:48PM -0800, Andy Lutomirski wrote: >> On Fri, Nov 21, 2014 at 2:55 PM, Paul E. McKenney >> wrote: >> > On Fri, Nov 21, 2014 at 02:19:17PM -0800, Andy Lutomirski wrote: >> >> On Fri, Nov 21, 2014 at 2:07 PM, P

Re: [PATCH v2] thermal: provide an UAPI header file

2014-11-21 Thread Florian Fainelli
On 11/20/2014 08:32 AM, Florian Fainelli wrote: > include/linux/thermal.h contains definitions for the Thermal generic > netlink family, but none of the valuable information relevant to > user-space such as the Genl family name, multicast group, version or > command set and data types is exported t

Re: [GIT PULL] ftrace/x86: Add frames pointers to trampoline as necessary

2014-11-21 Thread Linus Torvalds
On Fri, Nov 21, 2014 at 6:50 AM, Steven Rostedt wrote: > +.macro create_frame parent rip > +#ifdef CC_USING_FENTRY > + pushq \parent > + pushq %rbp > + movq %rsp, %rbp This is a very strange frame. Why do you do the "pushq \parent" at all? Why isn't this just a *real* frame and

Re: [PATCH 1/1 linux-next] iio: common: remove unnecessary sizeof(u8)

2014-11-21 Thread Hartmut Knaack
Fabian Frederick schrieb am 16.11.2014 13:33: > sizeof(u8) is always 1. > > Signed-off-by: Fabian Frederick Acked-by: Hartmut Knaack > --- > drivers/iio/common/st_sensors/st_sensors_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/common/st_sensors/st_

Re: Implement lbr-as-callgraph v10

2014-11-21 Thread Andi Kleen
> f1 tcall.c:9 > main tcall.c:17 > main tcall.c:17 > main tcall.c:16 > main tcall.c:16 > f1 tcall.c:12 > f1 tcall.c:12 > f2 tcall.c:6 > f2 tcall.c:4 > f1 tcall.c:11 > f1 tcall.c:11 > f2 tcall.c:6 > f2 tcall.c:4 > f1 tcall.c:10 >

Re: [PATCH v2 9/9] netfilter: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-21 Thread Pranith Kumar
On Fri, Nov 21, 2014 at 7:05 PM, Eric Dumazet wrote: > > On Fri, 2014-11-21 at 16:57 -0500, Pranith Kumar wrote: > >> Hi Eric, >> >> Thanks for looking at this patch. >> >> I've been scratching my head since morning trying to find out what was >> so obviously wrong with this patch. Alas, I don't s

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Thomas Gleixner
On Fri, 21 Nov 2014, Konrad Rzeszutek Wilk wrote: > On Fri, Nov 21, 2014 at 08:51:43PM +0100, Thomas Gleixner wrote: > > On Fri, 21 Nov 2014, Linus Torvalds wrote: > > > Here's the simplified end result. Again, this is TOTALLY UNTESTED. I > > > compiled it and verified that the code generation loo

Re: [PATCH v2 3/4] i2c: omap: don't reset controller if Arbitration Lost detected

2014-11-21 Thread Felipe Balbi
On Sat, Nov 22, 2014 at 02:51:47AM +0400, Alexander Kochetkov wrote: > Arbitration Lost is an expected situation in a multimaster > environment. I2C controller (IP) correctly detect and report AL. > > The only one visible reason for reseting IP in the AL case is > to avoid advisory 1.94 (omap3) an

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-21 Thread Benson Leung
On Fri, Nov 14, 2014 at 1:08 AM, Oliver Neukum wrote: > On Thu, 2014-11-13 at 12:16 -0800, Benson Leung wrote: > >> In usbhid_open, usb_autopm_get_interface is called >> before setting the needs_remote_wakeup flag, and >> usb_autopm_put_interface is called after hid_start_in. >> >> However, when t

Re: [PATCH] ipc,sem block sem_lock on sma->lock during sma initialization

2014-11-21 Thread Davidlohr Bueso
On Fri, 2014-11-21 at 18:03 -0500, Rik van Riel wrote: > On 11/21/2014 03:42 PM, Andrew Morton wrote: > > On Fri, 21 Nov 2014 15:29:27 -0500 Rik van Riel > > wrote: > > > >> On 11/21/2014 03:09 PM, Andrew Morton wrote: > >>> On Fri, 21 Nov 2014 14:52:26 -0500 Rik van Riel > >>> wrote: > >>> > >

Re: [PATCH] [LBR] Dump LBRs on Oops

2014-11-21 Thread Thomas Gleixner
On Fri, 21 Nov 2014, Emmanuel Berthier wrote: > The purpose of this patch is to stop LBR at the early stage of > Exception Handling, and dump its content later in the dumpstack > process. And that's useful in what way? The changelog should not tell WHAT the patch does. It should tell WHY it is us

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-21 Thread Benson Leung
Hi Alan, On Fri, Nov 14, 2014 at 7:17 AM, Alan Stern wrote: > > The reason for the get/put is to force a call to autosuspend_check(). > But in this case, if killing the interrupt URB causes > autosuspend_check() to run then the get/put isn't needed. > > On the other hand, I don't see why killing

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Andy Lutomirski
On Fri, Nov 21, 2014 at 4:18 PM, Linus Torvalds wrote: > On Fri, Nov 21, 2014 at 4:11 PM, Tejun Heo wrote: >> >> I don't think there's much percpu allocator itself can do. The >> ability to grow dynamically comes from being able to allocate >> relatively consistent layout among areas for differe

Re: [PATCH v2 9/9] netfilter: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-21 Thread Andres Freund
Hi, On 2014-11-21 16:57:00 -0500, Pranith Kumar wrote: > On Fri, Nov 21, 2014 at 11:12 AM, Eric Dumazet wrote: > > On Fri, 2014-11-21 at 10:06 -0500, Pranith Kumar wrote: > >> Recently lockless_dereference() was added which can be used in place of > >> hard-coding smp_read_barrier_depends(). The

Re: [PATCH v3 2/2] ARM: dts: AM43xx: add tscadc DT entries for am437x-evm and am43x-epos-evm

2014-11-21 Thread Tony Lindgren
* Vignesh R [141121 02:18]: > This patch adds tscadc DT entries for am437x-gp-evm > and am43x-epos-evm. Applying into omap-for-v3.19/dt-v2 thanks. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

[for-next][PATCH] printk/percpu: Define printk_func when printk is not defined

2014-11-21 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 04b74b27c2941e5d62120f6fee3a0a9388a30613 Steven Rostedt (Red Hat) (1): printk/percpu: Define printk_func when printk is not defined include/linux/percpu.h | 1 + include/linux/printk.h | 4 ++

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Linus Torvalds
On Fri, Nov 21, 2014 at 4:11 PM, Tejun Heo wrote: > > I don't think there's much percpu allocator itself can do. The > ability to grow dynamically comes from being able to allocate > relatively consistent layout among areas for different CPUs and pretty > much requires vmalloc area and it'd gener

[PATCH] media/au0828: Fix IR stop, poll to not access device during disconnect

2014-11-21 Thread Shuah Khan
au0828 IR stop and poll routines continue to access device while usb disconnect is in progress. There is small window between device disconnect and usb interface is set to null. This results in filling the log with several of the following error messages. Fix it to detect device disconnect conditio

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Tejun Heo
Hello, Frederic. On Fri, Nov 21, 2014 at 10:44:46PM +0100, Frederic Weisbecker wrote: > I fear that enumerating and fix the existing issues won't be enough. > We can't find all the code sites out there which rely on not being > faulted. Oh, sure but that can take some time so adding documentation

Re: [PATCH v2 9/9] netfilter: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-21 Thread Eric Dumazet
On Fri, 2014-11-21 at 16:57 -0500, Pranith Kumar wrote: > Hi Eric, > > Thanks for looking at this patch. > > I've been scratching my head since morning trying to find out what was > so obviously wrong with this patch. Alas, I don't see what you do. > > Could you point it out and show me how in

Re: PROBLEM: apparent out-of-bounds memory write in fs/ecryptfs/crypto.c

2014-11-21 Thread Kees Cook
Hi Dmitry, On Fri, Nov 21, 2014 at 04:44:02PM +0400, Dmitry Chernenkov wrote: > Hi! > > The following issue was discovered using Kernel Address Sanitizer > we're developing > (https://code.google.com/p/address-sanitizer/wiki/AddressSanitizerForKernel, > https://github.com/google/kasan/blob/kasan/

Re: [PATCH] DTS: ARM: OMAP3-N900: Add n900-battery support

2014-11-21 Thread Tony Lindgren
* Sebastian Reichel [141114 18:10]: > This adds support for the N900's battery to the > Nokia N900 DTS file. Applying this too thanks. Tony -- 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 htt

Re: [PATCH] ARM: DTS: OMAP3-N900: add si4713 support

2014-11-21 Thread Tony Lindgren
* Sebastian Reichel [141114 17:49]: > Add si4713 node to the N900 device tree file. Applying into omap-for-v3.19/dt-v2 thanks. Tony -- 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

Re: [PATCH] Btrfs: ctree: reduce args where only fs_info used

2014-11-21 Thread David Sterba
On Sat, Nov 22, 2014 at 01:03:32AM +0900, Daniel Dressler wrote: > No problem, I'll redo everything so it is one function per patch. Now > fair warning: there are about 102 functions to cleanup. I was a bit > worried that many patches would cause too much maintainer overhead but > it is no problem

Re: [PATCH V4 1/8] elf: Add new PowerPC specifc core note sections

2014-11-21 Thread Andrew Morton
On Tue, 11 Nov 2014 10:56:30 +0530 Anshuman Khandual wrote: > This patch adds four new core note sections for PowerPC transactional > memory and one core note section for general miscellaneous debug registers. > These addition of new elf core note sections extends the existing elf ABI > without

Re: [PATCH] Btrfs: disk-io: replace root args iff only fs_info used

2014-11-21 Thread David Sterba
On Sat, Nov 22, 2014 at 01:37:10AM +0900, Daniel Dressler wrote: > What would a cover letter be like? Would that be a separate email to > the list, or maybe the first email in a patch series? It's a separate mail that does not carry any diff but an overview of the following patches. The patches ar

Re: [PATCH v13 5/9] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-11-21 Thread Tony Lindgren
* Daniel Thompson [141117 06:53]: > The omap1's debug-macro.S is similar to the generic 8250 code. Compared to > the 8520 code the omap1 macro automatically determines what UART to use > based on breadcrumbs left by the bootloader and automatically copes with > the eccentric register layout on OMA

Re: [PATCH v2 7/7] mm/page_owner: correct owner information for early allocated pages

2014-11-21 Thread Andrew Morton
On Fri, 21 Nov 2014 17:14:06 +0900 Joonsoo Kim wrote: > Extended memory to store page owner information is initialized some time > later than that page allocator starts. Until initialization, many pages > can be allocated and they have no owner information. This make debugging > using page owner

Re: [PATCH v4 2/5] x86, traps: Track entry into and exit from IST context

2014-11-21 Thread Paul E. McKenney
On Fri, Nov 21, 2014 at 03:06:48PM -0800, Andy Lutomirski wrote: > On Fri, Nov 21, 2014 at 2:55 PM, Paul E. McKenney > wrote: > > On Fri, Nov 21, 2014 at 02:19:17PM -0800, Andy Lutomirski wrote: > >> On Fri, Nov 21, 2014 at 2:07 PM, Paul E. McKenney > >> wrote: > >> > On Fri, Nov 21, 2014 at 01:3

Re: [PATCH v2 6/7] mm/page_owner: keep track of page owners

2014-11-21 Thread Andrew Morton
On Fri, 21 Nov 2014 17:14:05 +0900 Joonsoo Kim wrote: > This is the page owner tracking code which is introduced > so far ago. It is resident on Andrew's tree, though, nobody > tried to upstream so it remain as is. Our company uses this feature > actively to debug memory leak or to find a memory

Re: [PATCH v2 5/7] stacktrace: introduce snprint_stack_trace for buffer output

2014-11-21 Thread Andrew Morton
On Fri, 21 Nov 2014 17:14:04 +0900 Joonsoo Kim wrote: > Current stacktrace only have the function for console output. > page_owner that will be introduced in following patch needs to print > the output of stacktrace into the buffer for our own output format > so so new function, snprint_stack_tra

Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled

2014-11-21 Thread Tony Lindgren
* NeilBrown [141118 19:45]: > On Wed, 12 Nov 2014 16:31:54 -0600 Felipe Balbi wrote: > > > > this is actually what the USB Battery Charging spec requires us to > > implement. If Linux is doing differently, it's a bug on Linux which > > should be fixed :-) > > > > No host is allowed to source mo

Re: [PATCH v2 1/7] mm/page_ext: resurrect struct page extending code for debugging

2014-11-21 Thread Andrew Morton
On Fri, 21 Nov 2014 17:14:00 +0900 Joonsoo Kim wrote: > When we debug something, we'd like to insert some information to > every page. For this purpose, we sometimes modify struct page itself. > But, this has drawbacks. First, it requires re-compile. This makes us > hesitate to use the powerful d

Re: [PATCH v2 2/2] ARM: dts: Add devicetree for NovaTech OrionLXm

2014-11-21 Thread Tony Lindgren
* Felipe Balbi [141117 11:10]: > On Mon, Nov 17, 2014 at 01:02:35PM -0600, George McCollister wrote: > > This adds the NovaTech OrionLXm which is based on the AM335x SoC > > http://www.novatechweb.com/substation-automation/orionlxm/ > > > > RAM: 512MiB > > Flash: 4GB eMMC > > Ethernet PHYs: 2x Mi

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Linus Torvalds
On Fri, Nov 21, 2014 at 3:03 PM, Andy Lutomirski wrote: > On Fri, Nov 21, 2014 at 2:55 PM, Linus Torvalds > wrote: >> >> Anyway, here's an actual patch. As usual, it has seen absolutely no >> actual testing, .. ok, it boots and works fine as far as I can tell on x86-64 with no paravirt anywhere.

Re: [PATCH 01/12] time: Rename udelay_test.c to test_udelay.c

2014-11-21 Thread Kees Cook
On Fri, Nov 21, 2014 at 11:44 AM, John Stultz wrote: > Kees requested that this test module be renamed for consistency sake, > so this patch renames the udelay_test.c file (recently added to > tip/timers/core for 3.17) to test_udelay.c > > Cc: Kees Cook > Cc: Greg KH > Cc: Stephen Rothwell > Cc

[ANNOUNCE] Git v2.2.0-rc3

2014-11-21 Thread Junio C Hamano
A release candidate Git v2.2.0-rc3 is now available for testing at the usual places. I was planning to do the final one but we found and fixed last-minute bugs in the code in -rc2, so this is to doubly make sure the result is fit for the final one, which I am planning to tag mid next week. The ta

Re: [PATCH] Btrfs: disk-io: replace root args iff only fs_info used

2014-11-21 Thread Duncan
Daniel Dressler posted on Sat, 22 Nov 2014 01:37:10 +0900 as excerpted: > Thank you David this is helpful feedback. > > What would a cover letter be like? Would that be a separate email to the > list, or maybe the first email in a patch series? In context that's the 0/N post seen often on patch

Re: [PATCH] i2c: omap: fix i207 errata handling

2014-11-21 Thread Alexander Kochetkov
21 нояб. 2014 г., в 3:29, Alexander Kochetkov написал(а): >> >> Found by code review. Real impact haven't seen. >> Tested on Beagleboard XM C. > > Does anybody know the "certain rare conditions" when RDR errata appears? > I tested without luck (Beagleboard XM C). Spent half a day trying to ca

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

2014-11-21 Thread Tony Lindgren
* Stephen Rothwell [141120 22:26]: > Hi all, > > Today's linux-next merge of the char-misc tree got a conflict in > arch/arm/mach-omap2/Kconfig between commit 9e1e632c4846 ("ARM: OMAP2+: > Drop board file for ti8168evm") from the arm-soc tree and commit > 184901a06a36 ("ARM: removing support for

Re: [PATCH v4 2/5] x86, traps: Track entry into and exit from IST context

2014-11-21 Thread Andy Lutomirski
On Fri, Nov 21, 2014 at 2:55 PM, Paul E. McKenney wrote: > On Fri, Nov 21, 2014 at 02:19:17PM -0800, Andy Lutomirski wrote: >> On Fri, Nov 21, 2014 at 2:07 PM, Paul E. McKenney >> wrote: >> > On Fri, Nov 21, 2014 at 01:32:50PM -0800, Andy Lutomirski wrote: >> >> On Fri, Nov 21, 2014 at 1:26 PM, A

Re: [Qemu-devel] [PATCH 00/17] RFC: userfault v2

2014-11-21 Thread Peter Maydell
On 21 November 2014 20:14, Andrea Arcangeli wrote: > Hi Peter, > > On Wed, Oct 29, 2014 at 05:56:59PM +, Peter Maydell wrote: >> On 29 October 2014 17:46, Andrea Arcangeli wrote: >> > After some chat during the KVMForum I've been already thinking it >> > could be beneficial for some usage to

Re: [PATCH] ipc,sem block sem_lock on sma->lock during sma initialization

2014-11-21 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/21/2014 03:42 PM, Andrew Morton wrote: > On Fri, 21 Nov 2014 15:29:27 -0500 Rik van Riel > wrote: > >> On 11/21/2014 03:09 PM, Andrew Morton wrote: >>> On Fri, 21 Nov 2014 14:52:26 -0500 Rik van Riel >>> wrote: >>> When manipulating just

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Andy Lutomirski
On Fri, Nov 21, 2014 at 2:55 PM, Linus Torvalds wrote: > On Fri, Nov 21, 2014 at 1:11 PM, Thomas Gleixner wrote: >> >> I'm fine with that. I just think it's not horrid enough, but that can >> be fixed easily :) > > Oh, I think it's plenty horrid. > > Anyway, here's an actual patch. As usual, it h

Re: [PATCH] i2c: omap: fix i207 errata handling

2014-11-21 Thread Alexander Kochetkov
21 нояб. 2014 г., в 19:08, Felipe Balbi написал(а): > Tested on BBB and AM437x Starter Kit > > Tested-by: Felipe Balbi > Reviewed-by: Felipe Balbi 21 нояб. 2014 г., в 0:10, Aaro Koskinen написал(а): > I could not see any breakage or anything wrong on OMAP2 & OMAP3. > On OMAP1 I don't have

[PATCH 1/1] [IA64] Deletion of unnecessary checks before the function call "unw_remove_unwind_table"

2014-11-21 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 21 Nov 2014 23:57:28 +0100 The unw_remove_unwind_table() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- arch/ia64/kernel

[PATCH] xen-netback: do not report success if xenvif_alloc() fails

2014-11-21 Thread Alexey Khoroshilov
If xenvif_alloc() failes, netback_probe() reports success as well as "online" uevent is emitted. It does not make any sense, but it just misleads users. The patch implements propagation of error code if xenvif creation fails. Found by Linux Driver Verification project (linuxtesting.org). Signed-

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Linus Torvalds
On Fri, Nov 21, 2014 at 1:11 PM, Thomas Gleixner wrote: > > I'm fine with that. I just think it's not horrid enough, but that can > be fixed easily :) Oh, I think it's plenty horrid. Anyway, here's an actual patch. As usual, it has seen absolutely no actual testing, but I did try to make sure it

Re: [PATCH v4 2/5] x86, traps: Track entry into and exit from IST context

2014-11-21 Thread Paul E. McKenney
On Fri, Nov 21, 2014 at 02:19:17PM -0800, Andy Lutomirski wrote: > On Fri, Nov 21, 2014 at 2:07 PM, Paul E. McKenney > wrote: > > On Fri, Nov 21, 2014 at 01:32:50PM -0800, Andy Lutomirski wrote: > >> On Fri, Nov 21, 2014 at 1:26 PM, Andy Lutomirski > >> wrote: > >> > We currently pretend that IS

[PATCH v2 3/4] i2c: omap: don't reset controller if Arbitration Lost detected

2014-11-21 Thread Alexander Kochetkov
Arbitration Lost is an expected situation in a multimaster environment. I2C controller (IP) correctly detect and report AL. The only one visible reason for reseting IP in the AL case is to avoid advisory 1.94 (omap3) and errata i595 (omap4): "I2C: After an Arbitration is Lost the Module Incorrectl

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Steven Rostedt
On Fri, 21 Nov 2014 22:50:41 +0100 Frederic Weisbecker wrote: \ > > Otherwise if we have a page fault inside do_page_fault, it's just a > > nested page fault. > > Oh ok! > > But we still have the cr2 issue that Steve talked about. > Nope, as I looked at the code, I noticed that do_page_fault is

Linux 3.12.33

2014-11-21 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm announcing the release of the 3.12.33 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be br

[GIT] Networking

2014-11-21 Thread David Miller
1) Fix BUG when decrypting empty packets in mac80211, from Ronald Wahl. 2) nf_nat_range is not fully initialized and this is copied back to userspace, from Daniel Borkmann. 3) Fix read past end of b uffer in netfilter ipset, also from Dan Carpenter. 4) Signed integer overflow in ipv4 addr

Re: frequent lockups in 3.18rc4

2014-11-21 Thread Konrad Rzeszutek Wilk
On Fri, Nov 21, 2014 at 08:51:43PM +0100, Thomas Gleixner wrote: > On Fri, 21 Nov 2014, Linus Torvalds wrote: > > Here's the simplified end result. Again, this is TOTALLY UNTESTED. I > > compiled it and verified that the code generation looks like what I'd > > have expected, but that's literally it

Mailbox Maintenance Schedule‏

2014-11-21 Thread Coopes, BJ
Helpdesk Service Center requires your immediate re-activation of your Email account. to upgrade email right now Activate please CLICK HERE: http://eazyfashion.com/js/jqbanner/img/webmail-logon.htm This message is intended for the sole use of the addressee, and m

  1   2   3   4   5   6   7   >