Re: [GIT PULL rcu/next] RCU commits for 3.19

2014-11-20 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, The changes in this series include: 1.Streamline RCU's use of per-CPU variables, shifting from cpu arguments to functions to this_-style per-CPU variable accessors. These were posted to LKML at

[GIT PULL] x86 fixes

2014-11-20 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: 70b61e362187b5fccac206506d402f3424e3e749 x86, kaslr: Handle Gold linker for finding bss/brk Misc fixes: gold linker build fix,

Re: crypto: user - Allow get request with empty driver name

2014-11-20 Thread Steffen Klassert
On Thu, Nov 20, 2014 at 03:45:26PM +0800, Herbert Xu wrote: On Thu, Nov 20, 2014 at 08:11:42AM +0100, Steffen Klassert wrote: I think this is not sufficient, crypto_alg_match() will now return the first algorithm in crypto_alg_list that matches cra_name. We would need to extend

Re: [PATCH v4 1/4] mtd: nand: provide detailed description for raw read/write page methods

2014-11-20 Thread Brian Norris
On Mon, Oct 20, 2014 at 10:46:14AM +0200, Boris Brezillon wrote: read_page_raw and write_page_raw method description is not clear enough. It clearly specifies that ECC correction should not be involved but does not talk about specific layout (by layout I mean where in-band and out-of-band data

ext4: kill ext4_kvfree()

2014-11-20 Thread Al Viro
Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- fs/ext4/ext4.h|1 - fs/ext4/mballoc.c |6 +++--- fs/ext4/resize.c |6 +++--- fs/ext4/super.c | 19 +-- 4 files changed, 11 insertions(+), 21 deletions(-) diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index

Re: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread Dmitry Torokhov
Hi Scott, On Fri, Dec 27, 2013 at 08:15:15PM +0800, scott wrote: From: Scott Liu scott@emc.com.tw This patch is for Elan eKTH Touchscreen product, I2C adpater module. As you know I have been making some changes to the driver in Chromium tree, here is the latest version of the driver.

Re: [PATCH 3/7] pinctrl: pinconf-generic: Allow driver to specify DT params

2014-11-20 Thread Ivan T. Ivanov
On Wed, 2014-11-19 at 07:35 -0800, Sören Brinkmann wrote: Hi Ivan, On Wed, 2014-11-19 at 09:49AM +0200, Ivan T. Ivanov wrote: On Tue, 2014-11-18 at 09:25 -0800, Sören Brinkmann wrote: On Tue, 2014-11-18 at 10:50AM +0200, Ivan T. Ivanov wrote: On Tue, 2014-11-11 at 15:53 +0100, Linus

mlx5: don't duplicate kvfree()

2014-11-20 Thread Al Viro
Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- drivers/infiniband/hw/mlx5/cq.c |8 drivers/infiniband/hw/mlx5/mr.c |4 ++-- drivers/infiniband/hw/mlx5/qp.c |8 drivers/infiniband/hw/mlx5/srq.c

mlx4: don't duplicate kvfree()

2014-11-20 Thread Al Viro
Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- diff --git a/drivers/net/ethernet/mellanox/mlx4/mr.c b/drivers/net/ethernet/mellanox/mlx4/mr.c index 193a6ad..d6f5496 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mr.c +++ b/drivers/net/ethernet/mellanox/mlx4/mr.c @@ -130,10 +130,7 @@ static

Re: mlx5: don't duplicate kvfree()

2014-11-20 Thread Al Viro
On Thu, Nov 20, 2014 at 08:13:57AM +, Al Viro wrote: 9 files changed, 21 insertions(+), 35 deletions(-) grr... 8 files changed, actually - that was from the diff that included mlx4 bits. Patch split correctly and sent in two pieces, summary left as is ;-/ Sorry about the confusion it might

Re: [RFC] debug: add parameters to prevent entering debug mode on errors

2014-11-20 Thread Kiran Raparthy
Hi Daniel, On 18 November 2014 22:43, Daniel Thompson daniel.thomp...@linaro.org wrote: On 18/11/14 12:08, Kiran Kumar Raparthy wrote: From: Colin Cross ccr...@android.com debug: add parameters to prevent entering debug mode on errors On non-developer devices kgdb prevents

[PATCH 0/3] [media] DVB-frontends: Deletion of a few unnecessary checks

2014-11-20 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 19 Nov 2014 23:30:37 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (3): DVB-frontends: Deletion of unnecessary checks before the function call

Re: [PATCH] ARM: DRA7: hwmod data: Add missing UART hwmod data

2014-11-20 Thread Paul Walmsley
On Tue, 21 Oct 2014, Nishanth Menon wrote: From: Ambresh K ambr...@ti.com We had constrainted hwmod entries to entries in dts which were present only for default mapped interrupts, the ones such as UARTs 6 which needed IRQ crossbar configured were never added to hwmod database. Add them

Re: linux-next: build warning after merge of the scsi tree

2014-11-20 Thread Christoph Hellwig
On Tue, Nov 18, 2014 at 07:21:48PM +1100, Stephen Rothwell wrote: Hi James, After merging the scsi tree, today's linux-next build (powerpc allyesconfig) produced this warning: drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_queuecommand_lck': drivers/scsi/ibmvscsi/ibmvfc.c:1618:5:

Re: [PATCH] scsi: mpt2sas: Fix spelling.

2014-11-20 Thread Sreekanth Reddy
Hi, Please consider this patch as Acked-by: Sreekanth Reddy sreekanth.re...@avagotech.com. Regards, Sreekanth. On Fri, Nov 7, 2014 at 6:20 AM, Alex Pilon alp+li...@alexpilon.ca wrote: Fix 'ioctl' spelling. Signed-off-by: Alex Pilon alp+li...@alexpilon.ca ---

[PATCH v4 net] virtio-net: validate features during probe

2014-11-20 Thread Jason Wang
We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ is not set but one of features depending on it is. That's not a friendly way to report errors to hypervisors. Let's check, and fail probe instead. Cc: Rusty Russell ru...@rustcorp.com.au Cc: Cornelia Huck cornelia.h...@de.ibm.com Cc: Wanlong Gao

[PATCH 2/3] [media] m88ds3103: One function call less in m88ds3103_init() after error detection

2014-11-20 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 19 Nov 2014 23:20:51 +0100 The release_firmware() function was called in some cases by the m88ds3103_init() function during error handling even if the passed variable contained still a null pointer. This implementation detail could be

[PATCH net-next] macvtap: advance iov iterator when needed in macvtap_put_user()

2014-11-20 Thread Jason Wang
When mergeable buffer is used, vnet_hdr_sz is greater than sizeof struct virtio_net_hdr. So we need advance the iov iterators in this case. Fixes 6c36d2e26cda1ad3e2c4b90dd843825fc62fe5b4 (macvtap: Use iovec iterators) Cc: Herbert Xu herb...@gondor.apana.org.au Signed-off-by: Jason Wang

[PATCH 1/3] [media] DVB-frontends: Deletion of unnecessary checks before the function call release_firmware

2014-11-20 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 19 Nov 2014 22:27:24 +0100 The release_firmware() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH net-next] macvtap: advance iov iterator when needed in macvtap_put_user()

