[PATCH v2 3/5] dt-bindings: video: Add documentation for rockchip vop

2014-09-18 Thread Mark yao
This adds binding documentation for Rockchip SoC VOP driver. Signed-off-by: Mark Yao mark@rock-chips.com --- changes in v2: - rename lcdc to vop - add vop reset - add iommu node - add port for display-subsystem .../devicetree/bindings/video/rockchip-vop.txt | 58

[PATCH v2 4/5] dt-bindings: video: Add documentation for rockchip edp

2014-09-18 Thread Mark yao
Add binding documentation for Rockchip SoC EDP driver. Signed-off-by: Jeff Chen jeff.c...@rock-chips.com Signed-off-by: Mark Yao mark@rock-chips.com --- changes in v2: - add edp reset - add panel node - add port for display-subsystem .../devicetree/bindings/video/rockchip-edp.txt | 50

Re: [RFC] ARM: edma: unconditionally ack the error interrupt

2014-09-18 Thread Peter Ujfalusi
On 09/10/2014 10:39 PM, Sebastian Andrzej Siewior wrote: With 8250-dma, 8250-omap and am335x I observe the following: - start a RX transfer which will finish once the FIFO has enough data - The TX side starts a large TX transfer, say 1244 bytes. It takes approx 102ms for the transfer to

[PATCH v2 5/5] drm/rockchip: Add support for Rockchip Soc EDP

2014-09-18 Thread Mark yao
This adds support for Rockchip soc edp found on rk3288 Signed-off-by: Mark Yao mark@rock-chips.com Signed-off-by: Jeff Chen jeff.c...@rock-chips.com --- change in v2: - fix code sytle - use some define from drm_dp_helper.h - use panel-simple driver for primary display. - remove unnecessary

Re: [PATCHv2] pinctrl: baytrail: Clear DIRECT_IRQ bit

2014-09-18 Thread Samuel Ortiz
Hi Mika, On Thu, Sep 18, 2014 at 10:49:43AM +0300, Mika Westerberg wrote: On Wed, Sep 17, 2014 at 03:47:01PM +0200, Loic Poulain wrote: Direct Irq En bit can be initialized to a bad value. This bit has to be cleared for io access mode. +Eric I would like to have a bit better

[PATCH] ASoC: samsung: Remove goni or aquila with the WM8994

2014-09-18 Thread Paul Bolle
it would be nice if you could submit a patch to remove the drivers from ASoC, then we can see if anybody complains. Same thing for v3.17-rc5 and next-20140918. Let's see if we can remove the goni or aquila with wm8994 driver. Done on top of next-20140918. Untested. -8- From: Paul

[PATCH] regmap: fix NULL pointer dereference in regmap_get_val_endian

2014-09-18 Thread Pankaj Dubey
Recents commits for getting reg endianness causing NULL pointer dereference if dev is passed NULL in regmap_init_mmio. This patch fixes this issue, and allows to parse reg endianness only if dev and dev-of_node exist. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com ---

Re: [PATCH v2 0/5] AHCI: Optimize interrupt processing

2014-09-18 Thread Alexander Gordeev
On Wed, Sep 17, 2014 at 05:41:44PM +0200, Alexander Gordeev wrote: Hello, As per Tejun's feedback I am sending v2. This should have been v3, not v2. Please, disregard this series if you see it. Thanks! Changes since v1: - single patch split in a series of 5; - changelog for patch 5

Re: [PATCHv2] pinctrl: baytrail: Clear DIRECT_IRQ bit

2014-09-18 Thread Mika Westerberg
On Thu, Sep 18, 2014 at 11:31:35AM +0200, Loic Poulain wrote: Warn seems necessary because we unconditionally change the pin behavior, I didn't meet any case where direct irq is truly used on our platform. But maybe it could happen? Don't want to cause any hidden regression. The datasheet

Re: [PATCHv2] pinctrl: baytrail: Clear DIRECT_IRQ bit

2014-09-18 Thread Mika Westerberg
On Thu, Sep 18, 2014 at 11:41:13AM +0200, Samuel Ortiz wrote: Hi Mika, On Thu, Sep 18, 2014 at 10:49:43AM +0300, Mika Westerberg wrote: On Wed, Sep 17, 2014 at 03:47:01PM +0200, Loic Poulain wrote: Direct Irq En bit can be initialized to a bad value. This bit has to be cleared for io

Re: [PATCH 0/6] usb: dwc2/gadget: improvements for gadget driver

2014-09-18 Thread Robert Baldyga
Hi Greg, On 09/10/2014 10:34 PM, Greg KH wrote: On Tue, Sep 09, 2014 at 10:44:51AM +0200, Robert Baldyga wrote: Hi, I have splitted my patchset usb: dwc2/gadget: fix series into two series. This patch series contains improvements for dwc2/gadget driver. It's intended for 3.18. Andrzej

