[PATCH v1 3/6] eeprom: Add bindings for simple eeprom framework

2015-03-05 Thread Srinivas Kandagatla
This patch adds bindings for simple eeprom framework which allows eeprom consumers to talk to eeprom providers to get access to eeprom cell data. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com [Maxime Ripard: intial version of eeprom framework] Signed-off-by: Srinivas Kandagatla

[PATCH v1 4/6] eeprom: sunxi: Move the SID driver to the eeprom framework

2015-03-05 Thread Srinivas Kandagatla
From: Maxime Ripard maxime.rip...@free-electrons.com Now that we have the EEPROM framework, we can consolidate the common driver code. Move the driver to the framework, and hopefully, it will fix the sysfs file creation race. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com

[PATCH v1 2/6] eeprom: Add a simple EEPROM framework for eeprom consumers

2015-03-05 Thread Srinivas Kandagatla
This patch adds just consumers part of the framework just to enable easy review. Up until now, EEPROM drivers were stored in drivers/misc, where they all had to duplicate pretty much the same code to register a sysfs file, allow in-kernel users to access the content of the devices they were

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-05 Thread Scott Jiang
Hi Hans, On Tue, Mar 3, 2015 at 9:39 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 03/03/2015 10:30 AM, Lad, Prabhakar wrote: Hi Hans, On Tue, Mar 3, 2015 at 8:49 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 03/02/2015 08:57 AM, Scott Jiang wrote: Hi Lad and Hans, 2015-02-22 2:39

[PATCH v1 5/6] eeprom: qfprom: Add Qualcomm QFPROM support.

2015-03-05 Thread Srinivas Kandagatla
This patch adds QFPROM support driver which is used by other drivers like thermal sensor and cpufreq. On MSM parts there are some efuses (called qfprom) these fuses store things like calibration data, speed bins.. etc. Drivers like cpufreq, thermal sensors would read out this data for configuring

[PATCH v1 6/6] eeprom: Add to MAINTAINERS for eeprom framework

2015-03-05 Thread Srinivas Kandagatla
This patch adds MAINTAINERS to eeprom framework. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d66a97d..ee7ba92 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3657,6

Re: [PATCH v3] pinctrl: exynos: Add support for Exynos5433

2015-03-05 Thread Linus Walleij
On Wed, Jan 21, 2015 at 7:43 AM, Chanwoo Choi cw00.c...@samsung.com wrote: This patch adds driver data for Exynos5433 SoC. Exynos5433 includes 228 multi- functional input/output port pins and 135 memory port pins. There are 41 general port groups and 2 memory port groups. Cc: Tomasz Figa

Re: [PATCH] ARM: at91: debug: fix non MMU debug

2015-03-05 Thread Nicolas Ferre
Le 04/03/2015 15:41, Alexandre Belloni a écrit : Linux may be used without MMU on atmel SoCs, fix debug in this configuration. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com and stacked on top of at91-4.0-fixes. Thanks!

[ulf.hansson-mmc:next 1/17] drivers/mmc/host/dw_mmc-exynos.c:480:5: sparse: symbol 'dw_mci_exynos_prepare_hs400_tuning' was not declared. Should it be static?

2015-03-05 Thread kbuild test robot
tree: https://git.linaro.org/people/ulf.hansson/mmc next head: cc92508d8a444000ec259debaf7603faf77540de commit: 880e5e640a1f39802da76d9570bed2d8456f302a [1/17] mmc: dw_mmc: exynos: Support eMMC's HS400 mode reproduce: # apt-get install sparse git checkout

Re: [PATCH v1 5/6] eeprom: qfprom: Add Qualcomm QFPROM support.

2015-03-05 Thread Srinivas Kandagatla
Thankyou for the comments, On 05/03/15 10:02, Paul Bolle wrote: On Thu, 2015-03-05 at 09:46 +, Srinivas Kandagatla wrote: diff --git a/drivers/eeprom/Kconfig b/drivers/eeprom/Kconfig index bff8ecb..65325c7 100644 --- a/drivers/eeprom/Kconfig +++ b/drivers/eeprom/Kconfig @@ -28,4 +28,11 @@

[PATCH v3 3/5] clocksource: sun5i: Remove sched_clock

2015-03-05 Thread Maxime Ripard
It's not possible to remove a sched_clock once it has been added, nor is it possible to change its rate. Since we will need to support a rate change, and that we have other sched_clocks in the system anyway, remove it. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---

[PATCH v3 0/5] clocksource: sun5i: Support parent clock rate changes

2015-03-05 Thread Maxime Ripard
Hi, The Allwinner HS timers have the AHB clock as their parent clock. Since this clock is shared with other devices, we could very well have another driver requesting a rate change of that clock, making our timer change frequency at the same time. This is especially true on the A31, where the

[PATCH v3 5/5] clocksource: sun5i: Add clock notifiers

2015-03-05 Thread Maxime Ripard
The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31, where the DMA controller needs a minimum rate higher than the default, that is enforced after the timer driver has probed. Add

[PATCH v3 2/5] clocksource: sun5i: Use of_io_request_and_map

2015-03-05 Thread Maxime Ripard
of_iomap doesn't do a request_mem_region on the memory area defined in the DT it maps. Switch to of_io_request_and_map to make sure we're the only users. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/clocksource/timer-sun5i.c | 3 ++- 1 file changed, 2 insertions(+),

