[PATCH 1/3] mtd: nand: davinci: reuse driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
The Keystone arch has compatible nand device, so reuse it. In case with Keystone it depends on TI_AEMIF because AEMIF driver is responsible to set timings. See http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt |

[PATCH 2/3] mtd: nand: davinci: don't set timings if AEMIF is used

2013-11-20 Thread Ivan Khoronzhuk
The problem that the set timings code contains the call of Davinci platform function davinci_aemif_setup_timing() which is not accessible if kernel is built for Keystone only. The Keysone platform is going to use TI AEMIF driver. If TI AEMIF is used we don't need to set timings and bus width. It

[PATCH] staging: dwc2: add check on dwc2_core_reset return

2013-11-20 Thread Julien DELACOU
If the GRSTCTL_CSFTRST self-clearing bit never comes back to 0 for any reason, the controller is under reset state and cannot be used. It's preferable to abort initialization in such case. Signed-off-by: Julien Delacou --- drivers/staging/dwc2/core.c | 58

Re: [PATCH 3.4 00/12] 3.4.70-stable review

2013-11-20 Thread Greg Kroah-Hartman
On Wed, Nov 20, 2013 at 08:28:34AM -0700, Shuah Khan wrote: > On 11/18/2013 11:41 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.70 release. > > There are 12 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 3.4 00/12] 3.4.70-stable review

2013-11-20 Thread Greg Kroah-Hartman
On Wed, Nov 20, 2013 at 08:04:45PM +0900, Satoru Takeuchi wrote: > At Mon, 18 Nov 2013 10:41:33 -0800, > Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the 3.4.70 release. > > There are 12 patches in this series, all will be posted as a response > > to this

Re: [PATCH v4 1/2] watchdog: bcm281xx: Watchdog Driver

2013-11-20 Thread Guenter Roeck
On Wed, Nov 20, 2013 at 08:12:37AM -0800, Markus Mayer wrote: > On 19 November 2013 11:07, Markus Mayer wrote: > > This commit adds support for the watchdog timer used on the BCM281xx > > family of SoCs. > > > > Signed-off-by: Markus Mayer > > Reviewed-by: Matt Porter > > Reviewed-by: Guenter

Re: [PATCH 4/9] staging/lustre/lnet: Fix assert on empty group in selftest module