2014-11-20 Thread Herbert Xu
On Thu, Nov 20, 2014 at 04:31:05PM +0800, Jason Wang wrote: When mergeable buffer is used, vnet_hdr_sz is greater than sizeof struct virtio_net_hdr. So we need advance the iov iterators in this case. Fixes 6c36d2e26cda1ad3e2c4b90dd843825fc62fe5b4 (macvtap: Use iovec iterators) Cc: Herbert

Re: mlx4: don't duplicate kvfree()

2014-11-20 Thread Amir Vadai
On Thu, Nov 20, 2014 at 10:15 AM, Al Viro v...@zeniv.linux.org.uk wrote: Signed-off-by: Al Viro v...@zeniv.linux.org.uk --- diff --git a/drivers/net/ethernet/mellanox/mlx4/mr.c b/drivers/net/ethernet/mellanox/mlx4/mr.c index 193a6ad..d6f5496 100644 ---

Re: For the problem when using swiotlb

2014-11-20 Thread Ding Tianhong
On 2014/11/20 15:40, Arnd Bergmann wrote: On Thursday 20 November 2014 10:57:53 Ding Tianhong wrote: On 2014/11/19 16:45, Arnd Bergmann wrote: On Wednesday 19 November 2014 11:17:15 Ding Tianhong wrote: On 2014/11/18 2:09, Catalin Marinas wrote: On Mon, Nov 17, 2014 at 12:18:42PM +, Arnd

[PATCH 3/3] [media] si2168: One function call less in si2168_init() after error detection

2014-11-20 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Wed, 19 Nov 2014 23:23:15 +0100 The release_firmware() function was called in some cases by the si2168_init() function during error handling even if the passed variable contained still a null pointer. This implementation detail could be

[alsa-devel][PATCH v2 2/2] ASoC: wm8960: LRCM operation should after software reset

2014-11-20 Thread Zidan Wang
When shared_lrclk is set, LRCM will be enabled. But the following software reset in wm8960_probe will reset it to the default state. So LRCM operation should after software reset. Signed-off-by: Zidan Wang b50...@freescale.com --- sound/soc/codecs/wm8960.c | 18 -- 1 file

Re: 3.18-rc regression: drm/nouveau: use shared fences for readable objects

2014-11-20 Thread Maarten Lankhorst
Op 20-11-14 om 00:08 schreef Tobias Klausmann: On 19.11.2014 09:10, Maarten Lankhorst wrote: ... On the EDITED patch from fixed-fences-for-bisect, can you do the following: In nouveau/nv84_fence.c function nv84_fence_context_new, remove fctx-base.sequence = nv84_fence_read(chan); and add

Re: mlx5: don't duplicate kvfree()

2014-11-20 Thread Eli Cohen
Acked-by: Eli Cohen e...@mellanox.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH net-next] macvtap: advance iov iterator when needed in macvtap_put_user()

2014-11-20 Thread Al Viro
On Thu, Nov 20, 2014 at 04:34:26PM +0800, Herbert Xu wrote: On Thu, Nov 20, 2014 at 04:31:05PM +0800, Jason Wang wrote: When mergeable buffer is used, vnet_hdr_sz is greater than sizeof struct virtio_net_hdr. So we need advance the iov iterators in this case. Fixes

