[RFC] Bluetooth: Do not attempt to send dlci disconnect when in BT_CONFIG.

2014-06-06 Thread Kiran Kumar Raparthy
From: Nick Pelly Do not attempt to send dlci disconnect when in BT_CONFIG. This fixes a bug where shutdown() and close() on a rfcomm socket during ACL connection would not cause HCI Create Connection Cancel. This is one of the number of patches from the Android AOSP common.git tree, which is us

[PATCHv2 1/2] powerpc/powernv: include asm/smp.h to fix UP build failure

2014-06-06 Thread Shreyas B. Prabhu
Build throws following errors when CONFIG_SMP=n arch/powerpc/platforms/powernv/setup.c: In function ‘pnv_kexec_wait_secondaries_down’: arch/powerpc/platforms/powernv/setup.c:179:4: error: implicit declaration of function ‘get_hard_smp_processor_id’ rc = opal_query_cpu_status(get_hard_smp_proc

Re: [RFT][PATCH] regulator: tps6586x: Use regulator_list_voltage_linear for dvm/ldo4/sw2

2014-06-06 Thread Mark Brown
On Wed, Jun 04, 2014 at 08:44:03PM +0800, Axel Lin wrote: > The voltage tables for dvm/ldo4/sw2 are actually linear mapping. > Thus convert dvm/ldo4/sw2 to use regulator_list_voltage_linear. Applied, thanks. signature.asc Description: Digital signature

[PATCH v2 2/2] powerpc/powernv : Disable subcore for UP configs

2014-06-06 Thread Shreyas B. Prabhu
Build throws following errors when CONFIG_SMP=n arch/powerpc/platforms/powernv/subcore.c: In function ‘cpu_update_split_mode’: arch/powerpc/platforms/powernv/subcore.c:274:15: error: ‘setup_max_cpus’ undeclared (first use in this function) arch/powerpc/platforms/powernv/subcore.c:285:5: error: lva

Re: [PATCH v2] platform: x86: dell-smo8800: Dell Latitude freefall driver (ACPI SMO8800/SMO8810)

2014-06-06 Thread Pali Rohár
On Wednesday 28 May 2014 15:31:30 Pali Rohár wrote: > On Thursday 22 May 2014 13:15:48 Pali Rohár wrote: > > This acpi driver provide supports for freefall sensors > > SMO8800/SMO8810 which can be found on Dell Latitude laptops. > > Driver register /dev/freefall misc device which has same > > inter

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Fri, Jun 6, 2014 at 4:58 AM, wrote: > Alternatively can we try wait_iff_congested(zone, BLK_RW_ASYNC, HZ/10) ? I see the same problem with that code. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: [PATCH 1/3] regulator: bcm590xx: remove unnecessary OOM messages

2014-06-06 Thread Mark Brown
On Mon, Jun 02, 2014 at 03:27:21PM +0900, Jingoo Han wrote: > The site-specific OOM messages are unnecessary, because they > duplicate the MM subsystem generic OOM message. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 7/7] OF/ACPI/I2C: Add generic match function for the aforementioned systems

2014-06-06 Thread Mark Brown
On Thu, Jun 05, 2014 at 04:55:09PM +0100, Lee Jones wrote: > On Thu, 05 Jun 2014, Grant Likely wrote: > > I still think the way to do it is to emulate the missing i2c_device_id > > when calling the drivers .probe() hook by having a temporary copy on > > the stack and filling it with data from the

[PATCH] arm64: Add flush_cache_vmap call in __early_set_fixmap

2014-06-06 Thread Leif Lindholm
__early_set_fixmap does not do any synchronization when called to set a fixmap entry. Add call to flush_vmap_cache(). Tested on hardware. Signed-off-by: Leif Lindholm Tested-by: Graeme Gregory Cc: Steve Capper --- arch/arm64/mm/ioremap.c |5 +++-- 1 file changed, 3 insertions(+), 2 deleti

Re: [PATCH v2 2/2] powerpc/powernv : Disable subcore for UP configs

2014-06-06 Thread Srivatsa S. Bhat
On 06/06/2014 03:52 PM, Shreyas B. Prabhu wrote: > Build throws following errors when CONFIG_SMP=n > arch/powerpc/platforms/powernv/subcore.c: In function ‘cpu_update_split_mode’: > arch/powerpc/platforms/powernv/subcore.c:274:15: error: ‘setup_max_cpus’ > undeclared (first use in this function) >

Re: autosleep suspend too frquent problem

2014-06-06 Thread Pavel Machek
On Fri 2014-06-06 10:59:13, Wang, Yalin wrote: > Hi Pavel, > > > This is kernel log from a Android phone: > > <6>[ 7262.353794] PM: suspend exit 2014-05-07 21:19:17.438320072 UTC > <6>[ 7262.353820] PM: suspend entry 2014-05-07 21:19:17.438348353 UTC > <6>[ 7264.822367] PM: suspend exit 2014-05

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > Mel has a nice systemtap script (attached) to watch for stalls. Maybe > you can give it a try? Is there any special configurations I should enable? I get this: semantic error: unresolved arity-1 global array name, missing global declaration?

Re: [PATCH] ether: add AVB frame type ETH_P_AVB

