Re: [PATCH 1/3] Introduce FW_INFO* functions and messages

2013-12-05 Thread Matt Fleming
On Wed, 04 Dec, at 07:22:57PM, Arnd Bergmann wrote: > The other part I noticed about this particular patchset is that it's > not really "firmware" as such, but specifically PC wiht ACPI that > gets covered here. So rather than generalizing the code, another > option would be to narrow down the

[PATCH v6 1/5] watchdog: davinci: change driver to use WDT core

2013-12-05 Thread Ivan Khoronzhuk
To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove wdt_state as the WDT core tracks state with its own variable. The watchdog_init_timeout() can read timeout value from

[PATCH V4] ARM : unwinder : Prevent data abort due to stack overflow

2013-12-05 Thread Anurag Aggarwal
While unwinding backtrace, stack overflow is possible. This stack overflow can sometimes lead to data abort in system if the area after stack is not mapped to physical memory. To prevent this problem from happening, execute the instructions that can cause a data abort in separate helper

[PATCH] video: Replace local macro with PCI standard macro

2013-12-05 Thread Yijing Wang
Replace local macro TGA_BUS_PCI with PCI standard marco dev_is_pci(). Signed-off-by: Yijing Wang --- drivers/video/tgafb.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c index f28674f..5e94c6e 100644 ---

Re: OMAPFB: CMA allocation failures

2013-12-05 Thread Tomi Valkeinen
On 2013-11-30 12:00, Ivajlo Dimitrov wrote: > Ping? > > - Original Message - From: "Ивайло Димитров" > To: "Tomi Valkeinen" > Cc: ; ; ; > ; ; > ; > Sent: Tuesday, November 05, 2013 9:55 PM > Subject: Re: OMAPFB: CMA allocation failures > > >> >> >> >> >> >> > Оригинално писмо

[PATCH] checkpatch: Do not hardcode perl path

2013-12-05 Thread Jagannadha Sutradharudu Teki
checkpatch.pl requires perl v5.10.0 to run but it doesn't require to place in /usr/bin/perl Use env to ensure that the interpreter used is the first one on environment's $PATH on system with several versions of perl installed. Signed-off-by: Jagannadha Sutradharudu Teki ---

[PATCH 2/2] uwb: Use dev_is_pci() to check whether it is pci device

2013-12-05 Thread Yijing Wang
Use PCI standard marco dev_is_pci() instead of directly compare pci_bus_type to check whether it is pci device. Signed-off-by: Yijing Wang --- drivers/uwb/umc-bus.c |2 +- include/linux/uwb/umc.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] partitions/efi: complete gpt kernel param purpose

2013-12-05 Thread Karel Zak
On Wed, Dec 04, 2013 at 03:16:02PM -0800, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > The usage of the 'gpt' kernel parameter is twofold: > (i) skip any mbr integrity checks and (ii) enable the > backup GPT header to be used in situations where the > primary one is corrupted. This last

[PATCH 1/2] usb: Use dev_is_pci() to check whether it is pci device

2013-12-05 Thread Yijing Wang
Use PCI standard marco dev_is_pci() instead of directly compare pci_bus_type to check whether it is pci device. Signed-off-by: Yijing Wang --- drivers/usb/host/ehci-dbg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/host/ehci-dbg.c

Re: [PATCH] x86: mcheck: call put_device on device_register failure

2013-12-05 Thread Levente Kurusa
2013-12-05 03:57 keltezéssel, Chen, Gong írta: > On Wed, Dec 04, 2013 at 07:39:07PM +0100, Levente Kurusa wrote: >> Date:Wed, 04 Dec 2013 19:39:07 +0100 >> From: Levente Kurusa >> To: Borislav Petkov , Ingo Molnar , Thomas >> Gleixner , Tony Luck , "H. Peter >> Anvin" , x...@kernel.org,

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Thu, 28 Nov 2013 16:41:21 +, Leif Lindholm wrote: > This patch provides documentation of the [U]EFI runtime service and > configuration features for the arm architecture. > > Changes since v1/v2: > - Complete rewrite. > - New FDT bindings. > > Cc: Rob Landley > Cc:

Re: [GIT PULL 00/38] perf/core improvements and fixes

2013-12-05 Thread Jiri Olsa
On Thu, Dec 05, 2013 at 11:59:14AM +0100, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > > never saw that one.. starting your test on 24 CPUs server now > > > > I saw it again on a system by running two parallel build jobs: > > > > D=/tmp/perf-1; mkdir -p $D; while make O=$D install; do

[PATCH 2/2] sched/numa: drop idx field of task_numa_env struct

2013-12-05 Thread Wanpeng Li
Drop unused idx field of task_numa_env struct. Signed-off-by: Wanpeng Li --- kernel/sched/fair.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index fd773ad..ea3fd1e 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c

Re: [REPOST PATCH V2] irq: enable all irqs unconditionally in irq_resume