Re: [PATCH v2 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-09-18 Thread Stanimir Varbanov
Hi Jonathan, On 09/15/2014 07:11 PM, Jonathan Cameron wrote: On September 15, 2014 3:12:50 PM GMT+01:00, Stanimir Varbanov svarba...@mm-sol.com wrote: Hi Jonathan, Thanks for the review! On 09/13/2014 08:27 PM, Jonathan Cameron wrote: On 13/09/14 00:27, Hartmut Knaack wrote:

Re: [PATCH] mips: Save all registers when saving the frame

2014-09-18 Thread Ralf Baechle
On Tue, Sep 16, 2014 at 04:45:25PM -0500, miny...@acm.org wrote: From: Corey Minyard cminy...@mvista.com The MIPS frame save code was just saving a few registers, enough to do a backtrace if every function set up a frame. However, this is not working if you are using DWARF unwinding,

Re: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-18 Thread Russell King - ARM Linux
On Thu, Sep 18, 2014 at 05:38:54PM +0800, Wang, Yalin wrote: Hi Russell, mm.. I see your meaning, But how to debug reserved memory, I mean how to know which physical memory are reserved in kernel if Not use /sys/kernel/debug/memblock/reserved debug file ? What are you trying to do when

Re: [PATCH 01/15] powerpc/cell: Move spu_handle_mm_fault() out of cell platform

2014-09-18 Thread Jeremy Kerr
Hi Mikey Ian, Currently spu_handle_mm_fault() is in the cell platform. This code is generically useful for other non-cell co-processors on powerpc. This patch moves this function out of the cell platform into arch/powerpc/mm so that others may use it. Makes sense. Acked-by: Jeremy

Re: [PATCH] fs: don't remove inotify watchers from alive inode-s

2014-09-18 Thread Jan Kara
On Thu 18-09-14 01:01:22, Andrew Vagin wrote: From c7a79bccca1aac70f5e50fb145942b932eca79ba Mon Sep 17 00:00:00 2001 From: Andrey Vagin ava...@openvz.org Date: Sat, 6 Sep 2014 08:35:24 +0400 Subject: [PATCH] fs: don't remove inotify watchers from alive inode-s (v2) Currently watchers are

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-18 Thread Radim Krčmář
2014-09-18 09:19+0200, Borislav Petkov: On Thu, Sep 18, 2014 at 02:29:54AM +0200, Radim Krčmář wrote: I think you proposed to use magic constant in place of of MASK_FAM_X, so Huh, what? Your example. It cannot be verbatim MASK_FAM_X in real code. I interpreted it to be a placeholder for

Re: [PATCH] thermal: show supported policies

2014-09-18 Thread Sanjay Singh Rawat
thanks for the review Rui On Thursday 18 September 2014 06:27 AM, Zhang Rui wrote: On Tue, 2014-09-16 at 16:27 +0530, Sanjay Singh Rawat wrote: With knowledge of supported thermal policies from this attribute, it helps in setting the policy without failure from the available ones. Hmmm, I

Re: [PATCH v4 4/4] dma: pl330: add Power Management support

2014-09-18 Thread Krzysztof Kozlowski
On śro, 2014-09-17 at 20:42 +0200, Ulf Hansson wrote: On 16 September 2014 10:51, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: [...] @@ -2585,6 +2620,34 @@ static int pl330_dma_device_slave_caps(struct dma_chan *dchan, return 0; } +/* + * Assume that IRQ safe

[PATCHv2 1/1] bluetooth: Check for SCO type before setting retransmission effort

2014-09-18 Thread Bernhard Thaler
SCO connection cannot be setup to devices that do not support retransmission. Patch based on http://permalink.gmane.org/gmane.linux.bluez.kernel/7779 and adapted for this kernel version. Code changed to check SCO/eSCO type before setting retransmission effort and max. latency. The purpose of the

Re: [PATCH v2] sound: pci: ctxfi: pr_* replaced with dev_*

2014-09-18 Thread Takashi Iwai
At Thu, 18 Sep 2014 14:51:26 +0530, Sudip Mukherjee wrote: On Mon, Sep 15, 2014 at 08:17:52PM +0200, Takashi Iwai wrote: At Mon, 15 Sep 2014 20:55:54 +0530, Sudip Mukherjee wrote: On Mon, Sep 15, 2014 at 04:29:48PM +0200, Takashi Iwai wrote: At Mon, 15 Sep 2014 19:39:41 +0530,

Re: [PATCH 2/6] phy: improved lookup method

2014-09-18 Thread Heikki Krogerus
On Mon, Sep 15, 2014 at 03:35:08PM +0300, Heikki Krogerus wrote: On Fri, Sep 12, 2014 at 08:16:01PM +0530, Kishon Vijay Abraham I wrote: Assume you have 2 phys in your system.. static struct phy_lookup usb_lookup = { .phy_name = phy-usb.0, .dev_id = usb.0,

Re: [PATCH 02/15] powerpc/cell: Move data segment faulting code out of cell platform

2014-09-18 Thread Jeremy Kerr
Hi Mikey Ian, __spu_trap_data_seg() currently contains code to determine the VSID and ESID required for a particular EA and mm struct. This code is generically useful for other co-processors. This moves the code of the cell platform so it can be used by other powerpc code. OK, nice. +

[PATCH] ASoC: samsung: Remove PCM support for WM8580 on SMDK

2014-09-18 Thread Paul Bolle
the drivers from ASoC, then we can see if anybody complains. Also the same thing for v3.17-rc5 and next-20140918. So let's see if we can remove this driver too. Done on top of next-20140918. Again untested. 8 From: Paul Bolle pebo...@tiscali.nl Commit 28c8331d386a (ARM: S5PV210

Re: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-18 Thread Dong Aisheng
On Thu, Sep 18, 2014 at 03:06:59PM +0530, Pankaj Dubey wrote: Hi, On September 18, 2014 1:26, Dong Aisheng wrote On Thu, Sep 18, 2014 at 11:33:26AM +0530, Pankaj Dubey wrote: Hi, Adding CC to Xiubo Li, Geert Uytterhoeven and Stephen Warren. On Thursday, September 18, 2014,

Re: [PATCH v4 3/3] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-09-18 Thread Johan Hovold
On Tue, Sep 09, 2014 at 10:24:46PM +0300, Octavian Purdila wrote: snip +#define DLN2_GPIO_DIRECTION_IN 0 +#define DLN2_GPIO_DIRECTION_OUT 1 + +static int dln2_gpio_get_direction(struct gpio_chip *chip, unsigned offset) +{ + int ret; + struct dln2_gpio

Re: [Intel-gfx] External monitor issues with 3.17-rc4 and i915 module

2014-09-18 Thread Carlos R. Mafra
On Wed, 17 Sep 2014 at 11:39:57 +0300, Jani Nikula wrote: On Tue, 16 Sep 2014, Carlos R. Mafra crma...@gmail.com wrote: Hi, the same happens with 3.17-rc5. The kernel is unfortunately unusable with my external monitor because after some plug, unplug and suspend to RAM cycles the behaviour

[PATCH] vfs: Don't exchange filenames unconditionally.

2014-09-18 Thread Mikhail Efremov
Only exchange source and destination filenames if flags contain RENAME_EXCHANGE. In case if executable file was running and replaced by other file /proc/PID/exe should still show correct file name, not the old name of the file by which it was replaced. The scenario when this bug manifests itself

Re: [PATCH 1/3] gpio: sch: Consolidate similar algorithms

2014-09-18 Thread Mika Westerberg
On Wed, Sep 17, 2014 at 04:49:03PM +0800, Chang Rebecca Swee Fun wrote: Consolidating similar algorithms into common functions to make GPIO SCH simpler and manageable. Signed-off-by: Chang Rebecca Swee Fun rebecca.swee.fun.ch...@intel.com --- drivers/gpio/gpio-sch.c | 95

Re: [PATCH] vfs: Don't exchange filenames unconditionally.

2014-09-18 Thread Mateusz Guzik
On Thu, Sep 18, 2014 at 02:55:00PM +0400, Mikhail Efremov wrote: Only exchange source and destination filenames if flags contain RENAME_EXCHANGE. But names are still exchanged without RENAME_EXCHANGE, provided they are long enough. da1ce0670c14 introduced this behaviour also for short names

Re: [PATCH 2/3] gpio: sch: Add support for Intel Quark X1000 SoC

2014-09-18 Thread Mika Westerberg
On Wed, Sep 17, 2014 at 04:49:04PM +0800, Chang Rebecca Swee Fun wrote: Intel Quark X1000 provides a total of 16 GPIOs. The GPIOs are split between the legacy I/O bridge and the GPIO controller. GPIO-SCH is the GPIO pins on legacy bridge for Intel Quark SoC. Intel Quark X1000 has 2 GPIOs

Re: [PATCH v2] sound: pci: ctxfi: pr_* replaced with dev_*

2014-09-18 Thread Sudip Mukherjee
On Thu, Sep 18, 2014 at 12:21:20PM +0200, Takashi Iwai wrote: At Thu, 18 Sep 2014 14:51:26 +0530, Sudip Mukherjee wrote: On Mon, Sep 15, 2014 at 08:17:52PM +0200, Takashi Iwai wrote: At Mon, 15 Sep 2014 20:55:54 +0530, Sudip Mukherjee wrote: On Mon, Sep 15, 2014 at 04:29:48PM

Re: [PATCH 3/3] gpio: sch: Enable IRQ support for Quark X1000

2014-09-18 Thread Mika Westerberg
On Wed, Sep 17, 2014 at 04:49:05PM +0800, Chang Rebecca Swee Fun wrote: Intel Quark X1000 GPIO controller supports interrupt handling for both core power well and resume power well. This patch is to enable the IRQ support and provide IRQ handling for Intel Quark X1000 GPIO-SCH device driver.

Re: [PATCH v4 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-18 Thread Johan Hovold
On Tue, Sep 09, 2014 at 10:24:44PM +0300, Octavian Purdila wrote: +static int alloc_rx_slot(struct dln2_mod_rx_slots *rxs) +{ + int ret; + int slot; + + /* No need to timeout here, the wait is bounded by the timeout + * in _dln2_transfer + */ + ret =

Re: [Intel-gfx] External monitor issues with 3.17-rc4 and i915 module

2014-09-18 Thread Jani Nikula
On Thu, 18 Sep 2014, Carlos R. Mafra crma...@gmail.com wrote: On Wed, 17 Sep 2014 at 11:39:57 +0300, Jani Nikula wrote: On Tue, 16 Sep 2014, Carlos R. Mafra crma...@gmail.com wrote: Hi, the same happens with 3.17-rc5. The kernel is unfortunately unusable with my external monitor because

Re: [PATCH 1/1] Drivers: scsi: storvsc: Get rid of warning messages

2014-09-18 Thread Olaf Hering
On Wed, Sep 17, Christoph Hellwig wrote: Also the two patches at http://thread.gmane.org/gmane.linux.drivers.driver-project.devel/56242/ Wasnt the outcome that this was a bad idea? Or at least doing it globally is bad. In any case, its not something I can help with. Olaf -- To unsubscribe

kernel version problem after patching

2014-09-18 Thread r02
There is a kernel version problem after patching the kernel. After installing the kernel and the kernel modules, without patching the kernel, then uname shows the right kernel version and in /lib/modules/ there was the right directory created. But after patching the kernel, installing it and the

[PATCH v2] Implement temperature sensor for vf610-adc

2014-09-18 Thread Sanchayan Maity
Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. The patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned using IIO_CHAN_INFO_PROCESSED option. Sanchayan Maity (1): ARM:

[PATCH v2] ARM: imx: vf610-adc: Add temperature sensor support

2014-09-18 Thread Sanchayan Maity
Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. This patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned using IIO_CHAN_INFO_PROCESSED option. Signed-off-by: Sanchayan Maity

Re: [PATCH 2/2] power: smb347-charger: Support Summit SMB358 charger IC.

2014-09-18 Thread Pavel Machek
On Wed 2014-09-17 11:47:24, Jonghwa Lee wrote: Summit microelectronics' SMB358 charger chip has almost same register map and functionality with SMB347. The voltage and current table are only differed. Thus, SMB347 driver can support SMB358 chip fully with few modifications. Signed-off-by:

Re: kernel version problem after patching

2014-09-18 Thread Gene Heskett
On Thursday 18 September 2014, r...@safe-mail.net wrote: There is a kernel version problem after patching the kernel. After installing the kernel and the kernel modules, without patching the kernel, then uname shows the right kernel version and in /lib/modules/ there was the right directory

Re: [PATCH] i2c: algos: add support for sc18im700 master i2c bus with uart interface

2014-09-18 Thread Wolfram Sang
Hi, thanks for the submission. On Tue, Jun 10, 2014 at 12:15:27AM +0530, Raghavendra Ganiga wrote: This is a patch to add i2c algorith support for nxp sc18im700 master i2c bus controller with uart interface Is this algorithm really shared between various controllers? If not, it makes sense

[PATCH v4 0/4] ftrace: Add a ftrace test collection

2014-09-18 Thread Masami Hiramatsu
Hi, Here is the collection of testcases for ftrace version 4. In this version, I moved all scripts under the tools/testing/selftest :) Updates are: - Use errexit option to simplify tests. - Use signal-based result notify for result codes (except PASS/FAIL). - Fix README according to Steven's