2014-06-06 Thread Henrik Austad
David, I messed up the keys on my keyboard and shipped the patch without CC to you. Sorry! - Henrik On 06/06/2014 11:42 AM, Henrik Austad wrote: Audio/Video Bridging over layer-2 transport protocol uses 0x22F0 as packet type. This type is used for both AVB control data as well as AVB media s

Re: [PATCH v3] ARM: KVM: Unmap IPA on memslot delete/move

2014-06-06 Thread Marc Zyngier
On Fri, Jun 06 2014 at 10:16:03 am BST, Christoffer Dall wrote: > On Fri, Jun 06, 2014 at 11:10:23AM +0200, Eric Auger wrote: >> Currently when a KVM region is deleted or moved after >> KVM_SET_USER_MEMORY_REGION ioctl, the corresponding >> intermediate physical memory is not unmapped. >> >> Thi

[PATCH v3 00/05] staging: Emma Mobile USB driver and KZM9D board code V3

2014-06-06 Thread Magnus Damm
me to rebase this code somehow. Signed-off-by: Magnus Damm --- Written against renesas git repo at kernel.org using tag renesas-devel-v3.15-rc8-20140606 drivers/staging/Kconfig |4 drivers/staging/Makefile|2 drivers/staging/board/Kconfig |8

[PATCH] list: Fix order of arguments for hlist_add_after(_rcu)

2014-06-06 Thread Ken Helias
rbert Xu Cc: dri-de...@lists.freedesktop.org Cc: e1000-de...@lists.sourceforge.net Cc: net...@vger.kernel.org Cc: de...@driverdev.osuosl.org Cc: linux-fsde...@vger.kernel.org Cc: b.a.t.m@lists.open-mesh.org Cc: bri...@lists.linux-foundation.org --- Patch based on "Add linux-next specific files for 20

[PATCH v3 04/05] staging: board: Initial board staging support

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add staging board base support to allow continuous upstream in-tree development and integration of platform devices. Helps developers integrate devices as platform devices for device drivers that only provide platform device bindings. This in turn allows for incremental develop

[PATCH v3 03/05] staging: emxx_udc: Add TODO file

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add a TODO file for emxx_udc to show what is left to do. Signed-off-by: Magnus Damm --- Changes since V2: - None Changes since V1: - New patch drivers/staging/emxx_udc/TODO |4 1 file changed, 4 insertions(+) --- /dev/null +++ work/drivers/staging/emxx_udc/TO

[PATCH] regulator: gpio: fix default of regulator-type property

2014-06-06 Thread Laxman Dewangan
As per driver, the absense of "regulator-type" default to voltage type. Correct the document to say default is voltage instead of current. Signed-off-by: Laxman Dewangan --- Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 05/05] staging: board: kzm9d: Board staging support for emxx_udc

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add staging board support for the KZM9D board and add an emxx_udc platform device to allow in-tree continous development of the driver on the KZM9D board. When DT bindings are ready for the emxx_udc driver then the platform device in the KZM9D staging board code can easily be

[PATCH v3 02/05] staging: emxx_udc: I/O memory and IRQ resource support

2014-06-06 Thread Magnus Damm
From: Magnus Damm Adjust the emxx_udc driver to make use of the standard driver model to pass I/O memory and IRQ as resources instead of hard coding those things in the driver. Needs more work - the VBUS signal is yet not handled. Signed-off-by: Magnus Damm --- Changes since V2: - None Ch

Re: [PATCH 1/9] reset: add the Berlin reset controller driver

2014-06-06 Thread Sebastian Hesselbarth
On 06/05/2014 06:36 PM, Philipp Zabel wrote: Am Donnerstag, den 05.06.2014, 17:48 +0200 schrieb Antoine Ténart: Add a reset controller for Marvell Berlin SoCs which is used by the USB PHYs drivers (for now). Signed-off-by: Antoine Ténart --- drivers/reset/Makefile | 1 + drivers/res

Re: [RFC] Bluetooth: Add ACL MTU, available buffers and total buffers to hci_conn_info.

2014-06-06 Thread Marcel Holtmann
Hi Kiran, > Add ACL MTU, available buffers and total buffers to hci_conn_info. > > This provides userspace debugging tools access to ACL flow control state. > > This is one of the number of patches from the Android AOSP common.git tree, > which is used on almost all Android devices. so I wanted

Re: [RFC] Bluetooth: Do not attempt to send dlci disconnect when in BT_CONFIG.

2014-06-06 Thread Marcel Holtmann
Hi Kiran, > Do not attempt to send dlci disconnect when in BT_CONFIG. > > This fixes a bug where shutdown() and close() on a rfcomm socket during ACL > connection would not cause HCI Create Connection Cancel. > > This is one of the number of patches from the Android AOSP common.git tree, > which

Re: Backport request to stable of two performance related fixes for xen-blkfront (3.13 fixes to earlier trees)

2014-06-06 Thread Jiri Slaby
On 06/04/2014 07:48 AM, Greg KH wrote: > On Wed, May 14, 2014 at 03:11:22PM -0400, Konrad Rzeszutek Wilk wrote: >> Hey Greg >> >> This email is in regards to backporting two patches to stable that >> fall under the 'performance' rule: >> >> bfe11d6de1c416cea4f3f0f35f864162063ce3fa >> fbe363c476af

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-06 Thread Peter Zijlstra
On Fri, Jun 06, 2014 at 08:35:21AM +0800, Yuyang Du wrote: > > > Actually, silicon supports indepdent non-Turbo pstate, but just not > > > enabled. > > > > Then it doesn't exist, so no point in mentioning it. > > > > Well, things actually get more complicated. Not-enabled is for Core. For Atom

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-06 Thread Sebastian Hesselbarth
On 06/05/2014 05:48 PM, Antoine Ténart wrote: Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine Ténart --- drivers/usb/phy/Kconfig | 9 ++ drivers/usb/phy/Makefile | 1 +