2013-12-05 Thread Laxman Dewangan
On Thursday 05 December 2013 04:31 PM, Heiko Stübner wrote: Hi Laxman, Am Donnerstag, 5. Dezember 2013, 11:49:05 schrieb Laxman Dewangan: Can you please review this patch? This patch is pending from long back for review. the patch already made it into the appropriate tree, as can be seen by

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Wed, 4 Dec 2013 15:06:47 -0600, Matt Sealey wrote: > If your platform has UEFI, then your platform has UEFI - if you built > a multiplatform kernel that needs to boot on U-Boot, then you glued an > EFI stub to it to make it boot. At some point between the stub and the > runtime services

Re: [GIT PULL 00/38] perf/core improvements and fixes

2013-12-05 Thread Jiri Olsa
On Thu, Dec 05, 2013 at 11:53:44AM +0100, Ingo Molnar wrote: SNIP > > I saw it again on a system by running two parallel build jobs: > > D=/tmp/perf-1; mkdir -p $D; while make O=$D install; do make O=$D clean; > done > D=/tmp/perf-2; mkdir -p $D; while make O=$D install; do make O=$D

Re: [PATCH v10 7/7] thermal:exynos:boost: Automatic enable/disable of BOOST feature (at Exynos4412)

2013-12-05 Thread Lukasz Majewski
Hi Eduardo, > Hey Lukasz!, > > On 03-12-2013 11:42, Lukasz Majewski wrote: > > Hi Eduardo, > > > >> On 03-12-2013 03:31, Lukasz Majewski wrote: > >>> Hi Eduardo, > >>> > On 05-11-2013 13:26, Lukasz Majewski wrote: > > This patch provides auto disable/enable operation for boost. It >

[PATCH 2/4] ARM: tegra: add pinmux controller to tegra124.dtsi

2013-12-05 Thread Laxman Dewangan
The tegra124 pinmux controller is identical to tegra114 with removing some of existing pins from T114 and adding new pins. Signed-off-by: Laxman Dewangan --- arch/arm/boot/dts/tegra124.dtsi |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH 0/4] pinctrl: tegra: Add pincontrol driver for Tegra124 SoC

2013-12-05 Thread Laxman Dewangan
Add pincontrol driver for NVIDIA's Tegra124 SoCs. This series add pincontrol driver which contains the pinmux tables for tegra124, pincontrol dt binding doc, dtsi file change for adding pinmux node, selecting pincontrol config for Tegra124. Ashwini Ghuge (1): pinctrl: tegra: add pinmux

[PATCH 1/4] pinctrl: tegra: Add devicetree binding document for Tegra124

2013-12-05 Thread Laxman Dewangan
This device tree binding document describes the Tegra124 pincontrol DT bindings. This document lists all valid properties, names, mux options of Tegra124 pins. Signed-off-by: Laxman Dewangan --- .../bindings/pinctrl/nvidia,tegra124-pinmux.txt| 137 1 files changed, 137

Re: [REPOST PATCH V2] irq: enable all irqs unconditionally in irq_resume

2013-12-05 Thread Heiko Stübner
Hi Laxman, Am Donnerstag, 5. Dezember 2013, 11:49:05 schrieb Laxman Dewangan: > Can you please review this patch? > This patch is pending from long back for review. the patch already made it into the appropriate tree, as can be seen by tip-bot message and on [0]. Heiko [0]

[PATCH 3/4] ARM: tegra: select PINCTRL_TEGRA124 for Tegra124 SoC

2013-12-05 Thread Laxman Dewangan
The pincontrol driver for Tegra124 is build through config PINCTRL_TEGRA124. Select this config option whenever Tegra124 SoC is enabled. Signed-off-by: Laxman Dewangan --- arch/arm/mach-tegra/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v4 tip/core/locking 0/4] Memory-barrier documentation updates

2013-12-05 Thread Henrik Austad
On Wed, Dec 04, 2013 at 02:46:28PM -0800, Paul E. McKenney wrote: > Hello! Hi Paul, > This series applies some long-needed updates to memory-barriers.txt: > > 1.Add ACCESS_ONCE() calls where needed to ensure their inclusion > in code copy-and-pasted from this file. > > 2.Add long

Re: [GIT PULL 00/38] perf/core improvements and fixes

2013-12-05 Thread Ingo Molnar
* Ingo Molnar wrote: > > never saw that one.. starting your test on 24 CPUs server now > > I saw it again on a system by running two parallel build jobs: > > D=/tmp/perf-1; mkdir -p $D; while make O=$D install; do make O=$D clean; > done > D=/tmp/perf-2; mkdir -p $D; while make O=$D

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-05 Thread Grant Likely
On Mon, 2 Dec 2013 13:51:22 -0600, Matt Sealey wrote: > > +UEFI kernel support on ARM > > +== > > +UEFI kernel support on the ARM architectures (arm and arm64) is only > > available > > +when boot is performed through the stub. > > + > > +The stub populates the FDT

Re: [REPOST PATCH V2] irq: enable all irqs unconditionally in irq_resume

2013-12-05 Thread Laxman Dewangan
Hi Thomas, On Monday 25 November 2013 07:39 PM, Laxman Dewangan wrote: When system enters into suspend, it disable all irqs in single function call. This disables EARLY_RESUME irqs also along with normal irqs. The EARLY_RESUME irqs get enabled in sys_core_ops->resume and non-EARLY_RESUME irqs

