Re: [PATCH v2] iio/axp288_adc: add missing channel info mask

2015-04-09 Thread Jonathan Cameron
On 09/04/15 18:02, Jacob Pan wrote: On Thu, 09 Apr 2015 14:18:49 +0100 Jonathan Cameron ji...@kernel.org wrote: On 06/04/15 19:38, Jacob Pan wrote: Commit 65de7654d39c70c2b (iio: iio: Fix iio_channel_read return if channel havn't info) added a check for valid info masks. This patch adds

Re: [PATCH] PPS: Restore lost capture-clear option to pps-gpio module.

2015-04-09 Thread Jan Lübbe
Hi Gary, On Do, 2015-04-02 at 12:21 -0700, Gary E. Miller wrote: In the conversion from platform to device tree the capture-clear option was lost. capture-clear is needed so that time_pps_fetch() will report both edges of each PPS pulse. Both edges are needed so that userland programs,

Re: [PATCH v2 01/17] IB/Verbs: Implement new callback query_transport() for each HW

2015-04-09 Thread Doug Ledford
On Thu, 2015-04-09 at 10:01 -0600, Jason Gunthorpe wrote: On Thu, Apr 09, 2015 at 10:34:30AM -0400, Doug Ledford wrote: These are exactly the tests I proposed Jason. I'm not sure I see your point here. I guess my point is that although the scenario of all the different items seems

[PATCH v5 07/11] ARM: introduce ARM_SINGLE_ARMV7M for ARMv7-M platforms

2015-04-09 Thread Stefan Agner
This introduces a new top level config symbol ARM_SINGLE_ARMV7M for non-MMU, ARMv7-M platforms. It also support multiple ARMv7-M platforms in one kernel image since the cores share the same basic memory layout and interrupt controller. However, this works only if the combined platforms also have a

[PATCH v5 08/11] ARM: efm32: use ARM_SINGLE_ARMV7M

2015-04-09 Thread Stefan Agner
Use the new config symbol ARM_SINGLE_ARMV7M which groups config symbols used by modern ARMv7-M platforms. It also support multiple ARMv7-M platforms in one kernel image. However, this only works if the combined platforms share the same (main) memory layout. Signed-off-by: Stefan Agner

[PATCH v3 01/21] Drivers: hv: util: move kvp/vss function declarations to hyperv_vmbus.h

2015-04-09 Thread Vitaly Kuznetsov
These declarations are internal to hv_util module and hv_fcopy_* declarations already reside there. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- drivers/hv/hv_kvp.c | 1 + drivers/hv/hv_snapshot.c | 2 ++ drivers/hv/hyperv_vmbus.h | 8 include/linux/hyperv.h| 7

[PATCH 3.4 071/176] udf: Verify i_size when loading inode

2015-04-09 Thread lizf
From: Jan Kara j...@suse.cz 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit e159332b9af4b04d882dbcfe1bb0117f0a6d4b58 upstream. Verify that inode size is sane when loading inode with data stored in ICB. Otherwise we may get confused later

Re: [PATCH v5 1/3] lib/plist: Provide plist_add_head() for nodes with the same prio

2015-04-09 Thread Steven Rostedt
On Thu, 9 Apr 2015 11:27:16 +0800 Xunlei Pang xlp...@126.com wrote: From: Xunlei Pang pang.xun...@linaro.org If there're multiple nodes with the same prio as @node, currently plist_add() will add @node behind all of them. Now we need to add @node before all of these nodes for SMP RT

[PATCH 3.4 027/176] ahci: disable MSI on SAMSUNG 0xa800 SSD

2015-04-09 Thread lizf
From: Tejun Heo t...@kernel.org 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 2b21ef0aae65f22f5ba86b13c4588f6f0c2dbefb upstream. Just like 0x1600 which got blacklisted by 66a7cbc303f4 (ahci: disable MSI instead of NCQ on Samsung pci-e

Re: [PATCH v4 6/9] rbtree: Implement generic latch_tree

2015-04-09 Thread Peter Zijlstra
On Thu, Apr 09, 2015 at 04:55:05PM +0800, Lai Jiangshan wrote: This sentence is talking about module.c not latch_tree.h. So I guess it is user(module.c)'s problem, not latch_tree.h's problem. The user(module.c) can wrap the struct latch_tree_nodes and add @priv. OK, took me a while to figure

Re: [PATCH 1/2] clk: versatile: test returned value

2015-04-09 Thread Stephen Boyd
On 04/09, Linus Walleij wrote: On Sat, Apr 4, 2015 at 4:59 PM, Julia Lawall julia.law...@lip6.fr wrote: Put NULL test on the result of the previous call instead on one of its arguments. A simplified version of the semantic match that finds this problem is as follows

[PATCH 3.4 075/176] udf: Check component length before reading it

2015-04-09 Thread lizf
From: Jan Kara j...@suse.cz 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit e237ec37ec154564f8690c5bd1795339955eeef9 upstream. Check that length specified in a component of a symlink fits in the input buffer we are reading. Also properly

Re: [RFC 3/4] Documentation/scheduler/sched-deadline.txt: Some notes on EDF schedulability

2015-04-09 Thread Luca Abeni
On 04/09/2015 12:10 PM, Henrik Austad wrote: [...] @@ -43,7 +43,13 @@ CONTENTS deadline, to schedule tasks. A SCHED_DEADLINE task should receive runtime microseconds of execution time every period microseconds, and these runtime microseconds are available within deadline microseconds -

[PATCH 3.4 059/176] Btrfs: fix fs corruption on transaction abort if device supports discard

2015-04-09 Thread lizf
From: Filipe Manana fdman...@suse.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 678886bdc6378c1cbd5072da2c5a3035000214e3 upstream. When we abort a transaction we iterate over all the ranges marked as dirty in

Re: [PATCHv7] media: i2c/adp1653: fix includes

2015-04-09 Thread Javier Martinez Canillas
Hello Pavel, On Thu, Apr 9, 2015 at 2:31 PM, Pavel Machek pa...@ucw.cz wrote: Fix includes according to Sebastian. Signed-off-by: Pavel Machek pa...@ucw.cz --- On Thu 2015-04-09 14:19:14, Sebastian Reichel wrote: On Thu, Apr 09, 2015 at 01:29:43PM +0200, Pavel Machek wrote: On Thu

Re: [PATCH v8] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-09 Thread Borislav Petkov
On Thu, Apr 09, 2015 at 10:00:30AM +0200, Ingo Molnar wrote: So the thing is, when we boot up the second kernel there will be a window where the old handler isn't valid (because the new kernel has its own pagetables, etc.) and the new handler is not installed yet. If an MCE hits that

[PATCH 3.4 016/176] MIPS: Loongson: Make platform serial setup always built-in.

2015-04-09 Thread lizf
From: Aaro Koskinen aaro.koski...@iki.fi 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 26927f76499849e095714452b8a4e09350f6a3b9 upstream. If SERIAL_8250 is compiled as a module, the platform specific setup for Loongson will be a module

[PATCH 3.4 012/176] USB: xhci: don't start a halted endpoint before its new dequeue is set

2015-04-09 Thread lizf
From: Mathias Nyman mathias.ny...@linux.intel.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit c3492dbfa1050debf23a5b5cd2bc7514c5b37896 upstream. A halted endpoint ring must first be reset, then move the ring dequeue pointer past the

Re: ext4: WARNING: CPU: 10 PID: 23340 at fs/block_dev.c

2015-04-09 Thread Theodore Ts'o
On Thu, Apr 09, 2015 at 10:14:49AM -0400, Sasha Levin wrote: Hi all, I was running xfstests on the latest -next kernel directed at an ext4 mount, and saw the following on the generic/019 test: Hi Sasha, This isn't a test I normally run; is it a test you've run in the past? If so, do you

[PATCH v7 2/9] ARM: multi_v7_defconfig: Enable support for ST's LPC Watchdog

2015-04-09 Thread Lee Jones
Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index b7e6b6fb..138e68a 100644 --- a/arch/arm/configs/multi_v7_defconfig +++

Re: [PATCH] x86, iommu: Fix header comments regarding standard and _FINISH macros

2015-04-09 Thread Borislav Petkov
On Thu, Apr 09, 2015 at 06:31:17AM -0400, Konrad Rzeszutek Wilk wrote: http://lkml.kernel.org/r/1428508017-5316-1-git-send-email-aravind.gopalakrish...@amd.com Signed-off-by: What is with that empty SoB? I'm invisible :-) Anyway, Ingo applied the correct version. -- Regards/Gruss,

[PATCH 3.4 104/176] sysfs.h: add ATTRIBUTE_GROUPS() macro

2015-04-09 Thread lizf
From: Greg Kroah-Hartman gre...@linuxfoundation.org 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit f2f37f58b1b933b06d6d84e80a31a1b500fb0db2 upstream. To make it easier for driver subsystems to work with attribute groups, create the

Re: linux-next: build failure after merge of the regulator tree

2015-04-09 Thread Mark Brown
On Thu, Apr 09, 2015 at 02:33:09PM +1000, Stephen Rothwell wrote: After merging the regulator tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/msm/dsi/dsi_host.c: In function 'dsi_host_regulator_disable': drivers/gpu/drm/msm/dsi/dsi_host.c:330:4:

Re: [tip:irq/core] genirq: MSI: Fix freeing of unallocated MSI

2015-04-09 Thread Thomas Gleixner
On Thu, 9 Apr 2015, Marc Zyngier wrote: On Thu, 9 Apr 2015 13:00:23 +0100 Ingo Molnar mi...@kernel.org wrote: Hm, so this appears to be the first time that 'irq == 0' assumptions are getting into the genirq core. Is NO_IRQ dead? I realize that the MSI code uses '!irq' as a flag, but

[PATCH] Staging: comedi: daqboard2000.c fixed trailing whitespace

2015-04-09 Thread Andrei Maresu
Fixed a coding style issue. Signed-off-by: Andrei Maresu andreimar...@gmail.com --- drivers/staging/comedi/drivers/daqboard2000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers/daqboard2000.c b/drivers/staging/comedi/drivers/daqboard2000.c

[PATCH 3.4 131/176] net: sctp: fix panic on duplicate ASCONF chunks

2015-04-09 Thread lizf
From: Daniel Borkmann dbork...@redhat.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit b69040d8e39f20d5215a03502a8e8b4c6ab78395 upstream. When receiving a e.g. semi-good formed connection scan in the form of ... --

[PATCH 3.4 105/176] driver core: Introduce device_create_groups

2015-04-09 Thread lizf
From: Guenter Roeck li...@roeck-us.net 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 39ef311204941ddd01ea2950d6220c8ccc710d15 upstream. device_create_groups lets callers create devices as well as associated sysfs attributes with a

[PATCH 3.4 137/176] MIPS: IRQ: Fix disable_irq on CPU IRQs

2015-04-09 Thread lizf
From: Felix Fietkau n...@openwrt.org 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit a3e6c1eff54878506b2dddcc202df9cc8180facb upstream. If the irq_chip does not define .irq_disable, any call to disable_irq will defer disabling the IRQ

Re: [PATCH v4 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-04-09 Thread Peter Ujfalusi
+static inline void ti_dma_xbar_write(void __iomem *iomem, int xbar, int val) +{ +writew_relaxed(val, iomem + (xbar * 2)); Silently casting val (an integer) to a u16 isn't really nice I guess. At least you could be upfront about it in the prototype. The value in val is guarantied not

Re: [PATCH] hrtimer: Replace cpu_base-active_bases with a direct check of the active list

2015-04-09 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Thu, Apr 09, 2015 at 09:09:17AM +0200, Ingo Molnar wrote: * Peter Zijlstra pet...@infradead.org wrote: On Thu, Apr 09, 2015 at 08:28:41AM +0200, Ingo Molnar wrote: Btw., does cpu_base-active_bases even make sense? hrtimer bases are

[PATCH v3 20/21] Drivers: hv: fcopy: full handshake support

2015-04-09 Thread Vitaly Kuznetsov
Introduce FCOPY_VERSION_1 to support kernel replying to the negotiation message with its own version. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- drivers/hv/hv_fcopy.c | 16 +++- include/uapi/linux/hyperv.h | 3 ++- tools/hv/hv_fcopy_daemon.c | 15 +++

[PATCH v3 17/21] Tools: hv: kvp: use misc char device to communicate with kernel

2015-04-09 Thread Vitaly Kuznetsov
Use /dev/vmbus/hv_kvp instead of netlink. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- tools/hv/hv_kvp_daemon.c | 166 +-- 1 file changed, 31 insertions(+), 135 deletions(-) diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c

[PATCH v3 15/21] Drivers: hv: fcopy: convert to hv_utils_transport

2015-04-09 Thread Vitaly Kuznetsov
Unify the code with the recently introduced hv_utils_transport. Netlink communication is disabled for fcopy. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- drivers/hv/hv_fcopy.c | 194 -- 1 file changed, 46 insertions(+), 148 deletions(-)

[PATCH v3 18/21] Tools: hv: vss: use misc char device to communicate with kernel

2015-04-09 Thread Vitaly Kuznetsov
Use /dev/vmbus/hv_vss instead of netlink. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com --- tools/hv/hv_vss_daemon.c | 139 +-- 1 file changed, 25 insertions(+), 114 deletions(-) diff --git a/tools/hv/hv_vss_daemon.c b/tools/hv/hv_vss_daemon.c

[PATCH v3 09/21] Drivers: hv: kvp: switch to using the hvutil_device_state state machine

2015-04-09 Thread Vitaly Kuznetsov
... from using 2 different state variables: kvp_transaction.active and in_hand_shake. State transitions are: - HVUTIL_DEVICE_INIT when driver loads or on device release - HVUTIL_READY if the handshake was successful - HVUTIL_HOSTMSG_RECEIVED when there is a non-negotiation message from the host -

[PATCH v3 02/21] Drivers: hv: kvp: reset kvp_context

2015-04-09 Thread Vitaly Kuznetsov
We set kvp_context when we want to postpone receiving a packet from vmbus due to the previous transaction being unfinished. We, however, never reset this state, all consequent kvp_respond_to_host() calls will result in poll_channel() calling hv_kvp_onchannelcallback(). This doesn't cause real

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-04-09 Thread Richard Weinberger
Am 31.03.2015 um 09:47 schrieb Hajime Tazaki: right now arch/lib/Makefile isn't fully on the Kbuild system: build file dependency is not tracked at all. while I should learn more about Kbuild, I'd be happy if you would suggest how the Makefile should be. You definitely have to use Kbuild.

[PATCH 3.4 046/176] eCryptfs: Remove buggy and unnecessary write in file name decode routine

2015-04-09 Thread lizf
From: Michael Halcrow mhalc...@google.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 942080643bce061c3dd9d5718d3b745dcb39a8bc upstream. Dmitry Chernenkov used KASAN to discover that eCryptfs writes past the end of the allocated

[PATCH 3.4 044/176] mfd: tc6393xb: Fail ohci suspend if full state restore is required

2015-04-09 Thread lizf
From: Dmitry Eremin-Solenikov dbarysh...@gmail.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 1a5fb99de4850cba710d91becfa2c65653048589 upstream. Some boards with TC6393XB chip require full state restore during system resume thanks to

drm/msm/mdp5: undefined CONFIG_MSM_BUS_SCALING

2015-04-09 Thread Valentin Rothberg
Hi Hai, your commit d5af49c92a8a (drm/msm/mdp5: Enable DSI connector in msm drm driver) in today's Linux next tree adds an #ifdef with CONFIG_MSM_BUS_SCALING as condition. MSM_BUS_SCALING is not defined in Kconfig, so the code in this #ifdef block won't be compiled at its current state. I saw

[3.16.y-ckt stable] Patch net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5} has been added to staging queue

2015-04-09 Thread Luis Henriques
This is a note to let you know that I have just added a patch titled net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5} to the linux-3.16.y-queue branch of the 3.16.y-ckt extended stable tree which can be found at:

[PATCH 3.4 159/176] Bluetooth: ath3k: Add support of MCI 13d3:3408 bt device

2015-04-09 Thread lizf
From: Dmitry Tunin hanipouspi...@gmail.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 3bb30a7cdf9242aca90d49aa41baebf9458f96f0 upstream. Add support for Bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This Bluetooth module requires

Re: [PATCH v2 04/10] KVM: arm: guest debug, add stub KVM_SET_GUEST_DEBUG ioctl

2015-04-09 Thread Andrew Jones
On Wed, Apr 01, 2015 at 05:55:29PM +0200, David Hildenbrand wrote: This commit adds a stub function to support the KVM_SET_GUEST_DEBUG ioctl. Currently any operation flag will return EINVAL. Actual Well it won't return -EINVAL if you push in KVM_GUESTDBG_ENABLE or 0. Any unsupported flag

Re: [PATCH v8] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-09 Thread Ingo Molnar
* Naoya Horiguchi n-horigu...@ah.jp.nec.com wrote: On Thu, Apr 09, 2015 at 10:00:30AM +0200, Ingo Molnar wrote: * Borislav Petkov b...@alien8.de wrote: Btw, Ingo had some reservations about this. Ingo? Yeah, so my concerns are the following: kexec disables (or shoots down)

Re: [RFC 0/4] SCHED_DEADLINE documentation update

2015-04-09 Thread Luca Abeni
Hi Peter, On 04/08/2015 04:44 PM, Peter Zijlstra wrote: On Wed, Apr 08, 2015 at 01:59:36PM +0200, Luca Abeni wrote: Hi all, here is the promised update for Documentation/scheduler/sched-deadline.txt. I send it as an RFC because of the following doubts: 1) I split the patches trying to isolate

[PATCH 3.4 151/176] Bluetooth: sort the list of IDs in the source code

2015-04-09 Thread lizf
From: Andy Shevchenko andriy.shevche...@linux.intel.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 0b8800623d3f12dd40a039aa191d52bfa4eef5b4 upstream. This will help to manage table of supported IDs. There is no functional change.

Re: [tip:irq/core] genirq: MSI: Fix freeing of unallocated MSI

2015-04-09 Thread Marc Zyngier
On Thu, 9 Apr 2015 13:00:23 +0100 Ingo Molnar mi...@kernel.org wrote: Hi Ingo, * tip-bot for Marc Zyngier tip...@zytor.com wrote: Commit-ID: fe0c52fc003bc046380e52fe6799c96d770770cc Gitweb: http://git.kernel.org/tip/fe0c52fc003bc046380e52fe6799c96d770770cc Author: Marc

Re: Preventing 32-bit time_t overflow

2015-04-09 Thread John Stultz
On Thu, Apr 9, 2015 at 9:45 AM, Miroslav Lichvar mlich...@redhat.com wrote: I did a test to see what happens on a system when 32-bit time_t overflows. While the kernel seems to continue running without big problems and it's possible to set the clock back to a time before the overflow, some

[PATCH v3 3/4] documentation: dts: Add the device tree binding for APM X-Gene v1 PCIe MSI device tree node

2015-04-09 Thread Duc Dang
The driver for this binding is under 'drivers/pci/host/pci-xgene-msi.c' Signed-off-by: Duc Dang dhd...@apm.com Signed-off-by: Tanmay Inamdar tinam...@apm.com --- .../devicetree/bindings/pci/xgene-pci-msi.txt | 63 ++ 1 file changed, 63 insertions(+) create mode 100644

Re: [PATCH] perf tools: Fix ppid for non-main thread

2015-04-09 Thread Don Zickus
On Thu, Apr 09, 2015 at 12:48:27PM -0400, David Ahern wrote: Commit ca6c41c59b9 sets the ppid based on what is read from the /proc/pid/status file when synthesizing fork events. This is correct thing to do for new processes but not threads of a process. Fix ppid for threads to be the main

Re: [Xen-devel] [Patch V2 01/15] xen: sync with xen headers

2015-04-09 Thread David Vrabel
On 09/04/15 07:55, Juergen Gross wrote: Use the newest headers from the xen tree to get some new structure layouts. Reviewed-by: David Vrabel david.vra...@citrix.com David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [RFC 4/4] Documentation/scheduler/sched-deadline.txt: add some references

2015-04-09 Thread Juri Lelli
On 08/04/15 12:59, Luca Abeni wrote: Add a description of the Dhall's effect, some discussion about schedulability tests for global EDF, and references to real-time literature, --- Documentation/scheduler/sched-deadline.txt | 81 1 file changed, 71

[PATCH 3.4 095/176] HID: roccat: potential out of bounds in pyra_sysfs_write_settings()

2015-04-09 Thread lizf
From: Dan Carpenter dan.carpen...@oracle.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 606185b20caf4c57d7e41e5a5ea4aff460aef2ab upstream. This is a static checker fix. We write some binary settings to the sysfs file. One of the

Re: [PATCH 12/14] i2c-parport: return proper error values from attach

2015-04-09 Thread Wolfram Sang
On Wed, Apr 08, 2015 at 04:50:38PM +0530, Sudip Mukherjee wrote: now that we are monitoring the return value from attach, make the required changes to return proper value from its attach function. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/i2c/busses/i2c-parport.c | 7

Re: [PATCH 0/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation

2015-04-09 Thread Mike Snitzer
On Mon, Apr 06 2015 at 9:29am -0400, Pali Rohár pali.ro...@gmail.com wrote: On Monday 06 April 2015 15:00:46 Mike Snitzer wrote: On Sun, Apr 05 2015 at 1:20pm -0400, Pali Rohár pali.ro...@gmail.com wrote: This patch series increase security of suspend and hibernate actions. It

Re: [PATCHv2 2/2] iio: dht11: Use new function ktime_get_resolution_ns()

2015-04-09 Thread Jonathan Cameron
On 07/04/15 12:12, Harald Geyer wrote: This cleans up the most ugly workaround in this driver. There are no functional changes yet in the decoding algorithm, but we improve the following things: * Get rid of spurious warning messages on systems with fast HRTIMER. * If the clock is not fast

Re: [V2, 06/12] selftests, powerpc: Add test for system wide DSCR default

2015-04-09 Thread Anshuman Khandual
On 03/27/2015 05:31 PM, Michael Ellerman wrote: On Tue, 2015-13-01 at 10:22:34 UTC, Anshuman Khandual wrote: This patch adds a test case for the system wide DSCR default value, which when changed through it's sysfs interface must be visible to all threads reading DSCR either through the

Re: [4.0-rc+] WARNING: CPU: 0 PID: 1 at ./drivers/dma/dmaengine.c:863 dma_async_device_register+0xe0/0x540()

2015-04-09 Thread Peter Hurley
On 04/09/2015 03:09 AM, Maxime Ripard wrote: On Wed, Apr 08, 2015 at 12:07:14PM -0400, Peter Hurley wrote: On 04/08/2015 11:59 AM, Maxime Ripard wrote: On Wed, Apr 08, 2015 at 11:53:33AM -0400, Peter Hurley wrote: On 03/05/2015 11:12 AM, Vinod Koul wrote: On Thu, Mar 05, 2015 at 10:04:21AM

[PATCH v7 0/9] mfd: watchdog: rtc: New driver for ST's LPC IP

2015-04-09 Thread Lee Jones
[Alessandro: This just needs RTC Acks now] ST's Low Power Controller (LPC) controls two devices; watchdog and RTC. Only one of the devices can be used at any one time, which is enforced by the Device Driver model. This driver set provides everything you need to choose one (and only one) of the

Re: [PATCH 2/2] ide: replace GFP_ATOMIC by GFP_KERNEL

2015-04-09 Thread Julia Lawall
On Thu, 9 Apr 2015, Dan Carpenter wrote: Sorry, my last email was bad. Splitting patches into logical parts is a bit tricky. Let me try explain better. Every patch should sort of make sense on its own. In the original code it's using GFP_ATOMIC but that's because the original API was

Re: [PATCH v2] mm: show free pages per each migrate type

2015-04-09 Thread Andrew Morton
On Thu, 9 Apr 2015 10:19:10 +0800 Neil Zhang neilzhang1...@hotmail.com wrote: show detailed free pages per each migrate type in show_free_areas. After apply this patch, the log printed out will be changed from [ 558.212844@0] Normal: 218*4kB (UEMC) 207*8kB (UEMC) 126*16kB (UEMC)

[PATCH v5 5/8] dmaengine: omap-dma: Take DMA request number from DT if it is available

2015-04-09 Thread Peter Ujfalusi
Use the dma-requests property from DT to get the number of DMA requests. In case of legacy boot or failure to find the property, use the default 127 as number of requests. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/omap-dma.c | 12 +++- 1 file changed, 11

[PATCH 3.4 100/176] gpio: fix memory and reference leaks in gpiochip_add error path

2015-04-09 Thread lizf
From: Johan Hovold jo...@kernel.org 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 5539b3c938d64a60cb1fc442ac3ce9263d52de0c upstream. Memory allocated and references taken by of_gpiochip_add and acpi_gpiochip_add were never released on

Re: [PATCH 3.4 115/176] spi: dw: Fix detecting FIFO depth

2015-04-09 Thread Axel Lin
2015-04-09 16:46 GMT+08:00 l...@kernel.org: From: Axel Lin axel@ingics.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit d297933cc7fcfbaaf2d37570baac73287bf0357d upstream. Current code tries to find the highest valid fifo

[PATCH v2 2/2] mtd: mtd_oobtest: Fix the address offset with vary_offset case

2015-04-09 Thread Roger Quadros
When vary_offset is set (e.g. test case 3), the offset is not always zero so memcmpshow() will show the wrong offset in the print message. To fix this we introduce a new function memcmpshowoffset() which takes offset as a parameter and displays the right offset and use it in the case where offset

Re: [PATCH 2/2] locking/rwsem: Use a return variable in rwsem_spin_on_owner()

2015-04-09 Thread Linus Torvalds
On Thu, Apr 9, 2015 at 10:56 AM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: And if such long-term spins are likely, I cannot resist asking if this should be instead using SRCU. If you have your own srcu_struct, you get to delay your own SRCU grace periods as long as you want. ;-)

Re: [PATCH V2] UBI: power cut emulation for testing

2015-04-09 Thread Richard Weinberger
On Thu, Mar 26, 2015 at 11:59 PM, david.oberhollen...@sigma-star.at wrote: Emulate random power cuts by switching device to ro after a number of writes to allow simple power cut testing with nand-sim. Maximum and minimum number of successful writes before power cut and what kind of writes

[PATCH 2/2] usb: phy: msm: Manual PHY and LINK controller VBUS change notification

2015-04-09 Thread Ivan T. Ivanov
VBUS is not routed to USB PHY on recent Qualcomm platforms. USB controller must see VBUS in order to pull-up DP when setting RS bit. Henc configure USB PHY and LINK registers sense VBUS and enable manual pullup on D+ line. Cc: Vamsi Krishna vskri...@codeaurora.org Cc: Mayank Rana

[PATCH 1/2] usb: phy: msm: Use extcon framework for VBUS and ID detection

2015-04-09 Thread Ivan T. Ivanov
On recent Qualcomm platforms VBUS and ID lines are not routed to USB PHY LINK controller. Use extcon framework to receive connect and disconnect ID and VBUS notification. Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org --- .../devicetree/bindings/usb/msm-hsusb.txt | 7 ++

[PATCH] dvb: Document FE_SCALE_DECIBEL units consistently

2015-04-09 Thread David Howells
In comments and in the documentation, the units of properties marked with the FE_SCALE_DECIBEL scale are specified in terms of 1/1000 dB or 0.0001 dB. This is inconsistent, however, as 1/1000 is 0.001, not 0.0001. Note that the v4l-utils divide the value by 1000 for the signal strength

Re: [PATCH] hrtimer: Replace cpu_base-active_bases with a direct check of the active list

2015-04-09 Thread Thomas Gleixner
On Thu, 9 Apr 2015, Ingo Molnar wrote: Btw., does cpu_base-active_bases even make sense? hrtimer bases are fundamentally percpu, and to check whether there are any pending timers is a very simple check: base-active-next != NULL So I'd rather suggest taking a direct look at the

Re: [PATCH v2 3/5] PCI: st: Provide support for the sti PCIe controller

2015-04-09 Thread Bjorn Helgaas
On Tue, Mar 31, 2015 at 11:11:44AM +0200, Gabriel Fernandez wrote: Hi Bjorn, pci-st.c driver could be modular with modification of pcie-designware core driver. But as Fabrice said it should be another patchset. What do you prefer ? drop all the module related macros as mentioned by

Re: [PATCH v2 01/17] IB/Verbs: Implement new callback query_transport() for each HW

2015-04-09 Thread Michael Wang
On 04/08/2015 10:10 PM, Jason Gunthorpe wrote: [snip] As Sean pointed out, force_grh should be rdma_dev_is_iboe(). The cm I actually really prefer cap_mandatory_grh - that is what is going on here. ie based on that name (as a reviewer) I'd expect to see the mad layer check that the

Re: [PATCH v8] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-09 Thread Naoya Horiguchi
On Thu, Apr 09, 2015 at 08:13:46AM +0200, Borislav Petkov wrote: On Tue, Apr 07, 2015 at 08:02:18AM +, Naoya Horiguchi wrote: kexec disables (or shoots down) all CPUs other than a crashing CPU before entering the 2nd kernel. But the MCE handler is still enabled after that, so if MCE

[Patch V2 11/15] xen: check for initrd conflicting with e820 map

2015-04-09 Thread Juergen Gross
Check whether the initrd is placed at a location which is conflicting with the target E820 map. If this is the case relocate it to a new area unused up to now and compliant to the E820 map. Signed-off-by: Juergen Gross jgr...@suse.com --- arch/x86/xen/setup.c | 51

[Patch V2 12/15] mm: provide early_memremap_ro to establish read-only mapping

2015-04-09 Thread Juergen Gross
During early boot as Xen pv domain the kernel needs to map some page tables supplied by the hypervisor read only. This is needed to be able to relocate some data structures conflicting with the physical memory map especially on systems with huge RAM (above 512GB). Provide the function

Re: [PATCH v2 1/2] Documentation: bindings: add abracon,abx80x

2015-04-09 Thread Philippe De Muyter
Hi Alexandre, when I look into Documentation/devicetree/bindings/rtc, it seems that all rtc but a few (mainly old ones) have the -rtc suffix in the compatible property. Would it not be better to keep it here also, like what I had written ? Best regards Philippe On Wed, Apr 01, 2015 at

[GIT PULL] PCI fixes for v4.0

2015-04-09 Thread Bjorn Helgaas
Hi Linus, Here are some fixes for v4.0. I apologize for how late they are. We were hoping for some better fixes, but couldn't get them polished in time. These fix: - a Xen domU oops with PCI passthrough devices - a sparc T5 boot failure - a STM SPEAr13xx crash (use after initdata freed)

Re: [PATCH 2/3] Btrfs: unify subvol= and subvolid= mounting

2015-04-09 Thread Omar Sandoval
On Thu, Apr 09, 2015 at 06:28:48PM +0200, David Sterba wrote: On Tue, Apr 07, 2015 at 10:34:01PM -0700, Omar Sandoval wrote: Currently, mounting a subvolume with subvolid= takes a different code path than mounting with subvol=. This isn't really a big deal except for the fact that mounts

Re: [PATCH v5 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-04-09 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [150409 11:55]: On 04/09/2015 06:18 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150409 02:37]: The sDMA requests are routed through the DMA crossbar and without the crossbar only peripherals using DMA request 0-127 can be used.

Re: [PATCH] hrtimer: Replace cpu_base-active_bases with a direct check of the active list

2015-04-09 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Thu, Apr 09, 2015 at 08:28:41AM +0200, Ingo Molnar wrote: Btw., does cpu_base-active_bases even make sense? hrtimer bases are fundamentally percpu, and to check whether there are any pending timers is a very simple check:

Re: [4.0-rc+] WARNING: CPU: 0 PID: 1 at ./drivers/dma/dmaengine.c:863 dma_async_device_register+0xe0/0x540()

2015-04-09 Thread Maxime Ripard
On Wed, Apr 08, 2015 at 12:07:14PM -0400, Peter Hurley wrote: On 04/08/2015 11:59 AM, Maxime Ripard wrote: On Wed, Apr 08, 2015 at 11:53:33AM -0400, Peter Hurley wrote: On 03/05/2015 11:12 AM, Vinod Koul wrote: On Thu, Mar 05, 2015 at 10:04:21AM -0500, Peter Hurley wrote: First boot of

Re: [RFC PATCH 2/2] iio: light: Add support for LTR559 chip

2015-04-09 Thread Jonathan Cameron
On 31/03/15 11:37, Daniel Baluta wrote: This device is register compatible with LTR501, with a minor difference for ALS control register as showed below: ALS Control register for LTR501: 7 6 5 4 3 2 1 0

Re: [PATCH RT 2/4] Revert timers: do not raise softirq unconditionally

2015-04-09 Thread Sebastian Andrzej Siewior
* Mike Galbraith | 2015-03-25 03:33:53 [+0100]: Nah, I was referring to get_next_timer_interrupt() because I saw that rt_spin_unlock_after_trylock_in_irq(base-lock) sitting there. Hmm. Good question. But it was Ingo who introduced the lock, so it might have special Ingo magic included.

Re: [PATCH v2 07/10] KVM: arm64: guest debug, add support for single-step

2015-04-09 Thread Andrew Jones
On Tue, Mar 31, 2015 at 04:08:05PM +0100, Alex Bennée wrote: This adds support for single-stepping the guest. As userspace can and will manipulate guest registers before restarting any tweaking of the registers has to occur just before control is passed back to the guest. Furthermore while

Re: [PATCH 2/2] locking/rwsem: Use a return variable in rwsem_spin_on_owner()

2015-04-09 Thread Jason Low
On Thu, 2015-04-09 at 07:37 +0200, Ingo Molnar wrote: The 'break' path does not seem to be equivalent, we used to do: - rcu_read_unlock(); - return false; and now we'll do: + ret = false; ... + if (!READ_ONCE(sem-owner)) {

Re: [PATCH] hrtimer: Replace cpu_base-active_bases with a direct check of the active list

2015-04-09 Thread Thomas Gleixner
On Thu, 9 Apr 2015, Peter Zijlstra wrote: On Thu, Apr 09, 2015 at 11:18:52AM +0200, Thomas Gleixner wrote: On Thu, 9 Apr 2015, Peter Zijlstra wrote: On Thu, Apr 09, 2015 at 09:20:39AM +0200, Ingo Molnar wrote: if at least one base is active (on my fairly standard system all cpus

[PATCH 3.4 051/176] drm/vmwgfx: Don't use memory accounting for kernel-side fence objects

2015-04-09 Thread lizf
From: Thomas Hellstrom thellst...@vmware.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 1f563a6a46544602183e7493b6ef69769d3d76d9 upstream. Kernel side fence objects are used when unbinding resources and may thus be created as part of

[PATCH 3.4 057/176] ALSA: usb-audio: Don't resubmit pending URBs at MIDI error recovery

2015-04-09 Thread lizf
From: Takashi Iwai ti...@suse.de 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 66139a48cee1530c91f37c145384b4ee7043f0b7 upstream. In snd_usbmidi_error_timer(), the driver tries to resubmit MIDI input URBs to reactivate the MIDI stream,

[PATCH 3.4 054/176] drm/radeon: check the right ring in radeon_evict_flags()

2015-04-09 Thread lizf
From: Alex Deucher alexander.deuc...@amd.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 5e5c21cac1001089007260c48b0c89ebaace0e71 upstream. Check the that ring we are using for copies is functional rather than the GFX ring. On newer

[PATCH 3.4 049/176] ath5k: fix hardware queue index assignment

2015-04-09 Thread lizf
From: Felix Fietkau n...@openwrt.org 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 9e4982f6a51a2442f1bb588fee42521b44b4531c upstream. Like with ath9k, ath5k queues also need to be ordered by priority. queue_info-tqi_subtype already

Re: [PATCH v8] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-04-09 Thread Borislav Petkov
On Thu, Apr 09, 2015 at 08:59:44AM +, Naoya Horiguchi wrote: I replied about testing. That might be tricky a little, but I hope it helps. Yeah, whatever we do, we need this properly tested before upstreaming. That's a given. Even if we raise tolerant level in running kdump, that doesn't

[PATCH 3.4 056/176] can: peak_usb: fix cleanup sequence order in case of error during init

2015-04-09 Thread lizf
From: Stephane Grosjean s.grosj...@peak-system.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit af35d0f1cce7a990286e2b94c260a2c2d2a0e4b0 upstream. This patch sets the correct reverse sequence order to the instructions set to run, when

Re: [PATCH V2 9/9 linux-next] udf: add function definition for udf_find_entry()

2015-04-09 Thread Jan Kara
On Wed 08-04-15 21:23:59, Fabian Frederick wrote: Function return changed lately. Suggested-by: Jan Kara j...@suse.cz Signed-off-by: Fabian Frederick f...@skynet.be I've significantly extended the documentation of udf_find_entry() and folded this patch into the previous one.

[PATCH v4 2/2] nohz: set isolcpus when nohz_full is set

2015-04-09 Thread Chris Metcalf
nohz_full is only useful with isolcpus also set, since otherwise the scheduler has to run periodically to try to determine whether to steal work from other cores. Accordingly, when booting with nohz_full=xxx on the command line, we should act as if isolcpus=xxx was also set, and set (or extend)

Re: [PATCH 2/7] Add support for per-file stream ID

2015-04-09 Thread Jens Axboe
On 04/09/2015 03:30 AM, Dmitry Monakhov wrote: Jens Axboe ax...@fb.com writes: One small question. You states that all IDs are equals but can we reserve some IDs for internal kernel purposes. For example very short lived data (files opened with O_TEMP) and so on. Yes, we probably should end

Re: [PATCH] PCI: Don't clear ASPM bits when the FADT declares it's unsupported

2015-04-09 Thread Bjorn Helgaas
On Tue, Apr 07, 2015 at 11:07:00AM -0700, Matthew Garrett wrote: Communications with a hardware vendor confirm that the expected behaviour on systems that set the FADT ASPM disable bit but which still grant full PCIe control is for the OS to leave any BIOS configuration intact and refuse to

Re: [RFC PATCH 4/5] arm64: smp: move the pen to a header file

2015-04-09 Thread Arnd Bergmann
On Thursday 09 April 2015 12:37:10 Kumar Gala wrote: From: Abhimanyu Kapur abhim...@codeaurora.org Move the secondary_pen_release variable and the secondary_holding_pen entry function to asm/smp_plat.h so that the other cpu ops implementations can share them. Signed-off-by: Abhimanyu

[PATCH 3.4 141/176] caif: remove wrong dev_net_set() call

2015-04-09 Thread lizf
From: Nicolas Dichtel nicolas.dich...@6wind.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit 8997c27ec41127bf57421cc0205413d525421ddc upstream. src_net points to the netns where the netlink message has been received. This netns may be

[PATCH 3.4 134/176] KEYS: close race between key lookup and freeing

2015-04-09 Thread lizf
From: Sasha Levin sasha.le...@oracle.com 3.4.107-rc1 review patch. If anyone has any objections, please let me know. -- commit a3a8784454692dd72e5d5d34dcdab17b4420e74c upstream. When a key is being garbage collected, it's key-user would get put before the -destroy() callback

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