Re: [PATCH 1/1] use documented cmpxchg api

2014-06-06 Thread Peter Hurley
On 06/05/2014 09:03 PM, Pranith Kumar wrote: On 06/05/2014 08:34 PM, Peter Hurley wrote: On 06/05/2014 06:19 PM, Pranith Kumar wrote: use the documented atomic_cmpxchg instead of __cmpxchg64 This kills the last user of said API in drivers code. Signed-off-by: Pranith Kumar --- drivers/io

Re: [PATCH 6/9] usb: chipidea: add Berlin USB support

2014-06-06 Thread Sebastian Hesselbarth
On 06/05/2014 05:48 PM, Antoine Ténart wrote: The Marvell Berlin USB controllers are compatible with ChipIdea. Add a driver using the ChipIdea common functions to support them. Signed-off-by: Antoine Ténart --- drivers/usb/chipidea/Makefile | 1 + drivers/usb/chipidea/ci_hdrc_berli

Re: Backport request to stable of two performance related fixes for xen-blkfront (3.13 fixes to earlier trees)

2014-06-06 Thread Vitaly Kuznetsov
Jiri Slaby writes: > On 06/04/2014 07:48 AM, Greg KH wrote: >> On Wed, May 14, 2014 at 03:11:22PM -0400, Konrad Rzeszutek Wilk wrote: >>> Hey Greg >>> >>> This email is in regards to backporting two patches to stable that >>> fall under the 'performance' rule: >>> >>> bfe11d6de1c416cea4f3f0f35f8

Re: [PATCH 0/9] mfd: tps65917: Add support for for TPS65917 PMIC

2014-06-06 Thread Keerthy
Hi Mark/Lee Jones, On Wednesday 28 May 2014 03:50 PM, Keerthy wrote: The TPS65917 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - GPADC. - Over Temperature warning and Shut down. This patch

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-06 Thread Vivek Gautam
Hi, On Fri, Jun 6, 2014 at 12:41 PM, Antoine Ténart wrote: > Hi, > > On Fri, Jun 06, 2014 at 12:09:06PM +0530, Vivek Gautam wrote: >> On Thu, Jun 5, 2014 at 9:18 PM, Antoine Ténart >> wrote: >> > Add the driver driving the Marvell Berlin USB PHY. This allows to >> > initialize the PHY and to use

[PATCH] pwm-backlight:

2014-06-06 Thread Lothar Waßmann
commit 257462dbf3ed pwm-backlight: switch to gpiod interface introduced a regression leading to acquiring a bogus GPIO-0 when configured from DT without an 'enable-gpios' property. The driver will happily accept the 0 initialized 'enable_gpio' member of the struct platform_pwm_backlight_data as val

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Michal Hocko
On Fri 06-06-14 05:33:28, Felipe Contreras wrote: > On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: > > > Mel has a nice systemtap script (attached) to watch for stalls. Maybe > > you can give it a try? > > Is there any special configurations I should enable? You need debuginfo and systemta

Re: [PATCH 1/2] powerpc/powernv: include asm/smp.h to handle UP config

2014-06-06 Thread Benjamin Herrenschmidt
On Fri, 2014-06-06 at 11:03 +0530, Anshuman Khandual wrote: > On 06/05/2014 08:51 PM, Shreyas B. Prabhu wrote: > > Build throws following errors when CONFIG_SMP=n > > arch/powerpc/platforms/powernv/setup.c: In function > > ‘pnv_kexec_wait_secondaries_down’: > > arch/powerpc/platforms/powernv/setup

[PATCH] ARM: dts: imx6: add missing compatible and clock properties for kpp

2014-06-06 Thread Lothar Waßmann
Signed-off-by: Lothar Waßmann --- arch/arm/boot/dts/imx6qdl.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index ce05991..3266d01 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -46

Re: sched: how to pick runqueue when checking task hot?