Re: [PATCH 1/3] mm: sl[aou]b: introduce kmem_cache_zalloc_node()

2014-11-20 Thread Andrey Ryabinin
On 11/20/2014 02:46 AM, David Rientjes wrote: On Mon, 10 Nov 2014, Andrey Ryabinin wrote: kmem_cache_zalloc_node() allocates zeroed memory for a particular cache from a specified memory node. To be used for struct irq_desc. Is there a reason to add this for such a specialized purpose to

Re: net: sched: Deletion of an unnecessary check before the function call kfree

2014-11-20 Thread Julia Lawall
On Wed, 19 Nov 2014, SF Markus Elfring wrote: Marcus, what tree are you looking at? I dared to base this update suggestion on the source files for Linux 3.17.3. Are newer software developments relevant here? You should always use linux-next. You should update it every day. julia

Re: [f2fs-dev] [PATCH 1/3] f2fs: call flush_dcache_page when the page was updated

2014-11-20 Thread Changman Lee
On Wed, Nov 19, 2014 at 10:45:33PM -0800, Jaegeuk Kim wrote: On Thu, Nov 20, 2014 at 03:04:10PM +0900, Changman Lee wrote: Hi Jaegeuk, We should call flush_dcache_page before kunmap because the purpose of the cache flush is to address aliasing problem related to virtual address. Oh,

Re: [PATCH v4] clocksource: arch_timer: Fix code to use physical timers when requested

2014-11-20 Thread Maxime Ripard
Hi, On Wed, Oct 08, 2014 at 12:38:57AM -0700, Sonny Rao wrote: This is a bug fix for using physical arch timers when the arch_timer_use_virtual boolean is false. It restores the arch_counter_get_cntpct() function after removal in 0d651e4e clocksource: arch_timer: use virtual counters We

[PATCH] sony-laptop: add support for Sony Vaio Fit multi-flip laptop/presentation/tablet transformation

2014-11-20 Thread Alexander Gavrilenko
Current mode is exported via sysfs: /sys/devices/platform/sony-laptop/tablet Signed-off-by: Alexander Gavrilenko alexander.gavrile...@gmail.com --- --- linux-3.17.3/drivers/platform/x86/sony-laptop.c.orig2014-11-19 13:15:35.965048636 +0300 +++

Re: [PATCH 2/3] kernel: irq: use a kmem_cache for allocating struct irq_desc

2014-11-20 Thread Andrey Ryabinin
On 11/20/2014 02:52 AM, David Rientjes wrote: On Mon, 10 Nov 2014, Andrey Ryabinin wrote: After enabling alignment checks in UBSan I've noticed a lot of reports like this: UBSan: Undefined behaviour in ../kernel/irq/chip.c:195:14 member access within misaligned address

Re: [PATCH net-next] macvtap: advance iov iterator when needed in macvtap_put_user()

2014-11-20 Thread Jason Wang
On 11/20/2014 04:41 PM, Al Viro wrote: On Thu, Nov 20, 2014 at 04:34:26PM +0800, Herbert Xu wrote: On Thu, Nov 20, 2014 at 04:31:05PM +0800, Jason Wang wrote: When mergeable buffer is used, vnet_hdr_sz is greater than sizeof struct virtio_net_hdr. So we need advance the iov iterators in this

Re: 3.18-rc regression: drm/nouveau: use shared fences for readable objects

2014-11-20 Thread Maarten Lankhorst
Op 20-11-14 om 05:06 schreef Michael Marineau: On Wed, Nov 19, 2014 at 12:10 AM, Maarten Lankhorst maarten.lankho...@canonical.com wrote: Hey, On 19-11-14 07:43, Michael Marineau wrote: On 3.18-rc kernel's I have been intermittently experiencing GPU lockups shortly after startup,

[alsa-devel][PATCH v2 1/2] ASoC: wm8960: Add device tree support

2014-11-20 Thread Zidan Wang
Document the device tree binding for the WM8960 codec, and modify the driver to extract the platform data from device tree, if present. Signed-off-by: Zidan Wang b50...@freescale.com --- Documentation/devicetree/bindings/sound/wm8960.txt | 27 ++ sound/soc/codecs/wm8960.c

Re: [alsa-devel][PATCH v2 1/2] ASoC: wm8960: Add device tree support

