[PATCH v4 4/8] staging: lustre: lclient: lcommon_cl.c fixing coding style issues

2014-06-16 Thread Anil Belur
From: Anil Belur fixed: WARNING: Missing a blank line after declarations Signed-off-by: Anil Belur --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/lustre/lustre/lclient/lcommon_cl.c

[PATCH v4 6/8] staging: lustre: lclient: lcommon_cl.c fixing coding style issues

2014-06-16 Thread Anil Belur
From: Anil Belur fixed: ERROR: inline keyword should sit between storage class and type Signed-off-by: Anil Belur --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/lclient/lcommon_cl.c

[PATCH v4 2/8] staging: lustre: lclient: glimpse.c fixing coding style issues

2014-06-16 Thread Anil Belur
From: Anil Belur fixed "WARNING: labels should not be indented" Signed-off-by: Anil Belur --- drivers/staging/lustre/lustre/lclient/glimpse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/lclient/glimpse.c

Re: [PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-16 Thread Michal Hocko
On Mon 16-06-14 17:24:38, Xishi Qiu wrote: > When system(e.g. smart phone) running for a long time, the cache often takes > a large memory, maybe the free memory is less than 50M, then OOM will happen > if APP allocate a large order pages suddenly and memory reclaim too slowly. Have you ever

Re: [PATCH 6/6] KVM: x86: check DR6/7 high-bits are clear only on long-mode

2014-06-16 Thread Paolo Bonzini
Il 16/06/2014 12:33, Nadav Amit ha scritto: Do you get this if the input register has bit 31 set? No. To be frank, the scenario may be considered a bit synthetic: the guest assigns a value to a general-purpose register in 64-bit mode, setting the high 32-bits to some non-zero value. Then,

[PATCH v2] xenpv: don't BUG when failing to setup NMI callback

2014-06-16 Thread Vitaly Kuznetsov
some old Xen hypervisors (prior to 3.2) forbid DomUs to register NMI callbacks. E.g. we have the following code in xen-3.1: if ( (d->domain_id != 0) || (v->vcpu_id != 0) ) return -EINVAL; Commit 6efa20e49b9cb1db1ab66870cc37323474a75a13 introduced kernel crash in case PV guest fails

[PATCH] mmc: core: Fix DT documentation of eMMC high-speed DDR 1.8/1.2V bindings.

2014-06-16 Thread Peter Griffin
Currently the documentation doesn't match the code in mmc_of_parse. This patch rectifies this. Signed-off-by: Peter Griffin --- Documentation/devicetree/bindings/mmc/mmc.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc.txt

[PATCH 3/3] drivers/staging/bcm/Misc: style: removed void returns

2014-06-16 Thread Robin Schroer
Signed-off-by: Robin Schroer --- drivers/staging/bcm/Misc.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/bcm/Misc.c b/drivers/staging/bcm/Misc.c index a0637eb..a1c833c 100644 --- a/drivers/staging/bcm/Misc.c +++ b/drivers/staging/bcm/Misc.c @@ -21,7 +21,6 @@ static

[PATCH 1/3] drivers/staging/bcm/Misc: style: added blank lines after declarations

2014-06-16 Thread Robin Schroer
Signed-off-by: Robin Schroer --- drivers/staging/bcm/Misc.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/staging/bcm/Misc.c b/drivers/staging/bcm/Misc.c index 7b2fa0f..f2bc699 100644 --- a/drivers/staging/bcm/Misc.c +++ b/drivers/staging/bcm/Misc.c @@ -28,6 +28,7 @@

[PATCH 2/3] drivers/staging/bcm/Misc: style: removed duplicate parentheses

2014-06-16 Thread Robin Schroer
Signed-off-by: Robin Schroer --- drivers/staging/bcm/Misc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/bcm/Misc.c b/drivers/staging/bcm/Misc.c index f2bc699..a0637eb 100644 --- a/drivers/staging/bcm/Misc.c +++ b/drivers/staging/bcm/Misc.c @@ -284,7

Re: [linux-lvm] copying file results in out of memory, kills other processes, makes system unavailable

2014-06-16 Thread Bryn M. Reeves
On Sat, Jun 14, 2014 at 08:13:39PM +0930, David Newall wrote: > I'm running a qemu virtual machine, 2 x i686 with 2GB RAM. VM's disks are > managed via LVM2. Most disk activity is on one LV, formatted as ext4. > Backups are taken using snapshots, and at the time of the problem that I am > about

Re: [Xen-devel] [PATCH v5 3/7] xen: Define EFI related stuff

2014-06-16 Thread David Vrabel
On 13/06/14 18:00, Daniel Kiper wrote: > Define constants and structures which are needed to properly > execute EFI related hypercall in Xen dom0. > > This patch is based on Jan Beulich and Tang Liang work. > > v5 - suggestions/fixes: This version information should be after a '---' marker. >

Re: [PATCH] tell gcc optimizer to never introduce new data races

2014-06-16 Thread Andreas Schwab
Dan Carpenter writes: > Adding "--param allow-store-data-races=0" to the GCC options for the > kernel breaks C=1 because Sparse isn't expecting a GCC option with that > format. Please try --param=allow-store-data-races=0 instead. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key

Re: [Xen-devel] [PATCH v5 2/7] efi: Introduce EFI_NO_DIRECT flag

2014-06-16 Thread David Vrabel
On 13/06/14 18:00, Daniel Kiper wrote: > Introduce EFI_NO_DIRECT flag. EFI_PARAVIRT would be a clearer name I think. > +#define EFI_NO_DIRECT6 /* Can we access EFI directly? > */ #define EFI_PARAVIRT 6 /* Access is via a paravirt interface */ David -- To unsubscribe from

Re: [PATCH RFC - TAKE TWO - 11/12] block, bfq: boost the throughput on NCQ-capable flash-based devices

2014-06-16 Thread Paolo Valente
Il giorno 04/giu/2014, alle ore 15:56, Tejun Heo ha scritto: > Hello, Paolo. Hello, and sorry for the late reply. > […] >> >> Actually we have been asked several times to improve random-I/O >> performance on HDDs over the last years, by people recording, for >> the typical tasks performed by

Re: [PATCH v6 0/7] ARM: berlin: add AHCI support

2014-06-16 Thread Sebastian Hesselbarth
On 06/16/2014 12:26 PM, Antoine Ténart wrote: This series adds the support for Berlin SoC AHCI controller. The controller allows to use the SATA host interface and, for example, the eSATA port on the BG2Q. The series adds a PHY driver to control the two SATA ports available, and adds a generic

Re: your patches to support the touchpad of Haswell ChromeBooks

2014-06-16 Thread Oliver Neukum
On Mon, 2014-06-16 at 11:25 +0300, Mika Westerberg wrote: > On Thu, Jun 12, 2014 at 03:27:01PM +0200, Oliver Neukum wrote: > > I am looking at the patch set you posted for making > > the touchpad of those laptops work. Has anything happened > > regarding i2c so that the patches can go upstream? >

[PATCH] staging: lustre: Fix sparse warnings for undeclared symbols

2014-06-16 Thread Scott Weir
This patch fixes the sparse warnings in drivers/staging/lustre/lustre/ptlrpc/sec_lproc.c: sec_lproc.c:58:6: warning: symbol 'sec_flags2str' was not declared. Should it be static? Signed-off-by: Scott Weir --- drivers/staging/lustre/lustre/ptlrpc/sec_lproc.c | 2 +- 1 file changed, 1

Re: [PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-16 Thread Xishi Qiu
On 2014/6/16 18:04, Zhang Yanfei wrote: > Hi, > > On 06/16/2014 05:24 PM, Xishi Qiu wrote: >> When system(e.g. smart phone) running for a long time, the cache often takes >> a large memory, maybe the free memory is less than 50M, then OOM will happen >> if APP allocate a large order pages

Re: [PATCH v6 6/7] ARM: berlin: add the AHCI node for the BG2Q

2014-06-16 Thread Sebastian Hesselbarth
On 06/16/2014 12:26 PM, Antoine Ténart wrote: The BG2Q has an AHCI SATA controller. Add the corresponding nodes (AHCI, PHY) into its device tree. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q.dtsi | 28 1 file changed, 28 insertions(+) diff --git

[PATCH] lib.c: skip --param parameters

2014-06-16 Thread Andy Shevchenko
Very dumb patch to just skip --param allow-store-data-races=0 introduced in newest Linux kernel buildsystem. Actually the option is present in few GCC versions and probably should be handled properly. Signed-off-by: Andy Shevchenko --- lib.c | 7 +++ 1 file changed, 7 insertions(+) diff

Re: [Resend/PATCH] arm: dts: dra7: Add qspi device.

2014-06-16 Thread Tony Lindgren
* Nishanth Menon [140530 06:19]: > On 05/30/2014 06:34 AM, Sricharan R wrote: > > Hi, > > > > On Tuesday 06 May 2014 10:22 PM, Tony Lindgren wrote: > >> * Sourav Poddar [140506 04:08]: > >>> These add device tree entry for qspi controller driver on dra7-evm. > >> Thanks applying into

Re: [PATCH 6/6] KVM: x86: check DR6/7 high-bits are clear only on long-mode

2014-06-16 Thread Nadav Amit
On 6/16/14, 1:17 PM, Paolo Bonzini wrote: Il 15/06/2014 15:13, Nadav Amit ha scritto: From: Nadav Amit When the guest sets DR6 and DR7, KVM asserts the high 32-bits are clear, and otherwise injects a #GP exception. This exception should only be injected only if running in long-mode.

[PATCH v6 2/7] Documentation: bindings: add the Berlin SATA PHY

2014-06-16 Thread Antoine Ténart
The Berlin SATA PHY drives the PHY related to the SATA interface. Add the corresponding documentation. Signed-off-by: Antoine Ténart --- Documentation/devicetree/bindings/phy/berlin-sata-phy.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644

[PATCH v6 3/7] ata: libahci: allow to use multiple PHYs

2014-06-16 Thread Antoine Ténart
The current implementation of the libahci does not allow to use multiple PHYs. This patch adds the support of multiple PHYs by the libahci while keeping the old bindings valid for device tree compatibility. This introduce a new way of defining SATA ports in the device tree, with one port per

Re: [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Real Name
On Mon, Jun 16, 2014 at 11:15:23AM +0200, Geert Uytterhoeven wrote: > On Mon, Jun 16, 2014 at 10:28 AM, Real Name wrote: > >> > >> Can you please include in the changelog the commit sha1 which made > >> > >> the old init_maps() obsolete? hi, The commit sha1 had been included as required.

Re: [PATCH] tell gcc optimizer to never introduce new data races

2014-06-16 Thread Dan Carpenter
Adding "--param allow-store-data-races=0" to the GCC options for the kernel breaks C=1 because Sparse isn't expecting a GCC option with that format. It thinks allow-store-data-races=0 is the name of the file we are trying to test. Try use Sparse on linux-next to see the problem. $ make C=2

[Patch v7 0/6] add cpuidle support for Exynos5420

2014-06-16 Thread Chander Kashyap
Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 cores. This patchset adds cpuidle support for Exynos5420 SoC based on generic big.little cpuidle driver. Tested on SMDK5420. Rebased on 3.16-rc1 Changelog is in respective patches. Chander Kashyap (5): driver:

[PATCH v6 6/7] ARM: berlin: add the AHCI node for the BG2Q

2014-06-16 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller. Add the corresponding nodes (AHCI, PHY) into its device tree. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q.dtsi

[PATCH v6 0/7] ARM: berlin: add AHCI support

2014-06-16 Thread Antoine Ténart
This series adds the support for Berlin SoC AHCI controller. The controller allows to use the SATA host interface and, for example, the eSATA port on the BG2Q. The series adds a PHY driver to control the two SATA ports available, and adds a generic compatible to use the existing ahci_platform

[PATCH v6 4/7] ata: ahci_platform: add a generic AHCI compatible

2014-06-16 Thread Antoine Ténart
The ahci_platform driver is a generic driver using the libahci_platform functions. Add a generic compatible to avoid having an endless list of compatibles with no differences for the same driver. Signed-off-by: Antoine Ténart --- drivers/ata/ahci_platform.c | 2 ++ 1 file changed, 2

[Patch v7 1/6] driver: cpuidle-big-little: add of_device_id structure

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap This driver will be used by many big.Little Soc's. As of now it does string matching of hardcoded compatible string to init the driver. This comparison list will keep on growing with addition of new SoC's. Hence add of_device_id structure to collect the compatible strings

[PATCH v6 5/7] Documentation: bindings: document the sub-nodes AHCI bindings

2014-06-16 Thread Antoine Ténart
The libahci now allows to use multiple PHYs and to represent each port as a sub-node. Add these bindings to the documentation. Signed-off-by: Antoine Ténart --- .../devicetree/bindings/ata/ahci-platform.txt | 37 ++ 1 file changed, 37 insertions(+) diff --git

[Patch v7 2/6] arm: exynos: add generic function to calculate cpu number

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap The address of cpu power registers in pmu is based on cpu number offsets. This function calculate the same. This is essentially required in case of multi-cluster SoC's e.g Exynos5420. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Reviewed-by: Tomasz Figa

[PATCH v6 7/7] ARM: berlin: enable the eSATA interface on the BG2Q DMP

2014-06-16 Thread Antoine Ténart
The BG2Q has an AHCI SATA controller with an eSATA interface. Enable it. Only enable the first port, the BG2Q DMP does not support the second one. Signed-off-by: Antoine Ténart --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 8 1 file changed, 8 insertions(+) diff --git

[Patch v7 4/6] driver: cpuidle: cpuidle-big-little: init driver for Exynos5420

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap Add "samsung,exynos5420" compatible string to initialize generic big-little cpuidle driver for Exynos5420. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Reviewed-by: Tomasz Figa Acked-by: Daniel Lezcano --- Changes in v5: None Changes in v4: None

[Patch v7 6/6] mcpm: exynos: populate suspend and powered_up callbacks

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap In order to support cpuidle through mcpm, suspend and powered-up callbacks are required in mcpm platform code. Hence populate the same callbacks. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Reviewed-by: Tomasz Figa --- Changes in v6: None Changes in

[Patch v7 3/6] cpuidle: config: Add ARCH_EXYNOS entry to select cpuidle-big-little driver

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap Add support to select generic big-little cpuidle driver for Samsung Exynos series SoC's. This is required for Exynos big-llittle SoC's eg, Exynos5420. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Reviewed-by: Tomasz Figa Acked-by: Daniel Lezcano ---

[Patch v7 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-06-16 Thread Chander Kashyap
From: Chander Kashyap Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver. Hence do not allow exynos cpuidle driver registration for Exynos5420. Signed-off-by: Chander Kashyap Signed-off-by: Chander Kashyap Reviewed-by: Tomasz Figa Acked-by: Daniel Lezcano ---

[PATCH v6 1/7] phy: add a driver for the Berlin SATA PHY

2014-06-16 Thread Antoine Ténart
The Berlin SoC has a two SATA ports. Add a PHY driver to handle them. The mode selection can let us think this PHY can be configured to fit other purposes. But there are reasons to think the SATA mode will be the only one usable: the PHY registers are only accessible indirectly through two

Re: [PATCH 0/6] KVM: x86: More emulator bugs

2014-06-16 Thread Paolo Bonzini
Il 15/06/2014 15:12, Nadav Amit ha scritto: This patch-set resolves several emulator bugs. Each fix is independent of the others. The DR6/7 bug can occur during DR-access exit (regardless to unrestricted mode, MMIO and SPT). Thanks for reviewing the patches, Nadav Nadav Amit (6): KVM: x86:

Re: [PATCH 6/6] KVM: x86: check DR6/7 high-bits are clear only on long-mode

2014-06-16 Thread Paolo Bonzini
Il 15/06/2014 15:13, Nadav Amit ha scritto: From: Nadav Amit When the guest sets DR6 and DR7, KVM asserts the high 32-bits are clear, and otherwise injects a #GP exception. This exception should only be injected only if running in long-mode. Signed-off-by: Nadav Amit --- arch/x86/kvm/x86.c

Re: [PATCH 1/1] arch/x86/kvm/vmx.c: use PAGE_ALIGNED instead of IS_ALIGNED(PAGE_SIZE

2014-06-16 Thread Paolo Bonzini
Il 14/06/2014 23:44, Fabian Frederick ha scritto: use mm.h definition Cc: Gleb Natapov Cc: Paolo Bonzini Signed-off-by: Fabian Frederick --- arch/x86/kvm/vmx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index

Re: [PATCH 1/2] phy: qcom: Add driver for QCOM IPQ806x SATA PHY

2014-06-16 Thread Kishon Vijay Abraham I
Hi, On Friday 13 June 2014 12:48 AM, Kumar Gala wrote: > Add a PHY driver for uses with AHCI based SATA controller driver on the > IPQ806x family of SoCs. > > Signed-off-by: Kumar Gala > --- > drivers/phy/Kconfig | 6 ++ > drivers/phy/Makefile| 1 + >

Re: [PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-16 Thread Zhang Yanfei
Hi, On 06/16/2014 05:24 PM, Xishi Qiu wrote: > When system(e.g. smart phone) running for a long time, the cache often takes > a large memory, maybe the free memory is less than 50M, then OOM will happen > if APP allocate a large order pages suddenly and memory reclaim too slowly. If there is

Re: [PATCH 00/21] add and use devm_irq_of_parse_and_map()

2014-06-16 Thread Andreas Larsson
On 2014-06-16 10:36, Nikita Yushchenko wrote: SPARC does not use OF_IRQ and has a different implementation of irq_of_parse_and_map than the one in drivers/of/irq.c. All code converted from irq_of_parse_and_map to devm_irq_of_parse_and_map in this patch set will be unlinkable for SPARC. This

Re: [PATCH/RFC] Re: recvmmsg() timeout behavior strangeness [RESEND]

2014-06-16 Thread Michael Kerrisk (man-pages)
Hi Arnaldo, Things have gone quiet ;-). What's the current state of this patch? Thanks, Michael On Thu, May 29, 2014 at 4:17 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, May 29, 2014 at 02:06:04PM +, David Laight escreveu: >> From: 'Arnaldo Carvalho de Melo' >> ... >> > > I remember

I2C Slave monitor mode support

2014-06-16 Thread Jagan Teki
Hi, Few of the I2C interfaces are [operated] with slave monitor mode, when there is a requirement for a particular slave may need to wait some time to get the ADDR before sending an ACK. In slave monitor mode, the I2C interface is set up as a master and continues to attempt a transfer to a

Re: PATCH[[vme/bridges/vme_ca91cx42.c:1382: Bad if test Bug Fix]‏‏

2014-06-16 Thread Dan Carpenter
On Mon, Jun 16, 2014 at 10:47:25AM +0100, Martyn Welch wrote: > Nick, > > Sorry for the delay in responding. > > I'm staring at the manual for the ca91c142 and the relevant bits in > the VSIx_CTL registers definitely need to be set to 0 for A16, > likewise with the LM_CTL register. The pattern

Re: [PATCH 20/21] usb: use devm_irq_of_parse_and_map() where appropriate

2014-06-16 Thread Andreas Larsson
On 2014-06-16 11:44, Nikita Yushchenko wrote: diff --git a/drivers/usb/host/ehci-grlib.c b/drivers/usb/host/ehci-grlib.c index 495b6fb..666c03e 100644 --- a/drivers/usb/host/ehci-grlib.c +++ b/drivers/usb/host/ehci-grlib.c @@ -111,11 +111,11 @@ static int ehci_hcd_grlib_probe(struct

Re: [PATCH] Doc: mfd: as3722: Add details of optional missing property

2014-06-16 Thread Lee Jones
CC'ing Linus as he had an opinion. On Mon, 09 Jun 2014, Laxman Dewangan wrote: > Add details of following properties which are used on driver but > not documented on DT binding document. > - ams,enable-internal-int-pullup > - ams,enable-internal-i2c-pullup > > Signed-off-by: Laxman Dewangan >

Re: eventpoll __list_del_entry corruption

2014-06-16 Thread Eric Wong
Sasha Levin wrote: > On 05/15/2014 02:11 PM, Peter Zijlstra wrote: > > On Mon, May 12, 2014 at 11:42:33AM -0400, Sasha Levin wrote: > >> Hi all, > >> > >> While fuzzing with trinity inside a KVM tools guest running the latest > >> -next > >> kernel I've stumbled on the following spew. Maybe

[PATCH v2] clocksource: Add a Kconfig menu

2014-06-16 Thread Jean Delvare
Move the clocksource Kconfig entries into their own menu, so that they don't pollute the main device driver menu. Signed-off-by: Jean Delvare Cc: Daniel Lezcano Cc: Thomas Gleixner --- Patch already sent on 2014-04-24. Changes since v1: * Rebased on kernel 3.16-rc1

[git pull] Please pull powerpc.git merge branch

2014-06-16 Thread Benjamin Herrenschmidt
Hi Linus ! This is a single revert for a patch I should have never merged in the first place had I reviewed things with a clear mind at the time :-( Cheers, Ben. The following changes since commit 7171511eaec5bf23fb06078f59784a3a0626b38f: Linux 3.16-rc1 (2014-06-15 17:45:28 -1000) are

Re: [PATCH 20/21] usb: use devm_irq_of_parse_and_map() where appropriate

2014-06-16 Thread Nikita Yushchenko
>> diff --git a/drivers/usb/host/ehci-grlib.c >> b/drivers/usb/host/ehci-grlib.c >> index 495b6fb..666c03e 100644 >> --- a/drivers/usb/host/ehci-grlib.c >> +++ b/drivers/usb/host/ehci-grlib.c >> @@ -111,11 +111,11 @@ static int ehci_hcd_grlib_probe(struct >> platform_device *op) >>

Re: [PATCH -next 26/26] sound: Use dma_zalloc_coherent

2014-06-16 Thread Takashi Iwai
At Sun, 15 Jun 2014 13:37:55 -0700, Joe Perches wrote: > > Use the zeroing function instead of dma_alloc_coherent & memset(,0,) > > Signed-off-by: Joe Perches Applied, thanks. Takashi > --- > sound/aoa/soundbus/i2sbus/core.c | 12 > sound/sparc/dbri.c | 6 ++

Re: [PATCH 20/21] usb: use devm_irq_of_parse_and_map() where appropriate

2014-06-16 Thread Andreas Larsson
On 2014-06-04 13:13, nyushche...@dev.rtsoft.ru wrote: From: Nikita Yushchenko This avoids leak of IRQ mapping on error paths, and makes it possible to use devm_request_irq() without facing unmap-while-handler-installed issues. Signed-off-by: Nikita Yushchenko ---

[patch] CLK: TI: APLL: not allocating enough data

2014-06-16 Thread Dan Carpenter
There is a cut and paste bug here which will lead to memory corruption because we don't allocate enough data. Fixes: 4d008589e271 ('CLK: TI: APLL: add support for omap2 aplls') Signed-off-by: Dan Carpenter diff --git a/drivers/clk/ti/apll.c b/drivers/clk/ti/apll.c index 5428c9c..18dbaf12 100644

Re: [PATCH] perf: Get kernel start address by symbol name

2014-06-16 Thread Adrian Hunter
On 06/16/2014 11:09 AM, Jiri Olsa wrote: > On Mon, Jun 16, 2014 at 10:06:49AM +0200, Jiri Olsa wrote: >> On Fri, Jun 13, 2014 at 11:45:21AM -0700, Simon Que wrote: >>> The function machine__get_kernel_start_addr() was taking the first symbol >>> of kallsyms as the start address. This is incorrect

Re: [PATCH V2] ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6

2014-06-16 Thread Lee Jones
> This patch fixes two problems: - > > 1) The device tree isn't currently providing sti-ethclk which is > required by the dwmac glue code to correctly configure the ethernet > PHY clock speed. > > This means depending on what the bootloader/jtag has > configured this clock to, and what

Re: [PATCH v2] drbd: change one-bit bitfield to be an unsigned int

2014-06-16 Thread David Rientjes
On Sun, 15 Jun 2014, Martin Kepplinger wrote: > The one-bit bitfield has no negative values and thus becomes an > unsigned int. > > Signed-off-by: Martin Kepplinger I'm unsure what you're correcting here. These bitfields are inherently signed, "int local:1" and "int waiting:1" are signed.

[PATCH 3/8] mm: implement page cache limit feature

2014-06-16 Thread Xishi Qiu
Add hooks when a page is added to page cache. Signed-off-by: Xishi Qiu --- mm/filemap.c |3 +++ mm/hugetlb.c |3 +++ mm/vmscan.c |3 +++ 3 files changed, 9 insertions(+), 0 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 088358c..0e71a04 100644 --- a/mm/filemap.c +++

[PATCH 2/8] mm: add shrink page cache core

2014-06-16 Thread Xishi Qiu
Add a new function shrink_page_cache(), it will call do_try_to_free_pages() to reclaim the page cache. Signed-off-by: Xishi Qiu --- include/linux/swap.h |2 ++ mm/page_alloc.c | 12 mm/vmscan.c | 24 3 files changed, 38 insertions(+),

[PATCH 4/8] mm: introduce cache_reclaim_s

2014-06-16 Thread Xishi Qiu
This patch introduces a parameters cache_reclaim_s. It is used to reclaim page cache in circles. Signed-off-by: Xishi Qiu --- include/linux/swap.h |2 ++ kernel/sysctl.c |8 mm/vmscan.c |4 3 files changed, 14 insertions(+), 0 deletions(-) diff --git

[PATCH 8/8] doc: update Documentation/sysctl/vm.txt

2014-06-16 Thread Xishi Qiu
Update the doc. Signed-off-by: Xishi Qiu --- Documentation/sysctl/vm.txt | 43 +++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/Documentation/sysctl/vm.txt b/Documentation/sysctl/vm.txt index dd9d0e3..8008e53 100644 ---

[PATCH 6/8] mm: introduce cache_reclaim_weight

2014-06-16 Thread Xishi Qiu
This patch introduces a parameters cache_reclaim_weight. It is used to speed up page cache reclaim. Signed-off-by: Xishi Qiu --- include/linux/swap.h |3 +++ kernel/sysctl.c |9 + mm/vmscan.c |6 ++ 3 files changed, 18 insertions(+), 0 deletions(-) diff

[PATCH 7/8] mm: implement page cache reclaim speed

2014-06-16 Thread Xishi Qiu
The parameter vm_cache_reclaim_weight means every time we expect to reclaim SWAP_CLUSTER_MAX * vm_cache_reclaim_weight pages. Signed-off-by: Xishi Qiu --- mm/vmscan.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index d179be6..23b808a

[PATCH 5/8] mm: implement page cache reclaim in circles

2014-06-16 Thread Xishi Qiu
Create a work on each online cpu, and schedule it in circles to reclaim page cache. Signed-off-by: Xishi Qiu --- mm/vmscan.c | 41 + 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/mm/vmscan.c b/mm/vmscan.c index 61cedfc..d7f866e 100644

[PATCH 1/8] mm: introduce cache_limit_ratio and cache_limit_mbytes

2014-06-16 Thread Xishi Qiu
This patch introduces two parameters cache_limit_ratio and cache_limit_mbytes. They are used to limit page cache amount. Signed-off-by: Xishi Qiu --- include/linux/swap.h | 10 ++ kernel/sysctl.c | 18 ++ mm/page_alloc.c | 39

Re: [PATCH] [linux-next] arm64: ftrace: Fix comment typo 'CONFIG_FUNCTION_GRAPH_FP_TEST'

2014-06-16 Thread Catalin Marinas
On Wed, Jun 11, 2014 at 10:44:21AM +0100, Paul Bolle wrote: > diff --git a/arch/arm64/kernel/entry-ftrace.S > b/arch/arm64/kernel/entry-ftrace.S > index b051871f2965..aa5f9fcbf9ee 100644 > --- a/arch/arm64/kernel/entry-ftrace.S > +++ b/arch/arm64/kernel/entry-ftrace.S > @@ -205,7 +205,7 @@

[PATCH 0/8] mm: add page cache limit and reclaim feature

2014-06-16 Thread Xishi Qiu
When system(e.g. smart phone) running for a long time, the cache often takes a large memory, maybe the free memory is less than 50M, then OOM will happen if APP allocate a large order pages suddenly and memory reclaim too slowly. Use "echo 3 > /proc/sys/vm/drop_caches" will drop the whole cache,

Re: [PATCH -next 13/26] ath: Use dma_zalloc_coherent

2014-06-16 Thread Kalle Valo
Joe Perches writes: > Use the zeroing function instead of dma_alloc_coherent & memset(,0,) > > Signed-off-by: Joe Perches For ath10k: Acked-by: Kalle Valo -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH V2] ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6

2014-06-16 Thread Peter Griffin
This patch fixes two problems: - 1) The device tree isn't currently providing sti-ethclk which is required by the dwmac glue code to correctly configure the ethernet PHY clock speed. This means depending on what the bootloader/jtag has configured this clock to, and what switch/hub the board is

Re: [RESEND PATCH 1/2] ARM: AM43xx: hwmod: add DSS hwmod data

2014-06-16 Thread Tony Lindgren
* Felipe Balbi [140613 09:17]: > From: Sathya Prakash M R > > Add DSS hwmod data for AM43xx. > > Cc: Andrew Morton > Acked-by: Rajendra Nayak > Signed-off-by: Sathya Prakash M R > Signed-off-by: Tomi Valkeinen > Signed-off-by: Felipe Balbi > --- > > Note that this patch was originally

Re: [PATCH] ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6

2014-06-16 Thread Peter Griffin
Hi Lee, > > ethernet1: dwmac@fef08000 { > > @@ -189,11 +189,11 @@ > > st,syscon = <_sbc>; > > > > resets = < > > STIH415_ETH1_SOFTRESET>; > > - reset-names = "stmmaceth"; > > +

[PATCH] x86-32: do not populate physnode_map for nodes without NODE_DATA

2014-06-16 Thread Vlastimil Babka
BUG: unable to handle kernel paging request at 10bc IP: [] compaction_alloc+0xa9/0x1b0 *pdpt = 3651e001 *pde = Oops: [#1] PREEMPT SMP Modules linked in: cfi_drv(O) reiserfs ses enclosure usb_storage fuse binfmt_misc nfsv3 nfs_acl nfsv4 nfs fscache lockd

Re: Regression: make O=... deb-pkg broken in 3.16

2014-06-16 Thread Michal Marek
On 2014-06-15 12:51, Ilya Dryomov wrote: > Hi Michal, > > Your relative path changes in the first kbuild pull request for 3.16 > broke make O=... deb-pkg. > > /home/ubuntu/foo/linux-a/scripts/package/builddeb: line 291: > ./debian/hdrsrcfiles: No such file or directory > > 290 # Build header

[patch] sched: Fix clock_gettime(CLOCK_[PROCESS/THREAD]_CPUTIME_ID) monotonicity

2014-06-16 Thread Mike Galbraith
(disregard patch of same name from that enterprise weenie;) If a task has been dequeued, it has been accounted. Do not project cycles that may or may not ever be accounted to a dequeued task, as that may make clock_gettime() both inaccurate and non-monotonic. Protect update_rq_clock() from

Re: [PATCH v2] delete unnecessary bootmem struct page array

2014-06-16 Thread Geert Uytterhoeven
On Mon, Jun 16, 2014 at 10:28 AM, Real Name wrote: >> > >> Can you please include in the changelog the commit sha1 which made the >> > >> old init_maps() obsolete? > > I think we need find out which commit deleted the line "mem_map = map;" in > init_maps function.

Re: [PATCH] mfd: syscon: Use module_platform_driver()

2014-06-16 Thread Lee Jones
On Mon, 09 Jun 2014, Kefeng Wang wrote: > Convert to module_platform_drive() to eliminate boilerplate code. > > Signed-off-by: Kefeng Wang > --- > drivers/mfd/syscon.c | 12 +--- > 1 files changed, 1 insertions(+), 11 deletions(-) > > diff --git a/drivers/mfd/syscon.c

[patch] sched: Fix clock_gettime(CLOCK_[PROCESS/THREAD]_CPUTIME_ID) monotonicity

2014-06-16 Thread Mike Galbraith
If a task has been dequeued, it has been accounted. Do not project cycles that may or may not ever be accounted to a dequeued task, as that may make clock_gettime() both inaccurate and non-monotonic. Protect update_rq_clock() from slight TSC skew while at it. Signed-off-by: Mike Galbraith

Re: [PATCH] tools lib traceevent: Clean up format of args in jbd2 plugin

2014-06-16 Thread Jiri Olsa
On Thu, Jun 12, 2014 at 08:41:44PM -0400, Steven Rostedt wrote: > While synchronizing what's in trace-cmd vs what's in perf, I came > across a change that was made when entering the jbd2 plugin into > the tools/lib/traceevent directory. For example, one of the function > prototypes went from: > >

Re: [PATCH] tools lib traceevent: Clean up format of args in cfg80211 plugin

2014-06-16 Thread Jiri Olsa
On Thu, Jun 12, 2014 at 07:44:20PM -0400, Steven Rostedt wrote: > While synchronizing what's in trace-cmd vs what's in perf, I came > across a change that was made when entering the cfg80211 plugin into > the tools/lib/traceevent directory. The function prototype went from: > > static unsigned

Re: [PATCH v3 -next 0/9] CMA: generalize CMA reserved area management code

2014-06-16 Thread Marek Szyprowski
Hello, On 2014-06-16 07:40, Joonsoo Kim wrote: Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the KVM on powerpc. They have their own code to manage CMA reserved area even if they looks really similar. >From my guess, it is caused by some needs on

Re: [PATCH] ASoC: wm8985: Remove unused pointer in wm8985_remove()

2014-06-16 Thread Charles Keepax
On Fri, Jun 13, 2014 at 07:19:28PM +0200, Christian Engelmayer wrote: > Commit a0b148b4 (ASoC: wm8985: Use devm_regulator_bulk_get()) removed the last > user of pointer wm8985 to struct wm8985_priv. Thus remove it. Detected by > Coverity CID 1222150. > > Signed-off-by: Christian Engelmayer > ---

[PATCH 2/2] fs/seq_file: fallback to vmalloc allocation

2014-06-16 Thread Heiko Carstens
There are a couple of seq_files which use the single_open() interface. This interface requires that the whole output must fit into a single buffer. E.g. for /proc/stat allocation failures have been observed because an order-4 memory allocation failed due to memory fragmentation. In such

Re: [PATCH] staging: rtl8712: rtl871x_ioctl_linux.c: Cleaning up useless if statement

2014-06-16 Thread Dan Carpenter
On Sun, Jun 15, 2014 at 07:20:57PM +0200, Rickard Strandqvist wrote: > The same code regardless of the outcome of the if statement. This may of > course be a miss and there should be a difference in the code. > And clean up another duplicate line of code. > > This was partly found using a static

Re: [PATCH 2/2] mmc: rtsx: add support for async request

2014-06-16 Thread micky
On 06/16/2014 04:42 PM, Ulf Hansson wrote: @@ -36,7 +37,10 @@ struct realtek_pci_sdmmc { > struct rtsx_pcr *pcr; > struct mmc_host *mmc; > struct mmc_request *mrq; >+ struct workqueue_struct *workq; >+#define SDMMC_WORKQ_NAME

[PATCH 1/2] proc/stat: convert to single_open_size()

2014-06-16 Thread Heiko Carstens
Use seq_file's single_open_size() to preallocate a buffer that is large enough to hold the whole output, instead of open coding it. Also calculate the requested size using the number of online cpus instead of possible cpus, since the size of the output only depends on the number of online cpus.

[PATCH 0/2] /proc/stat vs. failed order-4 allocation

2014-06-16 Thread Heiko Carstens
These two patches are supposed to "fix" failed order-4 memory allocations which have been observed when reading /proc/stat. The problem has been observed on s390 as well as on x86. To address the problem change the seq_file memory allocations to fallback to use vmalloc, so that allocations also

Re: [PATCH] ARM: STi: DT: Properly define sti-ethclk & stmmaceth for stih415/6

2014-06-16 Thread Lee Jones
> This patch fixes two problems: - > > 1) The device tree isn't currently providing sti-ethclk which is > required by the dwmac glue code to correctly configure the ethernet > PHY clock speed. > > This means depending on what the bootloader/jtag has > configured this clock to, and what

Re: [PATCH v2 04/11] sched: Allow all archs to set the power_orig

2014-06-16 Thread Vincent Guittot
On 5 June 2014 10:59, Dietmar Eggemann wrote: > [...] >>> Firstly, we need to scale cpu power in update_cpu_power() regarding >>> uArch, frequency and rt/irq pressure. >>> Here the freq related value we get back from arch_scale_freq_power(..., >>> cpu) could be an instantaneous value

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread Jiri Pirko
Mon, Jun 16, 2014 at 10:44:30AM CEST, da...@davemloft.net wrote: >From: Michal Privoznik >Date: Mon, 16 Jun 2014 10:30:27 +0200 > >> On 16.06.2014 10:11, David Miller wrote: >>> From: Michal Privoznik >>> Date: Mon, 16 Jun 2014 09:32:35 +0200 >>> On 13.06.2014 22:03, David Miller wrote:

Re: [PATCH] net-sysfs: Report link speed only when possible

2014-06-16 Thread Michal Privoznik
On 16.06.2014 10:44, David Miller wrote: From: Michal Privoznik Date: Mon, 16 Jun 2014 10:30:27 +0200 On 16.06.2014 10:11, David Miller wrote: From: Michal Privoznik Date: Mon, 16 Jun 2014 09:32:35 +0200 On 13.06.2014 22:03, David Miller wrote: From: Michal Privoznik Date: Fri, 13 Jun

Re: [PATCH 3/5] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-16 Thread Javier Martinez Canillas
Hello Lee, On 06/16/2014 10:44 AM, Lee Jones wrote: >> The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with >> Low Jitter Mode. This patch adds support for these two clocks. >> >> Signed-off-by: Javier Martinez Canillas >> --- >> .../devicetree/bindings/clock/maxim,max77802.txt |

Re: [Linux-zigbee-devel] [PATCH net-next 1/3] ieee802154: cc2520: driver for TI cc2520 radio

2014-06-16 Thread Varka Bhadram
Hi Alex, Thanks for the comments. I will create a patch for the required changes with Reported-by Alexander Aring <...> reply if this is okay for you. On 06/16/2014 01:08 PM, Alexander Aring wrote: Hi Varka, On Mon, Jun 16, 2014 at 10:21:56AM +0530, Varka Bhadram wrote: Maybe some more

Re: [PATCH 1/3] clocksource: exynos_mct: Fix ftrace

2014-06-16 Thread Daniel Lezcano
On 06/16/2014 06:40 AM, Doug Anderson wrote: Daniel, On Sun, Jun 15, 2014 at 2:18 PM, Daniel Lezcano wrote: On 06/04/2014 07:30 PM, Doug Anderson wrote: In (93bfb76 clocksource: exynos_mct: register sched_clock callback) we supported using the MCT as a scheduler clock. We properly marked

Re: [PATCH 2/2] mmc: rtsx: add support for async request

2014-06-16 Thread Arend van Spriel
On 16-06-14 10:42, Ulf Hansson wrote: On 6 June 2014 09:05, wrote: From: Micky Ching Add support for non-blocking request, pre_req() runs dma_map_sg() and post_req() runs dma_unmap_sg(). This patch can increase card read/write speed, especially for high speed card and slow speed CPU.

Re: [PATCH 00/21] add and use devm_irq_of_parse_and_map()

2014-06-16 Thread Andreas Larsson
On 2014-06-12 21:02, Nikita Yushchenko wrote: Currently many device tree aware drivers use irq_of_parse_and_map() to get IRQ number and then devm_request_irq() to set up IRQ handler. This causes a problem for exit path and for error paths: undo action for irq_of_parse_and_map() is

Re: [PATCH 3/5] clk: Add driver for Maxim 77802 PMIC clocks

2014-06-16 Thread Lee Jones
> The MAX77802 PMIC has two 32.768kHz Buffered Clock Outputs with > Low Jitter Mode. This patch adds support for these two clocks. > > Signed-off-by: Javier Martinez Canillas > --- > .../devicetree/bindings/clock/maxim,max77802.txt | 40 > drivers/clk/Kconfig

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