[PATCH v3 4/5] clocksource: sun5i: Refactor the current code

2015-03-05 Thread Maxime Ripard
Refactor the code in order to remove the global variables and split the clock source and clock events registration in order to ease the addition of the clock notifiers needed to handle the parent clock rate changes. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com ---

Re: [PATCH 1/1] staging: io: Remove unnecessary OOM message

2015-03-05 Thread Julia Lawall
It's i2o, not io, and it is on the way out of the kernel. julia On Thu, 5 Mar 2015, Quentin Lambert wrote: This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. Signed-off-by: Quentin Lambert lambert.quen...@gmail.com ---

Re: [PATCH v9 5/5] KVM: arm/arm64: add irqfd support

2015-03-05 Thread Marc Zyngier
On 04/03/15 10:14, Eric Auger wrote: This patch enables irqfd on arm/arm64. Both irqfd and resamplefd are supported. Injection is implemented in vgic.c without routing. This patch enables CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQFD. KVM_CAP_IRQFD is now advertised.

Re: [PATCH] usb: isp1760: fix possible deadlock in isp1760_udc_irq

2015-03-05 Thread Sudeep Holla
On 05/03/15 10:49, Laurent Pinchart wrote: Hi Sudeep, Thank you for the patch. On Wednesday 04 March 2015 17:07:57 Sudeep Holla wrote: Use spin_{un,}lock_irq{save,restore} in isp1760_udc_{start,stop} to prevent following potentially deadlock scenario between isp1760_udc_{start,stop} and

Re: [PATCH] kvm: move advertising of KVM_CAP_IRQFD to common code

2015-03-05 Thread Greg Kurz
On Thu, 5 Mar 2015 11:54:46 +0100 Paolo Bonzini pbonz...@redhat.com wrote: POWER supports irqfds but forgot to advertise them. Some userspace does not check for the capability, but others check it---thus they work on x86 and s390 but not POWER. To avoid that other architectures in the

Re: [PATCH v2] usb: isp1760: add peripheral/device controller chip id

2015-03-05 Thread Laurent Pinchart
Hi Sudeep, On Wednesday 04 March 2015 17:04:43 Sudeep Holla wrote: On 04/03/15 16:11, Laurent Pinchart wrote: Hi Sudeep, On Wednesday 04 March 2015 15:56:12 Sudeep Holla wrote: [...] Also I don't see any message on the host side. Let me know if there's something wrong in my config

Re: [PATCH] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-03-05 Thread Pi-Cheng Chen
On 5 March 2015 at 17:19, Sascha Hauer s.ha...@pengutronix.de wrote: On Thu, Mar 05, 2015 at 02:29:50PM +0530, Viresh Kumar wrote: On 5 March 2015 at 13:12, Sascha Hauer s.ha...@pengutronix.de wrote: We have clk_set_parent for changing the parent and clk_set_rate to change the rate. Use the

Re: node-hotplug: is memset 0 safe in try_offline_node()?

2015-03-05 Thread Xishi Qiu
On 2015/3/5 16:26, Gu Zheng wrote: Hi Xishi, Could you please try the following one? It postpones the reset of obsolete pgdat from try_offline_node() to hotadd_new_pgdat(), and just resetting pgdat-nr_zones and pgdat-classzone_idx to be 0 rather than the whole reset by memset() as Kame

Re: [PATCH 07/11] pinctrl: berlin: use proper compatibles

2015-03-05 Thread Linus Walleij
On Wed, Feb 11, 2015 at 5:15 PM, Antoine Tenart antoine.ten...@free-electrons.com wrote: The Berlin pin-controller driver was sharing the chip and system controller nodes with the clock and the reset drivers. They all shared the same compatible. With the introduction of the Marvell Berlin MFD

Persoenlichen Brief

2015-03-05 Thread Herr Juan Sebastian Morato
Guten Tag, Ich bin Herr Juan Sebastian Morato, der Auditor General von Unicaja Bank Madrid. Im Zuge meiner Abschlusspruefung, entdeckte ich eine schwimmende Fonds auf einem Konto, das 1990 bei der Cam Bank eroeffnet wurde, bevor der Besitz von Unicaja Gruppe gekauft wurde, ich bin der

Re: [PATCH v2 07/15] x86/lib/copy_user_64.S: Convert to ALTERNATIVE_2

2015-03-05 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: Ha! There's a neat alternatives debugging trick with perf that you might not know about: if you run 'perf top' as root then perf will use /proc/kcore to disassemble the live kernel image and if you look at the assembly output of hot functions then

Re: [PATCH v1 5/6] eeprom: qfprom: Add Qualcomm QFPROM support.

2015-03-05 Thread Paul Bolle
On Thu, 2015-03-05 at 09:46 +, Srinivas Kandagatla wrote: diff --git a/drivers/eeprom/Kconfig b/drivers/eeprom/Kconfig index bff8ecb..65325c7 100644 --- a/drivers/eeprom/Kconfig +++ b/drivers/eeprom/Kconfig @@ -28,4 +28,11 @@ config EEPROM_SUNXI_SID This driver can also be built

[PATCH ulf.hansson-mmc] mmc: dw_mmc: exynos: dw_mci_exynos_prepare_hs400_tuning() can be static

