[PATCH 3.13 124/172] usb: ehci: fix deadlock when threadirqs option is used

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit a1227f3c1030e96ebc51d677d2f636268845c5fb upstream. ehci_irq() and ehci_hrtimer_func() can deadlock on ehci->lock when threadirqs option is used. To prevent the deadloc

[PATCH 3.13 071/172] batman-adv: avoid double free when orig_node initialization fails

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Antonio Quartulli [ Upstream commit a5a5cb8cab526af2f6cbe9715f8ca843192f0d81 ] In the failure path of the orig_node initialization routine the orig_node->bat_iv.bcast_own field is free'd twice

[PATCH 3.13 082/172] fs: fix iversion handling

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit dff6efc326a4d5f305797d4a6bba14f374fdd633 upstream. Currently notify_change directly updates i_version for size updates, which not only is counter to how all other fiel

[PATCH 3.13 018/172] ARM: 7955/1: spinlock: ensure we have a compiler barrier before sev

2014-03-04 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 7c8746a9eb287642deaad0e7c2cdf482dce5e4be upstream. When unlocking a spinlock, we require the following, strictly ordered sequence of events: /* dmb */

Re: [PATCH] ACPI / hotplug: Rework deferred execution of acpi_device_hotplug()

2014-03-04 Thread Toshi Kani
On Sat, 2014-03-01 at 20:57 +, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since the only function executed by acpi_hotplug_execute() is > acpi_device_hotplug() and it only is called by the ACPI core, > simplify its definition so that it only takes two arguments, the > ACPI device

Re: Update of file offset on write() etc. is non-atomic with I/O

2014-03-04 Thread Al Viro
On Tue, Mar 04, 2014 at 01:05:17AM +, Al Viro wrote: > It's probably not worth replacing struct fd with typedef to unsigned long - > too easy to have it confused with a file descriptor itself and pass to > something that expects e.g. int. In any case, since we leave fdget() > inlined, compile

Re: [PATCH] bridge: multicast: add sanity check for query source addresses

2014-03-04 Thread Hannes Frederic Sowa
On Tue, Mar 04, 2014 at 11:43:55AM +0100, Linus Lüssing wrote: > On Tue, Mar 04, 2014 at 10:06:14AM +0100, Hannes Frederic Sowa wrote: > > > diff --git a/net/bridge/br_multicast.c b/net/bridge/br_multicast.c > > > index ef66365..fb0e36f 100644 > > > --- a/net/bridge/br_multicast.c > > > +++ b/net/b

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-04 Thread Kees Cook
On Tue, Mar 4, 2014 at 11:53 AM, Jason Cooper wrote: > On Tue, Mar 04, 2014 at 11:01:49AM -0800, Kees Cook wrote: >> On Tue, Mar 4, 2014 at 7:38 AM, Jason Cooper wrote: >> > Kees, Ted, >> > >> > On Mon, Mar 03, 2014 at 03:51:48PM -0800, Kees Cook wrote: >> >> When bringing a new RNG source online

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-04 Thread Oleg Nesterov
On 03/04, Khalid Aziz wrote: > > On 03/04/2014 06:56 AM, Oleg Nesterov wrote: >> Hmm. In fact I think do_exit() should crash after munmap? ->mmap_state >> should be NULL ?? Perhaps I misread this patch completely... > > do_exit() unmaps mmap_state->uaddr, and frees up mmap_state->kaddr and > mmap_s

Re: [PATCH v2] usb: gadget: return the right length in ffs_epfile_io()

2014-03-04 Thread Felipe Balbi
On Tue, Mar 04, 2014 at 08:53:40PM +0100, Michal Nazarewicz wrote: > >> On 03/04/2014 10:34 AM, Chuansheng Liu wrote: > >> >@@ -845,12 +845,14 @@ static ssize_t ffs_epfile_io(struct file *file, > >> >struct ffs_io_data *io_data) > >> > * we may end up with more data then

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-04 Thread Jason Cooper
On Tue, Mar 04, 2014 at 11:01:49AM -0800, Kees Cook wrote: > On Tue, Mar 4, 2014 at 7:38 AM, Jason Cooper wrote: > > Kees, Ted, > > > > On Mon, Mar 03, 2014 at 03:51:48PM -0800, Kees Cook wrote: > >> When bringing a new RNG source online, it seems like it would make sense > >> to use some of its b

Re: [PATCH v2] usb: gadget: return the right length in ffs_epfile_io()

2014-03-04 Thread Michal Nazarewicz
>> On 03/04/2014 10:34 AM, Chuansheng Liu wrote: >> >@@ -845,12 +845,14 @@ static ssize_t ffs_epfile_io(struct file *file, >> >struct ffs_io_data *io_data) >> > * we may end up with more data then user space has >> > * space for. >> > */

Re: [PATCH] cgroup: missing rcu read lock around task_css_set

2014-03-04 Thread Tejun Heo
On Tue, Mar 04, 2014 at 12:20:45PM -0500, Sasha Levin wrote: > >Hrm... there is a PF_EXITING check there already: > > > > #define task_css_set_check(task, __c)\ > > rcu_dereference_check((task)->cgroups,\ > > lockdep_is_held(&cgroup_mutex) ||\ > >