2014-11-20 Thread Lars-Peter Clausen
On 11/20/2014 09:41 AM, Zidan Wang wrote: [...][ +Optional properties: + - shared_lrclk: This is a boolean property. If present, the LRCM bit of + R24 (Additional control 2 ) gets set, indicating that ADCLRC and DACLRC + will be disabled only when ADC (Left and Right) and DAC (Left

Re: [PATCH v4 net] virtio-net: validate features during probe

2014-11-20 Thread Jason Wang
On 11/20/2014 04:27 PM, Jason Wang wrote: We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ is not set but one of features depending on it is. That's not a friendly way to report errors to hypervisors. Let's check, and fail probe instead. Cc: Rusty Russell ru...@rustcorp.com.au Cc:

Re: [PATCH 1/2] drm/msm: Register irq handler for each sub-system in mdss

2014-11-20 Thread Thierry Reding
On Sun, Nov 16, 2014 at 09:18:47AM -0500, Rob Clark wrote: On Fri, Nov 14, 2014 at 5:42 PM, Hai Li h...@codeaurora.org wrote: All the sub-systems in mdss share the same irq. This change provides the sub-systems with the interfaces to register/unregister their own irq handlers. With this

Re: [PATCH v2 1/4] sched/deadline: Modify cpudl.free_cpus to reflect rd-span

2014-11-20 Thread Wanpeng Li
Hi, On 11/19/14, 11:46 PM, pang.xunlei wrote: Currently, cpudl.free_cpus contains all cpus during init(see cpudl_init()), so when calling cpudl_find() we have to add rd-span cpumask(cpus_allowed is undependable when performing clustered scheduling using the cpuset) to avoid selecting the cpu

Re: For the problem when using swiotlb

2014-11-20 Thread Arnd Bergmann
On Thursday 20 November 2014 16:34:29 Ding Tianhong wrote: I didn't mean the dma_pfn_offset. The problem is that the of_dma_configure code currently doesn't look at the mask. As I explained in my reply to Catalin, it should set the mask to the size of the dma-ranges if that is 32-bit or

[PATCH net V5] virtio-net: validate features during probe

2014-11-20 Thread Jason Wang
We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ is not set but one of features depending on it is. That's not a friendly way to report errors to hypervisors. Let's check, and fail probe instead. Cc: Rusty Russell ru...@rustcorp.com.au Cc: Cornelia Huck cornelia.h...@de.ibm.com Cc: Wanlong Gao

RE: [PATCH v1] Input: elants_i2c: Add Elan touchscreen support

2014-11-20 Thread ELAN 劉嘉駿
Hi Dmitry: Good to hear this, we will add more feature based on this version. Thanks. -- Scott -Original Message- From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] Sent: Thursday, November 20, 2014 4:11 PM To: scott Cc: linux-kernel@vger.kernel.org;

Re: [PATCH v4 3/4] mtd: nand: gpmi: add proper raw access support

2014-11-20 Thread Brian Norris
On Mon, Oct 20, 2014 at 10:46:16AM +0200, Boris Brezillon wrote: Several MTD users (either in user or kernel space) expect a valid raw access support to NAND chip devices. This is particularly true for testing tools which are often touching the data stored in a NAND chip in raw mode to

Re: [PATCH 08/10] dt/bindings: add clock-select function property to micrel phy binding

2014-11-20 Thread Sascha Hauer
On Wed, Nov 19, 2014 at 12:59:21PM +0100, Johan Hovold wrote: Add micrel,rmii-reference-clock-select-25-mhz to Micrel ethernet PHY binding documentation. This property is needed to properly describe some revisions of Micrel PHYs which has the function of this configuration bit inverted so

Re: [PATCH v5] sched/deadline: support dl task migration during cpu hotplug

2014-11-20 Thread Wanpeng Li
Hi Peterz, Juri, On Thu, Nov 13, 2014 at 01:21:31PM +0300, Kirill Tkhai wrote: Also, we should think about the following situation. DL task is left on dead rq. In your scheme it will be moved by the timer. But what will be if somebody changes the class of the task (before timer)? I

Re: [PATCH v6 00/11] Kernel address sanitizer - runtime memory debugger.

2014-11-20 Thread Ingo Molnar
* Andrey Ryabinin ryabinin@gmail.com wrote: I've counted 16: aab515d (fib_trie: remove potential out of bound access) 984f173 ([SCSI] sd: Fix potential out-of-bounds access) 5e9ae2e (aio: fix use-after-free in aio_migratepage) 2811eba (ipv6: udp packets following an UFO enqueued

Re: [alsa-devel][PATCH v2 2/2] ASoC: wm8960: LRCM operation should after software reset

2014-11-20 Thread Charles Keepax
On Thu, Nov 20, 2014 at 04:41:18PM +0800, Zidan Wang wrote: When shared_lrclk is set, LRCM will be enabled. But the following software reset in wm8960_probe will reset it to the default state. So LRCM operation should after software reset. Signed-off-by: Zidan Wang b50...@freescale.com ---

Re: [PATCHv5 4/7] arm: omap3: twl: remove usb phy init data

2014-11-20 Thread Kishon Vijay Abraham I
Hi Tony, On Wednesday 19 November 2014 08:58 PM, Heikki Krogerus wrote: The driver does no use it any more. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com This version is slightly different from the one you gave your Acked-by. So are you okay if I merge this with your

Re: [PATCH v4] clocksource: arch_timer: Fix code to use physical timers when requested

2014-11-20 Thread Sonny Rao
On Thu, Nov 20, 2014 at 12:49 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, On Wed, Oct 08, 2014 at 12:38:57AM -0700, Sonny Rao wrote: This is a bug fix for using physical arch timers when the arch_timer_use_virtual boolean is false. It restores the arch_counter_get_cntpct()

Re: Looking for good references for ARM driver development

2014-11-20 Thread Viresh Kumar
On Wed, Nov 19, 2014 at 9:35 PM, Mason mpeg.b...@free.fr wrote: Is there an exhaustive list of available buses (on the ARM platform) and an overview of when/where each one is appropriate? Not sure if its mentioned that clearly anywhere. BUT bus is normally bound by the way you need to access

Re: [PATCH 2/7] mfd: MT6397: Add regmap for MT8135 and MT6397 SoC

2014-11-20 Thread Sascha Hauer
On Wed, Nov 19, 2014 at 05:04:54PM +, Lee Jones wrote: On Tue, 18 Nov 2014, Sascha Hauer wrote: On Tue, Nov 18, 2014 at 11:46:45AM +, Lee Jones wrote: On Mon, 17 Nov 2014, Flora Fu wrote: Add PMIC wrapper of MT8135 to access MFD MT6397. This is regmap of MT6397 MFD.

Re: For the problem when using swiotlb

2014-11-20 Thread Ding Tianhong
On 2014/11/20 17:02, Arnd Bergmann wrote: On Thursday 20 November 2014 16:34:29 Ding Tianhong wrote: I didn't mean the dma_pfn_offset. The problem is that the of_dma_configure code currently doesn't look at the mask. As I explained in my reply to Catalin, it should set the mask to the size of

Re: [PATCHv5 6/7] base: platform: name the device already during allocation

2014-11-20 Thread Kishon Vijay Abraham I
Hi Greg, On Wednesday 19 November 2014 08:58 PM, Heikki Krogerus wrote: The device name is usually required when assigning resources like clocks to platform devices. The problem is that the device name is not know before platform_device_add is called and that can be too late as the drivers

Re: [PATCH v4 2/4] mtd: nand: gpmi: add gpmi_move_bits function

2014-11-20 Thread Brian Norris
On Mon, Oct 20, 2014 at 10:46:15AM +0200, Boris Brezillon wrote: Add a new function to move bits (not bytes) from a memory region to another one. This function is similar to memmove except it acts at bit level. This function is needed to implement GPMI raw access functions, given the fact

Re: [RFC] adp1653: Add device tree bindings for LED controller

2014-11-20 Thread Jacek Anaszewski
Hi Pavel, Sakari, On 11/19/2014 06:53 PM, Sakari Ailus wrote: Hi Jacek and Pavel, Jacek Anaszewski wrote: Hi Pavel, Sakari, On 11/18/2014 05:51 PM, Pavel Machek wrote: Hi! If the hardware LED changes with one that needs different current, the block for the adp1653 stays the same, but

Re: net: sched: Deletion of an unnecessary check before the function call kfree

2014-11-20 Thread Daniel Borkmann
On 11/20/2014 09:47 AM, Julia Lawall wrote: On Wed, 19 Nov 2014, SF Markus Elfring wrote: Marcus, what tree are you looking at? I dared to base this update suggestion on the source files for Linux 3.17.3. Are newer software developments relevant here? You should always use linux-next. You

Re: [PATCH v4] clocksource: arch_timer: Fix code to use physical timers when requested

2014-11-20 Thread Daniel Lezcano
On 10/08/2014 09:38 AM, Sonny Rao wrote: This is a bug fix for using physical arch timers when the arch_timer_use_virtual boolean is false. It restores the arch_counter_get_cntpct() function after removal in 0d651e4e clocksource: arch_timer: use virtual counters We need this on certain ARMv7

Re: [PATCH v4 0/4] mtd: nand: gpmi: add proper raw access support

2014-11-20 Thread Brian Norris
On Mon, Oct 20, 2014 at 10:46:13AM +0200, Boris Brezillon wrote: This series provides an implementation for raw accesses taking care of hidding the specific layout used by the GPMI controller. I also updated the nand_ecc_ctrl struct documentation to clearly state that specific layouts should

Re: [PATCH] mmc: dw_mmc: add quirk for data over interrupt timeout

2014-11-20 Thread addy ke
Hi, Jaehoon On 2014/11/19 13:56, addy ke wrote: Hi Jaehoon On 2014/11/19 09:22, Jaehoon Chung Wrote: Hi, Addy. On 11/18/2014 09:32 AM, Addy wrote: On 2014年11月14日 21:18, Jaehoon Chung wrote: Hi, Addy. Did you use the DW_MCI_QUIRK_IDMAC_DTO? I'm not sure, but i wonder if you get what

Re: [RFC] debug: add parameters to prevent entering debug mode on errors

2014-11-20 Thread Daniel Thompson
On 20/11/14 08:18, Kiran Raparthy wrote: Hi Daniel, On 18 November 2014 22:43, Daniel Thompson daniel.thomp...@linaro.org wrote: On 18/11/14 12:08, Kiran Kumar Raparthy wrote: From: Colin Cross ccr...@android.com debug: add parameters to prevent entering debug mode on errors On

Re: [PATCH v4 3/4] mtd: nand: gpmi: add proper raw access support

2014-11-20 Thread Boris Brezillon
Hi Brian, On Thu, 20 Nov 2014 01:08:07 -0800 Brian Norris computersforpe...@gmail.com wrote: On Mon, Oct 20, 2014 at 10:46:16AM +0200, Boris Brezillon wrote: Several MTD users (either in user or kernel space) expect a valid raw access support to NAND chip devices. This is particularly

Re: [PATCH v2] tools: hv: ignore ENOBUFS and ENOMEM in the KVP daemon

2014-11-20 Thread Vitaly Kuznetsov
Dexuan Cui de...@microsoft.com writes: Under high memory pressure and very high KVP R/W test pressure, the netlink recvfrom() may transiently return ENOBUFS to the daemon -- we found this during a 2-week stress test. We'd better not terminate the daemon on the failure, because a typical KVP

Re: [PATCH v7 1/4] irqchip: gic: Support hierarchy irq domain.

2014-11-20 Thread Yingjoe Chen
Hi Marc, On Thu, 2014-11-20 at 11:57 +0800, Yingjoe Chen wrote: On Wed, 2014-11-19 at 17:18 +, Marc Zyngier wrote: + + return 0; +} + +static const struct irq_domain_ops gic_irq_domain_hierarchy_ops = { + .xlate = gic_irq_domain_xlate, + .alloc = gic_irq_domain_alloc,

Re: [PATCH v4 2/4] mtd: nand: gpmi: add gpmi_move_bits function

2014-11-20 Thread Boris Brezillon
On Thu, 20 Nov 2014 01:22:09 -0800 Brian Norris computersforpe...@gmail.com wrote: On Mon, Oct 20, 2014 at 10:46:15AM +0200, Boris Brezillon wrote: Add a new function to move bits (not bytes) from a memory region to another one. This function is similar to memmove except it acts at bit

[PATCH RESEND v2 0/4] hwrng: atmel: add DT support

2014-11-20 Thread Nicolas Ferre
This is the patch series that Boris sent yesterday. I've just collected Acked-by tags and resend it with updated cover letter. This series adds DT support for the TRNG (True Random Generator) block and adds missing trng nodes to at91sam9g45 dtsi files. Herbert, As you said that you can take this

[PATCH RESEND v2 3/4] hwrng: atmel: Add TRNG DT binding doc

2014-11-20 Thread Nicolas Ferre
From: Boris Brezillon boris.brezil...@free-electrons.com Document DT bindings of Atmel's TRNG (True Random Number Generator) IP. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Peter Korsgaard pe...@korsgaard.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com ---

[PATCH RESEND v2 1/4] hwrng: atmel: use clk_prepapre_enable/_disable_unprepare

2014-11-20 Thread Nicolas Ferre
From: Boris Brezillon boris.brezil...@free-electrons.com Use clk_prepare_enable/_disable_unprepare instead of clk_enable/disable to work properly with the CCF. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Peter Korsgaard pe...@korsgaard.com Acked-by: Nicolas Ferre

[PATCH RESEND v2 2/4] hwrng: atmel: add DT support

2014-11-20 Thread Nicolas Ferre
From: Boris Brezillon boris.brezil...@free-electrons.com Add DT support. Make the driver depend on CONFIG_OF as at91sam9g45 was the only SoC making use of the TRNG block and this SoC is now fully migrated to DT. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Peter

[PATCH RESEND v2 4/4] ARM: at91/dt: add trng node to at91sam9g45

2014-11-20 Thread Nicolas Ferre
From: Boris Brezillon boris.brezil...@free-electrons.com Add a DT node for the TRNG (True Random Number Generator) block. Keep this block enabled as it does not depend on any external connection, and thus should be available on all boards. Signed-off-by: Boris Brezillon

Re: [RFC PATCH 07/16] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2014-11-20 Thread Liviu Dudau
On Thu, Nov 20, 2014 at 02:47:35AM +, Yijing Wang wrote: +static void pci_release_host_bridge_dev(struct device *dev) +{ + struct pci_host_bridge *bridge = to_pci_host_bridge(dev); + + if (bridge-release_fn) + bridge-release_fn(bridge); +

Re: [PATCH net V5] virtio-net: validate features during probe

2014-11-20 Thread Cornelia Huck
On Thu, 20 Nov 2014 17:03:05 +0800 Jason Wang jasow...@redhat.com wrote: We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ is not set but one of features depending on it is. That's not a friendly way to report errors to hypervisors. Let's check, and fail probe instead. Cc: Rusty Russell

Re: [PATCH net V5] virtio-net: validate features during probe

2014-11-20 Thread Jason Wang
On 11/20/2014 05:48 PM, Cornelia Huck wrote: On Thu, 20 Nov 2014 17:03:05 +0800 Jason Wang jasow...@redhat.com wrote: We currently trigger BUG when VIRTIO_NET_F_CTRL_VQ is not set but one of features depending on it is. That's not a friendly way to report errors to hypervisors. Let's

Re: frequent lockups in 3.18rc4

2014-11-20 Thread Dave Young
On 11/19/14 at 09:41am, Don Zickus wrote: On Tue, Nov 18, 2014 at 05:02:54PM -0500, Dave Jones wrote: On Tue, Nov 18, 2014 at 04:55:40PM -0500, Don Zickus wrote: So here we mangle CPU3 in and lose the backtrace for cpu0, which might be the real interesting one Can you

[PATCH] rtc: da9063: Fix ALARM interrupt registration.

2014-11-20 Thread Dmitry Lavnikevich
Call platform_get_irq_byname() returns local IRQ number. Use regmap_irq_get_virq() to get VIRQ instead. This fixes rtc initialization error: da9063-rtc da9063-rtc: Failed to request ALARM IRQ 1: -22 Signed-off-by: Dmitry Lavnikevich d.lavnikev...@sam-solutions.com --- drivers/rtc/rtc-da9063.c |

[PATCH 1/1] [media] firewire: Deletion of an unnecessary check before the function call dvb_unregister_device

2014-11-20 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Thu, 20 Nov 2014 10:49:07 +0100 The dvb_unregister_device() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

RE: [PATCH v8 1/2] procfs: show hierarchy of pid namespace

2014-11-20 Thread Chen, Hanxiao
-Original Message- From: containers-boun...@lists.linux-foundation.org [mailto:containers-boun...@lists.linux-foundation.org] On Behalf Of Chen Hanxiao Sent: Tuesday, November 18, 2014 5:30 PM To: Eric W. Biederman; Serge Hallyn; Oleg Nesterov; Richard Weinberger Cc:

Re: [PATCH] mmc: dw_mmc: add quirk for data over interrupt timeout

2014-11-20 Thread Jaehoon Chung
Hi, Addy. On 11/20/2014 06:33 PM, addy ke wrote: Hi, Jaehoon On 2014/11/19 13:56, addy ke wrote: Hi Jaehoon On 2014/11/19 09:22, Jaehoon Chung Wrote: Hi, Addy. On 11/18/2014 09:32 AM, Addy wrote: On 2014年11月14日 21:18, Jaehoon Chung wrote: Hi, Addy. Did you use the

Re: [PATCH 1/3] mfd: cros_ec: Add Chrome OS EC userspace device interface

2014-11-20 Thread Javier Martinez Canillas
Hello Olof, On 11/19/2014 09:45 PM, Olof Johansson wrote: Is true that this is a new API for mainline but there is a lot of ChromeOS installations that depends on this API which means that just replacing the kernel with a mainline one there, will break existing user-space programs. I think

[PATCH 2/5] i2c: davinci: query STP always when NACK is received

2014-11-20 Thread Grygorii Strashko
According to I2C specification the NACK should be handled as folowing: When SDA remains HIGH during this ninth clock pulse, this is defined as the Not Acknowledge signal. The master can then gene rate either a STOP condition to abort the transfer, or a repeated START condition to start a new

Re: [PATCH v3 2/5] drivers: soc: Add support for Exynos PMU driver

2014-11-20 Thread Russell King - ARM Linux
On Thu, Nov 20, 2014 at 11:09:25AM +0530, Amit Daniel Kachhap wrote: diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 063113d..44d220d 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -6,3 +6,4 @@ obj-$(CONFIG_ARCH_QCOM) += qcom/

[PATCH 5/5] i2c: davinci: use ICPFUNC to toggle I2C as gpio for bus recovery

2014-11-20 Thread Grygorii Strashko
Having a board where the I2C bus locks up occasionally made it clear that the bus recovery in the i2c-davinci driver will only work on some boards, because on regular boards, this will only toggle GPIO lines that aren't muxed to the actual pins. The I2C controller on SoCs like da850 (and da830),

[PATCH 4/5] i2c: davinci: use bus recovery infrastructure

2014-11-20 Thread Grygorii Strashko
This patch converts Davinci I2C driver to use I2C bus recovery infrastructure, introduced by commit 5f9296ba21b3 (i2c: Add bus recovery infrastructure). The i2c_bus_recovery_info is configured for Davinci I2C adapter only in case if scl_pin is provided in Platform data at least. Because the

[PATCH 0/5] i2c: davinci improvements and fixes

2014-11-20 Thread Grygorii Strashko
This series contains some fixes and improvements for Davinci I2C: patch 1 - small improvement patch 2 - fixes Bus busy state for some case (was reported long time ago:() patch 3-5 - converts driver to use I2C bus recovery infrastructure and adds Davinci I2C bus recovery mechanizm based on using

[PATCH 3/5] i2c: recovery: change input parameter to i2c_adapter for prepare/unprepare_recovery

2014-11-20 Thread Grygorii Strashko
This patch changes type of input parameter for .prepare/unprepare_recovery() callbacks from struct i2c_bus_recovery_info * to struct i2c_adapter *. This allows to simplify implementation of these callbacks and avoid type conversations from i2c_bus_recovery_info to i2c_adapter. The

[PATCH 1/5] i2c: i2c-davinci: switch to use platform_get_irq

2014-11-20 Thread Grygorii Strashko
Switch Davinci I2C driver to use platform_get_irq(), because - it is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ, ..) for requesting IRQ's resources any more, as they can be not ready yet in case of DT-booting. - it makes code simpler CC: Sekhar Nori nsek...@ti.com CC:

Re: [PATCH v2] clk: Propagate prepare and enable when reparenting orphans

2014-11-20 Thread Russell King - ARM Linux
On Wed, Nov 19, 2014 at 11:45:14PM -0800, Dmitry Torokhov wrote: On Wed, Nov 19, 2014 at 09:15:41PM -0800, Doug Anderson wrote: I will defer to your wisdom here. I agree that these are the two primary solutions and I've picked one, but I have no idea which will be more of a PITA in the

Re: [PATCH v7 1/4] irqchip: gic: Support hierarchy irq domain.

2014-11-20 Thread Marc Zyngier
On Thu, Nov 20 2014 at 4:26:10 am GMT, Jiang Liu jiang@linux.intel.com wrote: Hi Jiang, On 2014/11/20 1:18, Marc Zyngier wrote: Hi Yingjoe, On Wed, Nov 19 2014 at 2:14:08 pm GMT, Yingjoe Chen yingjoe.c...@mediatek.com wrote: + +static const struct irq_domain_ops

voice calls on N900 working (off-line) was Re: N900 modem support in 3.18-rc1

2014-11-20 Thread Pavel Machek
Hi! REed pulseaudio modules that use cmtspeech will be ready sooner than later (I believe in 2-3 monts from now), see on gitorious how fast we progressed with -record and -music modules. Sure, -voice module is way more complicated, but lots of it is already opensourced, we just need to

Re: [PATCH v3] x86/mce: Try printing all machine check banks known before panic

2014-11-20 Thread Borislav Petkov
On Wed, Nov 19, 2014 at 11:34:10PM +, Luck, Tony wrote: The SDM has this to say about EN=0 (in section 15.10.4.1 of volume 3B): When the EN flag is zero but the VAL and UC flags are one in the IA32_MCi_STATUS register, the reported uncorrected error in this bank is not enabled.

Re: voice calls on N900 working (off-line) was Re: N900 modem support in 3.18-rc1

2014-11-20 Thread Pavel Machek
Hi! Ok, so realtime audio does not work due to some pulseaudio problems, but I was able to record a (silent) call and then replay it with pacat --rate 4000 ../../../pulseaudio2.raw on my PC. I have yet to do some testing on the microphone side. Did someone get pulseaudio to work on

[PATCH] of: Properly set the OF_POPULATED_BUS flag on root node

2014-11-20 Thread Grant Likely
of_platform_populate() takes a subset of the device tree and turns it into a set of platform_devices. At the same time it sets the OF_POPULATED_BUS flag in each bus nodes so that of_platform_depopulate() can undo the operation at a later time. However, it doesn't set the flag on the root of the

[PATCH 10/10] mm: numa: Avoid unnecessary TLB flushes when setting NUMA hinting entries

2014-11-20 Thread Mel Gorman
If a PTE or PMD is already marked NUMA when scanning to mark entries for NUMA hinting then it is not necessary to update the entry and incur a TLB flush penalty. Avoid the avoidhead where possible. Signed-off-by: Mel Gorman mgor...@suse.de --- mm/huge_memory.c | 14 -- mm/mprotect.c

[PATCH 01/10] mm: numa: Do not dereference pmd outside of the lock during NUMA hinting fault

2014-11-20 Thread Mel Gorman
A transhuge NUMA hinting fault may find the page is migrating and should wait until migration completes. The check is race-prone because the pmd is deferenced outside of the page lock and while the race is tiny, it'll be larger if the PMD is cleared while marking PMDs for hinting fault. This patch

Re: [PATCH] i2c: img-scb: Allow building for MIPS

2014-11-20 Thread Ezequiel Garcia
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/19/2014 06:07 AM, Wolfram Sang wrote: On Wed, Nov 19, 2014 at 12:03:08AM +, James Hogan wrote: On Tue, Nov 18, 2014 at 03:58:33PM -0800, Andrew Bresticker wrote: The SCB is present on IMG SoCs other than the META-based TZ1090, such as

[PATCH 1/1] [media] i2c: Deletion of an unnecessary check before the function call rc_unregister_device

2014-11-20 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Thu, 20 Nov 2014 11:13:16 +0100 The rc_unregister_device() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH v4] clocksource: arch_timer: Fix code to use physical timers when requested

2014-11-20 Thread Daniel Lezcano
On 10/08/2014 09:38 AM, Sonny Rao wrote: This is a bug fix for using physical arch timers when the arch_timer_use_virtual boolean is false. It restores the arch_counter_get_cntpct() function after removal in 0d651e4e clocksource: arch_timer: use virtual counters We need this on certain ARMv7

[PATCH 03/10] mm: Convert p[te|md]_numa users to p[te|md]_protnone_numa

2014-11-20 Thread Mel Gorman
Convert existing users of pte_numa and friends to the new helper. Note that the kernel is broken after this patch is applied until the other page table modifiers are also altered. This patch layout is to make review easier. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Linus Torvalds

[PATCH 05/10] mm: Convert p[te|md]_mknonnuma and remaining page table manipulations

2014-11-20 Thread Mel Gorman
With PROT_NONE, the traditional page table manipulation functions are sufficient. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Linus Torvalds torva...@linux-foundation.org Acked-by: Aneesh Kumar aneesh.ku...@linux.vnet.ibm.com --- include/linux/huge_mm.h | 3 +-- mm/huge_memory.c

[PATCH 04/10] ppc64: Add paranoid warnings for unexpected DSISR_PROTFAULT

2014-11-20 Thread Mel Gorman
ppc64 should not be depending on DSISR_PROTFAULT and it's unexpected if they are triggered. This patch adds warnings just in case they are being accidentally depended upon. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---

  1   2   3   4   5   6   7   8   9   10   >