2015-03-05 Thread kbuild test robot
Signed-off-by: Fengguang Wu fengguang...@intel.com --- dw_mmc-exynos.c |2 +- dw_mmc.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 0a56d766..e761eb1 100644 ---

Re: [PATCH] mmc: tmio: Remove bogus un-initialization in tmio_mmc_host_free()

2015-03-05 Thread Geert Uytterhoeven
Ping? On Wed, Feb 18, 2015 at 5:34 PM, Geert Uytterhoeven geert+rene...@glider.be wrote: If CONFIG_DEBUG_SLAB=y: sh_mobile_sdhi ee10.sd: Got CD GPIO sh_mobile_sdhi ee10.sd: Got WP GPIO platform ee10.sd: Driver sh_mobile_sdhi requests probe deferral ... Slab

Re: [PATCH v1 4/6] eeprom: sunxi: Move the SID driver to the eeprom framework

2015-03-05 Thread Paul Bolle
On Thu, 2015-03-05 at 09:46 +, Srinivas Kandagatla wrote: --- a/drivers/eeprom/Kconfig +++ b/drivers/eeprom/Kconfig @@ -17,4 +17,15 @@ config EEPROM_DEBUG help Say yes here to enable debugging support. +config EEPROM_SUNXI_SID + depends on ARCH_SUNXI + tristate

[PATCH 2/3] resource: Add new flag IORESOURCE_MEM_WARN

2015-03-05 Thread Boaz Harrosh
memory resource providers set this flag if they want that request_region will print a warning in dmesg if this particular memory resource is locked by a driver. Thous acting as a Protocol Police about experimental devices that did not pass a committee approval. The Only user of this flag is

Re: [PATCH 2/2] dmaengine: fsl-edma: add PM suspend/resume support

2015-03-05 Thread Vinod Koul
On Tue, Dec 30, 2014 at 04:41:47PM +0800, Jingchang Lu wrote: This adds power management suspend/resume support for the fsl-edma driver. Signed-off-by: Jingchang Lu jingchang...@freescale.com --- drivers/dma/fsl-edma.c | 38 ++ 1 file changed, 38

Re: checkpatch spell checking (was: Re: [Intel-gfx] [PATCH] drm/i915: Reudce CHV DPLL min vco frequency to 4.8 GHz)

2015-03-05 Thread Joe Perches
On Thu, 2015-03-05 at 09:43 +0200, Jani Nikula wrote: On Wed, 04 Mar 2015, Ville Syrjälä ville.syrj...@linux.intel.com wrote: On Wed, Mar 04, 2015 at 08:11:38PM +0530, Purushothaman, Vijay A wrote: Minor nitpick: typo in patch title Dang. I already fixed a typo there before sending this

Re: [PATCH] perf/tui: Change default selection background color to yellow

2015-03-05 Thread Borislav Petkov
On Thu, Mar 05, 2015 at 11:32:13AM +0100, Ingo Molnar wrote: Boris reported that 'perf top' is unusable on his default 'black on white' terminal, which uses (eye friendly) light-grey as a background color. The reason is that the TUI cursor for the current selection line uses

Re: [PATCH] x86: Bypass legacy PIC and PIT on ACPI hardware reduced platform

2015-03-05 Thread Li, Aubrey
On 2015/3/5 4:11, Ingo Molnar wrote: * Arjan van de Ven ar...@linux.intel.com wrote: On 3/4/2015 1:50 AM, Borislav Petkov wrote: On Wed, Mar 04, 2015 at 12:43:08AM -0800, Arjan van de Ven wrote: Using 'acpi_gbl_reduced_hardware' flag outside the ACPI code is a mistake. ideally, the

[PATCH 1/2] clocksource: efm32: Fix a NULL pointer dereference

2015-03-05 Thread Daniel Lezcano
From: Yongbae Park yongb...@gmail.com The initialisation of the efm32 clocksource first sets up the irq and only after that initialises the data needed for irq handling. In case this initialisation is delayed the irq handler would dereference a NULL pointer. I'm not aware of anything that could

Re: [PATCH v9 5/5] KVM: arm/arm64: add irqfd support

2015-03-05 Thread Marc Zyngier
On 05/03/15 14:04, Eric Auger wrote: Hi Marc, On 03/05/2015 11:53 AM, Marc Zyngier wrote: On 04/03/15 10:14, Eric Auger wrote: This patch enables irqfd on arm/arm64. Both irqfd and resamplefd are supported. Injection is implemented in vgic.c without routing. This patch enables

Re: [PATCH 2/2] livepatch: fix patched module loading race

2015-03-05 Thread Petr Mladek
On Thu 2015-03-05 09:52:41, Masami Hiramatsu wrote: (2015/03/04 22:17), Petr Mladek wrote: On Tue 2015-03-03 17:02:22, Josh Poimboeuf wrote: It's possible for klp_register_patch() to see a module before the COMING notifier is called, or after the GOING notifier is called. That can cause

[PATCH v2] Remove deprecated IRQF_DISABLED flag entirely

2015-03-05 Thread Valentin Rothberg
The IRQF_DISABLED is a NOOP and has been scheduled for removal since Linux v2.6.36 by commit 6932bf37bed4 (genirq: Remove IRQF_DISABLED from core code). According to commit e58aa3d2d0cc (genirq: Run irq handlers with interrupts disabled) running IRQ handlers with interrupts enabled can cause