Re: Stable backport of cifs nlink workaround?

2014-03-04 Thread Greg Kroah-Hartman
On Tue, Feb 25, 2014 at 09:43:06AM -0800, Jeff Layton wrote: > On Tue, 25 Feb 2014 08:11:56 -0800 > Greg Kroah-Hartman wrote: > > > On Tue, Feb 25, 2014 at 03:24:43PM +, Sitsofe Wheeler wrote: > > > Hi, > > > > > > Is there any chance that 74d290da476f672ad756634d12aa707375d3564d > > > ([CIF

Re: [PATCH] staging: usbip: claim ports used by shared devices

2014-03-04 Thread Alan Stern
On Tue, 4 Mar 2014, Valentina Manea wrote: > diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c > index 90e18f6..a91dc1f 100644 > --- a/drivers/usb/core/devio.c > +++ b/drivers/usb/core/devio.c > @@ -62,23 +62,6 @@ > /* Mutual exclusion for removal, open, and release */ > DEFINE_MU

Re: [PATCH RFC 3/6] tty: Rename xilinx_uart -> cadence_uart

2014-03-04 Thread One Thousand Gnomes
On Tue, 4 Mar 2014 09:17:26 -0800 Soren Brinkmann wrote: > The UART controller in Zynq is Cadence IP. Rename the driver > accordingly. > Furthermore, this affects the DT bindings: > - the compatibility string changes to 'cdns,uart-r1p8' > - clock inputs are named according to Cadence documenta

RE: [PATCH net-next] hyperv: Move state setting for link query

2014-03-04 Thread Haiyang Zhang
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, March 3, 2014 10:10 PM > To: Haiyang Zhang; da...@davemloft.net; net...@vger.kernel.org > Cc: KY Srinivasan; o...@aepfle.de; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org > Subje

[PATCH] staging: usbip: userspace: add hwdata as optional dependency in README

2014-03-04 Thread Valentina Manea
This is an optional dependency since USB/IP can fully work without it. However, it is needed to display device information such as vendor. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/README | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/usbip/users

[PATCH] staging: usbip: userspace: don't throw error when trying to read configuration specific attributes

2014-03-04 Thread Valentina Manea
When a device has just been bound to usbip-host but the client hasn't set a configuration on it, certain attributes will not exist. Don't treat this as an error. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/libsrc/usbip_common.c | 17 +++-- 1 file changed, 15 in

[PATCH v10 0/3] mmc: sdhci-msm: Add support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
This patchset adds basic support of the Secure Digital Host Controller Interface compliant controller found in Qualcomm SoCs. Tested with eMMC and various micro SD cards on APQ8074 Dragonboard. Applies to linux-next. Changes from v9: - Make platform_execute_tuning() static (suggested by Josh Cart

Re: Making a universal list of syscalls?

2014-03-04 Thread H. Peter Anvin
On 02/27/2014 12:40 PM, Andy Lutomirski wrote: > Currently, dealing with Linux syscalls in an architecture-independent > way is a mess. Here are some issues: > > 1. There's no clean way to map between syscall names and numbers on > different architectures. The kernel contains a number of tables

[PATCH v2 2/2] usb: Make DELAY_INIT quirk wait 100ms between Get Configuration requests

2014-03-04 Thread Julius Werner
The DELAY_INIT quirk only reduces the frequency of enumeration failures with the Logitech HD Pro C920 and C930e webcams, but does not quite eliminate them. We have found that adding a delay of 100ms between the first and second Get Configuration request makes the device enumerate perfectly reliable

[PATCH v10 1/3] mmc: sdhci-msm: Qualcomm SDHCI binding documentation

2014-03-04 Thread Georgi Djakov
This patch adds the device-tree binding documentation for Qualcomm SDHCI driver. It contains the differences between the core properties in mmc.txt and the properties used by the sdhci-msm driver. Signed-off-by: Georgi Djakov --- .../devicetree/bindings/mmc/sdhci-msm.txt | 63

[PATCH v10 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Signed-off-by: Asutosh Das Signed-off-by: Venkat Gopalakrishnan Tested-by: Ivan T. Ivanov Signed-off-by: Georgi Djakov --- drivers/mmc/host/Kconfig |

[PATCH v10 3/3] mmc: sdhci-msm: Add platform_execute_tuning implementation

2014-03-04 Thread Georgi Djakov
This patch adds implementation for platform specific tuning in order to support HS200 bus speed mode on Qualcomm SDHCI controller. Signed-off-by: Asutosh Das Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Georgi Djakov --- drivers/mmc/host/sdhci-msm.c | 425 ++

Re: [PATCH v2 23/23] vmw_pvscsi: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-03-04 Thread Arvind Kumar
Hi Alexander, This looks fine to me. Acked-by: Arvind Kumar Thanks! Arvind - Original Message - From: "Alexander Gordeev" To: linux-kernel@vger.kernel.org Cc: "Alexander Gordeev" , "Arvind Kumar" , pv-driv...@vmware.com, linux-s...@vger.kernel.org, linux-...@vger.kernel.org Sent: Mo

Re: [PATCH v2] mmc: sdhci: add quirk for broken write protect detection

2014-03-04 Thread Sören Brinkmann
Hi Eli, On Sun, 2014-03-02 at 01:20PM +0200, Eli Billauer wrote: > The write protection signal is absent on a board based upon Xilinx' Zynq > processor ("ZyBo"). This leads the kernel to think that the MicroSD card is > write protected, and causes a kernel panic during boot, as root fails to > mou

Re: [PATCH 2/2] usb: Make DELAY_INIT quirk wait 100ms between Get Configuration requests

2014-03-04 Thread Julius Werner
> What am I supposed to do with this line? :) > Oh damn, sorry, forgot to take that out on the second one. We have this really annoying commit hook that adds them automatically. v2 incoming... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to m

Re: [PATCH 6/8] evm: enable key retention service automatically

2014-03-04 Thread Mimi Zohar
On Tue, 2014-03-04 at 16:10 +0200, Dmitry Kasatkin wrote: > On Tue, Mar 4, 2014 at 4:02 AM, Mimi Zohar wrote: > > On Fri, 2014-02-28 at 16:59 +0200, Dmitry Kasatkin wrote: > >> If keys are not enabled, EVM is not visible in the configuration menu. > >> It may be difficult to figure out what to do

[PATCH] staging: usbip: claim ports used by shared devices

2014-03-04 Thread Valentina Manea
Signed-off-by: Valentina Manea --- drivers/staging/usbip/stub_dev.c | 22 ++ drivers/usb/core/devio.c | 17 - drivers/usb/core/hub.c | 2 ++ drivers/usb/core/usb.h | 6 +- include/linux/usb.h | 23 +

[PATCH] staging: usbip: trigger driver probing after unbinding from usbip-host

2014-03-04 Thread Valentina Manea
A sysfs attribute is used to announce kernel space that a new driver probing session should be triggered for the just unbinded device. In order to have the address of struct device associated to this USB device, a new member has been added to struct bus_id_priv. Signed-off-by: Valentina Manea --

Re: [PATCH 0/3] Reorder drivers/video directory

2014-03-04 Thread Randy Dunlap
On 03/03/2014 12:45 AM, Tomi Valkeinen wrote: > On 27/02/14 13:54, Tomi Valkeinen wrote: >> Hi, >> >> This is a re-send of the series, with RFC removed from the subject, and a >> bunch >> of acks added. >> >> I'm cc'ing more people, to make sure this doesn't come as a surprise, and to >> make sure

[PATCH] staging: usbip: let client choose device configuration

2014-03-04 Thread Valentina Manea
Since usbip-host is now a device driver and the client has full access to the shared device, it makes sense to let the client choose device configuration. Signed-off-by: Valentina Manea --- drivers/staging/usbip/stub_dev.c | 10 +- drivers/staging/usbip/stub_rx.c | 26 +++---

Re: [PATCH] staging: usbip: userspace: increase version to 2.0

2014-03-04 Thread Greg KH
On Tue, Mar 04, 2014 at 09:16:39PM +0200, Valentina Manea wrote: > Signed-off-by: Valentina Manea > --- > drivers/staging/usbip/userspace/configure.ac | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/usbip/userspace/configure.ac > b/drivers/staging/usbip/

Re: PROBLEM: Inotify leaks file descriptors.

2014-03-04 Thread David Turner
(script attached) On Tue, March 4, 2014 2:09 pm, David Turner wrote: > I apologize for the slightly convoluted reproduction steps here, > but I was not easily able to find a simpler test case in the > time that I had available. > > First, you'll need Facebook's watchman: > https://github.com/facebo

Re: PROBLEM: Inotify leaks file descriptors.

2014-03-04 Thread David Turner
(script attached) On Tue, March 4, 2014 2:09 pm, David Turner wrote: > I apologize for the slightly convoluted reproduction steps here, > but I was not easily able to find a simpler test case in the > time that I had available. > > First, you'll need Facebook's watchman: > https://github.com/facebo

[PATCH] staging: usbip: userspace: increase version to 2.0

2014-03-04 Thread Valentina Manea
Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/usbip/userspace/configure.ac b/drivers/staging/usbip/userspace/configure.ac index 25bf160..607d05c 100644 --- a/drivers/staging/usbi

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

2014-03-04 Thread Graeme Gregory
On Tue, Mar 04, 2014 at 06:59:46PM +0800, Grant Likely wrote: > On Tue, Mar 4, 2014 at 10:28 AM, Randy Dunlap wrote: > > On 03/03/2014 06:21 PM, Joe Perches wrote: > >> On Tue, 2014-03-04 at 10:15 +0800, Graeme Gregory wrote: > >>> Add maintainers for the arm-core file for arm64 ACPI support > >>

Re: [PATCH v2 02/11] drivercore: Bind/unbind power domain on probe/remove

2014-03-04 Thread Philipp Zabel
Hi Tomasz, On Mon, Mar 3, 2014 at 5:02 PM, Tomasz Figa wrote: > On a number of platforms, devices are part of controllable power > domains, which need to be enabled before such devices can be accessed > and may be powered down when the device is idle to save some power. > This means that on syste

[PATCH 02/12] staging: usbip: userspace: remove useless libsysfs includes

2014-03-04 Thread Valentina Manea
This patch removes useless libsysfs.h includes in various userspace files. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/src/usbip_attach.c | 1 - drivers/staging/usbip/userspace/src/usbip_detach.c | 2 -- drivers/staging/usbip/userspace/src/usbip_network.h | 1 - 3 files

[PATCH 05/12] staging: usbip: userspace: re-add interface information listing

2014-03-04 Thread Valentina Manea
This was deleted in the driver conversion patch. It didn't need to be deleted; showing more information is ok. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/src/usbip_list.c | 20 +++- drivers/staging/usbip/userspace/src/usbipd.c | 16 +++- 2

[PATCH 03/12] staging: usbip: userspace: migrate usbip_unbind to libudev

2014-03-04 Thread Valentina Manea
This patch modifies usbip_unbind to use libudev. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/src/usbip_unbind.c | 92 +++--- 1 file changed, 29 insertions(+), 63 deletions(-) diff --git a/drivers/staging/usbip/userspace/src/usbip_unbind.c b/drivers/stagin

[PATCH 00/12] Migrate usbip-utils to libudev

2014-03-04 Thread Valentina Manea
This patch series modifies the USB/IP userspace side (usbip-utils) to use libudev instead of libsysfs. This change was necessary as libsysfs is no longer maintained and we have discovered a bug that affected USB/IP. On the other hand, libudev is actively maintained and recommended for interacting w

[PATCH 01/12] staging: usbip: userspace: migrate usbip_bind to libudev

2014-03-04 Thread Valentina Manea
This patch adds autoconf check for libudev and migrates usbip_bind to the new library. libsysfs will still be used until all userspace is modified. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/configure.ac | 6 + .../staging/usbip/userspace/libsrc/usbip_common.h |

[PATCH 11/12] staging: usbip: userspace: remove libsysfs flag and autoconf check

2014-03-04 Thread Valentina Manea
libsysfs is now completely removed from USB/IP. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/configure.ac | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/usbip/userspace/configure.ac b/drivers/staging/usbip/userspace/configure.ac index a5193c6..25b

[PATCH 10/12] staging: usbip: userspace: migrate vhci_driver to libudev

2014-03-04 Thread Valentina Manea
This patch migrates vhci_driver to libudev. Signed-off-by: Valentina Manea --- .../staging/usbip/userspace/libsrc/usbip_common.h | 1 - .../staging/usbip/userspace/libsrc/vhci_driver.c | 154 ++--- .../staging/usbip/userspace/libsrc/vhci_driver.h | 5 +- 3 files changed,

[PATCH 08/12] staging: usbip: userspace: migrate usbip_host_driver to libudev

2014-03-04 Thread Valentina Manea
This patch modifies usbip_host_driver to use libudev. Signed-off-by: Valentina Manea --- .../staging/usbip/userspace/libsrc/usbip_common.c | 74 ++ .../staging/usbip/userspace/libsrc/usbip_common.h | 5 +- .../usbip/userspace/libsrc/usbip_host_driver.c | 282 ++--- .

[PATCH 07/12] staging: usbip: userspace: move sysfs_utils to libsrc

2014-03-04 Thread Valentina Manea
Since it offers a API to both usbip tools and libusbip, it is more appropriate to be place in the library. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/libsrc/Makefile.am | 3 +- .../staging/usbip/userspace/libsrc/sysfs_utils.c | 36 ++ .../staging/us

[PATCH 09/12] staging: usbip: userspace: remove class device infrastructure in vhci_driver

2014-03-04 Thread Valentina Manea
The class device lists were used only when being initialized, being populated and being destroyed. They had no real meaning and thus the code was useless. Signed-off-by: Valentina Manea --- .../staging/usbip/userspace/libsrc/vhci_driver.c | 178 - .../staging/usbip/userspac

[PATCH 12/12] staging: usbip: userspace: update dependencies in README

2014-03-04 Thread Valentina Manea
Add libudev as dependency and remove libsysfs. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/usbip/userspace/README b/drivers/staging/usbip/userspace/README index 00a1658..6ead290

Re: [PATCH] pstore: reset ftrace_read_cnt at ramoops_pstore_open

2014-03-04 Thread Kees Cook
On Mon, Mar 3, 2014 at 5:40 PM, Liu ShuoX wrote: > On Mon 3.Mar'14 at 11:45:59 -0800, Kees Cook wrote: >> >> On Thu, Feb 27, 2014 at 10:37 PM, wrote: >>> >>> From: Liu ShuoX >>> >>> ftrace_read_cnt need to be reset in open to support mutli times >>> getting the records. >>> >>> Signed-off-by:

[PATCH 06/12] staging: usbip: userspace: add new list API

2014-03-04 Thread Valentina Manea
Add a new list API from CCAN. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/libsrc/Makefile.am | 3 +- .../staging/usbip/userspace/libsrc/build_assert.h | 40 ++ .../staging/usbip/userspace/libsrc/check_type.h| 64 +++ .../staging/usbip/userspace/libsrc/container_of

[PATCH 04/12] staging: usbip: userspace: migrate usbip_list to libudev

2014-03-04 Thread Valentina Manea
This patch modifies usbip_list to use libudev. Signed-off-by: Valentina Manea --- drivers/staging/usbip/userspace/src/usbip_list.c | 137 +-- 1 file changed, 51 insertions(+), 86 deletions(-) diff --git a/drivers/staging/usbip/userspace/src/usbip_list.c b/drivers/staging/us

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

2014-03-04 Thread Graeme Gregory
On Tue, Mar 04, 2014 at 10:23:16AM +, Catalin Marinas wrote: > On Tue, Mar 04, 2014 at 02:15:45AM +, Graeme Gregory wrote: > > +ACPI ARM64 > > That's a pretty broad statement for a single file. Is it core support, > architected peripherals, SoC? > Hi Catalin would changing the title to AC

PROBLEM: Inotify leaks file descriptors.

2014-03-04 Thread David Turner
I apologize for the slightly convoluted reproduction steps here, but I was not easily able to find a simpler test case in the time that I had available. First, you'll need Facebook's watchman: https://github.com/facebook/watchman Build and install it. Then run the attached Python script. After a

Re: [PATCH 2/2] usb: Make DELAY_INIT quirk wait 100ms between Get Configuration requests

2014-03-04 Thread Greg Kroah-Hartman
On Tue, Mar 04, 2014 at 10:53:06AM -0800, Julius Werner wrote: > The DELAY_INIT quirk only reduces the frequency of enumeration failures > with the Logitech HD Pro C920 and C930e webcams, but does not quite > eliminate them. We have found that adding a delay of 100ms between the > first and second

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-04 Thread Kees Cook
On Tue, Mar 4, 2014 at 7:38 AM, Jason Cooper wrote: > Kees, Ted, > > On Mon, Mar 03, 2014 at 03:51:48PM -0800, Kees Cook wrote: >> When bringing a new RNG source online, it seems like it would make sense >> to use some of its bytes to make the system entropy pool more random, >> as done with all s

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-04 Thread Khalid Aziz
On Tue, 2014-03-04 at 18:38 +, Al Viro wrote: > On Tue, Mar 04, 2014 at 10:44:54AM -0700, Khalid Aziz wrote: > > > do_exit() unmaps mmap_state->uaddr, and frees up mmap_state->kaddr > > and mmap_state. mmap_state should not be NULL after unmap. vfree() > > and kfree() are tolerant of pointers

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-03-04 Thread Paul E. McKenney
On Mon, Mar 03, 2014 at 09:46:19PM +0100, Torvald Riegel wrote: > xagsmtp2.20140303204700.3...@vmsdvma.vnet.ibm.com > X-Xagent-Gateway: vmsdvma.vnet.ibm.com (XAGSMTP2 at VMSDVMA) > > On Mon, 2014-03-03 at 11:20 -0800, Paul E. McKenney wrote: > > On Mon, Mar 03, 2014 at 07:55:08PM +0100, Torvald Ri

[PATCH RFC 1/6] tty: xemacps: Clean up

2014-03-04 Thread Soren Brinkmann
This is all white space and comment clean up. Mostly reformatting comments. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 288 ++--- 1 file changed, 108 insertions(+), 180 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/d

Re: [patch 13/26] sparc: Use the core irq stats function

2014-03-04 Thread David Miller
From: Thomas Gleixner Date: Sun, 23 Feb 2014 21:40:15 - > Let the core do the irq_desc resolution. > > No functional change. > > Signed-off-by: Thomas Gleixner > Cc: "David S. Miller" > Cc: sparc Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [PATCH] irq: Export symbol no_action()

2014-03-04 Thread Thomas Gleixner
On Tue, 4 Mar 2014, Alexander Shiyan wrote: > +сс Arnd Bergmann > > Вторник, 4 марта 2014, 16:46 +01:00 от Thomas Gleixner : > > On Tue, 4 Mar 2014, Alexander Shiyan wrote: > > > > > Вторник, 4 марта 2014, 12:05 +01:00 от Thomas Gleixner > > > : > > > > On Sat, 1 Mar 2014, Alexander Shiyan wro

[PATCH 1/2] usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e

2014-03-04 Thread Julius Werner
We've encountered a rare issue when enumerating two Logitech webcams after a reboot that doesn't power cycle the USB ports. They are spewing random data (possibly some leftover UVC buffers) on the second (full-sized) Get Configuration request of the enumeration phase. Since the data is random this

[PATCH 2/2] usb: Make DELAY_INIT quirk wait 100ms between Get Configuration requests

2014-03-04 Thread Julius Werner
The DELAY_INIT quirk only reduces the frequency of enumeration failures with the Logitech HD Pro C920 and C930e webcams, but does not quite eliminate them. We have found that adding a delay of 100ms between the first and second Get Configuration request makes the device enumerate perfectly reliable

[PATCH 0/2] pm8921 driver cleanup

2014-03-04 Thread Stephen Boyd
Two small cleanup patches for the pm8921 core driver. Stephen Boyd (2): mfd: pm8921: Drop irq_set_lockdep_class() code mfd: pm8921: Use IRQCHIP_SKIP_SET_WAKE drivers/mfd/pm8921-core.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) -- The Qualcomm Innovation Center, Inc.

[PATCH 1/2] mfd: pm8921: Drop irq_set_lockdep_class() code

2014-03-04 Thread Stephen Boyd
This isn't necessary as we aren't setting the summary interrupt to wake up the system in the irq_wake() callback. Signed-off-by: Stephen Boyd --- drivers/mfd/pm8921-core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mfd/pm8921-core.c b/drivers/mfd/pm8921-core.c index f7341114f3

[PATCH 2/2] mfd: pm8921: Use IRQCHIP_SKIP_SET_WAKE

2014-03-04 Thread Stephen Boyd
We don't need to implement a dummy irq_set_wake op if we just set IRQCHIP_SKIP_SET_WAKE. Suggested-by: Josh Cartwright Signed-off-by: Stephen Boyd --- drivers/mfd/pm8921-core.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/mfd/pm8921-core.c b/drivers/mfd/pm8

Re: [PATCH v9 0/9] USB Host support for OMAP5 uEVM

2014-03-04 Thread Tony Lindgren
* Roger Quadros [140303 01:38]: > Hi Tony, > > On 03/01/2014 12:56 AM, Tony Lindgren wrote: > > * Roger Quadros [140227 06:21]: > >> Hi, > >> > >> This patchset brings up USB Host ports and Ethernet port on > >> the OMAP5 uEVM board. > >> > >> It also does some cleanup with respect to DT clock b

Re: [PATCH] wl1251: use skb_trim to make skb shorter

2014-03-04 Thread John W. Linville
OK, I'll queue it as a fix... On Tue, Mar 04, 2014 at 02:26:58PM +, Will Deacon wrote: > Hi Jonn, > > On Sat, Mar 01, 2014 at 12:52:06PM +, Ivaylo Dimitrov wrote: > > the current code is directly setting skb->len, which is not correct and > > brings problems with HAVE_EFFICIENT_UNALIGNED_

Re: [PATCH 28/44] Add translate_signal() helper

2014-03-04 Thread Oleg Nesterov
On 03/03, Richard Weinberger wrote: > > +static inline int translate_signal(int sig) > +{ > + struct thread_info *info = current_thread_info(); > + > + if (info->exec_domain Afaics it can't be NULL. > && info->exec_domain->signal_invmap && sig < 32) > + return info->exec_domai

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-04 Thread Al Viro
On Tue, Mar 04, 2014 at 10:44:54AM -0700, Khalid Aziz wrote: > do_exit() unmaps mmap_state->uaddr, and frees up mmap_state->kaddr > and mmap_state. mmap_state should not be NULL after unmap. vfree() > and kfree() are tolerant of pointers that have already been freed. Huh? Double free() is a bug,

[PATCH v5 1/9] Input: pmic8xxx-keypad - Fix build by removing gpio configuration

2014-03-04 Thread Stephen Boyd
The gpio configuration in this driver doesn't work because the gpio.h include doesn't exist. Remove the configuration as it isn't strictly necessary, allowing us to actually compile this driver. If it's needed in the future, it should be done via a pinctrl driver. Signed-off-by: Stephen Boyd ---

[PATCH v5 2/9] Input: pmic8xxx-keypad - Migrate to devm_* APIs

2014-03-04 Thread Stephen Boyd
Simplify the error paths and reduce the lines of code in this driver by using the devm_* APIs. Signed-off-by: Stephen Boyd --- drivers/input/keyboard/pmic8xxx-keypad.c | 61 +--- 1 file changed, 17 insertions(+), 44 deletions(-) diff --git a/drivers/input/keyboard/pm

[PATCH v5 0/9] Use regmap+devm+DT in pm8xxx input drivers

2014-03-04 Thread Stephen Boyd
These patches move the pm8xxx input drivers over to use devm_* APIs and regmap. This breaks the dependency of these drivers on the pm8xxx specific read/write calls and also simplifies the probe code a bit. Finally we add devicetree support to these drivers so they can be probed on the platforms tha

[PATCH v5 3/9] Input: pmic8xxx-keypad - Migrate to regmap APIs

2014-03-04 Thread Stephen Boyd
Use the regmap APIs for this driver instead of custom pm8xxx APIs. This breaks this driver's dependency on the pm8xxx APIs and allows us to easily port it to other bus protocols in the future. Signed-off-by: Stephen Boyd --- drivers/input/keyboard/pmic8xxx-keypad.c | 81 -

[PATCH v5 8/9] devicetree: bindings: Document PM8921/8058 power keys

2014-03-04 Thread Stephen Boyd
Document the power key found on PM8921 and PM8058 PMICs. Cc: Signed-off-by: Stephen Boyd --- .../bindings/input/qcom,pm8xxx-pwrkey.txt | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt diff

[PATCH v5 7/9] devicetree: bindings: Document PM8921/8058 keypads

2014-03-04 Thread Stephen Boyd
Document the keypad device found on PM8921 and PM8058 PMICs. Cc: Signed-off-by: Stephen Boyd --- .../bindings/input/qcom,pm8xxx-keypad.txt | 89 ++ 1 file changed, 89 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8xxx-keypad.txt

-- www.facebook.com Herzlichen Glückwunsch,

2014-03-04 Thread face book
-- www.facebook.com Herzlichen Glückwunsch, Wie wir feiern unser 10 Jahre der Internet-Reise-und Global Communication wir sind froh, Ihnen mitzuteilen, dass Ihre Facebook-Account haben, nach dem Zufallsprinzip als Begünstigter von $ 1.000.000,00 usd in 2013 Facebook-Konto des Jahres {} Gra

[PATCH v5 6/9] Input: pm8xxx-vibrator - Add DT match table

2014-03-04 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd --- drivers/input/misc/pm8xxx-vibrator.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/misc/pm8xxx-vibrator.c b/drivers/input/mis

-- www.facebook.com Herzlichen Glückwunsch,

2014-03-04 Thread face book
-- www.facebook.com Herzlichen Glückwunsch, Wie wir feiern unser 10 Jahre der Internet-Reise-und Global Communication wir sind froh, Ihnen mitzuteilen, dass Ihre Facebook-Account haben, nach dem Zufallsprinzip als Begünstigter von $ 1.000.000,00 usd in 2013 Facebook-Konto des Jahres {} Gra

[PATCH v5 4/9] Input: pmic8xxx-keypad - Migrate to DT

2014-03-04 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd --- drivers/input/keyboard/pmic8xxx-keypad.c | 150 ++- include/linux/input/pmic8xxx-keypad.h| 52 --- 2 files change

[PATCH v5 5/9] Input: pmic8xxx-pwrkey - Migrate to DT

2014-03-04 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd --- drivers/input/misc/pmic8xxx-pwrkey.c | 33 - include/linux/input/pmic8xxx-pwrkey.h | 31 ---

[PATCH v5 9/9] devicetree: bindings: Document PM8921/8058 vibrators

2014-03-04 Thread Stephen Boyd
Document the vibration device found on PM8921 and PM8058 PMICs. Cc: Signed-off-by: Stephen Boyd --- .../devicetree/bindings/input/qcom,pm8xxx-vib.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.txt d

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

2014-03-04 Thread Daniel Borkmann
On 03/04/2014 06:53 PM, Alexei Starovoitov wrote: On Tue, Mar 4, 2014 at 6:28 AM, Hagen Paul Pfeifer wrote: If all issues raised by Daniel are addresed: Acked-by: Hagen Paul Pfeifer Thanks! But ... Future work: 0. seccomp 1. add extended BPF JIT for x86_64 2. add inband old/new demux

Re: [PATCH v2 02/11] drivercore: Bind/unbind power domain on probe/remove

2014-03-04 Thread Stephen Boyd
On 03/03, Tomasz Figa wrote: > On a number of platforms, devices are part of controllable power > domains, which need to be enabled before such devices can be accessed > and may be powered down when the device is idle to save some power. > This means that on systems that support power domain contro

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

2014-03-04 Thread Daniel Borkmann
On 03/04/2014 06:09 PM, Alexei Starovoitov wrote: On Tue, Mar 4, 2014 at 1:59 AM, Daniel Borkmann wrote: ... Hmm, so the case statement is about BPF_RET | BPF_A and BPF_RET | BPF_K but BPF_RET | BPF_X is not mentioned. However, in BPF_SRC(fp->code) selection you fall back to BPF_X if it doesn'

Re: [PATCH v2 01/11] base: power: Add generic OF-based power domain look-up

2014-03-04 Thread Stephen Boyd
On 03/03, Tomasz Figa wrote: > diff --git a/drivers/base/power/domain.c b/drivers/base/power/domain.c > index dc127e5..006b455 100644 > --- a/drivers/base/power/domain.c > +++ b/drivers/base/power/domain.c > @@ -3,12 +3,16 @@ > * > * Copyright (C) 2011 Rafael J. Wysocki , Renesas Electronics >

Re: [PATCH] xz: make XZ_DEC_BCJ filters non-optional

2014-03-04 Thread Lasse Collin
On 2014-03-03 Florian Fainelli wrote: > 2014-03-03 4:51 GMT-08:00 Lasse Collin : > > The second version enables the BCJ filter only for the current arch > > by default if CONFIG_EXPERT; without CONFIG_EXPERT all filters are > > forced on: > > I like this version better because it still provides yo

[PATCH RFC 2/6] tty: xemacps: Print warning in clock notifier

2014-03-04 Thread Soren Brinkmann
Print a warning if the clock notifier rejects a clock frequency change to facilitate debugging (see: http://thread.gmane.org/gmane.linux.ports.arm.kernel/304329/focus=304379) Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 4 +++- 1 file changed, 3 insertions(+), 1 deleti

[PATCH RFC 4/6] tty: cadence: Document DT binding

2014-03-04 Thread Soren Brinkmann
Add binding documentation for the Cadence UART. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite --- .../devicetree/bindings/serial/cadence_uart.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/cadence_ua

[PATCH RFC 0/6] tty: xuartps renaming

2014-03-04 Thread Soren Brinkmann
Hi, this series appears a little messy. The UART controller in Zynq is Cadence vendor IP. Hence, naming and identifying this properly would facilitate usage of this driver by other implementers of this IP. Though, this might sound nice, there are some details about this series, I am not sure wheth

[PATCH 1/1] sparc64:tsb.c:use array size macro rather than number

2014-03-04 Thread Doug
This is a small patch which uses ARRAY_SIZE macro rather than a number to make code readability better. Signed-off-by: Doug --- arch/sparc/mm/tsb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/mm/tsb.c b/arch/sparc/mm/tsb.c index 3b3a360..f5d506f 100644 --- a/ar

Re: [PATCH 2/3] soc: keystone: add QMSS driver

2014-03-04 Thread Kumar Gala
On Feb 28, 2014, at 5:18 PM, Santosh Shilimkar wrote: > From: Sandeep Nair > > The QMSS (Queue Manager Sub System) found on Keystone SOCs is one of > the main hardware sub system which forms the backbone of the Keystone > Multi-core Navigator. QMSS consist of queue managers, packed-data struct

Re: [PATCH] irq: Export symbol no_action()

2014-03-04 Thread Alexander Shiyan
+сс Arnd Bergmann Вторник, 4 марта 2014, 16:46 +01:00 от Thomas Gleixner : > On Tue, 4 Mar 2014, Alexander Shiyan wrote: > > > Вторник, 4 марта 2014, 12:05 +01:00 от Thomas Gleixner > > : > > > On Sat, 1 Mar 2014, Alexander Shiyan wrote: > > > > > > > This will allow to use dummy IRQ handler

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-04 Thread Khalid Aziz
Thanks for the review. Please see my comments inline below. On 03/04/2014 06:56 AM, Oleg Nesterov wrote: On 03/03, Khalid Aziz wrote: kernel/sched/preempt_delay.c| 39 ++ Why? This can go into proc/ as well. Sure. No strong reason to keep these functions in separa

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

2014-03-04 Thread Alexei Starovoitov
On Tue, Mar 4, 2014 at 6:28 AM, Hagen Paul Pfeifer wrote: > If all issues raised by Daniel are addresed: > > Acked-by: Hagen Paul Pfeifer Thanks! > But ... > >>Future work: >> >>0. seccomp >> >>1. add extended BPF JIT for x86_64 >> >>2. add inband old/new demux and extended BPF verifier, so tha

Re: [PATCH v9 2/3] mmc: sdhci-msm: Initial support for Qualcomm chipsets

2014-03-04 Thread Georgi Djakov
On 03/04/2014 05:15 AM, Bjorn Andersson wrote: On Fri, Feb 28, 2014 at 3:24 AM, Georgi Djakov wrote: This platform driver adds the initial support of Secure Digital Host Controller Interface compliant controller found in Qualcomm chipsets. Hi Georgi, Sorry for reposting this, I have no idea

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

2014-03-04 Thread Suman Anna
Hi Ohad, On 03/02/2014 02:19 PM, Bjorn Andersson wrote: On Sat, Mar 1, 2014 at 9:14 PM, Ohad Ben-Cohen wrote: On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna wrote: On 02/07/2014 04:49 PM, Bjorn Andersson wrote: It seems to be standard practice to pass the error value back to the consumer, so y

Re: [PATCH v3 1/1] xhci: Prevent runtime pm from autosuspending during initialization

2014-03-04 Thread David Cohen
Hi Greg, On Tue, Mar 04, 2014 at 09:04:58AM -0800, Greg KH wrote: > On Tue, Mar 04, 2014 at 01:50:55PM +0200, Mathias Nyman wrote: > > On 03/03/2014 08:37 PM, Greg KH wrote: > > >On Mon, Mar 03, 2014 at 07:30:17PM +0200, Mathias Nyman wrote: > > >>xHCI driver has its own pci probe function that wi

Re: [PATCH v6 00/14] uprobes: Add uprobes support for ARM

2014-03-04 Thread Oleg Nesterov
On 03/04, Russell King - ARM Linux wrote: > > On Mon, Mar 03, 2014 at 09:50:39PM +0100, Oleg Nesterov wrote: > > > > And why CONFIG_UPROBES should depend on PERF_EVENTS? uprobes can be > > used by (say) systemtap without UPROBE_EVENT/PERF_EVENTS. > > > > But as Russell pointed out the events direct

<    3   4   5   6   7   8   9   10   11   12   >