Re: [GIT PULL 00/38] perf/core improvements and fixes

2013-12-05 Thread Ingo Molnar
* Jiri Olsa wrote: > On Thu, Dec 05, 2013 at 11:04:29AM +0100, Ingo Molnar wrote: > > > > * Arnaldo Carvalho de Melo wrote: > > > > > From: Arnaldo Carvalho de Melo > > > > > > Hi Ingo, > > > > > > Please consider pulling, > > > > > > - Arnaldo > > > > > > The following changes since

[PATCH V3 2/4] ARM: tegra: convert dts files of Tegra114 platforms to use pinctrl defines

2013-12-05 Thread Laxman Dewangan
Use Tegra pinconrol dt-binding macro to set the values of different pinmux properties of Tegra114 platforms. Signed-off-by: Laxman Dewangan --- Changes from V1: - Changes based on new macro name. Changes from V2: - Add description in commit message. arch/arm/boot/dts/tegra114-dalmore.dts |

[PATCH V3 0/4] ARM: tegra: convert dts files of all Tegra platforms to use pinctrl defines

2013-12-05 Thread Laxman Dewangan
This patch series convert dts files of all Tegra's platforms to use the pinctron dt-binding macro for better readability. Changes from V1: - Get rid of lots of macro and converge it to TEGRA_PIN_ENABLE/DISABLE. - Change macro name for PULL UP/DOWN/NONE. Changes from V2: - Add more comment on

Re: [PATCH] Remove unnecessarily gendered language

2013-12-05 Thread Pavel Machek
On Mon 2013-12-02 20:18:52, Matthew Garrett wrote: > The kernel as a number of cases of gendered language. The majority of these > refer to objects that don't have gender in English, and so I've replaced > them with "it" and "its". Some refer to people (developers or users), and > I've replaced

[PATCH V3 4/4] ARM: tegra: convert dts files of Tegra30 platforms to use pinctrl defines

2013-12-05 Thread Laxman Dewangan
Use Tegra pinconrol dt-binding macro to set the values of different pinmux properties of Tegra30 platforms. Signed-off-by: Laxman Dewangan --- - New patch on this series. arch/arm/boot/dts/tegra30-beaver.dts | 34 ++-- arch/arm/boot/dts/tegra30-cardhu.dtsi | 40

[PATCH V3 1/4] ARM: tegra: Add header file for pinctrl constants

2013-12-05 Thread Laxman Dewangan
This new header file defines pincontrol constants for Tegra to use from Tegra's DTS file for pincontrol properties option. Signed-off-by: Laxman Dewangan Reviewed-by: Thierry Reding --- Changes from V1: - Get rid of lots of macro and converge it to TEGRA_PIN_ENABLE/DISABLE. - Change macro name

[PATCH V3 3/4] ARM: tegra: convert dts files of Tegra20 platforms to use pinctrl defines

2013-12-05 Thread Laxman Dewangan
Use Tegra pinconrol dt-binding macro to set the values of different pinmux properties of Tegra20 platforms. Signed-off-by: Laxman Dewangan --- - New patch on this series. arch/arm/boot/dts/tegra20-colibri-512.dtsi | 104 ++-- arch/arm/boot/dts/tegra20-harmony.dts

Re: [PATCH 28/28] perf tools: Add udis86 disassembler feature check

2013-12-05 Thread Ingo Molnar
* Jiri Olsa wrote: > On Thu, Dec 05, 2013 at 10:25:02AM +0100, Ingo Molnar wrote: > > > > * Jiri Olsa wrote: > > > > > On Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo wrote: > > > > Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu: > > > > > Adding udis86

Re: [PATCH v4 12/15] usb: phy: msm: Add support for secondary PHY control

2013-12-05 Thread Mark Rutland
On Mon, Nov 18, 2013 at 12:57:42PM +, Ivan T. Ivanov wrote: > > Hi Mark, > > On Fri, 2013-11-15 at 16:42 +, Mark Rutland wrote: > > On Tue, Nov 12, 2013 at 02:51:47PM +, Ivan T. Ivanov wrote: > > > From: "Ivan T. Ivanov" > > > > > > Allow support to use 2nd HSPHY with USB2 Core. >

Re: [PATCH v4 10/15] usb: phy: msm: Add device tree support and binding information