2014-06-06 Thread Mike Galbraith
On Fri, 2014-06-06 at 12:15 +0200, Peter Zijlstra wrote: > > --- a/kernel/sched/fair.c Fri Jun 6 12:37:37 2014 > > +++ b/kernel/sched/fair.c Fri Jun 6 14:32:34 2014 > > @@ -5051,7 +5051,7 @@ task_hot(struct task_struct *p, u64 now) > > /* > > * Buddy candidates are cache hot: > >

[PATCH 2/2] serial: tegra: ack the rx dma desc after transfer terminated

2014-06-06 Thread Laxman Dewangan
From: Pradeep Goudagunta The Rx dma descriptor allocated without the DMA_ACK flags so that once after tarnsfer done or terminated, client can ack the descriptor to free it for later use. If the Rx DMA is terminated for some reason then rx-dma descriptor is not getting acked which causes the memo

[PATCH 1/2] serial: tegra: update tx_circular buffer only when TX_DMA is in progress

2014-06-06 Thread Laxman Dewangan
From: Pradeep Goudagunta When channel is require to stop transmit then update the Tx circular buffer only when DMA based transfer is in progress. If there is no DMA based transfer then no need to update the Tx buffer. Signed-off-by: Pradeep Goudagunta Signed-off-by: Laxman Dewangan --- driver

Re: sched: how to pick runqueue when checking task hot?

2014-06-06 Thread Peter Zijlstra
On Fri, Jun 06, 2014 at 01:16:23PM +0200, Mike Galbraith wrote: > On Fri, 2014-06-06 at 12:15 +0200, Peter Zijlstra wrote: > > > > --- a/kernel/sched/fair.c Fri Jun 6 12:37:37 2014 > > > +++ b/kernel/sched/fair.c Fri Jun 6 14:32:34 2014 > > > @@ -5051,7 +5051,7 @@ task_hot(struct task_struct *p,

[PATCH] mm: rmap: fix use-after-free in __put_anon_vma

2014-06-06 Thread Andrey Ryabinin
While working address sanitizer for kernel I've discovered use-after-free bug in __put_anon_vma. For the last anon_vma, anon_vma->root freed before child anon_vma. Later in anon_vma_free(anon_vma) we are referencing to already freed anon_vma->root to check rwsem. This patch puts freeing of child a

[PATCH] Small correction to blk_rq_set_block_pc

2014-06-06 Thread Matias Bjørling
Hi Jens, The blk_rq_set_block_pc() overwrites rq->__data_len after its being set in blk_rq_map_kern(). It leads to some interesting error messages when booted with SCSI device. Matias Bjørling (1): block: blk_rq_set_block_pc overwrites __data_len drivers/block/pktcdvd.c|

[PATCH] block: blk_rq_set_block_pc overwrites __data_len

2014-06-06 Thread Matias Bjørling
Drivers that issue REQ_TYPE_BLOCK_PC command, calls blk_rq_map_kern() before the command is intialized to REQ_TYPE_BLOCK_PC. As blk_rq_map_kern() increases rq->__data_len, and blk_rq_set_block_pc sets it to zero. Results in a zero request being sent to hw. Signed-off-by: Matias Bjørling --- driv

Re: [PATCH v2 1/4] dma-mapping: Add devm_ interface for dma_map_single()

2014-06-06 Thread Eli Billauer
Hello Joerg. On 05/06/14 00:25, Joerg Roedel wrote: What you are trying to do should work with dma_alloc_noncoherent(). The API allows partial syncs on this memory, so you should be fine. Please try to put yourself in my position: I have a driver that I care about, which works fine for a

Re: sched: how to pick runqueue when checking task hot?

2014-06-06 Thread Mike Galbraith
On Fri, 2014-06-06 at 13:34 +0200, Peter Zijlstra wrote: > On Fri, Jun 06, 2014 at 01:16:23PM +0200, Mike Galbraith wrote: > > On Fri, 2014-06-06 at 12:15 +0200, Peter Zijlstra wrote: > > > > > > --- a/kernel/sched/fair.c Fri Jun 6 12:37:37 2014 > > > > +++ b/kernel/sched/fair.c Fri

Re: [PATCH] mm: rmap: fix use-after-free in __put_anon_vma

2014-06-06 Thread Peter Zijlstra
On Fri, Jun 06, 2014 at 03:30:55PM +0400, Andrey Ryabinin wrote: > While working address sanitizer for kernel I've discovered use-after-free > bug in __put_anon_vma. > For the last anon_vma, anon_vma->root freed before child anon_vma. > Later in anon_vma_free(anon_vma) we are referencing to already

[PATCH 00/02] of: Add two stubs for OF_ADDRESS=n and OF=n cases

2014-06-06 Thread Magnus Damm
-rc8-20140606 which for this code is the same as v3.15-rc8. Let me know if you want me to rebase. include/linux/of.h |5 + include/linux/of_address.h |5 + 2 files changed, 10 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&qu

[PATCH 02/02] of: Add OF=n stub for of_find_all_nodes()

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add a stub for the CONFIG_OF=n case of of_find_all_nodes(). The return value for the stub is NULL which is in sync with when the full version of the function cannot find any nodes registered. Added to allow removal of Kconfig dependency handling for CONFIG_OF. Signed-off-by: Ma

[PATCH 01/02] of: Add OF_ADDRESS=n stub for of_can_translate_address()

2014-06-06 Thread Magnus Damm
From: Magnus Damm Add a stub for the CONFIG_OF_ADDRESS=n case of of_translate_address(). The return value for the stub is false which is in sync with when the full version of the function does not support address translation. Added to allow removal of Kconfig dependency handling for CONFIG_OF_AD

Re: [PATCH 0/2] Add in-kernel /dev/random equivalent

2014-06-06 Thread Pavel Machek
On Mon 2014-05-12 00:36:01, Stephan Mueller wrote: > Hi, > > as discussed in thread [1], an in-kernel equivalent to the blocking > /dev/random device behavior is suggested. This in-kernel blocking access to > the RNG can be used to seed deterministic random number generators with > random > nu

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-06 Thread Antoine Ténart
Sebastian, On Fri, Jun 06, 2014 at 12:54:06PM +0200, Sebastian Hesselbarth wrote: > On 06/05/2014 05:48 PM, Antoine Ténart wrote: > >+ > >+#include > >+#include > >+#include > >+#include > >+#include > >+#include > >+#include > > nit: keep above alphabetically sorted. Oops. Sure. > >+ >

Re: [PATCH 6/9] usb: chipidea: add Berlin USB support

2014-06-06 Thread Antoine Ténart
Sebastian, On Fri, Jun 06, 2014 at 12:55:54PM +0200, Sebastian Hesselbarth wrote: > On 06/05/2014 05:48 PM, Antoine Ténart wrote: > >+ > >+static const struct of_device_id ci_hdrc_berlin_of_match[] = { > >+{ .compatible = "marvell,berlin-usb" }, > > Looking at the driver, I can see no Berlin-

Re: [PATCH 4/4] GenWQE: Increase driver version number

2014-06-06 Thread Frank Haverkamp
Hi Greg, Am Donnerstag, den 05.06.2014, 09:00 -0700 schrieb Greg KH: > On Thu, Jun 05, 2014 at 11:23:04AM +0200, Frank Haverkamp wrote: > > Hi Greg, > > > > Am Mittwoch, den 04.06.2014, 08:54 -0700 schrieb Greg KH: > > > On Wed, Jun 04, 2014 at 10:57:53AM -0300, Kleber Sacilotto de Souza wrote: >

Re: [PATCH v2 04/05] staging: board: Initial board staging support

2014-06-06 Thread Magnus Damm
On Fri, May 30, 2014 at 8:10 AM, Simon Horman wrote: > On Thu, May 29, 2014 at 10:27:30PM +0900, Magnus Damm wrote: >> Hi Dan, >> >> On Thu, May 29, 2014 at 10:20 PM, Dan Carpenter >> wrote: >> > On Thu, May 29, 2014 at 10:17:32PM +0900, Magnus Damm wrote: >> >> --- /dev/null >> >> +++ work/drive

[PATCH 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-06-06 Thread Vivek Gautam
Adding phy calibrate callback, which facilitates setting certain PHY settings post initialization of the PHY controller. Exynos5420 and Exynos5800 have 28nm USB 3.0 DRD PHY for which the Loss-of-Signal (LOS) Detector Threshold Level as well as Tx-Vboost-Level should be controlled for Super-Speed op

[PATCH 3/4] usb: host: xhci-plat: Caibrate PHY post host reset

2014-06-06 Thread Vivek Gautam
Some quirky PHYs may require to be calibrated post the host controller initialization. The USB 3.0 DRD PHY on Exynos5420/5800 systems is one such PHY which needs to calibrated post xhci's reset at initialization time and at resume time, to get the controller work at SuperSpeed. Signed-off-by: Vive

[PATCH v1 0/4] Fine tune USB 3.0 PHY on exynos5420

2014-06-06 Thread Vivek Gautam
The RFC version of this series was posted long time back, around December last year [1]. This series is based on Heikki's patches for simpliefied phy lookup table: [PATCHv2 0/6] phy: simplified phy lookup [2], applied against 'usb-next' branch of Greg's usb tree. Tested on peach-pit boards with Sup

[PATCH 2/4] usb: host: xhci-plat: Add support to get PHYs

2014-06-06 Thread Vivek Gautam
The host controller by itself may sometimes need to handle PHY and/or calibrate some of the PHY settings to get full support out of the PHY controller. The PHY core provides a calibration funtionality now to do so. Therefore, facilitate getting the two possible PHY types for xhci controller, viz. U

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > > Voltage is combined with frequency, roughly, voltage is > > proportional to freuquecy, so roughly, power is proportionaly to > > voltage^3. You > > P ~ V^2, last time I checked. Yes, that's a good approximation for CMOS gates: The switching power dissipated by

[PATCH 1/4] phy: Add provision for calibrating phy.

2014-06-06 Thread Vivek Gautam
Some PHY controllers may need to calibrate certain PHY settings after initialization of the controller and sometimes even after initializing the PHY-consumer too. Add support for the same in order to let consumers do so in need. Signed-off-by: vivek Gautam --- drivers/phy/phy-core.c | 36

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Christoffer Dall
On Mon, Jun 02, 2014 at 02:54:12PM +0100, Marc Zyngier wrote: > Hi Eric, > > On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger > wrote: > > This patch enables irqfd and irq routing on ARM. > > > > It turns on CONFIG_HAVE_KVM_EVENTFD and CONFIG_HAVE_KVM_IRQ_ROUTING > > > > irqfd framework enable

[GIT PULL] scheduler fixes for v3.15

2014-06-06 Thread Ingo Molnar
Linus, Please pull the latest sched-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-for-linus # HEAD: 09dc4ab03936df5c5aa711d27c81283c6d09f495 sched/fair: Fix tg_set_cfs_bandwidth() deadlock on rq->lock Four misc fixes: each was dee

Re: [PATCH] mm/vmscan: Do not block forever atshrink_inactive_list().

2014-06-06 Thread Tetsuo Handa
Dave Chinner wrote: > On Thu, Jun 05, 2014 at 09:45:26PM +0900, Tetsuo Handa wrote: > > This means that, under rare circumstances, it is possible that all processes > > other than kswapd are trapped into too_many_isolated()/congestion_wait() > > loop > > while kswapd is sleeping because this loop

[tip:locking/core] locking/rwlocks: Introduce 'qrwlocks' - fair, queued rwlocks

2014-06-06 Thread tip-bot for Waiman Long
Commit-ID: 70af2f8a4f48d6cebdf92d533d3aef37853ce6de Gitweb: http://git.kernel.org/tip/70af2f8a4f48d6cebdf92d533d3aef37853ce6de Author: Waiman Long AuthorDate: Mon, 3 Feb 2014 13:18:49 +0100 Committer: Ingo Molnar CommitDate: Fri, 6 Jun 2014 07:58:28 +0200 locking/rwlocks: Introduce 'qr

[tip:locking/core] x86, locking/rwlocks: Enable qrwlocks on x86

2014-06-06 Thread tip-bot for Waiman Long
Commit-ID: bd01ec1a13f9a327950c8e3080096446c7804753 Gitweb: http://git.kernel.org/tip/bd01ec1a13f9a327950c8e3080096446c7804753 Author: Waiman Long AuthorDate: Mon, 3 Feb 2014 13:18:57 +0100 Committer: Ingo Molnar CommitDate: Fri, 6 Jun 2014 07:58:29 +0200 x86, locking/rwlocks: Enable q

[tip:perf/core] perf: Fix perf_event_comm() vs. exec() assumption

2014-06-06 Thread tip-bot for Peter Zijlstra
Commit-ID: e041e328c4b41e1db79bfe5ba9992c2ed771ad19 Gitweb: http://git.kernel.org/tip/e041e328c4b41e1db79bfe5ba9992c2ed771ad19 Author: Peter Zijlstra AuthorDate: Wed, 21 May 2014 17:32:19 +0200 Committer: Ingo Molnar CommitDate: Fri, 6 Jun 2014 07:54:02 +0200 perf: Fix perf_event_comm(

[tip:perf/core] perf: Differentiate exec() and non-exec() comm events

2014-06-06 Thread tip-bot for Adrian Hunter
Commit-ID: 82b897782d10fcc4930c9d4a15b175348fdd2871 Gitweb: http://git.kernel.org/tip/82b897782d10fcc4930c9d4a15b175348fdd2871 Author: Adrian Hunter AuthorDate: Wed, 28 May 2014 11:45:04 +0300 Committer: Ingo Molnar CommitDate: Fri, 6 Jun 2014 07:56:22 +0200 perf: Differentiate exec()

[PATCH v6] conversion to blk-mq

2014-06-06 Thread Matias Bjørling
Hi all, Here is the updated patchset, on top of Jens' latest for-linus branch. You may use the nvmemq_review branch at: https://github.com/MatiasBjorling/linux-collab nvmemq_review and see the individual contributions in the nvmemq_v6 branch. I've removed the WIP flag, let me know if there is a

Re: [PATCH] scsi: bfa: bfad_attr.c: Cleaning up missing null-terminate after strncpy call

2014-06-06 Thread Rickard Strandqvist
Hi Now I have some time to check on this. I do not make a fuss or anything, but thought nonetheless provide some feedback. 1) I did not know that Linux had strlcpy, much better choice, of course! 2) It was not clear that this was done in the code. And my thought was, rather, just that you were n

Re: [PATCH 0/2] Add in-kernel /dev/random equivalent

2014-06-06 Thread Stephan Mueller
Am Freitag, 6. Juni 2014, 13:59:00 schrieb Pavel Machek: Hi Pavel, >On Mon 2014-05-12 00:36:01, Stephan Mueller wrote: >> Hi, >> >> as discussed in thread [1], an in-kernel equivalent to the blocking >> /dev/random device behavior is suggested. This in-kernel blocking >> access to the RNG can be

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Thu, Jun 5, 2014 at 8:37 AM, Michal Hocko wrote: > We had a similar report for opensuse. The common part was that there was > an IO to a slow USB device going on. Actually I've managed to narrow down my synthetic test, and all I need is to copy a big file, and it even happens reading and writ

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-06 Thread Ingo Molnar
* Ingo Molnar wrote: > * Peter Zijlstra wrote: > > > > Voltage is combined with frequency, roughly, voltage is > > > proportional to freuquecy, so roughly, power is proportionaly to > > > voltage^3. You > > > > P ~ V^2, last time I checked. > > Yes, that's a good approximation for CMOS gat

[PULL REQUEST] i2c for 3.16

2014-06-06 Thread Wolfram Sang
Linus, I2C has the following updates for 3.16: * major cleanups to the rcar and sh_mobile drivers * removal of nuc900 driver which had a compile error for years * usual bunch of driver updates, bugfixes and cleanups Please pull. Thanks, Wolfram The following changes since commit 4b660a7f5

Re: [Patch V3 0/5] I2C ACPI operation region handler

2014-06-06 Thread Wolfram Sang
On Fri, May 30, 2014 at 08:37:11PM +0800, Lan Tianyu wrote: > On 05/30/2014 08:10 PM, Wolfram Sang wrote: > >>>Hi Wolfram: > >>> Since this version resolved all comments, it's ok for you? > > > >Sorry, I misunderstood. I thought a V4 was needed, but it isn't. I'll > >try to have a look this weeke

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/04/2014 03:39 AM, Benjamin Herrenschmidt wrote: > On Wed, 2014-06-04 at 01:58 +0530, Srivatsa S. Bhat wrote: >> Yep, that makes sense. But unfortunately I don't have enough insight into >> why exactly powerpc has to online the CPUs before doing a kexec. I just >> know from the commit log and

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/04/2014 07:16 PM, Vivek Goyal wrote: > On Wed, Jun 04, 2014 at 08:09:25AM +1000, Benjamin Herrenschmidt wrote: >> On Wed, 2014-06-04 at 01:58 +0530, Srivatsa S. Bhat wrote: >>> Yep, that makes sense. But unfortunately I don't have enough insight into >>> why exactly powerpc has to online the

Re: [PATCH 1/2] i2c/ACPI: Support for multiple serial bus addresses

2014-06-06 Thread Wolfram Sang
On Thu, Apr 10, 2014 at 09:15:16PM -0700, Srinivas Pandruvada wrote: > ACPI specification allows multiple i2c addresses defined under one > ACPI device object. These addresses are defined using _CRS method. > The current implementation will pickup the last entry in _CRS, and > create an i2C device,

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/04/2014 07:11 PM, Vivek Goyal wrote: > On Wed, Jun 04, 2014 at 01:58:40AM +0530, Srivatsa S. Bhat wrote: >> On 05/28/2014 07:01 PM, Vivek Goyal wrote: >>> On Tue, May 27, 2014 at 04:25:34PM +0530, Srivatsa S. Bhat wrote: If we try to perform a kexec when the machine is in ST (Single-Thre

Re: [PATCH v2] ARM: KVM: add irqfd and irq routing support

2014-06-06 Thread Christoffer Dall
On Thu, Jun 05, 2014 at 12:37:36PM +0200, Christoffer Dall wrote: > On Mon, Jun 02, 2014 at 04:42:36PM +0200, Eric Auger wrote: > > On 06/02/2014 03:54 PM, Marc Zyngier wrote: > > > Hi Eric, > > > > > > On Mon, Jun 02 2014 at 8:29:56 am BST, Eric Auger > > > wrote: > > [...] > > > >> @@ -408,

Re: [PATCH 7/7] OF/ACPI/I2C: Add generic match function for the aforementioned systems

2014-06-06 Thread Lee Jones
On Fri, 06 Jun 2014, Mark Brown wrote: > On Thu, Jun 05, 2014 at 04:55:09PM +0100, Lee Jones wrote: > > On Thu, 05 Jun 2014, Grant Likely wrote: > > > > I still think the way to do it is to emulate the missing i2c_device_id > > > when calling the drivers .probe() hook by having a temporary copy o

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/06/2014 05:59 PM, Srivatsa S. Bhat wrote: > +bool kexec_cpu_wake(void) > +{ > + kexec_smp_down(NULL); > + > + /* NOTREACHED */ > + return true; > +} > + This function doesn't have to return anything, so we can define it as void. The bool is a remnant of my previous attempt at m