2013-11-20 Thread Greg Kroah-Hartman
On Wed, Nov 20, 2013 at 05:26:57PM +0800, Peng Tao wrote: > On Wed, Nov 20, 2013 at 2:37 AM, Greg Kroah-Hartman > wrote: > > On Tue, Nov 19, 2013 at 09:23:43PM +0800, Peng Tao wrote: > >> From: Amir Shehata > >> > >> The core of the issue is that the selftest module doesn't sanitize its > >> own

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-20 Thread Howard Chu
Theodore Ts'o wrote: Historically, Intel has been really good about avoiding this, but since they've moved to using 3rd party flash controllers, I now advise everyone who plans to use any flash storage, regardless of the manufacturer, to do their own explicit power fail testing (hitting the

Re: [PATCH RFC v2 06/29] PCI/MSI: Get rid of useless count of msi_desc leftovers

2013-11-20 Thread Tejun Heo
Hello, Alexander. On Fri, Oct 18, 2013 at 07:12:06PM +0200, Alexander Gordeev wrote: > @@ -744,23 +744,6 @@ static int msix_capability_init(struct pci_dev *dev, > > return 0; > > -out_avail: > - if (ret < 0) { > - /* > - * If we had some success, report the

[PATCH 0/3] Reuse davinci-nand driver for Keystone arch

2013-11-20 Thread Ivan Khoronzhuk
This series contains updates of Davinci nand driver, in order to be reused for Keystone platform. Depends on: - Davinci nand driver fixes and updates: https://lkml.org/lkml/2013/11/20/271 - Introduce AEMIF driver for Davinci/Keystone archs: http://lkml.org/lkml/2013/11/11/352 V1:

[PATCH 3/3] mtd: nand: davinci: don't request AEMIF address range

2013-11-20 Thread Ivan Khoronzhuk
The TI AEMIF driver registers are used to setup timings for each chip select. The same registers range is used to setup NAND settings. The AEMIF and NAND drivers not use the same registers in this range. In case with TI AEMIF driver, the memory address range is requested already by AEMIF, so we

Re: [PATCH] x86, acpi, idle: Restructure the mwait idle routines

2013-11-20 Thread Arjan van de Ven
On 11/20/2013 2:58 AM, Peter Zijlstra wrote: On Wed, Nov 20, 2013 at 11:28:03AM +0100, Peter Zijlstra wrote: On Tue, Nov 19, 2013 at 01:06:30PM -0800, Jacob Pan wrote: I applied this patch on top of upstream kernel (801a760) and found out my machine completely failed to enter idle when nothing

Re: [PATCH RFC v2 11/29] PCI/MSI: Convert pci_msix_table_size() to a public interface

2013-11-20 Thread Tejun Heo
Hello, On Fri, Oct 18, 2013 at 07:12:11PM +0200, Alexander Gordeev wrote: > Make pci_msix_table_size() return error code if the device > does not support MSI-X. This update is needed to create a > consistent MSI-X counterpart for pci_get_msi_cap() MSI > interface. > > Device drivers can use this

Re: [Regression x2, 3.13-git] virtio block mq hang, iostat busted on virtio devices

2013-11-20 Thread Jens Axboe
On 11/20/2013 01:07 AM, Christoph Hellwig wrote: >> Just stumbled on that too. You need one more, btw, for the sg failure >> case: >> >> >> diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c >> index 588479d58f52..6a680d4de7f1 100644 >> --- a/drivers/block/virtio_blk.c >> +++

Re: [PATCH 00/10] AMD Cryptographic Coprocessor support

2013-11-20 Thread Tom Lendacky
Hi Herbert, Is the crypto tree the right tree to go through for this support or would you prefer I go through another tree? Thanks, Tom On Tuesday, November 12, 2013 11:45:59 AM Tom Lendacky wrote: > Resending because of typo in mailing list address... > > The following series implements

Re: [Regression x2, 3.13-git] virtio block mq hang, iostat busted on virtio devices

2013-11-20 Thread Jens Axboe
On 11/20/2013 01:04 AM, Christoph Hellwig wrote: > On Tue, Nov 19, 2013 at 02:43:51PM -0700, Jens Axboe wrote: >> No, the nr_requests isn't actually relevant in the blk-mq context, the >> driver sets its own depth. For the above, it's 64 normal commands, and 2 >> reserved. The reserved would be

Re: [PATCH RFC v2 10/29] PCI/MSI: Get rid of pci_enable_msi_block_auto() interface

2013-11-20 Thread Tejun Heo
On Fri, Oct 18, 2013 at 07:12:10PM +0200, Alexander Gordeev wrote: > As result of introduction of pci_get_msi_cap() interface > pci_enable_msi_block_auto() function became superflous. > > To enable maximum possible number of MSIs drivers will > first obtain that number from pci_get_msi_cap()

[GIT PULL] parisc fixes for v3.13

2013-11-20 Thread Helge Deller
Hi Linus, Please pull the latest fixes for the parisc architecture from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.13 which has the following fixes: - revert an access_ok() patch which broke 32bit userspace on 64bit kernels - avoid a gcc miscompilation in

Re: [PATCH] staging: imx-drm: Fix modular build of DRM_IMX_IPUV3

2013-11-20 Thread Greg KH
On Wed, Nov 20, 2013 at 08:16:32AM -0500, Josh Boyer wrote: > On Tue, Nov 19, 2013 at 09:39:19PM -0800, Greg KH wrote: > > On Tue, Nov 19, 2013 at 08:56:59PM -0500, Josh Boyer wrote: > > > On Mon, Nov 18, 2013 at 10:03:10AM +0100, Sascha Hauer wrote: > > > > On Tue, Nov 12, 2013 at 12:15:45PM

Re: [PATCH RFC v2 09/29] PCI/MSI: Factor out pci_get_msi_cap() interface

2013-11-20 Thread Tejun Heo
Hello, On Fri, Oct 18, 2013 at 07:12:09PM +0200, Alexander Gordeev wrote: > +If this function returns a negative number, it indicates the device is > +not capable of sending MSIs. Wouldn't "errno" better describe the error return rather than "negative number"? > @@ -795,6 +795,21 @@ static int

Re: [PATCH 7/9] ARM: at91/dt: add i2c devices connected to at91rm9200ek board

2013-11-20 Thread boris brezillon
On 20/11/2013 16:01, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:08 Wed 28 Aug , Boris BREZILLON wrote: Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91rm9200ek.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts

Re: [PATCH 5/9] ARM: at91/dt: add mmc0 slot0 support to at91rm9200ek board

2013-11-20 Thread boris brezillon
On 20/11/2013 15:59, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:06 Wed 28 Aug , Boris BREZILLON wrote: Add slot0 of mmc0 pinctrl pins definitions: - detect pin - write protect pin - enable slot0 pin: this pin is connected to an external switch which enable mmc0 slot0 or spi

Re: [PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb

2013-11-20 Thread Eric Dumazet
On Wed, 2013-11-20 at 18:06 +0200, Michael S. Tsirkin wrote: > Hmm some kind of disconnect here. > I got you rmanagement about bufferbloat. > > What I am saying is that maybe we should drop packets more > aggressively: when we drop one packet of a flow, why not > drop everything that's queued

Re: [PATCH RFC v2 08/29] PCI/MSI: Make pci_enable_msix() 'nvec' argument unsigned int

2013-11-20 Thread Tejun Heo
Hello, On Fri, Oct 18, 2013 at 07:12:08PM +0200, Alexander Gordeev wrote: > Make pci_enable_msix() and pci_enable_msi_block() consistent > with regard to the type of 'nvec' argument. Indeed, a number > of vectors to allocate is a natural value, so make it unsigned. I'm personally not a big fan

Re: [PATCH v4 1/2] watchdog: bcm281xx: Watchdog Driver

2013-11-20 Thread Markus Mayer
On 19 November 2013 11:07, Markus Mayer wrote: > This commit adds support for the watchdog timer used on the BCM281xx > family of SoCs. > > Signed-off-by: Markus Mayer > Reviewed-by: Matt Porter > Reviewed-by: Guenter Roeck > --- > drivers/watchdog/Kconfig| 22 +++ >

Re: [PATCH RFC v2 07/29] PCI/MSI: Return -ENOSYS for unimplemented interfaces, not -1

2013-11-20 Thread Tejun Heo
On Fri, Oct 18, 2013 at 07:12:07PM +0200, Alexander Gordeev wrote: > Signed-off-by: Alexander Gordeev > Suggested-by: Ben Hutchings Yes, please. Reviewed-by: Tejun Heo Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[GIT PULL] uprobes: uprobe_task/arch_uprobe/xol_area cleanups

2013-11-20 Thread Oleg Nesterov
Ingo, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core Another short series. No functional changes, everything was acked. Oleg Nesterov (5): uprobes: Add uprobe_task->dup_xol_work/dup_xol_addr uprobes: Don't assume that arch_uprobe->insn/ixol

Re: [patch] mm, vmscan: abort futile reclaim if we've been oom killed

2013-11-20 Thread Johannes Weiner
On Mon, Nov 18, 2013 at 05:17:31PM -0800, David Rientjes wrote: > On Mon, 18 Nov 2013, Johannes Weiner wrote: > > > > Um, no, those processes are going through a repeated loop of direct > > > reclaim, calling the oom killer, iterating the tasklist, finding an > > > existing oom killed process

Re: [PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb

2013-11-20 Thread Michael S. Tsirkin
On Wed, Nov 20, 2013 at 07:16:33AM -0800, Eric Dumazet wrote: > On Wed, 2013-11-20 at 10:58 +0200, Michael S. Tsirkin wrote: > > On Tue, Nov 19, 2013 at 02:00:11PM -0800, Eric Dumazet wrote: > > > On Tue, 2013-11-19 at 23:53 +0200, Michael S. Tsirkin wrote: > > > > > > > Which NIC? Virtio? Prior

Re: [PATCH 1/1] IOMMU: Save pci device id instead of pci_dev* pointer for DMAR devices

2013-11-20 Thread David Woodhouse
On Fri, 2013-11-08 at 08:46 -0700, Bjorn Helgaas wrote: > > I don't know the IOMMU drivers well either, but it seems like they > rely on notifications of device addition and removal (see > iommu_bus_notifier()). It doesn't seem right for them to also use the > generic PCI interfaces like

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: [PATCH 1/9] ARM: at91/dt: add rm9200 spi0 chip select pins definitions

2013-11-20 Thread boris brezillon
On 20/11/2013 15:56, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:02 Wed 28 Aug , Boris BREZILLON wrote: Add spi0 cs pinctrl pins definitions. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91rm9200.dtsi | 20 1 file changed, 20 insertions(+) diff --git

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: [PATCH 3/9] ARM: at91/dt: add usb1 vbus and pullup pins

2013-11-20 Thread boris brezillon
On 20/11/2013 15:57, Jean-Christophe PLAGNIOL-VILLARD wrote: On 13:04 Wed 28 Aug , Boris BREZILLON wrote: Add vbus and pullup pinctrl definitions. Request the vbus and pullup pins in usb1 node. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91rm9200ek.dts | 15 +++

Re: [PATCH RFC v2 05/29] PCI/MSI: Fix return value when populate_msi_sysfs() failed

2013-11-20 Thread Tejun Heo
On Fri, Oct 18, 2013 at 07:12:05PM +0200, Alexander Gordeev wrote: > If populate_msi_sysfs() function failed msix_capability_init() > must return the error code, but it returns the success instead. > This update fixes the described misbehaviour. > > Signed-off-by: Alexander Gordeev Reviewed-by:

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-20 Thread J. Bruce Fields
On Wed, Nov 20, 2013 at 10:37:03AM -0500, Theodore Ts'o wrote: > On Wed, Nov 20, 2013 at 08:52:36PM +0530, Chinmay V S wrote: > > > > If you have confirmed the performance numbers, then it indicates that > > the Intel 530 controller is more advanced and makes better use of the > > internal

Re: [PATCH 6/7] mtd: nand: davinci: extend description of bindings

2013-11-20 Thread ivan.khoronzhuk
On 11/20/2013 05:46 PM, Arnd Bergmann wrote: On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: Extend bindings for davinci_nand driver to be more clear. Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt | 77 ++-- 1 file changed, 54

Re: [PATCH 2/3] ACPI / hotplug: Fix PCI host bridge hot removal

2013-11-20 Thread Toshi Kani
On Wed, 2013-11-20 at 12:56 +0100, Rafael J. Wysocki wrote: > On Tuesday, November 19, 2013 06:22:07 PM Toshi Kani wrote: > > On Wed, 2013-11-20 at 01:08 +0100, Rafael J. Wysocki wrote: > > > On Wednesday, November 20, 2013 12:42:28 AM Rafael J. Wysocki wrote: > > > > On Tuesday, November 19, 2013

Re: [PATCH 8/9] ARM: at91/dt: add new at91rm9200ek_mmc board

2013-11-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:37 Wed 28 Aug , Boris BREZILLON wrote: > Add a new at91rm9200ek_mmc board (based on at91rm9200ek board) which enables > mmc0/slot0. no for multiple dts this need to handle at user space level Best Regards, J. > > Signed-off-by: Boris BREZILLON > --- >

[PATCH 1/2] memory: ti-aemif: introduce AEMIF driver

2013-11-20 Thread Ivan Khoronzhuk
Add new AEMIF driver for EMIF16 Texas Instruments controller. The EMIF16 module is intended to provide a glue-less interface to a variety of asynchronous memory devices like ASRA M, NOR and NAND memory. A total of 256M bytes of any of these memories can be accessed at any given time via four chip

[PATCH 2/2] memory: ti-aemif: add bindings for AEMIF driver

2013-11-20 Thread Ivan Khoronzhuk
Add bindings for AEMIF controller drivers/memory/ti-aemif.c Signed-off-by: Ivan Khoronzhuk --- .../bindings/memory-controllers/ti-aemif.txt | 198 1 file changed, 198 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti-aemif.txt

[PATCH 0/2] Introduce AEMIF driver for Davinci/Keystone archs

2013-11-20 Thread Ivan Khoronzhuk
These patches introduce Async External Memory Interface (EMIF16/AEMIF) controller driver for Davinci/Keystone archs. V1: https://lkml.org/lkml/2013/11/11/352 Ivan Khoronzhuk (2): memory: ti-aemif: introduce AEMIF driver memory: ti-aemif: add bindings for AEMIF driver

Re: [PATCH 6/7] mtd: nand: davinci: extend description of bindings

2013-11-20 Thread Arnd Bergmann
On Wednesday 20 November 2013, Ivan Khoronzhuk wrote: > Extend bindings for davinci_nand driver to be more clear. > > Signed-off-by: Ivan Khoronzhuk > --- > .../devicetree/bindings/mtd/davinci-nand.txt | 77 > ++-- > 1 file changed, 54 insertions(+), 23 deletions(-) Hi

Re: [Kernel Panic] 3.10.10-rt7

2013-11-20 Thread Paul Gortmaker
On 13-11-20 07:34 AM, Jan Kiszka wrote: > On 2013-11-20 13:26, Frederich, Jens wrote: >> Hello, >> >> I got a Kernel panic by some long time stress tests. Look here: >> http://dy.cx/pqP7M. > > Ah, that should be http://thread.gmane.org/gmane.linux.kernel/1564783 > > Paul, was there any

Re: [PATCH RFC v2 04/29] PCI/MSI/pSeries: Make quota traversing and requesting race-safe

2013-11-20 Thread Tejun Heo
Hello, Sorry about the long delay. Was traveling quite a bit. On Fri, Oct 18, 2013 at 07:12:04PM +0200, Alexander Gordeev wrote: > Signed-off-by: Alexander Gordeev Please explain what the race condition in detail and how it gets fixed by the patch. This isn't a trivial change and non-trivial

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-20 Thread Theodore Ts'o
On Wed, Nov 20, 2013 at 08:52:36PM +0530, Chinmay V S wrote: > > If you have confirmed the performance numbers, then it indicates that > the Intel 530 controller is more advanced and makes better use of the > internal disk-cache to achieve better performance (as compared to the > Intel 520). Thus

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: [PATCH v2 4/5] regulator: max14577: Add regulator driver for Maxim 14577

2013-11-20 Thread Mark Brown
On Wed, Nov 20, 2013 at 03:12:11PM +0100, Krzysztof Kozlowski wrote: > + size = sizeof(struct regulator_dev *) * pdata->num_regulators; > + info->regulators = devm_kzalloc(>dev, size, GFP_KERNEL); > + if (!info->regulators) { > + dev_err(>dev, "Cannot allocate memory for

Re: [PATCH v6 4/5] MCS Lock: Barrier corrections

2013-11-20 Thread Paul E. McKenney
On Tue, Nov 19, 2013 at 05:37:43PM -0800, Tim Chen wrote: > This patch corrects the way memory barriers are used in the MCS lock > with smp_load_acquire and smp_store_release fucnction. > It removes ones that are not needed. > > It uses architecture specific load-acquire and store-release >

Re: [PATCH v2 1/5] mfd: max14577: Add max14577 MFD driver core

2013-11-20 Thread Mark Brown
On Wed, Nov 20, 2013 at 03:12:08PM +0100, Krzysztof Kozlowski wrote: > +static irqreturn_t max14577_irq_thread(int irq, void *data) > +{ > + struct max14577 *max14577 = data; > + u8 irq_reg[MAX14577_IRQ_REGS_NUM] = {0}; > + u8 tmp_irq_reg[MAX14577_IRQ_REGS_NUM] = {}; > + int i,

Re: [PATCH 3.4 00/12] 3.4.70-stable review

2013-11-20 Thread Shuah Khan
On 11/18/2013 11:41 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.70 release. There are 12 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.10 00/24] 3.10.20-stable review

2013-11-20 Thread Shuah Khan
On 11/18/2013 11:42 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.20 release. There are 24 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.11 00/25] 3.11.9-stable review

2013-11-20 Thread Shuah Khan
On 11/18/2013 11:40 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.11.9 release. There are 25 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.12 00/19] 3.12.1-stable review

2013-11-20 Thread Shuah Khan
On 11/18/2013 11:37 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.1 release. There are 19 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

[PATCH 0/7] Davinci nand driver fixes and updates

2013-11-20 Thread Ivan Khoronzhuk
This series contains fixes and updates of Davinci nand driver, in order to prepare it to be reused for Keystone platform. V1: https://lkml.org/lkml/2013/11/11/352 Ivan Khoronzhuk (7): mtd: nand: davinci: fix driver registration mtd: nand: davinci: return ENOMEM if memory allocation is failed

[PATCH 4/7] mtd: nand: davinci: simplify error handling

2013-11-20 Thread Ivan Khoronzhuk
There is not needed to use a lot of names for err handling. It complicates code support and reading. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar --- drivers/mtd/nand/davinci_nand.c | 46 +++ 1 file changed, 17 insertions(+), 29 deletions(-)

[PATCH 6/7] mtd: nand: davinci: extend description of bindings

2013-11-20 Thread Ivan Khoronzhuk
Extend bindings for davinci_nand driver to be more clear. Signed-off-by: Ivan Khoronzhuk --- .../devicetree/bindings/mtd/davinci-nand.txt | 77 ++-- 1 file changed, 54 insertions(+), 23 deletions(-) diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt

[PATCH 7/7] mtd: nand: davinci: adjust DT properties to MTD generic

2013-11-20 Thread Ivan Khoronzhuk
The properties davinci-ecc-mode, davinci-nand-use-bbt, davinci-nand-buswidth are MTD generic. Correct names for them are: nand-ecc-mode, nand-on-flash-bbt, nand-bus-width accordingly. So rename them in dts and documentation. Signed-off-by: Ivan Khoronzhuk ---

[PATCH 2/7] mtd: nand: davinci: return ENOMEM if memory allocation is failed

2013-11-20 Thread Ivan Khoronzhuk
In case when memory allocation is failed the driver should return ENOMEM instead of ENODEV. Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/davinci_nand.c

[PATCH 1/7] mtd: nand: davinci: fix driver registration

2013-11-20 Thread Ivan Khoronzhuk
When kernel is booted using DT, there is no guarantee that Davinci NAND device has been created already at the time when driver init function is executed. Therefore, platform_driver_probe() can't be used because this may result the Davinci NAND driver will never be probed. The driver probing has

[PATCH 5/7] mtd: nand: davinci: move bindings under mtd

2013-11-20 Thread Ivan Khoronzhuk
Move bindings under mtd. Do this in order to make davinci-nand driver usable by keystone architecture. Signed-off-by: Ivan Khoronzhuk Acked-by: Santosh Shilimkar --- .../devicetree/bindings/arm/davinci/nand.txt | 46 .../devicetree/bindings/mtd/davinci-nand.txt

[PATCH 3/7] mtd: nand: davinci: check required ti,davinci-chipselect property

2013-11-20 Thread Ivan Khoronzhuk
The property "ti,davinci-chipselect" is required. So we have to check if it is set. Signed-off-by: Ivan Khoronzhuk --- drivers/mtd/nand/davinci_nand.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index

Re: Why is O_DSYNC on linux so slow / what's wrong with my SSD?

2013-11-20 Thread Chinmay V S
Hi Stefan, > thanks for your great and detailed reply. I'm just wondering why an > intel 520 ssd degrades the speed just by 2% in case of O_SYNC. intel 530 > the newer model and replacement for the 520 degrades speed by 75% like > the crucial m4. > > The Intel DC S3500 instead delivers also

Re: user defined OOM policies

2013-11-20 Thread Michal Hocko
On Wed 20-11-13 00:02:20, David Rientjes wrote: > On Tue, 19 Nov 2013, Michal Hocko wrote: > > > > We have basically ended up with 3 options AFAIR: > > > 1) allow memcg approach (memcg.oom_control) on the root level > > >for both OOM notification and blocking OOM killer and handle >

Re: [PATCH 2/2] tracing/probes: Fix basic print type functions

2013-11-20 Thread Oleg Nesterov
On 11/18, Namhyung Kim wrote: > > -DEFINE_BASIC_PRINT_TYPE_FUNC(u8, "%x", unsigned int) > -DEFINE_BASIC_PRINT_TYPE_FUNC(u16, "%x", unsigned int) > -DEFINE_BASIC_PRINT_TYPE_FUNC(u32, "%lx", unsigned long) > +DEFINE_BASIC_PRINT_TYPE_FUNC(u8 , "%x", unsigned char) > +DEFINE_BASIC_PRINT_TYPE_FUNC(u16,

Re: [PATCH v2 1/1] ASoC: arizona: Set FLL to free-run before disabling

2013-11-20 Thread Mark Brown
On Wed, Nov 20, 2013 at 02:37:09PM +, Richard Fitzgerald wrote: > The FLL must be placed into free-run mode before disabling > to allow it to entirely shut down. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 1/2] tracing/uprobes: Fix documentation of uprobe registration syntax

2013-11-20 Thread Oleg Nesterov
On 11/18, Namhyung Kim wrote: > > From: Namhyung Kim > > The uprobe syntax requires an offset after a file path not a symbol. > > Reviewed-by: Masami Hiramatsu > Cc: Srikar Dronamraju > Cc: Oleg Nesterov > Cc: zhangwei(Jovi) > Cc: Arnaldo Carvalho de Melo > Signed-off-by: Namhyung Kim

Re: [PATCH 3/9] ARM: at91/dt: add usb1 vbus and pullup pins

2013-11-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:04 Wed 28 Aug , Boris BREZILLON wrote: > Add vbus and pullup pinctrl definitions. > Request the vbus and pullup pins in usb1 node. > > Signed-off-by: Boris BREZILLON > --- > arch/arm/boot/dts/at91rm9200ek.dts | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git

Re: [PATCH net] virtio-net: fix page refcnt leaking when fail to allocate frag skb

2013-11-20 Thread Eric Dumazet
On Wed, 2013-11-20 at 10:58 +0200, Michael S. Tsirkin wrote: > On Tue, Nov 19, 2013 at 02:00:11PM -0800, Eric Dumazet wrote: > > On Tue, 2013-11-19 at 23:53 +0200, Michael S. Tsirkin wrote: > > > > > Which NIC? Virtio? Prior to 2613af0ed18a11d5c566a81f9a6510b73180660a > > > it didn't drop packets

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: perf/nmi : NMI Dazed and confused messages on core2

2013-11-20 Thread Don Zickus
On Thu, Nov 14, 2013 at 04:32:28PM -0500, Vince Weaver wrote: > Hello > > when running the perf_fuzzer on a core2 machine I often get the syslog > spammed with messages like this: > > [ 7911.810186] Uhhuh. NMI received for unknown reason 3d on CPU 0. > [ 7911.812756] Do you have a strange power

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: [PATCH 1/9] ARM: at91/dt: add rm9200 spi0 chip select pins definitions

2013-11-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:02 Wed 28 Aug , Boris BREZILLON wrote: > Add spi0 cs pinctrl pins definitions. > > Signed-off-by: Boris BREZILLON > --- > arch/arm/boot/dts/at91rm9200.dtsi | 20 > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/at91rm9200.dtsi >

Re: [PATCH 5/9] ARM: at91/dt: add mmc0 slot0 support to at91rm9200ek board

2013-11-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:06 Wed 28 Aug , Boris BREZILLON wrote: > Add slot0 of mmc0 pinctrl pins definitions: > - detect pin > - write protect pin > - enable slot0 pin: this pin is connected to an external switch which >enable mmc0 slot0 or spi dataflash connected to cs3 > > The mmc0 device is not

Re: [PATCH 7/9] ARM: at91/dt: add i2c devices connected to at91rm9200ek board

2013-11-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:08 Wed 28 Aug , Boris BREZILLON wrote: > Signed-off-by: Boris BREZILLON > --- > arch/arm/boot/dts/at91rm9200ek.dts | 12 > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm/boot/dts/at91rm9200ek.dts > b/arch/arm/boot/dts/at91rm9200ek.dts > index

Re: /proc/vmcore mmap() failure issue

2013-11-20 Thread Vivek Goyal
On Wed, Nov 20, 2013 at 05:29:16AM +, Atsushi Kumagai wrote: > On 2013/11/18 22:56:10, kexec wrote: > > On Mon, Nov 18, 2013 at 12:51:39AM +, Atsushi Kumagai wrote: > > > > [..] > > > > Is there any chance that you could look into fixing this. I have no > > > > experience writing code

Re: [PATCH] cpufreq: cpufreq-cpu0: Use a sane boot frequency when booting with a mismatched bootloader configuration

2013-11-20 Thread Nishanth Menon
On 11/19/2013 11:24 PM, viresh kumar wrote: > On Tuesday 19 November 2013 11:13 PM, Nishanth Menon wrote: >> we depend on the first transition to take us to a sane configuration - >> but we cannot predict when and if it will happen. > > I really believe that it happens fairly quickly, isn't it?

Re: [PATCH] pinctrl: samsung: Allow pin value to be initialized using pinfunc.

2013-11-20 Thread Tomasz Figa
On Tuesday 19 of November 2013 10:59:39 Doug Anderson wrote: > On Tue, Nov 19, 2013 at 10:46 AM, Stephen Warren > wrote: > > On 11/19/2013 10:15 AM, Tomasz Figa wrote: > >> This patch extends the range of settings configurable via pinfunc API > >> to cover pin value as well. This allows

Re: [PATCH] clk: keystone: gate: fix error handling on init

2013-11-20 Thread Santosh Shilimkar
On Wednesday 20 November 2013 07:09 AM, Grygorii Strashko wrote: > This patch fixes Keystone gate control clock driver initialization path: > 1) clk_register_psc() returns error code and not a pure pointer, hence > its return value need to be checked using IS_ERR(clk) macro. > > 2) Mapped IO

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: OOPS: Bluetooth: Store RFCOMM address information in its own socket structure

2013-11-20 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/20/2013 2:53 AM, Marcel Holtmann wrote: > fix for this is already in John’s wireless tree. On a side note, > the bisect is correct, but it is not the patch that broke it. It is > just the patch that uncovered it. Great, thanks! -BEGIN PGP

linux-kernel@vger.kernel.org

2013-11-20 Thread

linux-kernel@vger.kernel.org

2013-11-20 Thread

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: input question: ambient light sensor button

2013-11-20 Thread Dmitry Torokhov
On Thu, Nov 14, 2013 at 01:02:31PM +0100, Pali Rohár wrote: > On Wednesday 13 November 2013 17:28:40 Dmitry Torokhov wrote: > > On Wed, Nov 13, 2013 at 11:47:18AM +0100, Jiri Kosina wrote: > > > On Sun, 15 Sep 2013, Pali Rohár wrote: > > > > I do not know where to ask this question, but I think

[PATCH v2 1/1] ASoC: arizona: Set FLL to free-run before disabling

2013-11-20 Thread Richard Fitzgerald
The FLL must be placed into free-run mode before disabling to allow it to entirely shut down. Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/arizona.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c

Re: [PATCH v1.2] gpiolib: append SFI helpers for GPIO API

2013-11-20 Thread Andy Shevchenko
On Tue, 2013-11-19 at 09:32 -0800, David Cohen wrote: > On 11/19/2013 01:27 AM, Alex Courbot wrote: > > On 11/19/2013 06:24 PM, Linus Walleij wrote: > >> On Wed, Jun 5, 2013 at 3:58 PM, Andy Shevchenko > >> wrote: > >> > >>> To support some (legacy) firmwares and platforms let's make life > >>>

[PATCH v2 0/3] sfi, intel_mid: introduce SFI GPIO API and use it

2013-11-20 Thread Andy Shevchenko
Here is a second [1] version of the SFI GPIO API. This series contains SFI GPIO API layer along with the update of intel-mid platform to use it instead of internal copy. It has been tested on Medfield device with linux-next 20131118. [1] https://lkml.org/lkml/2013/6/5/316 Andy Shevchenko (3):

[PATCH v2 1/3] sfi: fix compiler warnings

2013-11-20 Thread Andy Shevchenko
This fixes the following compiler warnings when build is done by make W=1. drivers/sfi/sfi_acpi.c:154:5: warning: no previous prototype for ‘sfi_acpi_table_parse’ [-Wmissing-prototypes] drivers/sfi/sfi_core.c:164:26: warning: no previous prototype for ‘sfi_map_table’ [-Wmissing-prototypes]

[PATCH v2 2/3] gpiolib: append SFI helpers for GPIO API

2013-11-20 Thread Andy Shevchenko
To support some (legacy) firmwares and platforms let's make life easier for their customers. This patch extracts SFI GPIO API from arch/x86/platform/intel-mid/sfi.c and moves it to GPIO descriptor API. Signed-off-by: Andy Shevchenko Cc: Len Brown Cc: Grant Likely Cc: Linus Walleij ---

[PATCH v2 3/3] intel_mid: switch to use SFI GPIO API

2013-11-20 Thread Andy Shevchenko
Instead of custom implementation of the SFI GPIO API let's use one provided by gpiolib. Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/intel-mid.h | 1 - .../intel-mid/device_libs/platform_emc1403.c | 8 ++-- .../intel-mid/device_libs/platform_gpio_keys.c

Re: [PATCH -tip v3 00/23] kprobes: introduce NOKPROBE_SYMBOL() and general cleaning of kprobe blacklist

2013-11-20 Thread Frank Ch. Eigler
masami.hiramatsu.pt wrote: > [...] This series also includes a change which prohibits probing on > the address in .entry.text because the code is used for very > low-level sensitive interrupt/syscall entries. Probing such code may > cause unexpected result (actually most of that area is already

Re: [RFC] Timer: Migrate running timers

2013-11-20 Thread viresh kumar
On Wednesday 20 November 2013 05:12 PM, Thomas Gleixner wrote: > Viresh, > > On Wed, 20 Nov 2013, Viresh Kumar wrote: > >> Migration of timers from idle cores to non-idle ones for power saving is very >> well working and really saves a lot of power for us. What's currently not >> working is the

linux-kernel@vger.kernel.org

2013-11-20 Thread

Re: [PATCH 04/12] KVM: MMU: log dirty page after marking spte writable

2013-11-20 Thread Xiao Guangrong
On Nov 20, 2013, at 8:29 AM, Marcelo Tosatti wrote: > On Wed, Aug 07, 2013 at 12:06:49PM +0800, Xiao Guangrong wrote: >> On 08/07/2013 09:48 AM, Marcelo Tosatti wrote: >>> On Tue, Jul 30, 2013 at 09:02:02PM +0800, Xiao Guangrong wrote: Make sure we can see the writable spte before the dirt

Re: [PATCH RFC] virtio_net: fix error handling for mergeable buffers

2013-11-20 Thread Michael S. Tsirkin
On Wed, Nov 20, 2013 at 08:54:02AM -0500, Jason Wang wrote: > > > - 原始邮件 - > > On Wed, Nov 20, 2013 at 05:07:25PM +0800, Jason Wang wrote: > > > When mergeable buffer were used, we only put the first page buf leave the > > > rest > > > of buffers in the virt queue. This will cause the

[PATCH] clk: propagate parent change up one level

2013-11-20 Thread Tomasz Stanislawski
This patch adds support for propagation of setup of clock's parent one level up. This feature is helpful when a driver changes topology of its clocks using clk_set_parent(). The problem occurs when driver's clock is located at MUX output on one platform/SoC but on the other platform/SoC there is

[PATCH v2 3/5] charger: max14577: Add charger support for Maxim 14577

2013-11-20 Thread Krzysztof Kozlowski
MAX14577 chip is a multi-function device which includes MUIC, charger and voltage regulator. The driver is located in drivers/mfd. This patch supports battery charging control of MAX14577 chip and provides power supply class information to userspace. Signed-off-by: Krzysztof Kozlowski

Re: [PATCH 1/2] gpio: davinci: Fix a check for unbanked gpio

2013-11-20 Thread Sekhar Nori
On Monday 18 November 2013 04:18 PM, Linus Walleij wrote: > On Tue, Nov 12, 2013 at 7:18 AM, Sekhar Nori wrote: >> On Friday 08 November 2013 12:15 PM, Prabhakar Lad wrote: >>> From: "Lad, Prabhakar" >>> >>> This patch fixes a check for offset in gpio_to_irq_unbanked() >>> and also assigns

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