2013-12-05 Thread Mark Rutland
On Mon, Nov 18, 2013 at 12:54:37PM +, Ivan T. Ivanov wrote: > Hi Mark, > > On Fri, 2013-11-15 at 16:38 +, Mark Rutland wrote: > > On Tue, Nov 12, 2013 at 02:51:45PM +, Ivan T. Ivanov wrote: > > > From: "Ivan T. Ivanov" > > > > > > Allows MSM OTG controller to be specified via

Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-05 Thread Ingo Molnar
* Alexei Starovoitov wrote: > > On Tue, Dec 3, 2013 at 4:01 PM, Andi Kleen wrote: > >> > >> Can you do some performance comparison compared to e.g. ktap? > >> How much faster is it? > > Did simple ktap test with 1M alloc_skb/kfree_skb toy test from earlier email: > trace skb:kfree_skb { >

Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-05 Thread Ingo Molnar
* Alexei Starovoitov wrote: > > I mean more than that, I mean the licensing of BFP filters a user > > can find on his own system's kernel should be very clear: by the > > act of loading a BFP script into the kernel the user doing the > > 'upload' gives permission for it to be redistributed

Re: [GIT PULL 00/38] perf/core improvements and fixes

2013-12-05 Thread Jiri Olsa
On Thu, Dec 05, 2013 at 11:04:29AM +0100, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo > > > > Hi Ingo, > > > > Please consider pulling, > > > > - Arnaldo > > > > The following changes since commit

Re: [PATCH] cpufreq_ at32ap-cpufreq.c: Fix section mismatch

2013-12-05 Thread Hans-Christian Egtvedt
Around Thu 05 Dec 2013 10:59:57 +0100 or thereabout, Matthias Brugger wrote: > The function at32_cpufreq_driver_init was marked as __init but will be > called from inside the cpufreq framework. This lead to the following a > section mismatch during compilation: > > WARNING:

Re: [PATCH v7 2/2] mmc: sdhci-msm: Initial support for MSM chipsets

2013-12-05 Thread Mark Rutland
On Wed, Nov 06, 2013 at 03:56:45PM +, Georgi Djakov wrote: > This platform driver adds the initial support of Secure > Digital Host Controller Interface compliant controller > found in Qualcomm MSM chipsets. > > Signed-off-by: Georgi Djakov > --- > drivers/mmc/host/Kconfig | 13 + >

Re: [PATCH] mm, x86: Skip NUMA_NO_NODE while parsing SLIT

2013-12-05 Thread Yasuaki Ishimatsu
(2013/12/05 6:09), Toshi Kani wrote: > When ACPI SLIT table has an I/O locality (i.e. a locality unique > to an I/O device), numa_set_distance() emits the warning message > below. > > NUMA: Warning: node ids are out of bound, from=-1 to=-1 distance=10 > > acpi_numa_slit_init() calls

Re: gfs2 deadlock (was Re: Found it)

2013-12-05 Thread Steven Whitehouse
Hi, On Thu, 2013-12-05 at 08:12 +, Al Viro wrote: > On Tue, Dec 03, 2013 at 04:28:30AM +, Al Viro wrote: > > > These should be safe, but damnit, we really need the lifecycle documented > > for > > all objects - the above is only a part of it (note that for e.g. superblocks > > we have

Re: [PATCH -tip v4 0/6] kprobes: introduce NOKPROBE_SYMBOL() and fixes crash bugs

2013-12-05 Thread Ingo Molnar
* Masami Hiramatsu wrote: > > So we need both a maintainable and a sane/safe solution, and I'd > > like to apply the whole thing at once and be at ease that the > > solution is round. We should have done this years ago. > > For the safeness of kprobes, I have an idea; introduce a whitelist

Re: [Consult] About tool chains of metag

2013-12-05 Thread Chen Gang
On 12/05/2013 05:41 PM, James Hogan wrote: > On 05/12/13 08:46, Chen Gang wrote: >> On 12/05/2013 09:57 AM, Chen Gang wrote: >>> I will/should try my best to let it pass allmodconfig, and I guess >>> https://lkml.kernel.org/r/201211161520.03974.a...@arndb.de is valuable >>> to me, and I

Re: [PATCH tip/core/locking 4/4] Documentation/memory-barriers.txt: Document ACCESS_ONCE()

2013-12-05 Thread Ingo Molnar
* Mathieu Desnoyers wrote: > - Original Message - > > From: "Ingo Molnar" > > To: "Paul E. McKenney" > > Cc: linux-kernel@vger.kernel.org, la...@cn.fujitsu.com, > > dipan...@in.ibm.com, a...@linux-foundation.org, "mathieu > > desnoyers" , j...@joshtriplett.org, > > n...@us.ibm.com,

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-05 Thread Daniel Tang
Hi, On 05/12/2013, at 7:49 PM, Peter Chen wrote: > On Thu, Dec 05, 2013 at 04:44:13PM +1100, Daniel Tang wrote: >> Hi, >> >> On 05/12/2013, at 12:44 AM, Peter Chen wrote: >> >>> >>> lsi is vendor name, what are zevio and nspire? >>> Usually, the compatible string should be

Re: [PATCH] MAINTAINERS: Add entry for Samsung SoC clock drivers

2013-12-05 Thread Tomasz Figa
Hi, On Saturday 09 of November 2013 03:17:34 Tomasz Figa wrote: > From: Tomasz Figa > > This patch adds an entry for Samsung SoC clock drivers located under > drivers/clk/samsung/ directory, with me taking the maintainer role. > > Signed-off-by: Tomasz Figa > Acked-by: Kyungmin Park >

[PATCH 3.10] aio: restore locking of ioctx list on removal

2013-12-05 Thread Mateusz Guzik
Commit 36f5588905c10a8c4568a210d601fe8c3c27e0f0 "aio: refcounting cleanup" resulted in ioctx_lock not being held during ctx removal, leaving the list susceptible to corruptions. In mainline kernel the issue went away as a side effect of db446a08c23d5475e6b08c87acca79ebb20f283c "aio: convert the

Re: [GIT PULL 00/38] perf/core improvements and fixes

2013-12-05 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 89e3bbd58a6186b832fe2b9419ac2f9ab90e9089: > > Merge tag 'perf-core-for-mingo' of >

[PATCH v3 1/3] usb: ohci-at91: replace request_mem_region + ioremap by devm_request_and_ioremap

2013-12-05 Thread Boris BREZILLON
Replace the request_mem_region + ioremap calls by the devm_request_and_ioremap call which does the same things but with device managed resources. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: Alan Stern --- drivers/usb/host/ohci-at91.c | 24 +---

[PATCH] cpufreq_ at32ap-cpufreq.c: Fix section mismatch

2013-12-05 Thread Matthias Brugger
The function at32_cpufreq_driver_init was marked as __init but will be called from inside the cpufreq framework. This lead to the following a section mismatch during compilation: WARNING: drivers/built-in.o(.data+0x2448): Section mismatch in reference from the variable at32_driver to the function

[PATCH v3 3/3] usb: ohci-at91: use device managed clk retrieval

2013-12-05 Thread Boris BREZILLON
Replace clk_get calls by devm_clk_get calls. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: Alan Stern --- drivers/usb/host/ohci-at91.c | 30 +++--- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/drivers/usb/host/ohci-at91.c

[PATCH v3 2/3] usb: ohci-at91: use dev variable instead of >dev

2013-12-05 Thread Boris BREZILLON
Make use of the dev variable instead of referencing the dev field of the pdev struct. Signed-off-by: Boris BREZILLON Acked-by: Nicolas Ferre Signed-off-by: Alan Stern --- drivers/usb/host/ohci-at91.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH v3 0/3] usb: ohci-at91: various improvements

2013-12-05 Thread Boris BREZILLON
Hello, This patch series moves the different driver resources (clks and iomem) retrieval to the device managed versions (devm_ functions). Best Regards, Boris Changes since v2: - split urgent fix and resource retrieval improvements Boris BREZILLON (3): usb: ohci-at91: replace

Re: [PATCH tip/core/locking 4/4] Documentation/memory-barriers.txt: Document ACCESS_ONCE()

2013-12-05 Thread Mathieu Desnoyers
- Original Message - > From: "Ingo Molnar" > To: "Paul E. McKenney" > Cc: linux-kernel@vger.kernel.org, la...@cn.fujitsu.com, dipan...@in.ibm.com, > a...@linux-foundation.org, "mathieu > desnoyers" , j...@joshtriplett.org, > n...@us.ibm.com, t...@linutronix.de, > pet...@infradead.org,

Re: [PATCH v3] usb: ohci-at91: fix irq and iomem resource retrieval

2013-12-05 Thread Tomasz Figa
Hi Boris, On Thursday 05 of December 2013 10:50:13 Boris BREZILLON wrote: > When using dt resources retrieval (interrupts and reg properties) there is > no predefined order for these resources in the platform dev resources > table. > > Retrieve resources using the platform_get_resource function

Re: [PATCH v7 1/2] mmc: sdhci-msm: Initial SDHCI MSM driver documentation

2013-12-05 Thread Mark Rutland
Hi, Apologies for the late reply. On Wed, Nov 06, 2013 at 03:56:44PM +, Georgi Djakov wrote: > This patch adds documentation for Qualcomm SDHCI MSM driver. > It contains the differences between the core properties in mmc.txt > and the properties used by the sdhci-msm driver. Nit, but this

Re: [PATCH tip/core/locking 4/4] Documentation/memory-barriers.txt: Document ACCESS_ONCE()

2013-12-05 Thread Ingo Molnar
* Paul E. McKenney wrote: > + (*) The compiler is within its rights to reload a variable, for example, > + in cases where high register pressure prevents the compiler from > + keeping all data of interest in registers. The compiler might > + therefore optimize the variable tmp out

[PATCH v3] usb: ohci-at91: fix irq and iomem resource retrieval

2013-12-05 Thread Boris BREZILLON
When using dt resources retrieval (interrupts and reg properties) there is no predefined order for these resources in the platform dev resources table. Retrieve resources using the platform_get_resource function instead of direct resource table entries to avoid resource type mismatch.

Re: ARM: gic_arch_extn (Was: [PATCH v3] irqchip: mmp: add dt support for wakeup)

2013-12-05 Thread Russell King - ARM Linux
On Thu, Dec 05, 2013 at 03:12:55AM +0100, Thomas Gleixner wrote: > Russell, > > On Thu, 5 Dec 2013, Russell King - ARM Linux wrote: > > On Thu, Dec 05, 2013 at 01:41:53AM +0100, Thomas Gleixner wrote: > > > @all who feel responsible for gic_arch_extn > > > > > > On Wed, 4 Dec 2013, Thomas

Re: [PATCH 28/28] perf tools: Add udis86 disassembler feature check

2013-12-05 Thread Jiri Olsa
On Thu, Dec 05, 2013 at 10:25:02AM +0100, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > On Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu: > > > > Adding udis86 disassembler feature check which support

RE: Supporting 4 way connections in LKSCTP

2013-12-05 Thread David Laight
> >> the configured addresses could be: > >> System A) 10.0.0.1 on Lan X, 10.10.0.1 on Lan Y > >> System B) 10.0.0.2 on Lan X, 10.10.0.2 on Lan Y > >> System C) 10.0.0.3 on Lan X, 10.10.0.2 on Lan Z > >> > >> Same problem will occur. ... > With that, Sys A talking to Sys C will get an abort > from

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-05 Thread Joel Fernandes
On 12/04/2013 07:07 PM, Nishanth Menon wrote: > On 18:14-20131204, Joel Fernandes wrote: >> On 12/04/2013 05:03 PM, Nishanth Menon wrote: >>> On 12/04/2013 02:08 AM, Joel Fernandes wrote: On 12/04/2013 07:09 AM, Nishanth Menon wrote: > Due to the cross dependencies between hwmod for

