[PATCH RESEND v2 4/4] ARM: dts: bcm590xx: add support for GPLDO and VBUS regulators

2014-05-20 Thread Matt Porter
Adds additional nodes to support GPLDO1-6 and VBUS regulators which are now supported in the bcm590xx regulator driver. Signed-off-by: Matt Porter --- arch/arm/boot/dts/bcm59056.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/bcm59056.dtsi

Re: [GIT PULL] EFI changes for v3.16

2014-05-20 Thread Matt Fleming
On Mon, 19 May, at 03:47:31PM, H. Peter Anvin wrote: > > How on earth does this solve anything? The only thing we add here is a > WARN_ON_ONCE()... but the above text already tells us we have a problem. > > It seems, rather, that we need to figure out how to deal with a pstore > in this case.

[PATCH RESEND v2 2/4] mfd: bcm590xx: add support for secondary I2C slave address

2014-05-20 Thread Matt Porter
BCM590xx utilizes a secondary I2C slave address to access additional register space. Add support for the secondary address space by instantiating a dummy I2C device with the appropriate secondary I2C slave address. Also expose a secondary regmap register space so that MFD drivers can access this

[PATCH RESEND v2 3/4] regulator: bcm590xx: add support for regulators on secondary I2C slave

2014-05-20 Thread Matt Porter
The bcm590xx MFD driver now exposes a secondary regmap descriptor making the registers for regulators on the secondary I2C slave address available. Add support for GPLDO1-6 and VBUS regulators found within this register range. Signed-off-by: Matt Porter Acked-by: Mark Brown ---

Re: [PATCH] devicetree: Add generic IOMMU device tree bindings

2014-05-20 Thread Arnd Bergmann
On Tuesday 20 May 2014 16:24:59 Dave Martin wrote: > On Tue, May 20, 2014 at 02:41:18PM +0200, Arnd Bergmann wrote: > > On Tuesday 20 May 2014 14:02:43 Thierry Reding wrote: > > > On Tue, May 20, 2014 at 01:15:48PM +0200, Arnd Bergmann wrote: > > > Typical values for the above include: > > > -

[PATCH] powerpc: fix typo 'CONFIG_PMAC'

2014-05-20 Thread Paul Bolle
Commit b0d278b7d3ae ("powerpc/perf_event: Reduce latency of calling perf_event_do_pending") added a check for CONFIG_PMAC were a check for CONFIG_PPC_PMAC was clearly intended. Fixes: b0d278b7d3ae ("powerpc/perf_event: Reduce latency of calling perf_event_do_pending") Signed-off-by: Paul Bolle

Re: OFD locks and deadlock detection

2014-05-20 Thread Michael Kerrisk (man-pages)
On 05/20/2014 11:54 AM, Jeff Layton wrote: > On Mon, 19 May 2014 20:36:45 +0200 > "Michael Kerrisk (man-pages)" wrote: > >> On 05/19/2014 04:28 PM, Jeff Layton wrote: >>> On Mon, 19 May 2014 15:18:13 +0200 >>> "Michael Kerrisk (man-pages)" wrote: >>> Hi Jeff, I just happened to

Re: [PATCH 4/5] appledisplay: Convert /n to \n

2014-05-20 Thread Greg Kroah-Hartman
On Tue, May 20, 2014 at 12:26:53PM -0700, Joe Perches wrote: > On Thu, 2014-04-24 at 18:51 -0700, Joe Perches wrote: > > Use a newline character appropriately. > > > > Signed-off-by: Joe Perches > > --- > > Greg? Ping? > > You inadvertently added this "/n" use in > commit

[PATCH] sched: Reduce the rate of needless idle load balancing

2014-05-20 Thread Tim Chen
The current no_hz idle load balancer do load balancing on *all* idle cpus, even though the time due to load balance for a particular idle cpu could be still a while in future. This introduces a much higher load balancing rate than what is necessary. The patch changes the behavior by only doing

Re: [PATCH v4 01/24] input: Add ff-memless-next module

2014-05-20 Thread simon
> To bring this to a conclusion we could go from, would this be an > acceptable > solution? > > - Have the HW-specific driver talk directly to ff-core and reimplement > upload(), > play(), etc. > - Rewrite "ff-memless-next" so that it is not a self-contained module but > a > library of functions.

Re: [PATCH] ARM: remove ARM710 specific assembler code

2014-05-20 Thread Arnd Bergmann
On Tuesday 20 May 2014 09:05:13 Tony Lindgren wrote: > * Arnd Bergmann [140519 04:27]: > > On Saturday 17 May 2014 10:56:02 Catalin Marinas wrote: > > > > For the case of ARM710T, I think the last remaining user that can be > > configured is mach-integrator, but I don't know if anybody even has

[PATCH] iowarrior: Convert local dbg macro to dev_dbg

2014-05-20 Thread Joe Perches
Use a more standard logging style. Add terminating newlines to formats. Remove __func__ as that can be added via dynamic debug. Remove now unnecessary debug module parameter. Remove the dbg macro too. Signed-off-by: Joe Perches --- compiled/untested, no hardware. drivers/usb/misc/iowarrior.c

Re: [PATCH] random: mix all saved registers into entropy pool

2014-05-20 Thread Jörn Engel
On Tue, 20 May 2014 05:12:07 -0700, Andi Kleen wrote: > Jörn Engel writes: > > > > An alternate high-resolution timer is the register content at the time > > of an interrupt. > > So if you interrupt a cryptographic function you may hash in parts > of the key? Yes. And if there was an