Re: workqueue: WARN at at kernel/workqueue.c:2176

2014-06-06 Thread Jason J. Herne
On 06/05/2014 06:54 AM, Lai Jiangshan wrote: The patch is not tested by Jason, I don't know whether the patch fix the problem. The changlog including the "Reported-by:" and "Tested-by:" need to be updated after it is proved. With this patch, my workload ran overnight without hitting the warni

Re: [PATCH 4/4] GenWQE: Increase driver version number

2014-06-06 Thread Frank Haverkamp
Hi Greg, Am Freitag, den 06.06.2014, 14:07 +0200 schrieb Frank Haverkamp: > Hi Greg, > > Am Donnerstag, den 05.06.2014, 09:00 -0700 schrieb Greg KH: > > On Thu, Jun 05, 2014 at 11:23:04AM +0200, Frank Haverkamp wrote: > > > Hi Greg, > > > > > > Am Mittwoch, den 04.06.2014, 08:54 -0700 schrieb Gr

Re: [PATCH] pwm-backlight:

2014-06-06 Thread Lee Jones
On Fri, 06 Jun 2014, Lothar Waßmann wrote: > commit 257462dbf3ed pwm-backlight: switch to gpiod interface > introduced a regression leading to acquiring a bogus GPIO-0 when > configured from DT without an 'enable-gpios' property. > The driver will happily accept the 0 initialized 'enable_gpio' mem

