[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 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 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

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 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

[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

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.

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

[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: [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] 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: 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? >

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: [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: [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] 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 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: [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

[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

[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] 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 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

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,

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

[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

[PATCH v4] staging: lustre: lclient: fixing coding style issues

2014-06-16 Thread Anil Belur
Resending patches as per changes recommend by "oleg.dro...@intel.com" for 1/8 and 7/8. PATCH 1/8: Now have removed the '+' to make the code more straight forward. The patch v3 7/7 is now split into two separate patches as both are related diff warning or error. -- To unsubscribe from this list:

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

2014-06-16 Thread Anil Belur
From: Anil Belur Fixed "ERROR: need consistent spacing around '+' (ctx:WxV)" 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

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

2014-06-16 Thread Anil Belur
From: Anil Belur fixed warning: * WARNING: min() should probably be min_t(__u32, desc.ld_tgt_count, LOV_MAX_STRIPE_COUNT) Signed-off-by: Anil Belur --- drivers/staging/lustre/lustre/lclient/lcommon_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[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 8/8] staging: lustre: lclient: lcommon_cl.c fixing coding style issues

2014-06-16 Thread Anil Belur
From: Anil Belur fixed: WARNING: suspect code indent for conditional statements (32, 32) 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 7/8] staging: lustre: lclient: lcommon_cl.c fixing coding style issues

2014-06-16 Thread Anil Belur
From: Anil Belur fixed: WARNING: line over 80 characters, used a new variable 'check' to store the offset. Replace "unsigned long" with "u64" type fir 'cur_index' Signed-off-by: Anil Belur --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 5 +++-- 1 file changed, 3 insertions(+), 2

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

2014-06-16 Thread Jiri Kosina
On Mon, 16 Jun 2014, Andreas Schwab wrote: > > 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. How reliable is this format across

Re: [PATCH 3/3] ARM: dts: Enable audio support for Peach-pi board

2014-06-16 Thread Tushar Behera
On 06/13/2014 10:33 PM, Doug Anderson wrote: > Tushar, > > On Tue, Jun 10, 2014 at 10:32 PM, Tushar Behera wrote: >> Peach-pi board has MAX98090 audio codec connected on HSI2C-7 bus. > > If you want to be a stickler about it, peach-pi actually has a > max98091. That requires code changes to

Re: [Patch v5.1 03/03]: hwrng: khwrngd derating per device

2014-06-16 Thread Theodore Ts'o
On Mon, Jun 16, 2014 at 09:31:08AM +0200, Torsten Duwe wrote: > > 2) Fixed a bug in patch #2 so that it would work correctly if the rng > > driver doesn't have an init function (which happens to be the case for > > the tpm-rng driver, which I used for my testing). > > The whole thing stems from

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

2014-06-16 Thread Anil Belur
From: Anil Belur fixed: ERROR: do not initialise statics to 0 or NULL 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

Re: [PATCH 2/2] ARM: dts: berlin: enable i2c0 and i2c2

2014-06-16 Thread Sebastian Hesselbarth
On 06/03/2014 09:33 AM, Antoine Ténart wrote: Enable the I2C0 and I2C2 for the Marvell Berlin BG2G DMP. I2C1 and I2C3 are also working on this board, but no devices seemed to be there. Signed-off-by: Antoine Ténart Applied to berlin/dt with Andrew's Reviewed-by. Thanks! ---

Re: [PATCH 1/2] ARM: dts: berlin: add I2C nodes for BG2Q

2014-06-16 Thread Sebastian Hesselbarth
On 06/03/2014 09:33 AM, Antoine Ténart wrote: The Marvell Berlin BG2Q has 4 TWSI compatible with the Synopsys DesignWare I2C driver. Add the corresponding nodes. The pin-muxing setup is also done here, since there cannot be another muxing setup if I2C{0,1,2,3} are enabled. Signed-off-by:

Re: [PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Jean-Jacques Hiblot
2014-06-15 16:48 GMT+02:00 Boris BREZILLON : > > > Hello JJ, > > On 15/06/2014 10:53, Jean-Jacques Hiblot wrote: > > On 06/09/2014 06:04 PM, Boris BREZILLON wrote: > >> The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 > >> family or sama5d3 family) exposes 2 subdevices: > >>

Re: [PATCH RFC - TAKE TWO - 10/12] block, bfq: add Early Queue Merge (EQM)

2014-06-16 Thread Paolo Valente
Hi, Il giorno 04/giu/2014, alle ore 15:04, Tejun Heo ha scritto: > Hello, > >> […] >> The problem is not the duration of the plugging, but the fact that, if a >> request merge >> succeeds for a bio, then there will be no set_request invocation for that >> bio. >> Therefore, without early

[PATCH V3 00/16] irqchip: crossbar: driver fixes

2014-06-16 Thread Sricharan R
This series does some cleanups, fixes for handling two interrupts getting mapped twice to same crossbar and provides support for hardwired IRQ and crossbar definitions. On certain platforms such as DRA7, SPIs 0, 1, 2, 3, 5, 6, 10, 131, 132, 133 are direct wired to hardware blocks bypassing

Re: [PATCH] ARM: dts: berlin2q.dtsi: set L2CC tag and data latency as 2 cycles

2014-06-16 Thread Sebastian Hesselbarth
On 06/12/2014 11:38 AM, Jisheng Zhang wrote: For all BG2Q SoCs, 2 cycles is the best/correct value Signed-off-by: Jisheng Zhang Applied to berlin/dt with following fixed patch title: "ARM: dts: berlin2q: set L2CC tag and data latency to 2 cycles" Thanks! ---

[PATCH V3 08/16] irqchip: crossbar: fix kerneldoc warning

2014-06-16 Thread Sricharan R
From: Nishanth Menon Adding missing properties for kerneldoc (@write) and cleanup of harmless warnings while we are here. kerneldoc warnings: Warning(drivers/irqchip/irq-crossbar.c:27): missing initial short description on line: * struct crossbar_device: crossbar device description

[PATCH V3 02/16] irqchip: crossbar: check for premapped crossbar before allocating

2014-06-16 Thread Sricharan R
From: Nishanth Menon If irq_of_parse_and_map is executed twice, the same crossbar is mapped to two different GIC interrupts. This is completely undesirable. Instead, check if the requested crossbar event is pre-allocated and provide that GIC mapping back to caller if already allocated.

[PATCH V3 06/16] irqchip: crossbar: remove IS_ERR_VALUE check

2014-06-16 Thread Sricharan R
From: Nishanth Menon IS_ERR_VALUE makes sense only *if* there could be valid values in negative error range. But in the cases that we do use it, there is no such case. Just remove the same. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R --- drivers/irqchip/irq-crossbar.c |6

[PATCH V3 09/16] irqchip: crossbar: return proper error value

2014-06-16 Thread Sricharan R
From: Nishanth Menon crossbar_of_init always returns -ENOMEM in case of errors. There can be other causes of failure like invalid data from DT. So return a appropriate error value for that case. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R --- [V3] Changed commit log

Re: [PATCH 2/3] ARM: dts: Update the parent for Audss clocks in Exynos5420

2014-06-16 Thread Tushar Behera
On 06/11/2014 09:28 PM, Javier Martinez Canillas wrote: > On Wed, Jun 11, 2014 at 7:32 AM, Tushar Behera wrote: >> Currently CLK_FOUT_EPLL was set as one of the parents of AUDSS mux. >> As per the user manual, it should be CLK_MAU_EPLL. >> >> The problem surfaced when the bootloader in Peach-pit

[PATCH V3 14/16] irqchip: crossbar: introduce centralized check for crossbar write

2014-06-16 Thread Sricharan R
From: Nishanth Menon This is a basic check to ensure that crossbar register needs to be written. This ensures that we have a common check which is used in both map and unmap logic. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R --- drivers/irqchip/irq-crossbar.c | 14

[PATCH V3 12/16] irqchip: crossbar: add kerneldoc for crossbar_domain_unmap callback

2014-06-16 Thread Sricharan R
Adding kerneldoc for unmap callback function. Signed-off-by: Sricharan R --- [V3] Reworded the kerneldoc drivers/irqchip/irq-crossbar.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/irqchip/irq-crossbar.c b/drivers/irqchip/irq-crossbar.c index 9b4c0f1..df16ef8

[PATCH V3 16/16] irqchip: crossbar: allow for quirky hardware with direct hardwiring of GIC

2014-06-16 Thread Sricharan R
From: Nishanth Menon On certain platforms such as DRA7, SPIs 0, 1, 2, 3, 5, 6, 10, 131, 132, 133 are direct wired to hardware blocks bypassing crossbar. This quirky implementation is *NOT* supposed to be the expectation of crossbar hardware usage. However, these are already marked in our

[PATCH V3 15/16] documentation: dt: omap: crossbar: add description for interrupt consumer

2014-06-16 Thread Sricharan R
From: Nishanth Menon The current crossbar description does not include the description required for the consumer of the crossbar, a.k.a devices whoes events pass through the crossbar into the GIC interrupt controller. So, provide documentation for the same. Signed-off-by: Nishanth Menon

[PATCH V3 11/16] irqchip: crossbar: set cb pointer to null in case of error

2014-06-16 Thread Sricharan R
If crossbar_of_init returns with a error, then set the cb pointer to null. Signed-off-by: Sricharan R --- drivers/irqchip/irq-crossbar.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/irqchip/irq-crossbar.c b/drivers/irqchip/irq-crossbar.c index 5bd7f3d..9b4c0f1 100644 ---

[PATCH V3 13/16] irqchip: crossbar: introduce ti,max-crossbar-sources to identify valid crossbar mapping

2014-06-16 Thread Sricharan R
From: Nishanth Menon Currently we attempt to map any crossbar value to an IRQ, however, this is not correct from hardware perspective. There is a max crossbar event number upto which hardware supports. So describe the same in device tree using 'ti,max-crossbar-sources' property and use it to

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

2014-06-16 Thread Maxime Coquelin
Hi Peter, On 06/16/2014 11:23 AM, Peter Griffin wrote: 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

[PATCH V3 10/16] irqchip: crossbar: change the goto naming

2014-06-16 Thread Sricharan R
From: Nishanth Menon Using err1,2,3,4 etc makes it hard to ensure a new exit path in the middle will not result in spurious changes, so rename the error paths as per the function it does. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R --- drivers/irqchip/irq-crossbar.c | 23

[PATCH V3 05/16] irqchip: crossbar: change allocation logic by reversing search for free irqs

2014-06-16 Thread Sricharan R
From: Nishanth Menon Reverse the search algorithm to ensure that address mapping and IRQ allocation logics are proper. This makes the below bugs visible sooner. class 1. address space errors -> example: reg = ti,max-irqs = is a wrong parameter class 2: irq-reserved list - which decides which

[PATCH V3 07/16] irqchip: crossbar: fix sparse and checkpatch warnings

2014-06-16 Thread Sricharan R
From: Nishanth Menon There is absolutely no need for crossbar driver to expose functions and variables into global namespace. So make them all static Also fix a couple of checkpatch warnings. Fixes sparse warnings: drivers/irqchip/irq-crossbar.c:129:29: warning: symbol

[PATCH V3 03/16] irqchip: crossbar: introduce ti,irqs-skip to skip

2014-06-16 Thread Sricharan R
From: Nishanth Menon When, in the system due to varied reasons, interrupts might be unusable due to hardware behavior, but register maps do exist, then those interrupts should be skipped while mapping irq to crossbars. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R --- [V3]

[PATCH V3 04/16] irqchip: crossbar: initialise the crossbar with a safe value

2014-06-16 Thread Sricharan R
From: Nishanth Menon Since crossbar is s/w configurable, the initial settings of the crossbar cannot be assumed to be sane. This implies that: a) On initialization all un-reserved crossbars must be initialized to a known 'safe' value. b) When unmapping the interrupt, the safe value must be

[PATCH V3 01/16] irqchip: crossbar: dont use '0' to mark reserved interrupts

2014-06-16 Thread Sricharan R
From: Nishanth Menon Today '0' is actually reserved, but may not be the same in the future. So, use a flag to mark the GIC interrupts that are reserved. Signed-off-by: Nishanth Menon Signed-off-by: Sricharan R --- drivers/irqchip/irq-crossbar.c |5 +++-- 1 file changed, 3 insertions(+),

Re: [PATCH v3 1/2] Rename hid-lenovo-tpkbd to hid-lenovo, so we can add other keyboards

2014-06-16 Thread Jiri Kosina
On Sun, 15 Jun 2014, Jamie Lentin wrote: > Signed-off-by: Jamie Lentin > --- > drivers/hid/Kconfig | 14 +- > drivers/hid/Makefile | 2 +- > drivers/hid/hid-core.c | 2 +- > drivers/hid/{hid-lenovo-tpkbd.c

Re: [PATCH v1a 2/2] KEYS: validate certificate trust only with builtin keys

2014-06-16 Thread Mimi Zohar
On Thu, 2014-06-12 at 23:17 +0300, Dmitry Kasatkin wrote: > Instead of allowing public keys, with certificates signed by any > key on the system trusted keyring, to be added to a trusted keyring, > this patch further restricts the certificates to those signed only by > builtin keys on the system

Re: [PATCH v5 7/7] arch/x86: Comment out efi_set_rtc_mmss()

2014-06-16 Thread Stefano Stabellini
On Fri, 13 Jun 2014, Daniel Kiper wrote: > efi_set_rtc_mmss() is never used to set RTC due to bugs found > on many EFI platforms. It is set directly by mach_set_rtc_mmss(). > > Signed-off-by: Daniel Kiper > --- > arch/x86/platform/efi/efi.c |6 ++ > 1 file changed, 6 insertions(+) > >

Re: [PATCH v1a 1/2] KEYS: validate certificate trust only with selected owner key

2014-06-16 Thread Mimi Zohar
On Thu, 2014-06-12 at 23:17 +0300, Dmitry Kasatkin wrote: > Instead of allowing public keys, with certificates signed by any > key on the system trusted keyring, to be added to a trusted keyring, > this patch further restricts the certificates to those signed by a > particular key on the system

[PATCH] spin_lock_*(): Always evaluate second argument

2014-06-16 Thread Bart Van Assche
Evaluating a macro argument only if certain configuration options have been selected is confusing and error-prone. Hence always evaluate the second argument of spin_lock_nested() and spin_lock_nest_lock(). This patch has the intentional side effect that it avoids that the following warning is

Re: [PATCH v2] ARM: spear: Remove references to PLAT_SPEAR_SINGLE

2014-06-16 Thread Paul Bolle
gt; > > config ARCH_SPEAR6XX > > bool "ST SPEAr6XX" > > - depends on ARCH_MULTI_V5 || PLAT_SPEAR_SINGLE > > + depends on ARCH_MULTI_V5 > > depends on !ARCH_SPEAR13XX > > select ARM_VIC > > help > > @@ -85,7 +84,7 @@ c

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, 2:09 PM, Paolo Bonzini wrote: 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

[PATCH RESEND] mfd: Fix cs5535 dependencies

2014-06-16 Thread Jean Delvare
As far as I know, the CS5535 and CS5536 chipsets are companions of the Geode series of processors, which are 32-bit only. So the CS5535 drivers are not needed on x86-64, except for build testing purpose. This aligns the dependencies to what FB_GEODE already uses. Signed-off-by: Jean Delvare Cc:

Re: [Xen-devel] [PATCH v5 7/7] arch/x86: Comment out efi_set_rtc_mmss()

2014-06-16 Thread Juergen Gross
On 06/16/2014 01:43 PM, Stefano Stabellini wrote: On Fri, 13 Jun 2014, Daniel Kiper wrote: efi_set_rtc_mmss() is never used to set RTC due to bugs found on many EFI platforms. It is set directly by mach_set_rtc_mmss(). Signed-off-by: Daniel Kiper --- arch/x86/platform/efi/efi.c |6

Re: [PATCH v2] Documentation: Rename hpfall.c => freefall.c, fixes for Dell

2014-06-16 Thread Pali Rohár
On Saturday 14 June 2014 10:53:29 Pavel Machek wrote: > On Wed 2014-06-11 10:02:07, Pali Roh?r wrote: > > Dell kernel driver dell-smo8800 provides same freefall > > interface as hp_accel so program hpfall.c works also on > > Dell laptops. So rename it to freefall.c. > > > > Dell driver does not

[PATCH RESEND] mfd: timberdale: Depend on X86_32

2014-06-16 Thread Jean Delvare
As far as I know the Timberdale chip was only used as a companion for Intel Atom E600 series processors. As such, its drivers are only useful on X86_32. Signed-off-by: Jean Delvare Cc: Samuel Ortiz Cc: Lee Jones --- Patch already sent on: 2014-04-03 drivers/mfd/Kconfig |2 +- 1 file

Re: [PATCH v5 4/7] xen: Put EFI machinery in place

2014-06-16 Thread Stefano Stabellini
On Fri, 13 Jun 2014, Daniel Kiper wrote: > This patch enables EFI usage under Xen dom0. Standard EFI Linux > Kernel infrastructure cannot be used because it requires direct > access to EFI data and code. However, in dom0 case it is not possible > because above mentioned EFI stuff is fully owned

Re: [PATCH v5 4/7] xen: Put EFI machinery in place

2014-06-16 Thread David Vrabel
On 13/06/14 18:00, Daniel Kiper wrote: > > v5 - suggestions/fixes: Put after a --- marker. > +static efi_char16_t vendor[100] __initdata; Why 100? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] ARM: dts: am43x-epos-evm: Add Missing cpsw-phy-sel for am43x-epos-evm

2014-06-16 Thread Tony Lindgren
* Nishanth Menon [140606 08:30]: > On 06/06/2014 04:52 AM, George Cherian wrote: > > On 6/6/2014 12:23 PM, Nishanth Menon wrote: > >> On 06/06/2014 01:17 AM, George Cherian wrote: > >>> AM437x EPOS evm use external clock for RMII interface. > >>> Enable the same in DT. > >>> > >>> Signed-off-by:

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

2014-06-16 Thread Martyn Welch
On 16/06/14 10:56, Dan Carpenter wrote: 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

[PATCH tty-next 2/2] tty: Correct INPCK handling

2014-06-16 Thread Peter Hurley
If INPCK is not set, input parity detection should be disabled. This means parity errors should not be received from the tty driver, and the data received should be treated normally. SUS v3, 11.2.2, General Terminal Interface - Input Modes, states: "If INPCK is set, input parity checking shall

[PATCH tty-next 1/2] serial: Fix IGNBRK handling

2014-06-16 Thread Peter Hurley
If IGNBRK is set without either BRKINT or PARMRK set, some uart drivers send a 0x00 byte for BREAK without the TTYBREAK flag to the line discipline, when it should send either nothing or the TTYBREAK flag set. This happens because the read_status_mask masks out the BI condition, which

[PATCH V3 1/2] arm: dts: dra7: add routable-irqs property for gic node

2014-06-16 Thread Sricharan R
From: R Sricharan There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The gic provides the support for such IPs in the form of routable-irqs. So adding the property here to gic node. Signed-off-by: Sricharan R

[PATCH V3 2/2] arm: dts: dra7: add crossbar device binding

2014-06-16 Thread Sricharan R
From: R Sricharan There is a IRQ crossbar device in the soc, which maps the irq requests from the peripherals to the mpu interrupt controller's inputs. The Peripheral irq requests are connected to only one crossbar input and the output of the crossbar is connected to only one controller's input

[PATCH V3 0/2] arm: dts: dra7: add crossbar dt support

2014-06-16 Thread Sricharan R
This series introduces DT support for crossbar device and changes dra7 peripherals to use crossbar number instead of irq. This depends on below driver fixes and cleanup series. https://lkml.org/lkml/2014/6/16/218 [V2] Rebased on 3.15 mainline. [V3] Added ti,irqs-skip property and

[PATCH v2] mmc: Add hardware dependencies for sdhci-pxav3 and sdhci-pxav2

2014-06-16 Thread Jean Delvare
I seem to understand that the sdhci-pxav3 and sdhci-pxav2 drivers are only needed on the MMP architecture. So add a hardware dependency on ARCH_MMP, so that other users don't get to build useless drivers. Signed-off-by: Jean Delvare Cc: Chris Ball Cc: Ulf Hansson Cc: Eric Miao Cc: Haojian

Re: [RFC 1/2] backlight: add new tps611xx backlight driver

2014-06-16 Thread Jingoo Han
On Monday, June 16, 2014 11:17 AM, Daniel Jeong wrote: > > This driver a general version for tps611xx backlgiht chips of TI. > It supports tps61158, tps61161, tps61163 and tps61165 backlight driver > based on EasyScale protocol. "EasyScale" protocol is a TI-specific protocol. How about adding

Re: [PATCH 1/2] mfd: rtsx: add dma transfer function

2014-06-16 Thread Lee Jones
> From: Micky Ching > > rtsx driver using a single function for transfer data, dma map/unmap are > placed in one fix function. We need map/unmap dma in different place(for > mmc async driver), so add three function for dma map, dma transfer and > dma unmap. > > Signed-off-by: Micky Ching > ---

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

2014-06-16 Thread Martyn Welch
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 (3<<16) would enable one of the "reserved" address spaces. Martyn On

Re: [PATCH] [media] sms: Remove CONFIG_ prefix from Kconfig symbols

2014-06-16 Thread Paul Bolle
y > > By the way, I found myself staring at the entries in this file for quite > some time. Perhaps things would have been easier to understand if > SMS_USB_DRV and SMS_SDIO_DRV both selected SMS_SIANO_MDTV. But I didn't > dare to test that idea. This can still be seen in v3.16-rc1

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

2014-06-16 Thread Ulf Hansson
On 16 June 2014 11:09, micky wrote: > 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

Re: [PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Lee Jones
> The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 > family or sama5d3 family) exposes 2 subdevices: > - a display controller (controlled by a DRM driver) > - a PWM chip > > Add support for the MFD device which will just retrieve HLCDC clocks and > create a regmap so that

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

2014-06-16 Thread Rafael Aquini
On Mon, Jun 16, 2014 at 01:14:22PM +0200, Michal Hocko wrote: > 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

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

2014-06-16 Thread Will Deacon
On Wed, Jun 04, 2014 at 10:12:38PM +0100, Thierry Reding wrote: > On Fri, May 30, 2014 at 12:27:28PM +0100, Dave Martin wrote: > > On Fri, May 30, 2014 at 08:30:08AM +0100, Thierry Reding wrote: > [...] > > > Arnd, can you take another look at this binding and see if there's > > > anything else

netconsole breaks netpoll on bridge

2014-06-16 Thread Stefan Priebe - Profihost AG
Hi, i'm using a vanilla 3.10.43 kernel and netconsole on top of a bridge. netconsole is used with vmbr0 (bridge) which is on top of bond0. If i want to add another bridge to vmbr0 is fails as long as netconsole is in use. # brctl addif vmbr0 fwpr2004p0 can't add fwpr2004p0 to bridge vmbr0:

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

2014-06-16 Thread Ulf Hansson
On 16 June 2014 13:06, Peter Griffin wrote: > Currently the documentation doesn't match the code in mmc_of_parse. This > patch rectifies this. > > Signed-off-by: Peter Griffin Thanks! Applied to my mmc tree for next. Kind regards Uffe > --- > Documentation/devicetree/bindings/mmc/mmc.txt | 4

Re: [PATCH 2/2] memcg: Allow guarantee reclaim

2014-06-16 Thread Michal Hocko
On Thu 12-06-14 12:17:33, Tejun Heo wrote: > Hello, Michal. > > On Thu, Jun 12, 2014 at 04:22:37PM +0200, Michal Hocko wrote: > > The primary question would be, whether this is is the best transition > > strategy. I do not know how many users apart from developers are really > > using unified

Re: [PATCH] regulator: twl: Convert to use devm_kmemdup()

2014-06-16 Thread Nishanth Menon
+linux-omap. On 06/15/2014 08:44 PM, Axel Lin wrote: Might be nice to have a commit message here. > Signed-off-by: Axel Lin > --- > drivers/regulator/twl-regulator.c | 13 + > 1 file changed, 1 insertion(+), 12 deletions(-) > > diff --git a/drivers/regulator/twl-regulator.c >

Re: [PATCH] mm/vmscan.c: avoid recording the original scan targets in shrink_lruvec()

2014-06-16 Thread Chen Yucong
On Mon, 2014-06-09 at 21:27 +0800, Chen Yucong wrote: > Via https://lkml.org/lkml/2013/4/10/334 , we can find that recording the > original scan targets introduces extra 40 bytes on the stack. This patch > is able to avoid this situation and the call to memcpy(). At the same time, > it does not

Re: [Regression] 3.15 mmc related ext4 corruption with qemu-system-arm

2014-06-16 Thread Ulf Hansson
On 16 June 2014 09:22, Jeff Chua wrote: > On Fri, Jun 13, 2014 at 8:28 PM, Ulf Hansson wrote: >> On 13 June 2014 01:51, John Stultz wrote: >>> On Wed, Jun 11, 2014 at 10:35 PM, John Stultz john.stu...@linaro.org> wrote: > >> I have quickly implemented my proposal 1). I am testing them on real

<    6   7   8   9   10   11   12   13   14   15   >