Re: ffs-test.c Compilation failure

2014-05-20 Thread Felipe Balbi
Hi, On Tue, May 20, 2014 at 10:05:09AM -1000, Michal Nazarewicz wrote: > Commit [ac8dde11: “usb: gadget: f_fs: Add flags to descriptors block”] > which introduced a new descriptor format for FunctionFS removed the > usb_functionfs_descs_head structure, which is still used by ffs-test. > tool. >

Re: [PATCH v2 0/6] soc: ti: Add Keystone Navigator drivers

2014-05-20 Thread Santosh Shilimkar
On Tuesday 20 May 2014 04:01 PM, Greg Kroah-Hartman wrote: > On Tue, May 20, 2014 at 09:57:50AM -0400, Santosh Shilimkar wrote: >> Greg, >> >> On Wednesday 23 April 2014 07:46 PM, Santosh Shilimkar wrote: >>> Here is an updated version of the Keystone Navigator drivers after >>> addressing

Re: [PATCH 5/5] workqueue: Allow modifying low level unbound workqueue cpumask

2014-05-20 Thread Frederic Weisbecker
On Tue, May 20, 2014 at 03:56:56PM -0400, Tejun Heo wrote: > > > Hmmm... but there's nothing which makes rolling back more likely to > > > succeed compared to the original applications. It's gonna allocate > > > more pwqs. Triggering WARN_ON_ONCE() seems weird. > > > > Yeah but that's the least

Re: [PATCH] ext4: remove unused local variable "store" from ext4_readdir(...)

2014-05-20 Thread Dan Carpenter
On Tue, May 20, 2014 at 03:41:13PM +0100, Giedrius Rekasius wrote: > From: Giedrius Rekasius > > Remove unused local variable "store" from ext4_readdir(...) > > Local variable "stored" is initialized however never used inside the function. > > Signed-off-by: Giedrius Rekasius You email

Re: ffs-test.c Compilation failure

2014-05-20 Thread Michal Nazarewicz
Commit [ac8dde11: “usb: gadget: f_fs: Add flags to descriptors block”] which introduced a new descriptor format for FunctionFS removed the usb_functionfs_descs_head structure, which is still used by ffs-test. tool. Convert ffs-test by converting it to use the new header format. For testing

Re: [PATCH v2] hwmon: Introduce the use of the managed version of kzalloc

2014-05-20 Thread Guenter Roeck
On Tue, May 20, 2014 at 11:45:37PM +0530, Himangi Saraogi wrote: > This patch moves data allocated using kzalloc to managed data allocated > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > functions. Also, the unnecessary label out_free is removed. > > The following

Re: [PATCH v2 0/6] soc: ti: Add Keystone Navigator drivers

2014-05-20 Thread Greg Kroah-Hartman
On Tue, May 20, 2014 at 09:57:50AM -0400, Santosh Shilimkar wrote: > Greg, > > On Wednesday 23 April 2014 07:46 PM, Santosh Shilimkar wrote: > > Here is an updated version of the Keystone Navigator drivers after > > addressing comments from earlier version [1]. > > > > The QMSS found on Keystone

[PATCH] powerpc: fix typo 'CONFIG_PPC_CPU'

2014-05-20 Thread Paul Bolle
Commit cd64d1697cf0 ("powerpc: mtmsrd not defined") added a check for CONFIG_PPC_CPU were a check for CONFIG_PPC_FPU was clearly intended. Fixes: cd64d1697cf0 ("powerpc: mtmsrd not defined") Signed-off-by: Paul Bolle --- Entirely untested. This typo was introduced in v2.6.37. Did no one notice?

Re: [PATCH V4 0/2] mm: FAULT_AROUND_ORDER patchset performance data for powerpc

2014-05-20 Thread Andrew Morton
On Tue, 20 May 2014 13:27:38 +0300 (EEST) "Kirill A. Shutemov" wrote: > Rusty Russell wrote: > > "Kirill A. Shutemov" writes: > > > Andrew Morton wrote: > > >> On Mon, 19 May 2014 16:23:07 -0700 (PDT) Hugh Dickins > > >> wrote: > > >> > > >> > Shouldn't FAULT_AROUND_ORDER and

Re: [PATCH 5/5] workqueue: Allow modifying low level unbound workqueue cpumask

2014-05-20 Thread Tejun Heo
Hello, On Tue, May 20, 2014 at 09:32:55PM +0200, Frederic Weisbecker wrote: > > > + cpumask_copy(new_attrs->cpumask, saved_cpumask); > > > copy_workqueue_attrs(wq->unbound_attrs, new_attrs); > > > > Yeah, this seems like the correct behavior but it's a bit nasty. > > Wouldn't creating another

Re: [PATCH v3 4/9] of: mtd: add documentation for the ONFI NAND timing mode property

2014-05-20 Thread Brian Norris
On Tue, May 20, 2014 at 01:51:40PM -0600, Jason Gunthorpe wrote: > On Tue, May 20, 2014 at 09:30:33PM +0200, Boris BREZILLON wrote: > > AFAICT nothing, but the same goes for the ECC requirements, and we've > > recently added DT bindings to define these requirements. > > I'm not telling we should

Re: [PATCH v3 4/9] of: mtd: add documentation for the ONFI NAND timing mode property