[PATCH v4 3/4] ftracetest: Add kprobe basic testcases

2014-09-18 Thread Masami Hiramatsu
Add basic testcases for kprobe dynamic events. This also shows that the ftracetest accepts sub-directory for new testcases. Changes in v2: - Change shell to sh instead of bash. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com --- .../ftrace/test.d/kprobe/add_and_remove.tc

[PATCH v4 4/4] ftracetest: Add POSIX.3 standard and XFAIL result codes

2014-09-18 Thread Masami Hiramatsu
Add XFAIL and POSIX 1003.3 standard codes (UNRESOLVED/ UNTESTED/UNSUPPORTED) as result codes. These are used for the results that test case is expected to fail or unsupported feature (by config). To return these result code, this introduces exit_unresolved, exit_untested, exit_unsupported and

[PATCH v4 1/4] ftracetest: Initial commit for ftracetest

2014-09-18 Thread Masami Hiramatsu
ftracetest is a collection of testcase shell-scripts for ftrace. To avoid regressions of ftrace, these testcases check correct ftrace behaviors. If someone would like to add any features on ftrace, the patch series should have at least one testcase for checking the new behavior. Changes in v4: -

[PATCH v4 2/4] ftracetest: Add ftrace basic testcases

2014-09-18 Thread Masami Hiramatsu
Add ftrace basic testcases. This just checks ftrace debugfs interface works as it is designed. Changes in v2: - Change shell to sh instead of bash. Signed-off-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com --- .../selftests/ftrace/test.d/00basic/basic1.tc |3 +++