Re: [PATCH 0/9] mfd: tps65917: Add support for for TPS65917 PMIC

2014-06-06 Thread Lee Jones
> Hi Mark/Lee Jones, > > On Wednesday 28 May 2014 03:50 PM, Keerthy wrote: > >The TPS65917 chip is a power management IC for Portable Navigation Systems > >and Tablet Computing devices. It contains the following components: > > > > - Regulators. > > - GPADC. > > - Over Temperature warning and S

[PATCH 1/4] drivers: sh: pm_runtime does not need idle callback

2014-06-06 Thread Simon Horman
From: Ben Dooks In the runtime_pm idle callback the code assumes that a NULL .runtime_idle entry is the same as a .runtime_idle entry that returns 0 as a result. This means the entry in drivers/sh/pm_runtime can be removed in favour of just leaving the entry NULL. Signed-off-by: Ben Dooks Signe

[GIT PULL] SH Driver Updates for v3.16

2014-06-06 Thread Simon Horman
Hi Linus, Please consider these SH Driver Updates for v3.16 This pull request is based on the SH Driver Updates for v3.15, tagged as sh-drivers-for-v3.15, which you included in v3.15-rc6. The following changes since commit 3c90c55dcde745bed81f6447f24ba96bda43d984: drivers: sh: compile driver