2014-05-20 Thread Brian Norris
On Tue, May 20, 2014 at 09:30:33PM +0200, Boris BREZILLON wrote: > Hi Brian, > > On 20/05/2014 20:25, Brian Norris wrote: > > Hi Boris, > > > > On Wed, Mar 12, 2014 at 07:07:39PM +0100, Boris BREZILLON wrote: > >> Add documentation for the ONFI NAND timing mode property. > >> > >> Signed-off-by:

Re: [PATCH v3 4/9] of: mtd: add documentation for the ONFI NAND timing mode property

2014-05-20 Thread Jason Gunthorpe
On Tue, May 20, 2014 at 09:30:33PM +0200, Boris BREZILLON wrote: > AFAICT nothing, but the same goes for the ECC requirements, and we've > recently added DT bindings to define these requirements. > I'm not telling we should drop these ECC requirements bindings (actually > I'm using them :-)), but

Re: pci: kernel crash in bus_find_device

2014-05-20 Thread Guenter Roeck
On Tue, May 20, 2014 at 12:17:57PM -0700, Francesco Ruggeri wrote: > I posted this about a week ago but I did not get any replies. > Re-trying. > > While traversing devices on pci_bus_type I ran into the crash below. > The immediate cause of the crash is that bus_find_device is trying to resume >

Re: [alsa-devel] [PATCH] Fix for possible null pointer dereference in dma.c

2014-05-20 Thread Andrew Eikum
On Tue, May 20, 2014 at 09:16:59PM +0200, Tomasz Figa wrote: > To me having NULL as either data argument of buffer done callback or > private_data would be a serious driver bug and IMHO it's better to let > it crash with a NULL pointer dereference to let someone notice than mask > it by adding a

Re: [PATCH v4 01/24] input: Add ff-memless-next module

2014-05-20 Thread simon
> Allow me to introduce myself. I'm Roland Bosa and I work for Logitech, > more specifically the gaming group. I have been tasked to look into > gaming device support for Linux and I just started following this list > and studying the kernel code related to the Logitech Force Feedback > devices.

Re: [PATCH v3 5/9] mtd: nand: add sunxi NAND flash controller support

2014-05-20 Thread Boris BREZILLON
On 20/05/2014 21:21, Brian Norris wrote: > On Tue, May 20, 2014 at 11:49:42AM -0700, Brian Norris wrote: >> On Fri, May 09, 2014 at 06:47:22PM +0200, Boris BREZILLON wrote: >>> On 09/05/2014 18:03, Ezequiel Garcia wrote: On 12 Mar 07:07 PM, Boris BREZILLON wrote: > --- /dev/null >

Re: [PATCH] mm: non-atomically mark page accessed during page cache allocation where possible -fix

2014-05-20 Thread Andrew Morton
On Tue, 20 May 2014 16:49:00 +0100 Mel Gorman wrote: > Prabhakar Lad reported the following problem > > I see following issue on DA850 evm, > git bisect points me to > commit id: 975c3a671f11279441006a29a19f55ccc15fb320 > ( mm: non-atomically mark page accessed during page cache

Re: [PATCH 5/5] workqueue: Allow modifying low level unbound workqueue cpumask

2014-05-20 Thread Frederic Weisbecker
On Fri, May 16, 2014 at 04:50:50PM -0400, Tejun Heo wrote: > Hello, Frederic. > > On Fri, May 16, 2014 at 06:16:55PM +0200, Frederic Weisbecker wrote: > > @@ -3643,6 +3643,7 @@ static int apply_workqueue_attrs_locked(struct > > workqueue_struct *wq, > > { > > struct workqueue_attrs

Re: [alsa-devel] [PATCH] Fix for possible null pointer dereference in dma.c

2014-05-20 Thread Tomasz Figa
On 20.05.2014 21:29, Andrew Eikum wrote: > On Tue, May 20, 2014 at 09:16:59PM +0200, Tomasz Figa wrote: >> To me having NULL as either data argument of buffer done callback or >> private_data would be a serious driver bug and IMHO it's better to let >> it crash with a NULL pointer dereference to

Re: [PATCH v3 4/9] of: mtd: add documentation for the ONFI NAND timing mode property

2014-05-20 Thread Boris BREZILLON
Hi Brian, On 20/05/2014 20:25, Brian Norris wrote: > Hi Boris, > > On Wed, Mar 12, 2014 at 07:07:39PM +0100, Boris BREZILLON wrote: >> Add documentation for the ONFI NAND timing mode property. >> >> Signed-off-by: Boris BREZILLON >> --- >> Documentation/devicetree/bindings/mtd/nand.txt |8

Re: [PATCH v3] HID: quirk for Saitek RAT7 and MMO7 mices' mode button

2014-05-20 Thread Jiri Kosina
On Tue, 20 May 2014, Harald Brinkmann wrote: > Some saitek mice implement a tristate button (for switching button > mappings in the original driver) by keeping one of three (non-physical) > buttons constantly pressed. > This breaks X and probably other userspace software. > This patch implements

Re: [Patch v3 0/5] Introduce keystone reset driver

2014-05-20 Thread Arnd Bergmann
On Tuesday 20 May 2014 21:35:23 Ivan Khoronzhuk wrote: > Thank for the note. > > Ok. > > Memory map: > [00 0231 - 00 023101FF] size=512 PLL Controller > [00 0262 - 00 02620FFF] size=4K device state control registers > > I'll define in DT two new syscon compatible nodes like: > >

Re: [PATCH 4/5] appledisplay: Convert /n to \n

2014-05-20 Thread Joe Perches
On Thu, 2014-04-24 at 18:51 -0700, Joe Perches wrote: > Use a newline character appropriately. > > Signed-off-by: Joe Perches > --- Greg? Ping? You inadvertently added this "/n" use in commit 0a3fd536e685e0ceb646de1a43821bd11c0be75c Author: Greg Kroah-Hartman Date: Tue May 1 21:33:54 2012

[GIT PULL] Btrfs

2014-05-20 Thread Chris Mason
Hi Linus Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus It has two fixes that we've been testing for 3.16, but since both are safe and fix real bugs, it makes sense to send for 3.15 instead Liu Bo (1) commits (+5/-1): Btrfs:

Re: [PATCH v3 5/9] mtd: nand: add sunxi NAND flash controller support

2014-05-20 Thread Brian Norris
On Tue, May 20, 2014 at 11:49:42AM -0700, Brian Norris wrote: > On Fri, May 09, 2014 at 06:47:22PM +0200, Boris BREZILLON wrote: > > On 09/05/2014 18:03, Ezequiel Garcia wrote: > > > On 12 Mar 07:07 PM, Boris BREZILLON wrote: > > >> --- /dev/null > > >> +++ b/drivers/mtd/nand/sunxi_nand.c > > >>

[PATCH RESEND] devicetree: bindings: separate CPU enable method descriptions

2014-05-20 Thread Alex Elder
The bindings for CPU enable methods are defined in ".../arm/cpus.txt". As additional 32-bit ARM CPUS are converted to use the "enable-method" CPU property to imply a particular set of SMP operations to use, the list of these methods is likely to become unwieldy. The current documentation already

pci: kernel crash in bus_find_device

2014-05-20 Thread Francesco Ruggeri
I posted this about a week ago but I did not get any replies. Re-trying. While traversing devices on pci_bus_type I ran into the crash below. The immediate cause of the crash is that bus_find_device is trying to resume a scan starting from a device that has been unregistered (and whose knode_bus

Re: [PATCH] Fix for possible null pointer dereference in dma.c

2014-05-20 Thread Tomasz Figa
Hi Rickard, On 20.05.2014 21:12, Rickard Strandqvist wrote: > Hi Tomasz > > What I based my patch on is really because of this line: > if (substream) > snd_pcm_period_elapsed(substream); > > Boojin Kim thought that this was needed, if this is true anymore..? I > have not been able to

[PATCH RESEND 1/2] irqchip: add Broadcom Set Top Box Level-2 interrupt controller

2014-05-20 Thread Florian Fainelli
This patch adds support for the Level-2 interrupt controller hardware found in Broadcom Set Top Box System-on-a-Chip devices. This interrupt controller is implemented using the generic IRQ chip driver with separate enable and disable registers. Signed-off-by: Brian Norris Signed-off-by: Florian

[PATCH RESEND 0/2] irqchip: Broadcom Set Top Box Level-2 interrupt controller

2014-05-20 Thread Florian Fainelli
(Resending to include Jason Cooper) Hi Thomas, Jason, This patch set adds an irqchip driver for the Broadcom Set Top Box Level-2 interrupt controller hardware, as well as a corresponding Device Tree binding document. Thanks! Florian Fainelli (2): irqchip: add Broadcom Set Top Box Level-2

[PATCH RESEND 2/2] Documentation: add Broadcom STB Level-2 interrupt controller binding

2014-05-20 Thread Florian Fainelli
This patch adds the Device Tree binding document for the Broadcom Set-top-box Level 2 interrupt controller hardware. Signed-off-by: Brian Norris Signed-off-by: Florian Fainelli --- .../bindings/interrupt-controller/brcm,l2-intc.txt | 29 ++ 1 file changed, 29 insertions(+)

[PATCH] staging: realtek: Convert /n to \n

2014-05-20 Thread Joe Perches
Use proper line terminations. Signed-off-by: Joe Perches --- drivers/staging/rtl8188eu/hal/usb_ops_linux.c | 2 +- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 2 +- drivers/staging/rtl8723au/hal/usb_ops_linux.c | 4 ++-- drivers/staging/rtl8723au/os_dep/usb_intf.c | 2 +- 4 files changed,

Re: [PATCH] Fix for possible null pointer dereference in dma.c

2014-05-20 Thread Rickard Strandqvist
Hi Tomasz What I based my patch on is really because of this line: if (substream) snd_pcm_period_elapsed(substream); Boojin Kim thought that this was needed, if this is true anymore..? I have not been able to immerse myself so much in all patches. I'm working on about 100 similar

Re: [PATCH] sched: tg_set_cfs_bandwidth() causes rq->lock deadlock

2014-05-20 Thread bsegall
Peter Zijlstra writes: > On Mon, May 19, 2014 at 10:30:05AM -0700, bseg...@google.com wrote: >> Peter Zijlstra writes: >> >> > On Fri, May 16, 2014 at 12:38:21PM +0400, Roman Gushchin wrote: >> > >> >> I still think, there is a deadlock. I'll try to explain. >> >> Three CPUs must be involved:

Re: [PATCH 02/10] xhci: 'noxhci_port_switch' kernel parameter

2014-05-20 Thread Takashi Iwai
At Tue, 20 May 2014 11:25:37 -0700, Dan Williams wrote: > > On Tue, May 20, 2014 at 2:51 AM, Takashi Iwai wrote: > > At Tue, 20 May 2014 12:47:36 +0300, > > Mathias Nyman wrote: > >> > >> On 05/20/2014 04:01 AM, Greg KH wrote: > >> > On Thu, May 08, 2014 at 07:25:55PM +0300, Mathias Nyman wrote:

Re: [PATCH 6/6] ipc/sem.c: make semctl(,,{GETNCNT,GETZCNT}) standard compliant

2014-05-20 Thread Andrew Morton
On Tue, 20 May 2014 20:30:05 +0200 Manfred Spraul wrote: > Hi Andrew, > > On 05/20/2014 12:46 AM, Andrew Morton wrote: > > On Sun, 18 May 2014 09:58:37 +0200 Manfred Spraul > > wrote: > > > >> SUSv4 clearly defines how semncnt and semzcnt must be calculated: > >> A task waits on exactly one

Re: [PATCH v2 2/4] mfd: bcm590xx: add support for secondary I2C slave address

2014-05-20 Thread Mark Brown
On Tue, May 20, 2014 at 05:11:31PM +0100, Lee Jones wrote: > > > > drivers/mfd/bcm590xx.c | 60 > > > > +--- > > > > include/linux/mfd/bcm590xx.h | 9 --- > > > > 2 files changed, 52 insertions(+), 17 deletions(-) > > There's cross-deps so the

Re: [PATCH v4 01/24] input: Add ff-memless-next module

2014-05-20 Thread Michal Malý
On Tuesday 20 of May 2014 11:32:14 Roland Bosa wrote: > On 05/20/2014 02:27 AM, Michal Malý wrote: > > On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote: > >> On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote: > >>> Hi Dmitry, > >>> > >>> thank you for reviewing this. > >>> >

Re: [PATCH v3 1/2] mfd: max77693: remove unnecessary wrapper functions

2014-05-20 Thread Mark Brown
On Tue, May 20, 2014 at 04:35:06PM +0100, Lee Jones wrote: > Mark, > > In case you missed it (I know, top post, yada yada yada). > > We're just waiting on your Ack and I can apply the set: Can someone send me the patch as a normal submission please? I think it must have looked like the series

Re: [PATCH] mtip32xx: move error handling to service thread

2014-05-20 Thread Jens Axboe
On 05/20/2014 11:48 AM, Asai Thambi S P wrote: > > Move error handling to service thread, and use mtip_set_timeout() > to set timeouts for HDIO_DRIVE_TASK and HDIO_DRIVE_CMD IOCTL commands. Thanks Asai, applied. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v3] HID: quirk for Saitek RAT7 and MMO7 mices' mode button

2014-05-20 Thread Harald Brinkmann
Hi all, - added RAT7 abd MMO7 VID/PIDs to hid_have_special_driver[] Some saitek mice implement a tristate button (for switching button mappings in the original driver) by keeping one of three (non-physical) buttons constantly pressed. This breaks X and probably other userspace software. This

Re: [PATCH v3 5/9] mtd: nand: add sunxi NAND flash controller support

2014-05-20 Thread Brian Norris
On Fri, May 09, 2014 at 06:47:22PM +0200, Boris BREZILLON wrote: > On 09/05/2014 18:03, Ezequiel Garcia wrote: > > On 12 Mar 07:07 PM, Boris BREZILLON wrote: > >> --- /dev/null > >> +++ b/drivers/mtd/nand/sunxi_nand.c > >> @@ -0,0 +1,1276 @@ ... > >> +static int sunxi_nand_ecc_init(struct mtd_info

Re: [PATCH] pinctrl: add params in disable_setting for different usage

2014-05-20 Thread Stephen Warren
On 05/19/2014 09:05 PM, FanWu wrote: > On 05/20/2014 04:55 AM, Stephen Warren wrote: >> On 05/18/2014 08:54 PM, FanWu wrote: >>> On 05/17/2014 03:53 AM, Stephen Warren wrote: On 05/16/2014 10:21 AM, Linus Walleij wrote: > On Wed, May 14, 2014 at 4:01 AM, wrote: > >> From: Fan Wu

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread Cyrill Gorcunov
On Tue, May 20, 2014 at 11:24:56AM -0700, Andy Lutomirski wrote: > On Tue, May 20, 2014 at 11:18 AM, H. Peter Anvin wrote: > > On 05/20/2014 11:01 AM, Cyrill Gorcunov wrote: > >>> > >>> This patch should fix this issue, at least. If there's still a way to > >>> get a native vdso that doesn't say

Re: hanging aio process

2014-05-20 Thread Anatol Pomozov
Hi On Tue, May 20, 2014 at 11:09 AM, Sebastian Ott wrote: > Hi, > > On Tue, 20 May 2014, Anatol Pomozov wrote: >> On Tue, May 20, 2014 at 6:16 AM, Sebastian Ott >> wrote: >> > On Tue, 20 May 2014, Sebastian Ott wrote: >> >> On Mon, 19 May 2014, Benjamin LaHaise wrote: >> >> > It is entirely

Re: [PATCH v4 01/24] input: Add ff-memless-next module

2014-05-20 Thread Roland Bosa
On 05/20/2014 02:27 AM, Michal Malý wrote: > On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote: >> On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote: >>> Hi Dmitry, >>> >>> thank you for reviewing this. >>> >>> On Tuesday 13 of May 2014 23:38:06 Dmitry Torokhov wrote: On

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread Andy Lutomirski
On Tue, May 20, 2014 at 11:27 AM, H. Peter Anvin wrote: > On 05/20/2014 11:24 AM, Andy Lutomirski wrote: >> On Tue, May 20, 2014 at 11:18 AM, H. Peter Anvin wrote: >>> On 05/20/2014 11:01 AM, Cyrill Gorcunov wrote: > > This patch should fix this issue, at least. If there's still a way

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread H. Peter Anvin
On 05/19/2014 03:58 PM, Andy Lutomirski wrote: > > As a side effect, the vvar area will show up in core dumps. This > could be considered weird and is fixable. Thoughts? > On this issue... I don't know if this is likely to break anything. My suggestion is that we accept it as-is but be

Re: [PATCH 3/3] clocksource: tegra: Use uS counter as delay timer

2014-05-20 Thread Stephen Warren
On 05/20/2014 09:36 AM, Peter De Schrijver wrote: > All Tegra SoCs have a freerunning microsecond counter which can be used as a > delay timer. Patch 3 looks fine to me. I'll be happy to apply it once the other patches are applied (or ack it or create a topic branch containing all 3 if needed, so

Re: [PATCH 1/2] platform: x86: dell-smo8800: Dell Latitude freefall driver (ACPI SMO8800/SMO8810)

2014-05-20 Thread Valdis . Kletnieks
On Tue, 20 May 2014 20:10:28 +0200, Pali Rohár said: > > Hmm.. what tree are you building against? I wonder if your > > checkpatch is a different version than mine (next-20140519). > > I'm using up-to-date linus tree, git rev > 60b5f90d0fac7585f1a43ccdad06787b97eda0ab Ah, OK. Linux-next tree

Re: [Patch v3 0/5] Introduce keystone reset driver

2014-05-20 Thread Ivan Khoronzhuk
On 05/20/2014 04:49 PM, Santosh Shilimkar wrote: On Tuesday 20 May 2014 09:44 AM, Arnd Bergmann wrote: On Tuesday 20 May 2014 16:16:08 Ivan Khoronzhuk wrote: Thank for the reply The reset driver uses two ranges: - RSTYPE, RSTCTRL,RSTCFG, RSISO (Reset Main PLL Controller) - RESETMUX8-10

Re: [PATCH 6/6] ipc/sem.c: make semctl(,,{GETNCNT,GETZCNT}) standard compliant

2014-05-20 Thread Manfred Spraul
Hi Andrew, On 05/20/2014 12:46 AM, Andrew Morton wrote: On Sun, 18 May 2014 09:58:37 +0200 Manfred Spraul wrote: SUSv4 clearly defines how semncnt and semzcnt must be calculated: A task waits on exactly one semaphore: The semaphore from the first operation in the sop array that cannot

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread H. Peter Anvin
On 05/20/2014 11:24 AM, Andy Lutomirski wrote: > On Tue, May 20, 2014 at 11:18 AM, H. Peter Anvin wrote: >> On 05/20/2014 11:01 AM, Cyrill Gorcunov wrote: This patch should fix this issue, at least. If there's still a way to get a native vdso that doesn't say "[vdso]", please let

Re: [PATCH v3 4/9] of: mtd: add documentation for the ONFI NAND timing mode property

2014-05-20 Thread Brian Norris
Hi Boris, On Wed, Mar 12, 2014 at 07:07:39PM +0100, Boris BREZILLON wrote: > Add documentation for the ONFI NAND timing mode property. > > Signed-off-by: Boris BREZILLON > --- > Documentation/devicetree/bindings/mtd/nand.txt |8 > 1 file changed, 8 insertions(+) > > diff --git

Re: [PATCH 02/10] xhci: 'noxhci_port_switch' kernel parameter

2014-05-20 Thread Dan Williams
On Tue, May 20, 2014 at 2:51 AM, Takashi Iwai wrote: > At Tue, 20 May 2014 12:47:36 +0300, > Mathias Nyman wrote: >> >> On 05/20/2014 04:01 AM, Greg KH wrote: >> > On Thu, May 08, 2014 at 07:25:55PM +0300, Mathias Nyman wrote: >> >> From: Dan Williams >> >> >> >> Add a command line switch for

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread Andy Lutomirski
On Tue, May 20, 2014 at 11:18 AM, H. Peter Anvin wrote: > On 05/20/2014 11:01 AM, Cyrill Gorcunov wrote: >>> >>> This patch should fix this issue, at least. If there's still a way to >>> get a native vdso that doesn't say "[vdso]", please let me know/ >> >> Yes, having a native procfs way to

Re: [RFC PATCH] arm: dma-mapping: fallback allocation for cma failure

2014-05-20 Thread Michal Nazarewicz
On Mon, May 19 2014, Joonsoo Kim wrote: > On Tue, May 20, 2014 at 02:57:47PM +0900, Gioh Kim wrote: >> >> Thanks for your advise, Michal Nazarewicz. >> >> Having discuss with Joonsoo, I'm adding fallback allocation after >> __alloc_from_contiguous(). >> The fallback allocation works if CMA

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread H. Peter Anvin
On 05/20/2014 11:01 AM, Cyrill Gorcunov wrote: >> >> This patch should fix this issue, at least. If there's still a way to >> get a native vdso that doesn't say "[vdso]", please let me know/ > > Yes, having a native procfs way to detect vdso is much preferred! > Is there any path by which we

[PATCH v2] hwmon: Introduce the use of the managed version of kzalloc

2014-05-20 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, the unnecessary label out_free is removed. The following Coccinelle semantic patch was used for making the change: @platform@

Re: [RFC][PATCH] CMA: drivers/base/Kconfig: restrict CMA size to non-zero value

2014-05-20 Thread Michal Nazarewicz
On Mon, May 19 2014, Gioh Kim wrote: > My point is atomic_pool should be able to work with/without CMA. Agreed. >> IMO, cma=0 command line argument should be supported, as should having >> the default CMA size zero. If CMA size is set to zero, kernel should >> behave as if CMA was not enabled

Re: [PATCH 7/8] radeon: Out of line radeon_get_ib_value

2014-05-20 Thread Christian König
Yeah, agree. That function is quite critical for command stream parsing and patching. Christian. Am 20.05.2014 18:16, schrieb Marek Olšák: I think the function should stay in the header file. It's used in performance-critical code, so we want it to be inlined. Marek On Fri, May 16, 2014 at

Re: [PATCH v3 1/9] mtd: nand: define struct nand_timings

2014-05-20 Thread Brian Norris
On Thu, May 08, 2014 at 03:29:30PM +0100, Lee Jones wrote: > > > > Please document the units for these fields here. It looks like you're > > using picoseconds. > > Can't we leave this open to interpretation? For instance, it's more > convenient for our driver to handle these as nano second

[PATCH] cpufreq: intel_pstate: Remove unused member name of cpudata

2014-05-20 Thread Stratos Karafotis
Although, a value is assigned to member name of struct cpudata, it is never used. We can safely remove it. Signed-off-by: Stratos Karafotis --- drivers/cpufreq/intel_pstate.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c

Re: [PATCHv5 2/4] mailbox: Introduce framework for mailbox

2014-05-20 Thread Jassi Brar
On Tue, May 20, 2014 at 1:25 AM, Bjorn Andersson wrote: > On Mon, May 19, 2014 at 11:03 AM, Jassi Brar > wrote: >> On 19 May 2014 18:38, Arnd Bergmann wrote: >>> On Friday 16 May 2014 19:03:25 Jassi Brar wrote: > [...] >>> Do you have an example for a platform like that? I'd expect that

Re: [PATCH 1/2] platform: x86: dell-smo8800: Dell Latitude freefall driver (ACPI SMO8800/SMO8810)

2014-05-20 Thread Pali Rohár
On Tuesday 20 May 2014 20:02:41 valdis.kletni...@vt.edu wrote: > On Tue, 20 May 2014 10:56:47 +0200, Pali Rohár said: > > Hm? Which errors? Here is output from checkpacth: > > > > total: 0 errors, 0 warnings, 276 lines checked > > > > 0001-platform-x86-dell-smo8800-Dell-Latitude-freefall-dri.pa

[PATCH] MIPS: mti-sead3: Introduce the use of the managed version of kzalloc

2014-05-20 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. Also, the now unnecessary labels out_mem and out are done away with. The error handling code is moved under if and return 0 is now at the end

Re: hanging aio process

2014-05-20 Thread Sebastian Ott
Hi, On Tue, 20 May 2014, Anatol Pomozov wrote: > On Tue, May 20, 2014 at 6:16 AM, Sebastian Ott > wrote: > > On Tue, 20 May 2014, Sebastian Ott wrote: > >> On Mon, 19 May 2014, Benjamin LaHaise wrote: > >> > It is entirely possible the bug isn't > >> > caused by the referenced commit, as the

Re: [PATCH 1/2] platform: x86: dell-smo8800: Dell Latitude freefall driver (ACPI SMO8800/SMO8810)

2014-05-20 Thread Valdis . Kletnieks
On Tue, 20 May 2014 10:56:47 +0200, Pali Rohár said: > Hm? Which errors? Here is output from checkpacth: > > total: 0 errors, 0 warnings, 276 lines checked > > 0001-platform-x86-dell-smo8800-Dell-Latitude-freefall-dri.patch > has no obvious style problems and is ready for submission. > > total: 0

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread Cyrill Gorcunov
On Tue, May 20, 2014 at 10:52:51AM -0700, Andy Lutomirski wrote: > > > > We use not only [vdso] mark to detect vdso area but also page frame > > number of the living vdso. If mark is not present in procfs output > > we examinate executable areas and check if pfn == vdso_pfn, it's > > a slow path

[PATCH] powerpc: remove checks for CONFIG_BOOK3E_MMU_TLB_STATS

2014-05-20 Thread Paul Bolle
Three checks for CONFIG_BOOK3E_MMU_TLB_STATS were added in v2.6.32. But the related Kconfig symbol was never added. These checks have always evaluated to false. Remove them. Signed-off-by: Paul Bolle --- Untested. A second order cleanup is now possible (ie, TLB_MISS_PROLOG_STATS and friends

Re: [PATCH 0/3] staging/skein: more cleanup

2014-05-20 Thread Anton Saraev
On Tue, May 20, 2014 at 10:24:11AM -0600, Jake Edge wrote: > On Tue, 20 May 2014 10:47:57 -0400 Jason Cooper wrote: > > but some kind of tests are needed to ensure nothing breaks before > digging into that ... I have some test: slightly modified version of tests from

[PATCH 0/2] Fix some machine check application recovery cases

2014-05-20 Thread Tony Luck
Tesing recovery in mult-threaded applications showed a couple of issues in our code. Tony Luck (2): memory-failure: Send right signal code to correct thread memory-failure: Don't let collect_procs() skip over processes for MF_ACTION_REQUIRED mm/memory-failure.c | 25

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread Andy Lutomirski
On Tue, May 20, 2014 at 10:47 AM, Cyrill Gorcunov wrote: > On Tue, May 20, 2014 at 10:24:49AM -0700, Andy Lutomirski wrote: >> On Tue, May 20, 2014 at 10:21 AM, Cyrill Gorcunov wrote: >> > On Mon, May 19, 2014 at 03:58:33PM -0700, Andy Lutomirski wrote: >> >> Using arch_vma_name to give special

Re: [GIT PULL] at91: DT for 3.16 #2

2014-05-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On May 20, 2014, at 1:50 PM, Olof Johansson wrote: > > On Wed, May 14, 2014 at 11:19:22AM +0200, Nicolas Ferre wrote: >> Arnd, Olof, Kevin, >> >> More DT material for AT91. Some fixes that apply on what was merged for 3.15 >> but that are not very critical. >> The other patches are feature

Re: [RFC PATCH 2/5] clk: Introduce 'clk_round_rate_nearest()'

2014-05-20 Thread Stephen Boyd
On 05/20/14 09:01, Sören Brinkmann wrote: > > +{ > + unsigned long lower, upper, cur, lower_last, upper_last; > + > + lower = clk_round_rate(clk, rate); > + if (lower >= rate) > + return lower; Is the >-case worth a warning? >>> No, it's correct behavior. If

[PATCH] mtip32xx: move error handling to service thread

2014-05-20 Thread Asai Thambi S P
Move error handling to service thread, and use mtip_set_timeout() to set timeouts for HDIO_DRIVE_TASK and HDIO_DRIVE_CMD IOCTL commands. Signed-off-by: Selvan Mani Signed-off-by: Asai Thambi S P --- drivers/block/mtip32xx/mtip32xx.c | 71 +

Re: [PATCH 3/4] x86,mm: Improve _install_special_mapping and fix x86 vdso naming

2014-05-20 Thread Cyrill Gorcunov
On Tue, May 20, 2014 at 10:24:49AM -0700, Andy Lutomirski wrote: > On Tue, May 20, 2014 at 10:21 AM, Cyrill Gorcunov wrote: > > On Mon, May 19, 2014 at 03:58:33PM -0700, Andy Lutomirski wrote: > >> Using arch_vma_name to give special mappings a name is awkward. x86 > >> currently implements it

Re: [PATCH 0/3] staging/skein: more cleanup

2014-05-20 Thread Jason Cooper
On Tue, May 20, 2014 at 10:24:11AM -0600, Jake Edge wrote: > On Tue, 20 May 2014 10:47:57 -0400 Jason Cooper wrote: > > > Do you have any other series pending for this driver? > > No and I won't be doing anything else for the next couple of days -- > some darn weekly edition to deal with :) :)

Re: [PATCH] x86/mce: Clear a useless global variable in mce.c

2014-05-20 Thread Tony Luck
On Tue, May 20, 2014 at 3:02 AM, Borislav Petkov wrote: >> I'm OK with it going - but as I said before I'd like to see mce_callin >> printed (so I can tell if just one cpu showed up, just the cpus from >> one socket, or some other significant number). > > I don't think you want to do this

[PATCH v4 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-05-20 Thread Alex Elder
This series adds SMP support for two Broadcom mobile SoC families. It uses CPU_METHOD_OF_DECLARE() so that SMP operations are assigned using device tree rather than adding it to a machine definition in a board file. The enable method starts a secondary core by writing to a register monitored by

[PATCH v4 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-05-20 Thread Alex Elder
This patch adds SMP support for BCM281XX and BCM21664 family SoCs. This feature is controlled with a distinct config option such that an SMP-enabled multi-v7 binary can be configured to run these SoCs in uniprocessor mode. Since this SMP functionality is used for multiple Broadcom mobile chip

Re: [PATCH v2 3/4] clk: ti: Driver for DRA7 ATL (Audio Tracking Logic)

2014-05-20 Thread Mike Turquette
Quoting Peter Ujfalusi (2014-05-07 03:20:47) > Audio Tracking Logic is designed to be used by HD Radio applications to > synchronize the audio output clocks to the baseband clock. ATL can be also > used to track errors between two reference clocks (BWS, AWS) and generate a > modulated > clock

[PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-20 Thread Alex Elder
Broadcom mobile SoCs use a ROM-implemented holding pen for controlled boot of secondary cores. A special register is used to communicate to the ROM that a secondary core should start executing kernel code. This enable method is currently used for members of the bcm281xx and bcm21664 SoC

[PATCH v4 5/5] ARM: dts: enable SMP support for bcm21664

2014-05-20 Thread Alex Elder
Define nodes representing the two Cortex A9 CPUs in a bcm21644 SoC. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm21664.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi index 08a44d4..a37ded1

[PATCH v4 0/5] ARM: SMP: support Broadcom mobile SoCs

2014-05-20 Thread Alex Elder
[Trouble posting patches today. I'm very sorry about the duplicates.] This series adds SMP support for two Broadcom mobile SoC families. It uses CPU_METHOD_OF_DECLARE() so that SMP operations are assigned using device tree rather than adding it to a machine definition in a board file. The

[PATCH v4 3/5] ARM: configs: enable SMP in bcm_defconfig

2014-05-20 Thread Alex Elder
Also explicitly set CONFIG_NR_CPUS to 2, limiting it to the most we currently need. Signed-off-by: Ray Jui Signed-off-by: Alex Elder --- arch/arm/configs/bcm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/bcm_defconfig b/arch/arm/configs/bcm_defconfig index

<    1   2   3   4   5   6   7   8   9   10   >