RE: [PATCH] arm64:free_initrd_mem should also free the memblock

2014-09-18 Thread Wang, Yalin
hi (a) We have pages which are allocated on demand, which are then marked with the PG_reserved flag to indicate that they are something special. These get counted in the statistics as reserved pages. These pages may be freed at a later time. These never appear in memblock. (b) We have pages

Re: [PATCH 2/5] hw_random: use reference counts on each struct hwrng.

2014-09-18 Thread Amos Kong
On Thu, Sep 18, 2014 at 12:18:23PM +0930, Rusty Russell wrote: current_rng holds one reference, and we bump it every time we want to do a read from it. This means we only hold the rng_mutex to grab or drop a reference, so accessing /sys/devices/virtual/misc/hw_random/rng_current doesn't

[PATCH] net: stmmac: fix stmmac_pci_probe failed when CONFIG_HAVE_CLK is selected

2014-09-18 Thread Kweh Hock Leong
From: Kweh, Hock Leong hock.leong.k...@intel.com When the CONFIG_HAVE_CLK is selected for the system, the stmmac_pci_probe will fail with dmesg: [2.167225] stmmaceth :00:14.6: enabling device ( - 0002) [2.178267] stmmaceth :00:14.6: enabling bus mastering [2.178436]

Re: [PATCH v4 1/3] mfd/axp20x: extend axp20x to support axp288 pmic