[PATCH 3/4] drivers: sh: pm_runtime implementation needs to suspend and resume devices

2014-06-06 Thread Simon Horman
From: Ben Dooks If we override the platform bus calls for pm_runtime then we end up with the calls to the devices' suspend and resume methods ignored in favour of the bus ones. Change to calling the pm_runtime calls to suspend and resume the devices specifically in the drivers/sh/pm_runtime.c im

[PATCH 4/4] drivers: sh: Enable PM runtime for new R-Car Gen2 SoCs

2014-06-06 Thread Simon Horman
From: Geert Uytterhoeven The PM runtime code should also be enabled for: - r8a7792 (R-Car V2H) - r8a7793 (R-Car M2-N) - r8a7794 (R-Car E2) Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- drivers/sh/pm_runtime.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dri

[PATCH v4] iio: dac: mcp4902/mcp4912/mcp4922 dac driver

2014-06-06 Thread Michael Welling
This patch provides an iio device driver for the Microchip MCP49x2 series DACs. Signed-off-by: Michael Welling --- drivers/iio/dac/Kconfig | 10 +++ drivers/iio/dac/Makefile |1 + drivers/iio/dac/mcp49x2.c | 213 + 3 files changed, 224 insert

Re: [PATCH 0/9] mfd: tps65917: Add support for for TPS65917 PMIC