Re: [PATCH 4/5] TTY: fix tty_wait_until_sent on 64-bit machines

2015-03-05 Thread Peter Hurley
On 03/04/2015 04:39 AM, Johan Hovold wrote: Fix overflow bug in tty_wait_until_sent on 64-bit machines, where an infinite timeout (0) would be passed to the underlying tty-driver's wait_until_sent-operation as a negative timeout (-1), causing it to return immediately. Wow, that is a nasty

Re: intel_soc_dts_thermal binding issues

2015-03-05 Thread Josh Boyer
On Wed, Mar 4, 2015 at 8:55 PM, Zhang, Rui rui.zh...@intel.com wrote: What kernel are you using? I think it should be fixed by commit 014d9d5d0cc1da79bbe48fbc5e1068c5616238d2, which is merged in 3.19-rc5. The reporter with the ASUS machine was running 3.18.7. However, on my NUC machine I

Re: [PATCH v3 4/5] clocksource: sun5i: Refactor the current code

2015-03-05 Thread Daniel Lezcano
On 03/05/2015 11:20 AM, Maxime Ripard wrote: Refactor the code in order to remove the global variables and split the clock source and clock events registration in order to ease the addition of the clock notifiers needed to handle the parent clock rate changes. Signed-off-by: Maxime Ripard