2014-09-18 Thread Jacob Pan
On Wed, 17 Sep 2014 22:39:26 -0700 Lee Jones lee.jo...@linaro.org wrote: On Tue, 16 Sep 2014, Jacob Pan wrote: X-Powers AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar to AXP202/209, AXP288 comes with USB charger, more LDO and BUCK channels, and AD converters. It

[PATCH v2 6/6] hw_random: don't init list element we're about to add to list.

2014-09-18 Thread Amos Kong
From: Rusty Russell ru...@rustcorp.com.au Another interesting anti-pattern. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/char/hw_random/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index

[PATCH v2 5/6] hw_random: don't double-check old_rng.

2014-09-18 Thread Amos Kong
From: Rusty Russell ru...@rustcorp.com.au Interesting anti-pattern. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/char/hw_random/core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index

[PATCH v2 3/6] hw_random: use reference counts on each struct hwrng.

2014-09-18 Thread Amos Kong
From: Rusty Russell ru...@rustcorp.com.au current_rng holds one reference, and we bump it every time we want to do a read from it. This means we only hold the rng_mutex to grab or drop a reference, so accessing /sys/devices/virtual/misc/hw_random/rng_current doesn't block on read of /dev/hwrng.

[PATCH v2 0/6] fix hw_random stuck

2014-09-18 Thread Amos Kong
When I hotunplug a busy virtio-rng device or try to access hwrng attributes in non-smp guest, it gets stuck. My original was pain, Rusty posted a real fix. This patchset fixed two issue in v1, and tested by my 6+ cases. | test 0: | hotunplug rng device from qemu monitor | | test 1: | guest)

Re: [PATCH RFC tip/core/rcu] Eliminate deadlock between CPU hotplug and expedited grace periods

2014-09-18 Thread Paul E. McKenney
On Thu, Sep 18, 2014 at 03:15:36PM +0800, Lan Tianyu wrote: On 2014年09月17日 21:10, Paul E. McKenney wrote: On Wed, Sep 17, 2014 at 03:11:42PM +0800, Lan Tianyu wrote: On 2014年08月29日 03:47, Paul E. McKenney wrote: Currently, the expedited grace-period primitives do get_online_cpus(). This

[PATCH v2 2/6] hw_random: move some code out mutex_lock for avoiding underlying deadlock

2014-09-18 Thread Amos Kong
In next patch, we use reference counting for each struct hwrng, changing reference count also needs to take mutex_lock. Before releasing the lock, if we try to stop a kthread that waits to take the lock to reduce the referencing count, deadlock will occur. Signed-off-by: Amos Kong

[PATCH v2 4/6] hw_random: fix unregister race.

2014-09-18 Thread Amos Kong
From: Rusty Russell ru...@rustcorp.com.au The previous patch added one potential problem: we can still be reading from a hwrng when it's unregistered. Add a wait for zero in the hwrng_unregister path. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/char/hw_random/core.c | 2 ++

[PATCH v2 1/6] hw_random: place mutex around read functions and buffers.

