Re: [PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-07 Thread Rob Landley
On 10/07/14 00:28, Guenter Roeck wrote: > Devicetree bindings are supposed to be operating system independent > and should thus not describe how a specific functionality is implemented > in Linux. So your argument is that linux/Documentation/devicetree/bindings should not be specific to Linux. Mer

[PATCH RESEND v7 00/11] Coresight framework and drivers

2014-10-07 Thread mathieu . poirier
From: Mathieu Poirier Coresight is an umbrella of technologies allowing for the debugging of ARM based SoCs. It includes solutions for JTAG and HW assisted tracing. This patchset is concerned with the latter. Coresight components are cathegorised as source, link and sinks and are (usually) dis

[PATCH RESEND v7 01/11] coresight: add CoreSight core layer framework

2014-10-07 Thread mathieu . poirier
From: Pratik Patel CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suit a particular SoC tracing needs. These trace components can generally be classified as sources, links and sinks. Trace data produced by one or

[PATCH RESEND v7 10/11] coresight: adding basic support for Vexpress TC2

2014-10-07 Thread mathieu . poirier
From: Mathieu Poirier Support for the 2 PTMs, 3 ETMs, funnel, TPIU and replicator connected to the ETB are included. Proper handling of the ITM and the replicator linked to it along with the CTIs and SWO are not included. Signed-off-by: Mathieu Poirier --- arch/arm/boot/dts/vexpress-v2p-ca15_

[PATCH RESEND v7 03/11] coresight-tpiu: add CoreSight TPIU driver

2014-10-07 Thread mathieu . poirier
From: Pratik Patel This driver manages CoreSight TPIU (Trace Port Interface Unit) which acts as a sink. TPIU is typically connected to some offchip hardware hosting a storage buffer. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier --- drivers/coresight/Makefile | 2 +- dr

[PATCH RESEND v7 11/11] ARM: removing support for etb/etm in "arch/arm/kernel/"

2014-10-07 Thread mathieu . poirier
From: Mathieu Poirier Removing minimal support for etb/etm to favour an implentation that is more flexible, extensible and capable of handling more platforms. Also removing the only client of the old driver. That code can easily be replaced by entries for etb/etm in the device tree. Signed-off

[PATCH RESEND v7 07/11] coresight-etm: add CoreSight ETM/PTM driver

2014-10-07 Thread mathieu . poirier
From: Pratik Patel This driver manages CoreSight ETM (Embedded Trace Macrocell) that supports processor tracing. Currently supported version are ARM ETMv3.x and PTM1.x. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier --- arch/arm/Kconfig.debug |9 + arch/arm/inc

[PATCH RESEND v7] coresight: bindings for coresight drivers

2014-10-07 Thread mathieu . poirier
From: Mathieu Poirier Coresight IP blocks allow for the support of HW assisted tracing on ARM SoCs. Bindings for the currently available blocks are presented herein. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier --- .../devicetree/bindings/arm/coresight.txt | 203 ++

[PATCH RESEND v7 08/11] coresight: adding documentation for coresight

2014-10-07 Thread mathieu . poirier
From: Mathieu Poirier Documentation for the coresight framework and drivers. Signed-off-by: Mathieu Poirier --- Documentation/trace/coresight.txt | 300 ++ 1 file changed, 300 insertions(+) create mode 100644 Documentation/trace/coresight.txt diff --git a/

[PATCH RESEND v7 09/11] coresight: adding support for beagle and beagleXM

2014-10-07 Thread mathieu . poirier
From: Mathieu Poirier Currently supporting ETM and ETB. Support for TPIU and SDTI are yet to be added. Signed-off-by: Mathieu Poirier --- arch/arm/boot/dts/omap3-beagle-xm.dts | 28 arch/arm/boot/dts/omap3-beagle.dts| 28 2 files c

[PATCH RESEND v7 05/11] coresight-funnel: add CoreSight Funnel driver

2014-10-07 Thread mathieu . poirier
From: Pratik Patel This driver manages CoreSight Funnel which acts as a link. Funnels have multiple input ports (typically 8) each of which represents an input trace data stream. These multiple input trace data streams are interleaved into a single output stream coming out of the Funnel. Signed-

[PATCH RESEND v7 06/11] coresight-replicator: add CoreSight Replicator driver

2014-10-07 Thread mathieu . poirier
From: Pratik Patel This driver manages non-configurable CoreSight Replicator that takes a single input trace data stream and replicates it to produce two identical trace data output streams. Replicators are typically used to route single interleaved trace data stream to two or more sinks. Signed

[PATCH RESEND v7 04/11] coresight-etb: add CoreSight ETB driver

2014-10-07 Thread mathieu . poirier
From: Pratik Patel This driver manages CoreSight ETB (Embedded Trace Buffer) which acts as a circular buffer sink collecting generated trace data. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier --- drivers/coresight/Makefile | 3 +- drivers/coresight/coresight-etb10.c |

Re: [PATCH v4 4/4] arch: arm: boot: dts: Added correct vendor-prefix with device name to compatible property

2014-10-07 Thread Rob Herring
On Tue, Oct 7, 2014 at 10:19 AM, Darshana Padmadas wrote: > This patch adds the correct vendor-prefix listed in > Documentation/devicetree/bindings/vendor-prefixes.txt > with the device name to compatible property. It would be nice if the subject and msg gave some clue as to which binding and pl

[PATCH RESEND v7 02/11] coresight-tmc: add CoreSight TMC driver

2014-10-07 Thread mathieu . poirier
From: Pratik Patel This driver manages CoreSight TMC (Trace Memory Controller) which can act as a link or a sink depending upon its configuration. It can present itself as an ETF (Embedded Trace FIFO) or ETR (Embedded Trace Router). ETF when configured in circular buffer mode acts as a trace col

Re: [PATCH V5 11/16] perf, core: Pass perf_sample_data to perf_callchain()

2014-10-07 Thread Peter Zijlstra
On Tue, Oct 07, 2014 at 03:50:45PM +, Liang, Kan wrote: > The data is originally from br_stack which is LBR format. Right, its read from the LBR, therefore this must be. > What the patch did is to convert it to CALLCHAIN output format in kernel. I saw that. > So you'd like to let the kernel

Re: [PATCH 29/44] staging: nvec: Register with kernel poweroff handler

2014-10-07 Thread Greg Kroah-Hartman
On Mon, Oct 06, 2014 at 10:28:31PM -0700, Guenter Roeck wrote: > Register with kernel poweroff handler instead of setting pm_power_off > directly. Register with default priority value of 128 since we don't know > any better. > > Cc: Julian Andres Klode > Cc: Marc Dietrich > Cc: Greg Kroah-Hartma

Re: GPIO registration for external Ethernet PHY oscillator enable/disable

2014-10-07 Thread Michael Welling
On Tue, Oct 07, 2014 at 04:04:27PM +0200, Linus Walleij wrote: > On Thu, Sep 25, 2014 at 9:17 PM, Michael Welling wrote: > > > How do I register a GPIO for use in the PHY suspend and resume code? > > Can it be handled outside of the PHY driver? > > Nominally these days you should get a named GPI

Re: [PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-07 Thread Guenter Roeck
On Tue, Oct 07, 2014 at 11:21:11AM -0500, Rob Landley wrote: > On 10/07/14 00:28, Guenter Roeck wrote: > > Devicetree bindings are supposed to be operating system independent > > and should thus not describe how a specific functionality is implemented > > in Linux. > > So your argument is that lin

Re: [PATCH] input: lm8323: Switch to using managed resources

2014-10-07 Thread Dmitry Torokhov
Hi Pramod, On Tue, Oct 07, 2014 at 03:08:09PM +0530, Pramod Gurav wrote: > This change switches to using devm_* APIs to allocate resources. > This helps to simplify failure path in probe function as well as > remove function. > I prefer not mixing the automatic and manual resource management in

Re: [PATCH v4 2/4] Documentation: devicetree: bindings: Document deprecated device vendor name to fix related warning

2014-10-07 Thread Rob Herring
On Tue, Oct 7, 2014 at 10:19 AM, Darshana Padmadas wrote: > This patch documents deprecated vendor name of device isl29028 for > compatibility with older kernels. Fix your line wrapping to 72 chars. You can shorten the subject "Documentation: devicetree: bindings:" to "dt-bindings:". We're horr

Re: [PATCH v5 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-07 Thread Laurent Pinchart
Hi Vincent, Thank you for the patch. Mauro has already merged this in his tree, it should appear in v3.18-rc1. On Monday 06 October 2014 14:05:59 Vincent Palatin wrote: > Map V4L2_CID_TILT_SPEED and V4L2_CID_PAN_SPEED to the standard UVC > CT_PANTILT_RELATIVE_CONTROL terminal control request. >

RE: [PATCH] usb: gadget: f_fs: add "zombie" mode

2014-10-07 Thread Krzysztof Opasiak
Hi > -Original Message- > From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Tuesday, October 07, 2014 5:28 PM > To: Krzysztof Opasiak > Cc: ba...@ti.com; 'Robert Baldyga'; gre...@linuxfoundation.org; > linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > min...@mina86.com; andrze...@s

Re: [RFC] pinctrl driver for Zynq

2014-10-07 Thread Sören Brinkmann
Hi Linus, thanks for the review. On Tue, 2014-10-07 at 01:05PM +0200, Linus Walleij wrote: > On Wed, Sep 24, 2014 at 11:09 PM, Sören Brinkmann > wrote: > > > I think I have pinctrl driver that is covering the pinmux options of > > Zynq and I also figured out how the DT bindings work. > > OK le

Re: [PATCH] Input: adp5588-keys: cancel workqueue in failure path

2014-10-07 Thread Dmitry Torokhov
On Tue, Oct 07, 2014 at 01:00:49PM +0530, Pramod Gurav wrote: > This change introduces a label to call cancel_delayed_work_sync in > failure path. > > Cc: Michael Hennerich > Cc: Dmitry Torokhov > Cc: linux-in...@vger.kernel.org > Signed-off-by: Pramod Gurav > --- > drivers/input/keyboard/adp5

Re: GPIO registration for external Ethernet PHY oscillator enable/disable

2014-10-07 Thread Michael Welling
On Tue, Oct 07, 2014 at 04:09:45PM +0200, Linus Walleij wrote: > On Fri, Sep 26, 2014 at 10:04 PM, Michael Welling > wrote: > > On Fri, Sep 26, 2014 at 10:16:51AM -0700, Florian Fainelli wrote: > >> > >> Yes and no, this might feel like the wrong place, but ultimately, the > >> Ethernet MAC is a

Re: [PATCH v5 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-07 Thread Vincent Palatin
On Tue, Oct 7, 2014 at 9:36 AM, Laurent Pinchart wrote: > > Hi Vincent, > > Thank you for the patch. Mauro has already merged this in his tree, it should > appear in v3.18-rc1. > Great ! I missed the merge. Thanks, -- Vincent > > On Monday 06 October 2014 14:05:59 Vincent Palatin wrote: > > Ma

Re: [PATCH v3] clocksource: arch_timer: Allow the device tree to specify uninitialized CNTVOFF

2014-10-07 Thread Rob Herring
On Tue, Oct 7, 2014 at 5:21 AM, Mark Rutland wrote: > Hi Sonny, > > This looks generally fine, but there are a couple of minor changes below > that I would like to see (removing arm64/armv8 confusion, and describing > the problem more precisely). > > On Tue, Oct 07, 2014 at 07:37:32AM +0100, Sonny

Re: [PATCH v6 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-10-07 Thread Johan Hovold
On Thu, Sep 25, 2014 at 07:07:32PM +0300, Octavian Purdila wrote: > From: Laurentiu Palcu > > This patch adds support for the Diolan DLN-2 I2C master module. Due > to hardware limitations it does not support SMBUS quick commands. > > Information about the USB protocol interface can be found in t

Re: [PATCH v2 2/2] Documentation: dmaengine: Add a documentation for the dma controller API

2014-10-07 Thread Maxime Ripard
Hi Randy, Thanks for your review, On Fri, Sep 26, 2014 at 11:04:30AM -0700, Randy Dunlap wrote: > On 09/26/14 08:40, Maxime Ripard wrote: > > The dmaengine is neither trivial nor properly documented at the moment, > > which > > means a lot of trial and error development, which is not that good f

Re: [PATCH] usb: gadget: f_fs: add "zombie" mode

2014-10-07 Thread Felipe Balbi
Hi, On Tue, Oct 07, 2014 at 06:37:26PM +0200, Krzysztof Opasiak wrote: [snip] > > yeah, and the way to deal with that is disconnecting from the host > > because that USB function, can't be functional anymore. I mean, > > imagine you try to e.g. unload pictures from your nice DSLR and > > that DS

Re: [PATCH v2 01/15] virtio_pci: fix virtio spec compliance on restore

2014-10-07 Thread Amit Shah
On (Tue) 07 Oct 2014 [15:53:55], Michael S. Tsirkin wrote: > On Mon, Oct 06, 2014 at 06:10:40PM +0300, Michael S. Tsirkin wrote: > > On restore, virtio pci does the following: > > + set features > > + init vqs etc - device can be used at this point! > > + set ACKNOWLEDGE,DRIVER and DRIVER_OK status

[PATCH] x86/xen: Fix build failure without CONFIG_XEN_PVH

2014-10-07 Thread Ted Percival
Fixes: 851861bb4cc0 ("x86/xen: Set EFER.NX and EFER.SCE in PVH guests") Signed-off-by: Ted Percival --- arch/x86/xen/smp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/xen/smp.h b/arch/x86/xen/smp.h index eed00a8..963d62a 100644 --- a/arch/x86/xen/smp.h +++ b/arch/

Re: [PATCH 1/2] clk: rockchip: add 400MHz and 500MHz for rk3288 clock rate

2014-10-07 Thread Doug Anderson
Kever, On Tue, Oct 7, 2014 at 2:33 AM, Kever Yang wrote: > This patch add 400MHz and 500MHz to clock rate table for rk3288. > > Signed-off-by: Kever Yang > --- > > drivers/clk/rockchip/clk-rk3288.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/clk/rockchip/clk-rk3288.c > b

Re: [PATCH 10/17] mm: rmap preparation for remap_anon_pages

2014-10-07 Thread Linus Torvalds
On Tue, Oct 7, 2014 at 10:19 AM, Andrea Arcangeli wrote: > > I see what you mean. The only cons I see is that we couldn't use then > recv(tmp_addr, PAGE_SIZE), remap_anon_pages(faultaddr, tmp_addr, > PAGE_SIZE, ..) and retain the zerocopy behavior. Or how could we? > There's no recvfile(userfault

Re: [PATCH v3 2/5] mm/hugetlb: take page table lock in follow_huge_pmd()

2014-10-07 Thread Naoya Horiguchi
Hi Hugh, Sorry for the delayed response, I was off for vacation. On Mon, Sep 29, 2014 at 09:32:20PM -0700, Hugh Dickins wrote: > On Mon, 15 Sep 2014, Naoya Horiguchi wrote: > > We have a race condition between move_pages() and freeing hugepages, > > I've been looking through these 5 today, and t

Re: [PATCH v3 3/5] mm/hugetlb: fix getting refcount 0 page in hugetlb_fault()

2014-10-07 Thread Naoya Horiguchi
On Mon, Sep 29, 2014 at 09:52:24PM -0700, Hugh Dickins wrote: > On Mon, 15 Sep 2014, Naoya Horiguchi wrote: > > When running the test which causes the race as shown in the previous patch, > > we can hit the BUG "get_page() on refcount 0 page" in hugetlb_fault(). > > Two minor comments... > > > @@

Re: [PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-07 Thread Mark Rutland
On Tue, Oct 07, 2014 at 05:21:11PM +0100, Rob Landley wrote: > On 10/07/14 00:28, Guenter Roeck wrote: > > Devicetree bindings are supposed to be operating system independent > > and should thus not describe how a specific functionality is implemented > > in Linux. > > So your argument is that lin

Re: [PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-07 Thread David Daney
On 10/07/2014 09:31 AM, Guenter Roeck wrote: On Tue, Oct 07, 2014 at 11:21:11AM -0500, Rob Landley wrote: On 10/07/14 00:28, Guenter Roeck wrote: Devicetree bindings are supposed to be operating system independent and should thus not describe how a specific functionality is implemented in Linux

Re: [PATCH v6 4/4] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-10-07 Thread Johan Hovold
On Thu, Sep 25, 2014 at 07:07:34PM +0300, Octavian Purdila wrote: > From: Daniel Baluta > > This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. > > Information about the USB protocol interface can be found in the > Programmer's Reference Manual [1], see section 2.9 for the GPI

Re: linux-next: Tree for Oct 7 (openvswitch)

2014-10-07 Thread Randy Dunlap
On 10/07/14 01:44, Stephen Rothwell wrote: > Hi all, > > Changes since 20141003: > on i386 or x86_64: In file included from ../include/net/geneve.h:4:0, from ../net/openvswitch/flow_netlink.c:45: ../include/net/udp_tunnel.h: In function 'udp_tunnel_handle_offloads': ../include/

[git pull] Input updates for 3.18-rc0

2014-10-07 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will receive a few new haptic/button drivers, a rudimentary s

[PATCH v2 2/7] tpm: two-phase chip management functions

2014-10-07 Thread Jarkko Sakkinen
Added tpm_chip_alloc() and tpm_chip_register() where tpm_chip_alloc() reserves memory resources and tpm_chip_register() initializes the device driver. This way it is possible to alter struct tpm_chip attributes before passing it to tpm_chip_register(). The framework takes care of freeing struct tp

[PATCH v2 0/7] TPM 2.0 support

2014-10-07 Thread Jarkko Sakkinen
This patch set enables TPM2 protocol and provides drivers for FIFO and CRB interfaces. Major changes since v1: - Improved struct tpm_chip life-cycle by taking advantage of devres API. - Refined sysfs attributes as simple key-values thereby not repeating mistakes in TPM1 sysfs attributes. - Do

[PATCH v2 3/7] tpm: clean up tpm_tis driver life-cycle

2014-10-07 Thread Jarkko Sakkinen
Updated tpm_tis to properly use tpm-chip API instead of using ad hoc methods. tpm_chip_unregister() is called on remove event when PNP driver is used and on module removal when platform driver is used. Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_tis.c | 64 ---

[PATCH v2 1/7] tpm: merge duplicate transmit_cmd() functions

2014-10-07 Thread Jarkko Sakkinen
Merged transmit_cmd() functions in tpm-interface.c and tpm-sysfs.c. Added "tpm_" prefix for consistency sake. Changed cmd parameter as opaque. This enables to use separate command structures for TPM1 and TPM2 commands instead of putting everything to struct tpm_cmd_t. Signed-off-by: Jarkko Sakkine

[PATCH v2 5/7] tpm: TPM 2.0 sysfs attributes

2014-10-07 Thread Jarkko Sakkinen
Implemented sysfs attributes for TPM2 devices. Documentation/ABI/stable/sysfs-class/tpm2 contains descriptions of these attributes. Signed-off-by: Jarkko Sakkinen --- Documentation/ABI/stable/sysfs-class-tpm2 | 69 +++ drivers/char/tpm/Makefile | 2 +- drivers/char/tpm/tp

[PATCH v2 6/7] tpm: TPM 2.0 CRB Interface

2014-10-07 Thread Jarkko Sakkinen
tpm_crb is a driver for TPM 2.0 Command Response Buffer (CRB) Interface as defined in PC Client Platform TPM Profile (PTP) Specification. Only polling and single locality is supported as these are the limitations of the available hardware, Platform Trust Techonlogy (PTT) in Haswell CPUs. The driv

Re: [PATCH 2/2] ARM: dts: enable init rate for clock

2014-10-07 Thread Doug Anderson
Kever, On Tue, Oct 7, 2014 at 2:33 AM, Kever Yang wrote: > We need to initialize PLL rate and some of bus clock rate while > kernel init, for there is no other module will do that. > > Signed-off-by: Kever Yang > --- > > arch/arm/boot/dts/rk3288.dtsi | 10 ++ > 1 file changed, 10 insert

[PATCH v2 7/7] tpm: TPM 2.0 FIFO Interface

2014-10-07 Thread Jarkko Sakkinen
From: Will Arthur Detect TPM 2.0 by using the extended STS (STS3) register. For TPM 2.0, instead of calling tpm_get_timeouts(), assign duration and timeout values defined in the TPM 2.0 PTP specification. Signed-off-by: Will Arthur Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm_tis.c

[PATCH v2 4/7] tpm: TPM 2.0 commands

2014-10-07 Thread Jarkko Sakkinen
This patch contains the following internal helper functions for tpm.ko: - tpm2_get_random() - tpm2_get_tpm_pt() - tpm2_pcr_extend() - tpm2_pcr_read() - tpm2_startup() and the following exported functions for implementing new device drivers: - tpm2_do_selftest() - tpm2_calc_ordinal_durations() -

Re: [PATCH 05/44] mfd: as3722: Drop reference to pm_power_off from devicetree bindings

2014-10-07 Thread Rob Landley
On 10/07/14 11:59, David Daney wrote: > On 10/07/2014 09:31 AM, Guenter Roeck wrote: >> On Tue, Oct 07, 2014 at 11:21:11AM -0500, Rob Landley wrote: >>> On 10/07/14 00:28, Guenter Roeck wrote: Devicetree bindings are supposed to be operating system independent and should thus not describe

Re: [PATCH 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-07 Thread Grant Grundler
On Wed, Oct 1, 2014 at 3:20 AM, Daniel Kurtz wrote: > The rk3288 has several iommus. Each iommu belongs to a single master > device. There is one device (ISP) that has two slave iommus, but that > case is not yet supported by this driver. > > At subsys init, the iommu driver registers itself as

Re: [PATCHv2 1/3] x86, ptdump: Add section for EFI runtime services

2014-10-07 Thread Mathias Krause
On Tue, Oct 07, 2014 at 05:01:32PM +0200, Borislav Petkov wrote: > On Fri, Oct 03, 2014 at 02:47:07PM +0100, Matt Fleming wrote: > > Looks OK to me. Borislav? > > It needs more work AFAICT because with it, espfix area gets cut off > prematurely: > I don't think so. See below... > ... > [0.1

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-10-07 Thread Rabin Vincent
On Tue, Oct 07, 2014 at 12:02:51PM +0100, Oussama Ghorbel wrote: > The USB OTG port does not work since v3.16 on omap platform. > This is a regression introduced by the commit > eb82a3d846fa (phy: omap-usb2: Balance pm_runtime_enable() on probe failure > and remove). > This because the call to pm_

Re: [PATCH 0/2] init some clock rate from dts for rk3288

2014-10-07 Thread Doug Anderson
Kever, On Tue, Oct 7, 2014 at 2:33 AM, Kever Yang wrote: > This patch add init rate for PLLs and some bus clock from dts for rk3288, > add two clock rate of 400M and 500M into rate table for we will use it. In the cover letter you should probably mention that your series won't work properly unl

Re: [PATCH v2 02/17] security: make security_file_set_fowner, f_setown and __f_setown void return

2014-10-07 Thread Dmitry Kasatkin
On 4 September 2014 15:38, Jeff Layton wrote: > security_file_set_fowner always returns 0, so make it f_setown and > __f_setown void return functions and fix up the error handling in the > callers. > > Cc: linux-security-mod...@vger.kernel.org > Cc: Christoph Hellwig > Signed-off-by: Jeff Layton

Re: [PATCH v6 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-07 Thread Johan Hovold
On Mon, Oct 06, 2014 at 03:17:22PM +0300, Octavian Purdila wrote: > On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold wrote: > > > > On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: > > > This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO > > > Master Adapter DLN-2. Deta

Re: [PATCH] net: fec: fix regression on i.MX28 introduced by rx_copybreak support

2014-10-07 Thread David Miller
From: Lothar Waßmann Date: Tue, 7 Oct 2014 15:19:37 +0200 > commit 1b7bde6d659d ("net: fec: implement rx_copybreak to improve rx > performance") > introduced a regression for i.MX28. The swap_buffer() function doing > the endian conversion of the received data on i.MX28 may access memory > beyo

Re: [PATCH RESEND v3] 3c59x: fix bad split of cpu_to_le32(pci_map_single())

2014-10-07 Thread David Miller
From: Sylvain 'ythier' Hitier Date: Tue, 7 Oct 2014 13:40:34 + > From: Sylvain "ythier" Hitier > > In commit 6f2b6a3005b2c34c39f207a87667564f64f2f91a, > # 3c59x: Add dma error checking and recovery > the intent is to split out the mapping from the byte-swapping in order to > insert a dma_

Re: [PATCH v2 02/17] security: make security_file_set_fowner, f_setown and __f_setown void return

2014-10-07 Thread Christoph Hellwig
On Tue, Oct 07, 2014 at 08:11:42PM +0300, Dmitry Kasatkin wrote: > If file_set_fowner op is now type of "void", how you can actually > return the value? > I think compiler must give error. How could you compile it? Returning void values is a GNU extension. I've seen it in a few places in the kern

Re: [PATCH] usb: gadget: f_fs: add "zombie" mode

2014-10-07 Thread Alan Stern
On Tue, 7 Oct 2014, Felipe Balbi wrote: > > Please believe me that I totally agree with you, but I also see Robert's > > point. Let's take ADB as example. Before ADB has been ported to > > FunctionFS it communicated with kernel using dev node provided by ADB > > function driver. With that infrastr

Re: [PATCH 10/17] mm: rmap preparation for remap_anon_pages

2014-10-07 Thread Paolo Bonzini
Il 07/10/2014 19:07, Dr. David Alan Gilbert ha scritto: >> > >> > So I'd *much* rather have a "write()" style interface (ie _copying_ >> > bytes from user space into a newly allocated page that gets mapped) >> > than a "remap page" style interface > Something like that might work for the postcopy

Re: [PATCH] x86/xen: Fix build failure without CONFIG_XEN_PVH

2014-10-07 Thread David Vrabel
On 07/10/14 17:55, Ted Percival wrote: > Fixes: 851861bb4cc0 ("x86/xen: Set EFER.NX and EFER.SCE in PVH guests") > Signed-off-by: Ted Percival I've already pushed a fixed version to linux-next. Thanks. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH 4/4] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2014-10-07 Thread Guenter Roeck
On Tue, Oct 07, 2014 at 03:36:12PM +0100, Lee Jones wrote: > Signed-off-by: David Paris > Signed-off-by: Lee Jones > --- > drivers/watchdog/Kconfig | 16 +++ > drivers/watchdog/Makefile | 1 + > drivers/watchdog/st_wdt.c | 325 > ++ > 3 files chan

Re: [PATCH v2 04/15] clk: divider: Make generic for usage elsewhere

2014-10-07 Thread Srinivas Kandagatla
Hi Stephen, Just noticed this regression while testing the patch on Arndale board. https://bugs.linaro.org/show_bug.cgi?id=740 --srini On 03/10/14 19:07, Stephen Boyd wrote: On 09/05/14 15:47, Stephen Boyd wrote: + +int divider_get_val(unsigned long rate, unsigned long parent_rate, +

Re: [PATCH 2/4] Input: pmic8xxx-keypad - use regmap_field for register access

2014-10-07 Thread Dmitry Torokhov
Hi Ivan, On Tue, Oct 07, 2014 at 12:50:46PM +0300, Ivan T. Ivanov wrote: > @@ -527,10 +538,55 @@ static int pmic8xxx_kp_probe(struct platform_device > *pdev) > > platform_set_drvdata(pdev, kp); > > + if (rows < info->min_rows) > + rows = info->min_rows; > + > + if (c

Re: [PATCH 09/12] input: gpio_keys_polled - Add support for GPIO descriptors

2014-10-07 Thread Dmitry Torokhov
On Tue, Oct 07, 2014 at 02:16:47AM +0200, Rafael J. Wysocki wrote: > From: Aaron Lu > > GPIO descriptors are the preferred way over legacy GPIO numbers > nowadays. Convert the driver to use GPIO descriptors internally but > still allow passing legacy GPIO numbers from platform data to support > e

[GIT PULL] arm64 patches for 3.18

2014-10-07 Thread Catalin Marinas
Hi Linus, Please pull the arm64 patches below for 3.18. Thanks. The following changes since commit 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd: Linux 3.17-rc4 (2014-09-07 16:09:43 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm

Re: [PATCH 13/13] input: gpio_keys_polled - Make use of device property API

2014-10-07 Thread Dmitry Torokhov
On Tue, Oct 07, 2014 at 02:19:20AM +0200, Rafael J. Wysocki wrote: > From: Aaron Lu > > Make use of device property API in this driver so that both OF based > system and ACPI based system can use this driver. > > Signed-off-by: Aaron Lu > Signed-off-by: Mika Westerberg > Signed-off-by: Rafael

Re: [PATCH 10/17] mm: rmap preparation for remap_anon_pages

2014-10-07 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > Il 07/10/2014 19:07, Dr. David Alan Gilbert ha scritto: > >> > > >> > So I'd *much* rather have a "write()" style interface (ie _copying_ > >> > bytes from user space into a newly allocated page that gets mapped) > >> > than a "remap page" style inter

Re: [PATCH] i2c: fix a potential kmemleak of adapter device

2014-10-07 Thread Wolfram Sang
On Mon, Dec 23, 2013 at 09:47:09AM +0800, Gu Zheng wrote: > Hi Wolfram, > On 12/21/2013 01:31 AM, Wolfram Sang wrote: > > > On Wed, Dec 18, 2013 at 09:18:08AM +0800, Gu Zheng wrote: > >> When running with the latest kernel, we get the following kmemleak message: > >> unreferenced object 0x8800

Re: [PATCH v2 02/17] security: make security_file_set_fowner, f_setown and __f_setown void return

2014-10-07 Thread Dmitry Kasatkin
On 7 October 2014 20:17, Christoph Hellwig wrote: > On Tue, Oct 07, 2014 at 08:11:42PM +0300, Dmitry Kasatkin wrote: >> If file_set_fowner op is now type of "void", how you can actually >> return the value? >> I think compiler must give error. How could you compile it? > > Returning void values is

Re: [PATCH v2 7/7] driver-core: add preferred async probe option for built-in and modules

2014-10-07 Thread Tejun Heo
Hello, On Tue, Oct 07, 2014 at 01:10:46AM +0200, Luis R. Rodriguez wrote: > On Mon, Oct 06, 2014 at 05:01:18PM -0400, Tejun Heo wrote: > > For in-kernel stuff, we already have a clear > > synchronization point where we already synchronize all async calls. > > Shouldn't we be flushing these async p

Re: hrtimer deadlock caused by nohz_full

2014-10-07 Thread Dave Jones
On Tue, Oct 07, 2014 at 05:30:27PM +0200, Frederic Weisbecker wrote: > > > Right, this patchset fixes it: "[PATCH 0/8] nohz: Fix nohz kick irq > > work on tick v3" > > > > > > I was about to make the pull request, the branch is acked by peterz. > > > Would you like to pull it? It's all

RE: [PATCH 0/2] Drivers: scsi: storvsc: Fix issues with hot-add/remove of LUNs

2014-10-07 Thread KY Srinivasan
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Thursday, September 25, 2014 6:47 AM > To: KY Srinivasan > Cc: h...@suse.de; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; linux-s...@vger.kerne

Re: [PATCH 10/17] mm: rmap preparation for remap_anon_pages

2014-10-07 Thread Dr. David Alan Gilbert
* Linus Torvalds (torva...@linux-foundation.org) wrote: > On Mon, Oct 6, 2014 at 12:41 PM, Andrea Arcangeli wrote: > > > > Of course if somebody has better ideas on how to resolve an anonymous > > userfault they're welcome. > > So I'd *much* rather have a "write()" style interface (ie _copying_ >

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-07 Thread Joe Lawrence
On Tue, 7 Oct 2014 06:43:29 -0700 "Paul E. McKenney" wrote: > On Tue, Oct 07, 2014 at 09:29:42AM +0200, Jiri Pirko wrote: [ ... snip ... ] > > > > Paul, Tehun, how do you propose to fix this on older kernels which do > > not have rcu_note_voluntary_context_switch? I'm particullary interested > >

Re: [PATCH] regulator: rk808: Add support setting suspend voltage

2014-10-07 Thread Doug Anderson
Chris, On Tue, Oct 7, 2014 at 1:43 AM, Chris Zhong wrote: > support setting suspend voltage and disable regulator in suspend. > > Signed-off-by: Chris Zhong > > --- > > drivers/regulator/rk808-regulator.c | 37 > +++ > 1 file changed, 37 insertions(+) > > diff

Re: hrtimer deadlock caused by nohz_full

2014-10-07 Thread Thomas Gleixner
On Tue, 7 Oct 2014, Dave Jones wrote: > On Tue, Oct 07, 2014 at 05:30:27PM +0200, Frederic Weisbecker wrote: > > > > > Right, this patchset fixes it: "[PATCH 0/8] nohz: Fix nohz kick irq > work on tick v3" > > > > > > > > I was about to make the pull request, the branch is acked by peterz

Re: [PATCH v2 7/7] driver-core: add preferred async probe option for built-in and modules

2014-10-07 Thread Luis R. Rodriguez
On Tue, Oct 07, 2014 at 01:34:04PM -0400, Tejun Heo wrote: > Hello, > > On Tue, Oct 07, 2014 at 01:10:46AM +0200, Luis R. Rodriguez wrote: > > On Mon, Oct 06, 2014 at 05:01:18PM -0400, Tejun Heo wrote: > > > For in-kernel stuff, we already have a clear > > > synchronization point where we already

Re: [tpmdd-devel] [PATCH v2 2/7] tpm: two-phase chip management functions

2014-10-07 Thread Jason Gunthorpe
On Tue, Oct 07, 2014 at 08:01:12PM +0300, Jarkko Sakkinen wrote: > Added tpm_chip_alloc() and tpm_chip_register() where tpm_chip_alloc() > reserves memory resources and tpm_chip_register() initializes the > device driver. This way it is possible to alter struct tpm_chip > attributes before passing

Re: [PATCH v6 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-10-07 Thread Octavian Purdila
On Tue, Oct 7, 2014 at 7:46 PM, Johan Hovold wrote: > On Thu, Sep 25, 2014 at 07:07:32PM +0300, Octavian Purdila wrote: >> From: Laurentiu Palcu >> >> This patch adds support for the Diolan DLN-2 I2C master module. Due >> to hardware limitations it does not support SMBUS quick commands. >> >> Inf

Re: [tpmdd-devel] [PATCH v2 3/7] tpm: clean up tpm_tis driver life-cycle

2014-10-07 Thread Jason Gunthorpe
On Tue, Oct 07, 2014 at 08:01:13PM +0300, Jarkko Sakkinen wrote: > + chip = tpm_chip_alloc(dev, &tpm_tis); > + if (!chip) > return -ENODEV; Needs to use ERR_PTR > + rc = tpm_chip_register(chip); > + if (rc) > + return -ENODEV; Wrong ordering, this nee

Re: [PATCH V25/5] powerpc/kexec: Use global IND_FLAGS macro

2014-10-07 Thread Vivek Goyal
On Tue, Oct 07, 2014 at 12:21:30AM +, Geoff Levand wrote: > linux/kexec.h now defines an IND_FLAGS macro. Remove the local powerpc > definition and use the generic one. > > Signed-off-by: Geoff Levand I think this patch should be merged in previous patch. I guess after applying patch4, seri

[PATCH] HID: wacom: Prevent potential null dereference after disconnect

2014-10-07 Thread Jason Gerecke
Repeated connect/disconnect cycles under GNOME can trigger an occasional OOPS from within e.g. wacom_led_select_store, presumably due to a timing issue where userspace begins setting a value immediately before the device disconnects and our shared data is whisked away. Signed-off-by: Jason Gerecke

Re: [TrouSerS-tech] [Ksummit-discuss] TPM MiniSummit @ LinuxCon Europe

2014-10-07 Thread Stefan Berger
On 09/23/2014 12:42 PM, Andy Lutomirski wrote: On Sep 22, 2014 2:07 AM, "Peter Huewe" wrote: Hi, I would like to 'invite' all interested parties in a short TPM minisummit where we can discuss the following hot topics of the TPM subsystem over a beer or two: - State of the TPM Subsystem -

Re: [PATCH v2 7/7] driver-core: add preferred async probe option for built-in and modules

2014-10-07 Thread Tejun Heo
Hello, On Tue, Oct 07, 2014 at 07:50:10PM +0200, Luis R. Rodriguez wrote: > On Tue, Oct 07, 2014 at 01:34:04PM -0400, Tejun Heo wrote: > > But you can create a new workqueue and queue all the async probing > > work items there and flush the workqueue right after > > async_synchronize_full(). > >

Re: [PATCH v3 1/3] ASoC: tegra: add tegra sgtl5000 machine driver

2014-10-07 Thread Mark Brown
On Sat, Oct 04, 2014 at 02:15:43AM +0200, Marcel Ziswiler wrote: > This binding and driver describe/support playback to headphones, and > capture from line-in and microphone. > > This driver is useful for the Toradex Apalis T30 and Colibri T30 modules. > > Signed-off-by: Marcel Ziswiler > Review

Re: [tpmdd-devel] [PATCH v2 6/7] tpm: TPM 2.0 CRB Interface

2014-10-07 Thread Jason Gunthorpe
On Tue, Oct 07, 2014 at 08:01:16PM +0300, Jarkko Sakkinen wrote: > + rc = tpm_chip_register(chip); > + if (rc) > + return -ENODEV; Again, wrong order, this needs to be last in the probe function Jason -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] usb: gadget: f_fs: add "zombie" mode

2014-10-07 Thread Felipe Balbi
Hi, On Tue, Oct 07, 2014 at 01:15:32PM -0400, Alan Stern wrote: > > > Here also I agree. Zombie mode should "mock" the function until first > > > next enumeration or unbind. It should not be possible to bind gadget > > > with function in zombie mode to UDC. Zombie mode should "pretend" only > > >

Re: [PATCH v6 2/4] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-10-07 Thread Johan Hovold
On Tue, Oct 07, 2014 at 08:52:35PM +0300, Octavian Purdila wrote: > On Tue, Oct 7, 2014 at 7:46 PM, Johan Hovold wrote: > > On Thu, Sep 25, 2014 at 07:07:32PM +0300, Octavian Purdila wrote: > >> +static DEVICE_ATTR_RW(dln2_i2c_freq); > > > > You forgot to add the required documentation of the att

Re: [TrouSerS-tech] [Ksummit-discuss] TPM MiniSummit @ LinuxCon Europe

2014-10-07 Thread Andy Lutomirski
On Tue, Oct 7, 2014 at 10:54 AM, Stefan Berger wrote: > On 09/23/2014 12:42 PM, Andy Lutomirski wrote: >> >> On Sep 22, 2014 2:07 AM, "Peter Huewe" wrote: >>> >>> Hi, >>> >>> I would like to 'invite' all interested parties in a short TPM minisummit >>> where we can discuss the following hot topic

Re: [PATCH v6 1/4] mfd: add support for Diolan DLN-2 devices

2014-10-07 Thread Octavian Purdila
On Tue, Oct 7, 2014 at 8:10 PM, Johan Hovold wrote: > On Mon, Oct 06, 2014 at 03:17:22PM +0300, Octavian Purdila wrote: >> On Fri, Oct 3, 2014 at 8:12 PM, Johan Hovold wrote: >> > >> > On Thu, Sep 25, 2014 at 07:07:31PM +0300, Octavian Purdila wrote: >> > > This patch implements the USB part of t

Re: [PATCH v2 02/17] security: make security_file_set_fowner, f_setown and __f_setown void return

2014-10-07 Thread Jeff Layton
On Tue, 7 Oct 2014 20:34:57 +0300 Dmitry Kasatkin wrote: > On 7 October 2014 20:17, Christoph Hellwig wrote: > > On Tue, Oct 07, 2014 at 08:11:42PM +0300, Dmitry Kasatkin wrote: > >> If file_set_fowner op is now type of "void", how you can actually > >> return the value? > >> I think compiler mu

Re: [tpmdd-devel] [TrouSerS-tech] [Ksummit-discuss] TPM MiniSummit @ LinuxCon Europe

2014-10-07 Thread Jason Gunthorpe
On Tue, Oct 07, 2014 at 01:54:41PM -0400, Stefan Berger wrote: > Why add the complexity of swapping of authenticated sessions and keys > into the kernel if you can handle this in userspace? You need a library > that is aware of the number of key slots and slots for sessions in the > TPM and swa

Re: [tpmdd-devel] [PATCH v2 2/7] tpm: two-phase chip management functions

2014-10-07 Thread Jarkko Sakkinen
Hi And thanks for the feedback. Change requests look very reasonable. On Tue, Oct 07, 2014 at 11:50:17AM -0600, Jason Gunthorpe wrote: > On Tue, Oct 07, 2014 at 08:01:12PM +0300, Jarkko Sakkinen wrote: > > Added tpm_chip_alloc() and tpm_chip_register() where tpm_chip_alloc() > > reserves memory r

Re: [PATCH 1/1] fallocate: create FAN_MODIFY and IN_MODIFY events

2014-10-07 Thread Jan Kara
On Mon 06-10-14 21:10:25, Heinrich Schuchardt wrote: > On 06.10.2014 16:12, Jan Kara wrote: > >On Fri 03-10-14 10:19:30, Heinrich Schuchardt wrote: > >>The fanotify and the inotify API can used to monitor changes of the file > >>system. > >> > >>System call fallocate modifies files. Hence it should

Re: [PATCH] regulator: rk808: Add support setting suspend voltage

2014-10-07 Thread Mark Brown
On Tue, Oct 07, 2014 at 04:43:57PM +0800, Chris Zhong wrote: > @@ -100,6 +132,8 @@ static struct regulator_ops rk808_buck1_2_ops = { > .disable= regulator_disable_regmap, > .is_enabled = regulator_is_enabled_regmap, > .set_ramp_delay = rk808_se

Re: [PATCH resend] MIPS: Allow FPU emulator to use non-stack area.

2014-10-07 Thread Andy Lutomirski
On Oct 7, 2014 9:09 AM, "David Daney" wrote: > > On 10/07/2014 04:11 AM, Rich Felker wrote: >> >> On Mon, Oct 06, 2014 at 09:50:47PM -0700, David Daney wrote: > > the out-of-line execution trick, but do it somewhere other than in > stack memory. How do you answer Andy Lutomir

<    1   2   3   4   5   6   7   8   9   >