Re: [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object

2015-03-05 Thread Steven Rostedt
On Mon, Feb 23, 2015 at 11:12:39PM +0300, Andrey Skvortsov wrote: This warning is moved from linux-next to v4.0-rc1 now. After system boot is just a black screen. I ssh'ed into the machine and saved the log. I attached updated dmesg.log with drm.debug=6. Hopefully it helps. If you need

Re: [PATCH v9 5/5] KVM: arm/arm64: add irqfd support

2015-03-05 Thread Marc Zyngier
On 05/03/15 14:26, Eric Auger wrote: On 03/05/2015 03:20 PM, Marc Zyngier wrote: On 05/03/15 14:04, Eric Auger wrote: Hi Marc, On 03/05/2015 11:53 AM, Marc Zyngier wrote: On 04/03/15 10:14, Eric Auger wrote: This patch enables irqfd on arm/arm64. Both irqfd and resamplefd are supported.

Re: [PATCH v2] ARM64: Add new Xilinx ZynqMP SoC

2015-03-05 Thread Michal Simek
Hi Marc, On 03/05/2015 03:05 PM, Marc Zyngier wrote: Hi Michal, On 05/03/15 13:53, Michal Simek wrote: Initial version of device tree for Xilinx ZynqMP SoC. Signed-off-by: Michal Simek michal.si...@xilinx.com Acked-by: Sören Brinkmann soren.brinkm...@xilinx.com --- Changes in v2: -

[PATCH] clocksource: sun5i: Refactor the current code

2015-03-05 Thread Daniel Lezcano
From: Maxime Ripard maxime.rip...@free-electrons.com Refactor the code in order to remove the global variables and split the clock source and clock events registration in order to ease the addition of the clock notifiers needed to handle the parent clock rate changes. [dlezcano] : Fixed conflict

Re: [PATCH] SoC: Fix MAX98357A codec driver dependencies

2015-03-05 Thread Mark Brown
On Thu, Mar 05, 2015 at 06:05:45AM -0800, Guenter Roeck wrote: I notice that the problem this patch is trying to fix is still seen in the upstream kernel. Did the patch get lost after all, or is it still in the queue ? My git tree is public... signature.asc Description: Digital signature

Re: [PATCH 2/5] TTY: bfin_jtag_comm: remove incorrect wait_until_sent operation

2015-03-05 Thread Peter Hurley
On 03/04/2015 04:39 AM, Johan Hovold wrote: Remove incorrect and redundant wait_until_sent operation, which waits for the driver buffer rather than any hardware buffers to drain, something which is already taken care of by the tty layer (and chars_in_buffer). Reviewed-by: Peter Hurley

Re: [PATCH 5/5] TTY: fix tty_wait_until_sent maximum timeout

2015-03-05 Thread Peter Hurley
On 03/04/2015 04:39 AM, Johan Hovold wrote: Currently tty_wait_until_sent may take up to twice as long as the requested timeout while waiting for driver and hardware buffers to drain. Fix this by taking the remaining number of jiffies after waiting for driver buffers to drain into account

Re: [PATCH v3 1/4] mm: cma: add trace events to debug physically-contiguous memory allocations

2015-03-05 Thread Stefan Strogin
Hi Aneesh, On 03/03/15 12:13, Aneesh Kumar K.V wrote: Are we interested only in successful allocation and release ? Should we also have the trace point carry information regarding failure ? -aneesh I think we actually can be interested in tracing allocation failures too. Thanks for the

[PATCH v2 2/3] MIPS: OCTEON: Protect accesses to bootbus flash with octeon_bootbus_sem.

2015-03-05 Thread Aleksey Makarov
From: David Daney david.da...@cavium.com Without this, we get bus errors. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@auriga.com --- arch/mips/Kconfig | 1 + arch/mips/cavium-octeon/flash_setup.c | 42

[PATCH v2 0/3] MIPS: OCTEON: flash: syncronize bootbus access

2015-03-05 Thread Aleksey Makarov
Changes in v2: - Rebase to v4.0-rc2 Summary: - Use semaphore to protect access to bootbus. - Use device tree to probe for flash chips. Version 1: https://lkml.kernel.org/g/1419337623-16101-1-git-send-email-aleksey.maka...@auriga.com David Daney (3): MIPS: OCTEON: Add semaphore to

[PATCH v2 1/3] MIPS: OCTEON: Add semaphore to serialize bootbus accesses.

2015-03-05 Thread Aleksey Makarov
From: David Daney david.da...@cavium.com Some hardware blocks attached to the OCTEON bootbus run asynchronously to accesses from the CPUs. These include MMC/SD host, CF(when using DMA), and NAND controller. A bus error, or corrupt data may occur if a CPU is trying to access a bootbus connected

Re: [PATCH] perf/tui: Change default selection background color to yellow

2015-03-05 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 05, 2015 at 11:32:13AM +0100, Ingo Molnar escreveu: Boris reported that 'perf top' is unusable on his default 'black on white' terminal, which uses (eye friendly) light-grey as a background color. The reason is that the TUI cursor for the current selection line uses

Re: [PATCH 2/2] livepatch: fix patched module loading race

2015-03-05 Thread Josh Poimboeuf
On Thu, Mar 05, 2015 at 09:52:41AM +0900, Masami Hiramatsu wrote: (2015/03/04 22:17), Petr Mladek wrote: On Tue 2015-03-03 17:02:22, Josh Poimboeuf wrote: It's possible for klp_register_patch() to see a module before the COMING notifier is called, or after the GOING notifier is called.

[PATCH 2/2] clockevents: sun5i: Fix setup_irq init sequence

2015-03-05 Thread Daniel Lezcano
From: Yongbae Park yongb...@gmail.com The interrupt is enabled before the handler is set. Even this bug did not appear, it is potentially dangerous as it can lead to a NULL pointer dereference. Fix the error by enabling the interrupt after clockevents_config_and_register() is called. Cc:

Re: [PATCH 0/9] Support follow_link in RCU-walk.

2015-03-05 Thread John Stoffel
Al == Al Viro v...@zeniv.linux.org.uk writes: Al On Thu, Mar 05, 2015 at 04:21:21PM +1100, NeilBrown wrote: Hi Al (and others), I wonder if you could look over this patchset. It allows RCU-walk to follow symlinks in many common cases, thus removing a surprising performance hit caused by

Re: [PATCH v9 5/5] KVM: arm/arm64: add irqfd support

2015-03-05 Thread Eric Auger
On 03/05/2015 03:20 PM, Marc Zyngier wrote: On 05/03/15 14:04, Eric Auger wrote: Hi Marc, On 03/05/2015 11:53 AM, Marc Zyngier wrote: On 04/03/15 10:14, Eric Auger wrote: This patch enables irqfd on arm/arm64. Both irqfd and resamplefd are supported. Injection is implemented in vgic.c

Re: [PATCH 0/7] Freescale DPAA FMan FLIB(s)

2015-03-05 Thread Jamal Hadi Salim
Hi Emil, On 03/05/15 08:48, Emil Medve wrote: The intent is to upstream the entire suite of the DPAA drivers. All the drivers are still WIP, but B/QMan have been already presented to the upstream community and this is the first attempt to publish (some low level code of) the FMan driver. As we

Re: [PATCH v3 2/2] cgroups: add a pids subsystem

2015-03-05 Thread Marian Marinov
Hi Aleksa, would you be willing to put your patches online in a repo like what Dwight Engen did 3 years ago. https://github.com/dwengen/linux/tree/cpuacct-task-limit-3.14 I'm using his patchset for more then a year now. However I would be happy to experiment with your patches as well. And

[PATCH v2 3/3] MIPS: OCTEON: Use device tree to probe for flash chips.

2015-03-05 Thread Aleksey Makarov
From: David Daney david.da...@cavium.com Don't assume they are there, the device tree will tell us. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Aleksey Makarov aleksey.maka...@auriga.com --- arch/mips/cavium-octeon/flash_setup.c | 42 ++- 1

[PATCH] KVM: vgic: add virt-capable compatible strings

2015-03-05 Thread Mark Rutland
Several dts only list arm,cortex-a7-gic or arm,gic-400 in their GIC compatible list, and while this is correct (and supported by the GIC driver), KVM will fail to detect that it can support these cases. This patch adds the missing strings to the VGIC code. The of_device_id entries are padded to

Re: [PATCH] do_fork(): Rename 'stack_size' argument to reflect actual use

2015-03-05 Thread Alex Dowad
On 05/03/15 01:07, David Rientjes wrote: On Wed, 4 Mar 2015, Alex Dowad wrote: The 'stack_size' argument is never used to pass a stack size. It's only used when forking a kernel thread, in which case it is an argument which should be passed to the 'main' function which the kernel thread

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-05 Thread Boris Brezillon
Hi Boris, On Thu, 5 Mar 2015 10:53:08 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, I'd missed the fact that this was for SW watchdog as opposed to HW watchdog, which may explain my confusion. [...] err = request_irq(wdt-irq, wdt_interrupt, -

Re: [PATCH -stable] ath6kl: fix struct hif_scatter_req list handling

2015-03-05 Thread Jiri Slaby
On 02/20/2015, 04:20 PM, Kalle Valo wrote: Josh Cartwright jo...@ni.com writes: From: Kalle Valo kv...@qca.qualcomm.com commit 31b9cc9a873dcab161999622314f98a75d838975 upstream. Jason noticed that with Yocto GCC 4.8.1 ath6kl crashes with this iperf command: iperf -c $TARGET_IP -i 5 -t

[PATCH 2/2] bq2415x_charger: Add support for bq24157s

2015-03-05 Thread Anda-Maria Nicolae
This patch adds bq24157s charger in the list of supported chargers. bq24157s is similar to bq24158, except for Bit6 from Special Charger Voltage/Enable Pin Status register, but this register is currently not used by bq2415x_charger. Signed-off-by: Anda-Maria Nicolae anda-maria.nico...@intel.com

[PATCH 0/2] bq2415x_charger: Fix coding style issues and add new charger in the list of supported chargers

2015-03-05 Thread Anda-Maria Nicolae
Hello, First patch from patchset fixes coding style issues: removes unnecessary else after return. This way, the coding style complies with checkpatch.pl. Second patch from patchset updates bq2415x driver to support bq24157s charger. Thanks, Anda Anda-Maria Nicolae (2): bq2415x_charger:

Re: [PATCH] x86: Bypass legacy PIC and PIT on ACPI hardware reduced platform

2015-03-05 Thread Li, Aubrey
On 2015/3/5 5:52, Rafael J. Wysocki wrote: On Wednesday, March 04, 2015 08:21:01 PM Alan Cox wrote: On Wed, 2015-03-04 at 15:05 +0100, Borislav Petkov wrote: On Wed, Mar 04, 2015 at 03:16:07PM +0100, Rafael J. Wysocki wrote: Sort of. What we need is a do not touch PIC/PIT bit for the code

[PATCH] KVM: arm/arm64: prefer IS_ENABLED to a static variable

2015-03-05 Thread Paolo Bonzini
IS_ENABLED gives compile-time checking and keeps the code clearer. The one exception is inside kvm_vm_ioctl_check_extension, where the established idiom is to wrap the case labels with an #ifdef. Signed-off-by: Paolo Bonzini pbonz...@redhat.com -- Untested... --- arch/arm/kvm/arm.c | 17

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-05 Thread Boris Brezillon
On Thu, 5 Mar 2015 12:17:23 +0100 Boris Brezillon boris.brezil...@free-electrons.com wrote: Hi Boris, ^ Mark, I'm suffering from a dual personality disorder :-) On Thu, 5 Mar 2015 10:53:08 + Mark Rutland mark.rutl...@arm.com wrote: Hi Boris, I'd missed the fact that this

Re: [PATCH v9 5/5] KVM: arm/arm64: add irqfd support

2015-03-05 Thread Marc Zyngier
On 05/03/15 11:27, Paolo Bonzini wrote: On 05/03/2015 11:53, Marc Zyngier wrote: +#ifdef CONFIG_HAVE_KVM_IRQFD + case KVM_CAP_IRQFD: + r = vgic_present; + break; +#endif Nitpick: we have select HAVE_KVM_IRQFD, so we can lose the #ifdef-ery. Alternatively, I've

Re: [PATCH] x86: Bypass legacy PIC and PIT on ACPI hardware reduced platform

2015-03-05 Thread Ingo Molnar
* Li, Aubrey aubrey...@linux.intel.com wrote: On 2015/3/5 4:11, Ingo Molnar wrote: * Arjan van de Ven ar...@linux.intel.com wrote: On 3/4/2015 1:50 AM, Borislav Petkov wrote: On Wed, Mar 04, 2015 at 12:43:08AM -0800, Arjan van de Ven wrote: Using 'acpi_gbl_reduced_hardware' flag

Re: [PATCH v2] ASoC: Add support for NAU8824 codec to ASoC

2015-03-05 Thread Mark Brown
On Wed, Mar 04, 2015 at 11:32:12PM +0100, Paul Bolle wrote: Chih-Chiang Chang schreef op wo 04-03-2015 om 20:53 [+0800]: +struct nau8824_platform_data { In the future something other than just sound/soc/codecs/nau8824.h is going to include this header, right? It's platform data, that's the

Re: [PATCH wq/for-4.0-fixes v2] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-03-05 Thread Tejun Heo
On Thu, Mar 05, 2015 at 04:36:38AM -0500, Tejun Heo wrote: On Thu, Mar 05, 2015 at 10:24:50AM +0100, Tomeu Vizoso wrote: ... [ 317.251001] PC is at bit_waitqueue+0x38/0x6c ... [ 317.420658] [c028fe18] (bit_waitqueue) from [c0270d34] (__cancel_work_timer+0x28/0x1b0) [ 317.430598]

[tip:x86/urgent] x86/asm/entry/64: Remove a bogus 'ret_from_fork' optimization

2015-03-05 Thread tip-bot for Andy Lutomirski
Commit-ID: 956421fbb74c3a6261903f3836c0740187cf038b Gitweb: http://git.kernel.org/tip/956421fbb74c3a6261903f3836c0740187cf038b Author: Andy Lutomirski l...@amacapital.net AuthorDate: Thu, 5 Mar 2015 01:09:44 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 5 Mar 2015

Re: [PATCH v9 16/21] irqchip: Add GICv2 specific ACPI boot support

2015-03-05 Thread Catalin Marinas
On Wed, Mar 04, 2015 at 11:50:36PM +0100, Rafael J. Wysocki wrote: On Wednesday, February 25, 2015 04:39:56 PM Hanjun Guo wrote: From: Tomasz Nowicki tomasz.nowi...@linaro.org ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-05 Thread Mark Rutland
Hi Boris, TL;DR - I guess using IRQF_NO_SUSPEND for now is OK a a best-effort approach for now, so don't let my comments block this patch. However, there are still some potential issues in what would already be a failure case: your usual wakeup mechanism not waking the system up in time to poke

[tip:x86/mm] x86/mm/pat: Initialize __cachemode2pte_tbl[] and __pte2cachemode_tbl[] in a bit more readable fashion

2015-03-05 Thread tip-bot for Ingo Molnar
Commit-ID: c709feda56886c38af3116254f84cbe6a78b3a5d Gitweb: http://git.kernel.org/tip/c709feda56886c38af3116254f84cbe6a78b3a5d Author: Ingo Molnar mi...@kernel.org AuthorDate: Thu, 5 Mar 2015 08:58:44 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 5 Mar 2015 09:48:17

Re: bcma: Kconfig: Let it depend on PCI

2015-03-05 Thread Kalle Valo
bcma also needs PCI, just like IOMEM and DMA, so let it depend on PCI, or will cause building break for allmodconfig under c6x: CC [M] drivers/bcma/driver_pcie2.o drivers/bcma/driver_pcie2.c: In function 'bcma_core_pcie2_up': drivers/bcma/driver_pcie2.c:196:8: error: implicit

[PATCH 4/8] pmem: Add support for direct_access()

2015-03-05 Thread Boaz Harrosh
From: Ross Zwisler ross.zwis...@linux.intel.com Also fixed a top the initial version [boaz] SQUASHME pmem: Micro optimization the hotpath 002 Signed-off-by: Ross Zwisler ross.zwis...@linux.intel.com Signed-off-by: Boaz Harrosh b...@plexistor.com --- drivers/block/pmem.c | 16

[PATCH 3/8] pmem: Add support for rw_page()

2015-03-05 Thread Boaz Harrosh
From: Ross Zwisler ross.zwis...@linux.intel.com Based on commit a72132c31d58 (brd: add support for rw_page()) Signed-off-by: Ross Zwisler ross.zwis...@linux.intel.com --- drivers/block/pmem.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/block/pmem.c

[PATCH 5/8] mm: Let sparse_{add,remove}_one_section receive a node_id

2015-03-05 Thread Boaz Harrosh
From: Yigal Korman yi...@plexistor.com Refactored the arguments of sparse_add_one_section / sparse_remove_one_section to use node id instead of struct zone * - A memory section has no direct connection to zones, all that was needed from zone was the node id. This is for add_persistent_memory

Re: [PATCH -next 07/12] serial: earlycon: Common log banner for command line and DT

2015-03-05 Thread Geert Uytterhoeven
Hi Peter, On Wed, Mar 4, 2015 at 6:24 PM, Peter Hurley pe...@hurleysoftware.com wrote: --- a/drivers/tty/serial/earlycon.c +++ b/drivers/tty/serial/earlycon.c @@ -69,6 +69,7 @@ static void __init earlycon_init(struct earlycon_device *device, const char

Re: [PATCH v3 5/5] irqchip: gicv3-its: support safe initialization

2015-03-05 Thread Marc Zyngier
On 04/03/15 03:18, Yun Wu wrote: It's unsafe to change the configurations of an activated ITS directly since this will lead to unpredictable results. This patch guarantees the ITSes being initialized are quiescent. Signed-off-by: Yun Wu wuyun...@huawei.com ---

Re: [PATCH] genirq: describe IRQF_COND_SUSPEND

2015-03-05 Thread Mark Rutland
On Thu, Mar 05, 2015 at 11:33:06AM +, Alexandre Belloni wrote: On 05/03/2015 at 11:04:11 +, Mark Rutland wrote : +In rare cases an IRQ can be shared between a wakeup device driver and an +IRQF_NO_SUSPEND user. In order for this to be safe, the wakeup device driver

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-05 Thread Rob Clark
On Thu, Mar 5, 2015 at 5:06 AM, Archit Taneja arch...@codeaurora.org wrote: On 02/23/2015 09:09 PM, Daniel Vetter wrote: On Mon, Feb 23, 2015 at 10:03:21AM -0500, Rob Clark wrote: On Mon, Feb 23, 2015 at 9:09 AM, Daniel Vetter dan...@ffwll.ch wrote: On Mon, Feb 23, 2015 at 08:33:36AM

Re: [PATCH 0/2] make automatic device_id generation possible

2015-03-05 Thread Karel Zak
On Thu, Mar 05, 2015 at 11:04:36AM +0900, Minchan Kim wrote: On Thu, Mar 05, 2015 at 10:47:52AM +0900, Sergey Senozhatsky wrote: On (03/05/15 10:33), Minchan Kim wrote: hm, I can think of a huge build server with tons of users. /dev/zram$(id -u) created during user login and

Re: [PATCH 4.0-rc1 v17 4/6] printk: Simple implementation for NMI backtracing

2015-03-05 Thread Daniel Thompson
On Wed, 2015-03-04 at 09:21 -0800, Joe Perches wrote: On Wed, 2015-03-04 at 16:33 +, Daniel Thompson wrote: On Wed, 2015-03-04 at 11:20 -0500, Steven Rostedt wrote: On Wed, 04 Mar 2015 08:13:21 -0800 Joe Perches j...@perches.com wrote: On Wed, 2015-03-04 at 10:12 +, Daniel

[PATCH v2 2/9] ARM: at91: remove unused at91_ioremap_matrix and header

2015-03-05 Thread Alexandre Belloni
at91_ioremap_matrix and the at91_matrix.h header are not used anymore, remove them. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/generic.h | 4 arch/arm/mach-at91/include/mach/at91_matrix.h | 23 ---

[PATCH v2 4/9] ARM: at91/dt: introduce atmel,chip-dbgu

2015-03-05 Thread Alexandre Belloni
The DBGU is not a simple UART and we need to be able to distinguish it from the other UARTs, in particular to get its address and check the chip id. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Documentation/devicetree/bindings/serial/atmel-usart.txt | 3 ++-

[PATCH v2 1/9] ARM: at91: remove NEED_MACH_IO_H

2015-03-05 Thread Alexandre Belloni
From: Arnd Bergmann a...@arndb.de The mach/io.h header on at91 is used to support a nonstandard I/O space window for the cf card driver. This changes the driver to use pci_ioremap_io in order to have the standard location, and then removes the custom mach/io.h.

[PATCH v2 8/9] ARM: at91: sama5 use SoC detection infrastructure

2015-03-05 Thread Alexandre Belloni
Use the soc detection infrastructure for sama5 initialization. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/sama5.c | 54 +- arch/arm/mach-at91/soc.h | 14 2 files changed, 53

Re: [PATCH v3 0/5] enhance configuring an ITS

2015-03-05 Thread Marc Zyngier
On 04/03/15 03:18, Yun Wu wrote: This patch series makes some enhancement to ITS configuration in the following aspects: o make allocation of the ITS tables more sensible o replace magic numbers with sensible macros o guarantees a safe quiescent status before initializing an ITS This

[PATCH v2 6/9] ARM: at91: at91rm9200 use SoC detection infrastructure

2015-03-05 Thread Alexandre Belloni
Use the soc detection infrastructure for at91rm9200 initialization. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91rm9200.c | 34 -- arch/arm/mach-at91/soc.h| 3 +++ 2 files changed, 23 insertions(+), 14

[PATCH v2 9/9] ARM: at91: remove old setup

2015-03-05 Thread Alexandre Belloni
The old setup is not used anymore, remove it Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/Makefile | 2 +- arch/arm/mach-at91/setup.c | 320 2 files changed, 1 insertion(+), 321 deletions(-) delete

[PATCH v2 3/9] ARM: at91: remove unused _matrix.h headers

2015-03-05 Thread Alexandre Belloni
The matrix headers are not used anymore, remove them. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../mach-at91/include/mach/at91sam9260_matrix.h| 80 --- .../mach-at91/include/mach/at91sam9261_matrix.h| 64 -

[PATCH v2 0/9] ARM: at91 cleanups for 4.1 #1

2015-03-05 Thread Alexandre Belloni
Hi, This series removes more mach/headers. Then it introduces a more scalable SoC detection infrastructure which allows to remove the at91_map_io/at91_alt_map_io and iotable_init ugliness. Changes in v2: - All the SoC names are lowercased - Removed the unused compatible string - Use

[PATCH v2 7/9] ARM: at91: at91sam9: use SoC detection infrastructure

2015-03-05 Thread Alexandre Belloni
Use the soc detection infrastructure for at91sam9 initialization. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/at91sam9.c | 86 --- arch/arm/mach-at91/soc.h | 30 +++ 2 files changed, 94

[PATCH v2 5/9] ARM: at91: add soc detection infrastructure

2015-03-05 Thread Alexandre Belloni
From: Boris BREZILLON boris.brezil...@free-electrons.com Add new structures and functions to handle AT91 SoC detection. [alexandre.bell...@free-electrons.com: reworked DBGU detection] Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com Signed-off-by: Boris BREZILLON

Re: parent/child hierarchy for regulator

2015-03-05 Thread Stefan Wahren
Hi Peter, Am 05.03.2015 um 11:35 schrieb Peter Chen: Hi lists, Any good ways at code/dts to show parent/child hierarchy for regulator? The related regulators at my platforms like below: PMIC (SWB 5v) -- Switch Chip (GPIO Regulator) -- USB VBUS PMIC has one 5V regulator (eg, swbst at

Re: parent/child hierarchy for regulator

2015-03-05 Thread Mark Brown
On Thu, Mar 05, 2015 at 06:35:36PM +0800, Peter Chen wrote: Any good ways at code/dts to show parent/child hierarchy for regulator? There's plenty of examples in mainline... The related regulators at my platforms like below: PMIC (SWB 5v) -- Switch Chip (GPIO Regulator) -- USB VBUS PMIC

<    2   3   4   5   6   7   8   9   >