2014-09-18 Thread Amos Kong
From: Rusty Russell ru...@rustcorp.com.au There's currently a big lock around everything, and it means that we can't query sysfs (eg /sys/devices/virtual/misc/hw_random/rng_current) while the rng is reading. This is a real problem when the rng is slow, or blocked (eg. virtio_rng with qemu's

Re: [PATCH v4 3/3] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-09-18 Thread Octavian Purdila
On Thu, Sep 18, 2014 at 1:54 PM, Johan Hovold jo...@kernel.org wrote: On Tue, Sep 09, 2014 at 10:24:46PM +0300, Octavian Purdila wrote: snip +#define DLN2_GPIO_DIRECTION_IN 0 +#define DLN2_GPIO_DIRECTION_OUT 1 + +static int dln2_gpio_get_direction(struct

Re: rcu: Throttle rcu_try_advance_all_cbs() execution causes visible slowdown in ftrace switching

2014-09-18 Thread Fengguang Wu
HI Steven, On Wed, Sep 17, 2014 at 10:42:51AM -0400, Steven Rostedt wrote: On Fri, 22 Aug 2014 19:43:02 +0800 Fengguang Wu fengguang...@intel.com wrote: On Fri, Aug 22, 2014 at 10:32:57AM +0200, Petr Mládek wrote: On Fri 2014-08-22 11:35:29, Fengguang Wu wrote: Hi Petr,

Re: [PATCH v4 3/3] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-09-18 Thread Johan Hovold
On Thu, Sep 18, 2014 at 03:43:07PM +0300, Octavian Purdila wrote: On Thu, Sep 18, 2014 at 1:54 PM, Johan Hovold jo...@kernel.org wrote: On Tue, Sep 09, 2014 at 10:24:46PM +0300, Octavian Purdila wrote: Either way, it looks like this could race with get_direction() if you get a

Re: [PATCH v2 2/3] hw_random: fix stuck in catting hwrng attributes

2014-09-18 Thread Amos Kong
On Thu, Sep 18, 2014 at 12:13:08PM +0930, Rusty Russell wrote: Amos Kong ak...@redhat.com writes: I started a QEMU (non-smp) guest with one virtio-rng device, and read random data from /dev/hwrng by dd: # dd if=/dev/hwrng of=/dev/null In the same time, if I check hwrng attributes

Re: linux-next: Tree for Sep 1

2014-09-18 Thread Bartlomiej Zolnierkiewicz
Tejun, Could you please merge Christoph's patch to your percpu tree (the patch is attached below for your convenience, it is a fixup for irqchips: Replace __this_cpu_ptr uses patch present in for-3.18-consistent-ops and for-next branches)? Best regards, -- Bartlomiej Zolnierkiewicz Samsung RD

Re: [PATCH] mips: Save all registers when saving the frame

2014-09-18 Thread Corey Minyard
On 09/18/2014 04:58 AM, Ralf Baechle wrote: On Tue, Sep 16, 2014 at 04:45:25PM -0500, miny...@acm.org wrote: From: Corey Minyard cminy...@mvista.com The MIPS frame save code was just saving a few registers, enough to do a backtrace if every function set up a frame. However, this is not

Re: [PATCH 0/4] drivers/bus: Freescale Management Complex bus driver patch series

2014-09-18 Thread Alexander Graf
Am 18.09.2014 um 02:20 schrieb German Rivera german.riv...@freescale.com: On 09/15/2014 06:44 PM, Kim Phillips wrote: On Thu, 11 Sep 2014 12:34:20 -0500 J. German Rivera german.riv...@freescale.com wrote: This patch series introduces Linux support for the Freescale Management Complex

Re: [PATCH v2 7/7] arm: mediatek: Add earlyprintk support for mt8127 mt8135

2014-09-18 Thread Matthias Brugger
On 17/09/14 16:24, Joe.C wrote: From: Joe.C yingjoe.c...@mediatek.com Enable low-level debug for Mediatek mt8127 mt8135 SoC. Signed-off-by: Joe.C yingjoe.c...@mediatek.com --- arch/arm/Kconfig.debug | 20 1 file changed, 20 insertions(+) diff --git

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-18 Thread Paolo Bonzini
Il 17/09/2014 16:06, Borislav Petkov ha scritto: AFAIK backward compatibility is usually maintained in x86. I did not see in Intel SDM anything that says this CPUID field means something for CPU X and something else for CPU Y. Anyhow, it is not different than bitmasks in this respect. You

Re: [PATCH v4 1/4] ftracetest: Initial commit for ftracetest

2014-09-18 Thread Shuah Khan
On 09/18/2014 06:04 AM, Masami Hiramatsu wrote: ftracetest is a collection of testcase shell-scripts for ftrace. To avoid regressions of ftrace, these testcases check correct ftrace behaviors. If someone would like to add any features on ftrace, the patch series should have at least one

Re: [PATCH v2 5/7] dt-bindings: add more chips in documentation for Mediatek SoC

2014-09-18 Thread Matthias Brugger
Sorry I just saw some more issues: On 17/09/14 16:24, Joe.C wrote: From: Joe.C yingjoe.c...@mediatek.com Add MT8127 MT8135 from Mediatek. Signed-off-by: Joe.C yingjoe.c...@mediatek.com --- Documentation/devicetree/bindings/arm/mediatek.txt | 9 ++--- 1 file changed, 6

Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread Alexander Graf
Am 18.09.2014 um 06:17 schrieb German Rivera german.riv...@freescale.com: On 09/15/2014 06:44 PM, Kim Phillips wrote: On Thu, 11 Sep 2014 12:34:21 -0500 J. German Rivera german.riv...@freescale.com wrote: From: J. German Rivera german.riv...@freescale.com APIs to access the

[PATCH] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-18 Thread Ivan T. Ivanov
The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself through IIO interface. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

[PATCH] drm/exynos: switch to universal plane API

2014-09-18 Thread Andrzej Hajda
The patch replaces legacy functions drm_plane_init() / drm_crtc_init() with drm_universal_plane_init() and drm_crtc_init_with_planes(). It allows to replace fake primary plane with the real one. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- Hi Inki, I have tested this patch with trats

Re: [PATCH] Revert init: make rootdelay=N consistent with rootwait behaviour

2014-09-18 Thread Pavel Machek
On Wed 2014-09-17 10:57:45, Paul Gortmaker wrote: This reverts commit 4dfe694f616e00e6fd83e5bbcd7a3c4d7113493d. This solves my problems, thanks. Tested-by: Pavel Machek pa...@denx.de Pavel -- (english)

Re: [torture] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-09-18 Thread Fengguang Wu
Hi Paul, plymouth-upstart-bridge: ply-event-loop.c:497: ply_event_loop_new: Assertion `loop-epoll_fd = 0' failed. /etc/lsb-base-logging.sh: line 5: 2580 Aborted plymouth --ping /dev/null 21 /etc/lsb-base-logging.sh: line 5: 2585 Aborted

[PATCH] Fix unbalanced mutex in dma_pool_create().

2014-09-18 Thread Krzysztof Hałasa
dma_pool_create() needs to unlock the mutex in error case. The bug has been present starting with v3.16-rc1 (cc6b664a). Signed-off-by: Krzysztof Hałasa k...@piap.pl Cc: sta...@vger.kernel.org --- a/mm/dmapool.c +++ b/mm/dmapool.c @@ -174,11 +174,11 @@ struct dma_pool *dma_pool_create(const char

[PATCH] ARM: at91: sama5d3xek: reserve dma channel for audio

2014-09-18 Thread Nicolas Ferre
From: Bo Shen voice.s...@atmel.com We set the DMA configuration on USARTs in the SoC DT in (ARM: at91: sama5d3: add usart dma configurations). As the audio must work with DMA channels, we reserve some dma channels for audio, or else audio won't work. Signed-off-by: Bo Shen voice.s...@atmel.com

Re: [GIT PULL] KEYS: Fixes for keyrings

2014-09-18 Thread David Howells
James Morris jmor...@namei.org wrote: No, if they go direct to Linus, they don't go into -next. Can you then sync your -next branch to Linus after Linus takes them please? Nope, I only want to sync on point releases unless absolutely necessary. In that case, can you please just pull

Re: [PATCH v5 2/4] dt-bindings: document Rockchip thermal

2014-09-18 Thread Caesar Wang
Tomeu, 在 2014年09月18日 17:27, Tomeu Vizoso 写道: On 17 September 2014 05:59, Caesar Wang caesar.w...@rock-chips.com wrote: This add the necessary binding documentation for the thermal found on Rockchip SoCs Hi Caesar, is there any reason to not use the existing thermal bindings? You can find a

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-18 Thread Borislav Petkov
On Thu, Sep 18, 2014 at 03:06:59PM +0200, Paolo Bonzini wrote: The extra bit used to be reserved and thus will be zero on older families. So, nothing? thus will be zero is unfortunately simply not true. From the SDM: 1.3.2 Reserved Bits and Software Compatibility In many register and memory

[PATCH v3 1/2] perf tool: improves DSO long names search speed with RB tree

2014-09-18 Thread Waiman Long
With workload that spawns and destroys many threads and processes, it was found that perf-mem could took a long time to post-process the perf data after the target workload had completed its operation. The performance bottleneck was found to be searching and insertion of the new DSO structures

[PATCH v3 2/2] perf tool: iterate DSOs with rbtree instead of list

2014-09-18 Thread Waiman Long
This patch changes the iteration process for DSOs from using the list_head to rbtree. As a result, the node field in the DSO structure can be eliminated. The user_dsos and kernel_dsos fields of the machine structure are now rb_root. The changes in this patch are mainly in one of the following 4

[PATCH v3 0/2] perf tool: improves DSO long names search speed with RB tree

2014-09-18 Thread Waiman Long
v2-v3: - Move the rbtree linking operation from dso__set_long_name() to dsos__add(), where the list_add() operation was done. - Add a second patch to remove the linked list and iterates the DSO structures by going through them in the rbtree. This requires changes in quite a number

Re: [v2 PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-09-18 Thread Roman Peniaev
On Thu, Sep 18, 2014 at 2:46 AM, Oleg Nesterov o...@redhat.com wrote: On 09/17, Roman Pen wrote: +void wait_for_rootfs(void) +{ + /* Avoid waiting for ourselves */ + if (is_global_init(current)) + pr_warn(init: it is not a good idea to wait for the rootfs mount from

[v3 PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-09-18 Thread Roman Pen
The thing is that built-in modules are being inited before rootfs mount. Some of the modules can request firmware loading from another thread using async 'request_firmware_nowait' call on inition, so we can catch this kind of race: rootfs does not exist yet, but we are going to open and load

Re: [PATCH v2] Implement temperature sensor for vf610-adc

2014-09-18 Thread Shawn Guo
On Thu, Sep 18, 2014 at 05:23:22PM +0530, Sanchayan Maity wrote: Vybrid ADC peripheral includes a temperature sensor which is connected to channel number 26. The patch adds support for the sensor. The raw value is read and the temperature calculated in milli degree Celsius, which is returned

Re: [RESEND PATCH 1/3] x86: Adding structs to reflect cpuid fields

2014-09-18 Thread Paolo Bonzini
Il 18/09/2014 15:26, Borislav Petkov ha scritto: On Thu, Sep 18, 2014 at 03:06:59PM +0200, Paolo Bonzini wrote: The extra bit used to be reserved and thus will be zero on older families. So, nothing? thus will be zero is unfortunately simply not true. From the SDM: 1.3.2 Reserved Bits

Re: [PATCH] mfd: ti_am335x_tscadc: Update logic in CTRL register for 5-wire TS

2014-09-18 Thread Sebastian Andrzej Siewior
On 2014-09-04 19:01:57 [+0200], Sebastian Andrzej Siewior wrote: From: Jeff Lance j-lan...@ti.com The logic in AFE_Pen_Ctrl bitmask in the CTRL register is different for five wire versus four or eight wire touschscreens. This patch should fix this for five-wire touch screens. There should be

Re: [PATCH 08/10] ARM: OMAP5/DRA7: PM: cpuidle MPU CSWR support

2014-09-18 Thread Nishanth Menon
On 09/17/2014 07:22 PM, Daniel Lezcano wrote: On 09/17/2014 04:20 PM, Shilimkar, Santosh wrote: [...] Could you try a long run of this little program: https://git.linaro.org/power/pm-qa.git/blob/HEAD:/cpuidle/cpuidle_killer.c [Santosh] I am sure there will not be any issue with the long run

Re: [Keyrings] [GIT PULL] KEYS: Fixes for keyrings

2014-09-18 Thread Mimi Zohar
On Thu, 2014-09-18 at 14:23 +0100, David Howells wrote: James Morris jmor...@namei.org wrote: No, if they go direct to Linus, they don't go into -next. Can you then sync your -next branch to Linus after Linus takes them please? Nope, I only want to sync on point releases

Re: [PATCH 1/2] ARM: dts: vf610-colibri: Add ADC support

2014-09-18 Thread Shawn Guo
On Wed, Sep 17, 2014 at 01:53:16PM +0530, Sanchayan Maity wrote: Enable ADC support for Colibri VF61 modules Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- arch/arm/boot/dts/vf610-colibri.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH 1/2] regulator: fan53555: Fixup report wrong vendor message

2014-09-18 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/fan53555.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index f2f5535..70b31bf 100644 --- a/drivers/regulator/fan53555.c +++

[PATCH 2/2] regulator: fan53555: Fix null pointer dereference

2014-09-18 Thread Axel Lin
Set di-regulator before dereference it. Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/fan53555.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index 70b31bf..c82fb9e 100644 ---

Re: [PATCH 08/10] ARM: OMAP5/DRA7: PM: cpuidle MPU CSWR support

2014-09-18 Thread Nishanth Menon
On 09/18/2014 08:41 AM, Nishanth Menon wrote: On 09/17/2014 07:22 PM, Daniel Lezcano wrote: On 09/17/2014 04:20 PM, Shilimkar, Santosh wrote: [...] Could you try a long run of this little program: https://git.linaro.org/power/pm-qa.git/blob/HEAD:/cpuidle/cpuidle_killer.c [Santosh] I am

x86, microcode: BUG: microcode update that changes x86_capability

2014-09-18 Thread Henrique de Moraes Holschuh
The new Haswell microcode update[1] removes the hle (hardware lock elision) processor capability. And it is not cosmetic, either: Intel TSX opcodes will cause an illegal opcode trap after the microcode update[2]. This means cpu_info()-x86_capability becomes stale after the microcode update. We

Re: [PATCH V2 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Nishanth Menon
On 09/08/2014 10:41 AM, Nishanth Menon wrote: On 23:13-20140905, Thomas Gleixner wrote: On Fri, 5 Sep 2014, Nishanth Menon wrote: + if (!palmas-wakeirq) + goto no_wake_irq; + + ret = devm_request_irq(palmas-dev, palmas-wakeirq, + palmas_wake_irq, +

[PATCH 0/3 v2] xen/xenbus: Several improvements for 'xenbus_client.c'

2014-09-18 Thread Chen Gang
Hello Maintainers: Please help check when you have time. Thanks. Chen Gang (3): xen/xenbus: Correct the comments for xenbus_grant_ring() xen/xenbus: Remove BUG_ON() when error string trucated xen/xenbus: Improve failure processing code for __xenbus_switch_state()

[PATCH 1/3 v2] xen/xenbus: Correct the comments for xenbus_grant_ring()

2014-09-18 Thread Chen Gang
A grant reference (which is a positive number) can indicate success, so the original comments need be improved. Signed-off-by: Chen Gang gang.chen.5...@gmail.com --- drivers/xen/xenbus/xenbus_client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/3 v2] xen/xenbus: Remove BUG_ON() when error string trucated

2014-09-18 Thread Chen Gang
xenbus_va_dev_error() is for printing error, so when error string is too long to be trancated, need not BUG_ON(), still return truncation string is OK. Signed-off-by: Chen Gang gang.chen.5...@gmail.com --- drivers/xen/xenbus/xenbus_client.c | 5 + 1 file changed, 1 insertion(+), 4

[PATCH 3/3 v2] xen/xenbus: Improve failure processing code for __xenbus_switch_state()

2014-09-18 Thread Chen Gang
When failure occurs, need return failure code instead of 0, or some of indirect upper callers may misunderstand. e.g. in block/xen-blkback/xenbus.c: connect() - xenbus_switch_state() - __xenbus_switch_state(). Signed-off-by: Chen Gang gang.chen.5...@gmail.com ---

<    5   6   7   8   9   10   11   12   13   >