2014-06-06 Thread Mark Brown
On Fri, Jun 06, 2014 at 04:29:03PM +0530, Keerthy wrote: > A gentle ping on this rework. Please don't send contentless pings. signature.asc Description: Digital signature

[PATCH 2/4] drivers: sh: Restrict INTC_USERIMASK to SH4A

2014-06-06 Thread Simon Horman
From: Geert Uytterhoeven register_intc_userimask() is called from sh4a code only. Signed-off-by: Geert Uytterhoeven Reviewed-by: Laurent Pinchart Tested-by: Laurent Pinchart [r8a7779 legacy] Signed-off-by: Simon Horman --- drivers/sh/intc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: Interactivity regression since v3.11 in mm/vmscan.c

2014-06-06 Thread Felipe Contreras
On Fri, Jun 6, 2014 at 6:03 AM, Michal Hocko wrote: > On Fri 06-06-14 05:33:28, Felipe Contreras wrote: >> On Fri, Jun 6, 2014 at 4:16 AM, Michal Hocko wrote: >> >> > Mel has a nice systemtap script (attached) to watch for stalls. Maybe >> > you can give it a try? >> >> Is there any special confi

Arm Target System hangs on uart_open/uart_write

2014-06-06 Thread Abhijit Lamsoge
Hi All, I've ported my driver to Linux Kernel 3.8.13. Earlier it was working fine for 3.5.x Kernels. I register a uart device file for data transfer like "/dev/xyz" All the tty_ops for this UART driver are initialized to my own tty uart_open/read/write/close functions. Which are respectively called

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-06 Thread Morten Rasmussen
On Wed, Jun 04, 2014 at 06:27:12PM +0100, Peter Zijlstra wrote: > On Wed, Jun 04, 2014 at 05:02:30PM +0100, Morten Rasmussen wrote: > > On Tue, Jun 03, 2014 at 12:50:15PM +0100, Peter Zijlstra wrote: > > > On Fri, May 23, 2014 at 07:16:33PM +0100, Morten Rasmussen wrote: > > > > +static struct capa

Re: [PATCH v2 6/6] usb: host: ohci-exynos: Use devm_ioremap_resource instead of devm_ioremap

2014-06-06 Thread Vivek Gautam
Hi, On Wed, Jun 4, 2014 at 6:43 PM, Thierry Reding wrote: > On Wed, Jun 04, 2014 at 03:41:20PM +0530, Vivek Gautam wrote: >> Hi, >> >> >> On Sat, May 10, 2014 at 5:30 PM, Vivek Gautam >> wrote: >> > Using devm_ioremap_resource() API should actually be preferred over >> > devm_ioremap(), since

Re: [PATCH] scsi: mpt2sas: mpt2sas_base.c: Cleaning up missing null-terminate after strncpy call

2014-06-06 Thread Rickard Strandqvist
Hi I did not know that Linux had strlcpy, much better choice, of course! It was not clear that this was done in the code. And my thought was, rather, just that you were not sure if there was a null character because it used strlcpy. if this can not possibly happen would be almost as well to switc

[3.11.y.z extended stable] Linux 3.11.10.11

2014-06-06 Thread Luis Henriques
I am announcing the release of the Linux 3.11.10.11 kernel. The updated 3.11.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.11.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.11.y;a=shortlog The diff from v3.11.10.10 is

Re: [PATCH -tip 0/4] perf/probe: Improve error messages

2014-06-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 06, 2014 at 07:13:38AM +, Masami Hiramatsu escreveu: > Here is a series that improves error messages of perf probe. > > - Improve the error message if we can not find given member in > the given structure. (perf probe --add) > - Show error code and description only in verbo

[patch NOT added to the 3.12 stable tree] MIPS/loongson2_cpufreq: Fix CPU clock rate setting

2014-06-06 Thread Jiri Slaby
From: Aaro Koskinen This patch does NOT apply to the 3.12 stable tree. If you still want it applied, please provide a backport. === commit 8e8acb32960f42c81b1d50deac56a2c07bb6a18a upstream. Loongson2 has been using (incorrectly) kHz for cpu_clk rate. This has been unnoticed, as loo

<    1   2   3   4   5   6   7   >