Re: [PATCH tip/core/locking 4/4] Documentation/memory-barriers.txt: Document ACCESS_ONCE()

2013-12-05 Thread Ingo Molnar
* Paul E. McKenney wrote: > + (*) The compiler is within its rights to reorder memory accesses unless > + you tell it not to. For example, consider the following interaction > + between process-level code and an interrupt handler: > + > + void process_level(void) > + { > +

Re: [RFC 0/6] perf tools: Add perf_evlist errno

2013-12-05 Thread Jiri Olsa
On Mon, Dec 02, 2013 at 05:19:18PM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Fri, 29 Nov 2013 12:45:04 +0100, Jiri Olsa wrote: > > hi, > > Andi reported wrong error message for :S modifier > > on kernel without event ID ioctl support. > > > > The reason was that the ioctl failed, but the error

Re: [PATCH 28/28] perf tools: Add udis86 disassembler feature check

2013-12-05 Thread Ingo Molnar
* Jiri Olsa wrote: > On Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu: > > > Adding udis86 disassembler feature check which support > > > is needed for kvm:kvm_emulate_insn tracepoint. > > > > > >

[PATCH v2 1/1] gpio: twl4030: Fix regression for twl gpio LED output

2013-12-05 Thread Roger Quadros
Commit 0b2aa8be introduced a regression that causes failure in setting LED GPO direction to OUT. This causes USB host probe failures for Beagleboard C4. [2.075469] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [2.090454] hsusb2_vcc: Failed to request

[PATCHv4 28/28] perf tools: Add udis86 disassembler feature check

2013-12-05 Thread Jiri Olsa
On Thu, Dec 05, 2013 at 09:05:13AM +0100, Jiri Olsa wrote: > On Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu: > > > Adding udis86 disassembler feature check which support > > > is needed for

Re: [PATCH 1/2] usb: chipidea: fix mistake in device tree binding of nspire-usb to use vendor name 'lsi' instead of SoC name 'zevio'

2013-12-05 Thread Peter Chen
On Thu, Dec 05, 2013 at 04:44:13PM +1100, Daniel Tang wrote: > Hi, > > On 05/12/2013, at 12:44 AM, Peter Chen wrote: > > > > > lsi is vendor name, what are zevio and nspire? > > Usually, the compatible string should be "vendor_name,soc_name-module_name" > > > > Because this port uses

[f2fs-dev] [PATCH 2/5 V2] f2fs: add unlikely() macro for compiler optimization

2013-12-05 Thread Chao Yu
As we know, some of our branch condition will rarely be true. So we could add 'unlikely' to let compiler optimize these code, by this way we could drop unneeded 'jump' assemble code to improve performance. change log: o add *unlikely* as many as possible across the whole source files at once

Re: [PATCH 1/1] gpio: twl4030: Fix regression for twl gpio LED output

2013-12-05 Thread Roger Quadros
On 12/04/2013 07:37 PM, Tony Lindgren wrote: > * Roger Quadros [131204 03:35]: >> Commit 0b2aa8be introduced a regression that causes failure >> in setting LED GPO direction to OUT. >> >> This causes USB host probe failures for Beagleboard C4. >> >> [2.075469] platform usb_phy_gen_xceiv.2:

Re: [PATCH 34/39] vme: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Tue, Dec 3, 2013 at 7:29 AM, Jingoo Han wrote: > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > is not preferred. > > Signed-off-by: Jingoo Han > --- Greg, this patch should be reverted. It do the opposite things. > drivers/vme/boards/vme_vmivme7805.c |2 +- >

RE: [PATCH] crypto: remove unnecessary includes

2013-12-05 Thread Cristian Stoica
> If you can't work out why authenc.c needs slab.h I don't think > you should be submitting patches removing unnecessary header > files. [] You left out "kernel.h". I really hoped this would not be your answer. Yes, I'm an ignorant and yes, I ask questions. But if all you got is this type of

[PATCH] mm: compaction: Trace compaction begin and end v2

2013-12-05 Thread Mel Gorman
Changelog since V1 o Print output parameters in pfn order (vbabka) This patch adds two tracepoints for compaction begin and end of a zone. Using this it is possible to calculate how much time a workload is spending within compaction and potentially debug problems related to

Re: [PATCH v2 2/4] pciehp: Use link change notifications for hot-plug and removal

2013-12-05 Thread Yijing Wang
On 2013/12/4 6:32, Rajat Jain wrote: > A lot of systems do not have the fancy buttons and LEDs, and instead > want to rely only on the Link state change events to drive the hotplug > and removal state machinery. > (http://www.spinics.net/lists/hotplug/msg05802.html) > > This patch adds support

Re: [PATCH] mm: compaction: Trace compaction begin and end

2013-12-05 Thread Mel Gorman
On Wed, Dec 04, 2013 at 03:51:57PM +0100, Vlastimil Babka wrote: > On 12/04/2013 03:30 PM, Mel Gorman wrote: > >This patch adds two tracepoints for compaction begin and end of a zone. Using > >this it is possible to calculate how much time a workload is spending > >within compaction and

Re: [PATCH 28/39] staging: remove DEFINE_PCI_DEVICE_TABLE macro

2013-12-05 Thread ZHAO Gang
On Tue, Dec 3, 2013 at 7:26 AM, Jingoo Han wrote: > Don't use DEFINE_PCI_DEVICE_TABLE macro, because this macro > is not preferred. > > Signed-off-by: Jingoo Han > I think you misunderstood the checkpatch.pl warning, it tells you what to do, not what not to do. WARNING: Use

[PATCH] cgroup: fix bug on cgroup_create() fail path

2013-12-05 Thread Vladimir Davydov
If cgroup_create() fails to online_css() we will get a bug: BUG: unable to handle kernel NULL pointer dereference at 0008 IP: [] cgroup_destroy_locked+0x118/0x2f0 PGD a780a067 PUD aadbe067 PMD 0 Oops: [#1] SMP Modules linked in: CPU: 6 PID: 7360 Comm: mkdir Not tainted

Re: [PATCH] perf tools: fix bug in usage of the basename() function

2013-12-05 Thread Ingo Molnar
* Stephane Eranian wrote: > > The basename() implementation varies a lot between systems. > The Linux man page says: "basename may modify the content of the path, > so it may be desirable to pass a copy when calling the function". > On some other systems, the returned address may come from an

Re: [PATCH 1/5] Staging: bcm: DDRInit: Fixed coding style issue, replaced spaces w/ tabs.(patch set)

2013-12-05 Thread Dan Carpenter
These five patches all do the same thing. It's ok to merge them into one patch. The subject lines are all the same and that's not ok. The subject lines are too long as well. On Wed, Dec 04, 2013 at 07:26:19PM -0500, Gary Rookard wrote: > This is the first patch of a series. Don't put this in

Re: [PATCH 3/5] perf tools: Update the Document for perf kvm record for new behavior.

2013-12-05 Thread Dongsheng Yang
On 12/04/2013 09:27 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Dec 04, 2013 at 05:56:41PM -0500, Dongsheng Yang escreveu: As we have changed the default behavior of perf kvm to --guest enabled, the document about perf kvm record is outdated. This patch update it to show the correct output with

Re: [RFC][PATCH 3/4] ima: display template format in meas. list if template name length is zero

2013-12-05 Thread Roberto Sassu
On 12/04/2013 10:08 PM, Mimi Zohar wrote: On Thu, 2013-11-07 at 15:00 +0100, Roberto Sassu wrote: With the introduction of the 'ima_template_fmt' kernel cmdline parameter, an user can define a new template descriptor with custom format. However, in this case, userspace tools will be unable to

Re: [PATCH] x86/apic: Justification for disabling IO APIC before Local APIC

2013-12-05 Thread Ingo Molnar
* Fenghua Yu wrote: > From: Fenghua Yu > > Since erratum AVR31 in "Intel Atom Processor C2000 Product Family > Specification Update" is published, I add a justification comment for > disabling IO APIC before Local APIC (commit 522e6646). > > Signed-off-by: Fenghua Yu > --- >

[PATCH] mm: do_mincore() cleanup

2013-12-05 Thread Jianguo Wu
Two cleanups: 1. remove redundant codes for hugetlb pages. 2. end = pmd_addr_end(addr, end) restricts [addr, end) within PMD_SIZE, this may increase do_mincore() calls, remove it. Signed-off-by: Jianguo Wu --- mm/mincore.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-)

RE: [PATCH] crash_dump: fix compilation error (on MIPS at least)

2013-12-05 Thread Qais Yousef
> -Original Message- > From: Vivek Goyal [mailto:vgo...@redhat.com] > Sent: 04 December 2013 21:30 > To: Qais Yousef > Cc: linux-kernel@vger.kernel.org; Andrew Morton; Michael Holzheu; linux- > m...@linux-mips.org; sta...@vger.kernel.org > Subject: Re: [PATCH] crash_dump: fix compilation

Re: [RFC][PATCH 4/4] ima: added support for new kernel cmdline parameter ima_template_fmt

2013-12-05 Thread Roberto Sassu
On 12/04/2013 10:05 PM, Mimi Zohar wrote: On Thu, 2013-11-07 at 15:00 +0100, Roberto Sassu wrote: This patch allows users to provide a custom template format through the new kernel command line parameter 'ima_template_fmt'. If the supplied format is not valid, IMA uses the default template

Re: [PATCH v1 4/9] staging: android: binder: Add align_helper() macro

2013-12-05 Thread Dan Carpenter
On Wed, Dec 04, 2013 at 06:09:36PM +, Serban Constantinescu wrote: > This patch adds align_helper() macro that will be used for enforcing > the desired alignment on 64bit systems where the alignment will differ > depending on the userspace used (32bit /64bit). > > This patch is a temporary

Re: [patch 2/2] fs: buffer: move allocation failure loop into the allocator

2013-12-05 Thread Joonsoo Kim
On Wed, Dec 04, 2013 at 04:33:43PM +, Christoph Lameter wrote: > On Thu, 5 Dec 2013, Joonsoo Kim wrote: > > > Now we have cpu partial slabs facility, so I think that slowpath isn't > > really > > slow. And it doesn't much increase the management overhead in the node > > partial lists,

Re: [PATCHv2] net: wireless: wcn36xx: fix potential NULL pointer dereference

2013-12-05 Thread Eugene Krasnikov
> + if (msg_ind) > + break; > + /* FIXME: Do something smarter then just printing an error. */ > + wcn36xx_err("Run out of memory while handling SMD_EVENT > (%d)\n", I think code will look neater if error case will be handled in

Re: [PATCH v1 3/9] staging: android: binder: Add cmd == CMD_NAME handling

2013-12-05 Thread Dan Carpenter
On Wed, Dec 04, 2013 at 06:09:35PM +, Serban Constantinescu wrote: > This patch modifies the functions that need to be passed the explicit > command to use a boolean flag. This way we can reuse the code for 64bit > compat commands. > I don't understand this at all. cmd seems like it should

Re: [PATCH v1 2/9] staging: android: binder: Add binder_copy_to_user()

2013-12-05 Thread Dan Carpenter
On Wed, Dec 04, 2013 at 06:09:34PM +, Serban Constantinescu wrote: > This patch adds binder_copy_to_user() to be used for copying binder > commands to user address space. This way we can abstract away the > copy_to_user() calls and add separate handling for the compat layer. > >

Re: [PATCH 0/2] MTD maintenance updates

2013-12-05 Thread Artem Bityutskiy
On Wed, 2013-12-04 at 15:28 -0800, Brian Norris wrote: > BTW, I'd like to get David's "ack" for these patches, and it'd be nice > to hear > from Artem too, since he has previously been an unofficial maintainer > (and is > understandably distracted by non-MTD work these days). Acked-by: Artem

[PATCH 2/2] ARM: fix framepointer check in unwind_frame

2013-12-05 Thread Konstantin Khlebnikov
This patch fixes corner case when (fp + 4) overflows unsigned long, for example: fp = 0x -> fp + 4 == 3. Signed-off-by: Konstantin Khlebnikov --- arch/arm/kernel/stacktrace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/stacktrace.c

[PATCH 1/2] ARM: check stack pointer in get_wchan

2013-12-05 Thread Konstantin Khlebnikov
get_wchan() is lockless. Task may wakeup at any time and change its own stack, thus each next stack frame may be overwritten and filled with random stuff. /proc/$pid/stack interface had been disabled for non-current tasks, see [1] But 'wchan' still allows to trigger stack frame unwinding on

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-05 Thread Jon Medhurst (Tixy)
On Wed, 2013-12-04 at 09:15 -0800, Linus Torvalds wrote: > On Wed, Dec 4, 2013 at 8:54 AM, H. Peter Anvin wrote: > > > > That is why I talk about the atomic instruction word... most (but not > > *all*) architectures have a fundamental minimum unit of instructions > > which is aligned and can be

Re: [PATCH] crypto: remove unnecessary includes

2013-12-05 Thread Herbert Xu
On Thu, Dec 05, 2013 at 08:14:55AM +, Cristian Stoica wrote: > Hi Herbert, > > Your original response was terse and left me more puzzled. Do you have a > sensible explanation why some includes should be kept in the source even they > serve no purpose during the build? If you can't work out

Re: [PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-05 Thread Dan Carpenter
On Wed, Dec 04, 2013 at 06:09:33PM +, Serban Constantinescu wrote: > +static void bc_increfs_done(struct binder_proc *proc, > + struct binder_thread *thread, uint32_t cmd, > + void __user *node_ptr, void __user *cookie) > +{ > + struct binder_node *node; > + > +

Re: [PATCH v2 2/4] dt: exynos5250: Enable support for generic USB 3.0 phy

2013-12-05 Thread Vivek Gautam
Hi, On Wed, Dec 4, 2013 at 6:20 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > Does the old phy-samsung-usb3 driver currently work on Exynos5250? If yes, > then this patch should be merged with patch #1 to preserve bisectability. Yes, the old phy-samsung-usb3 driver works well on Exynos5250

RE: [PATCH] crypto: remove unnecessary includes

2013-12-05 Thread Cristian Stoica
Hi Herbert, Your original response was terse and left me more puzzled. Do you have a sensible explanation why some includes should be kept in the source even they serve no purpose during the build? Thanks, Cristian S. > > Just because it compiles it doesn't meant that the files you > >

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