Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-10-22 Thread Micky Ching
Hi Lee, I am wondering if you have accepted this patch? Best Regards. micky. On 10/11/2014 09:07 AM, Micky Ching wrote: On 10/10/2014 06:21 PM, Lee Jones wrote: On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching Fix rts5227&5249 failed send buffer cmd after suspend,

[PATCH RESEND 2/3] extcon: max77693: Request only specific interrupts

2014-10-22 Thread Krzysztof Kozlowski
The driver was requesting all MUIC interrupts but then was masking most of them manually at end of probe (with default_init_data). Since default_init_data cannot be passed through DTS (no bindings for driver), this was a conflicting behavior. First get everything, then mask what we don't want.

[PATCH RESEND 3/3] extcon: max77693: Fix extcon UART on Trats2 board

2014-10-22 Thread Krzysztof Kozlowski
When JIG was set to "boot on" mode, the UART connection did not work because it was assigned to Dock-Car cable (path: audio), not JIG-UART-ON cable. This was introduced in 39bf369e4ed3 ("extcon: max77693: Add support dock device and buttons") while adding dock features. Assign the JIG-UART-ON

[PATCH v5 2/3] zram: change parameter from vaild_io_request()

2014-10-22 Thread karam . lee
From: "karam.lee" This patch changes parameter of valid_io_request for common usage. The purpose of valid_io_request() is to determine if bio request is valid or not. This patch use I/O start address and size instead of a BIO parameter for common usage. Signed-off-by: karam.lee ---

Re: [PATCH v2] mtd: orion_nand: fix error code path in probe

2014-10-22 Thread Brian Norris
On Thu, Oct 16, 2014 at 06:58:35AM +0200, Michael Opdenacker wrote: > This replaces kzalloc() and ioremap() calls by devm_ functions > in the probe() routine, which automatically release the corresponding > resources when probe() fails or when the device is removed. > > This simplifies simplifies

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-22 Thread Mika Westerberg
On Wed, Oct 22, 2014 at 10:33:32AM +0200, Arnd Bergmann wrote: > On Wednesday 22 October 2014 11:10:44 Mika Westerberg wrote: > > > > It expects that GPIOs returned from _CRS are in specific order. Since we > > can't change these existing ACPI tables, we must support them somehow. > > > > This

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-22 Thread Chen Yucong
On Wed, 2014-10-22 at 10:16 +0200, Borislav Petkov wrote: > On Wed, Oct 22, 2014 at 09:51:18AM +0800, Chen Yucong wrote: > > Can you check the following link? The link contains my reply about > > "x86, MCE, AMD: Move invariant code out from loop body". The reply was > > sent to you on October 7,

[PATCH] staging: rtl8192e: from bus specific dma api to dma api

2014-10-22 Thread Sudip Mukherjee
we should be using DMA API rather than using bus specific DMA API. converted the occurrence of pci_map_*() to dma_map_*(), and at the same time used the dma_mapping_error(). Signed-off-by: Sudip Mukherjee --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 12 ++--

RE: [PATCH] netlink: don't copy over empty attribute data

2014-10-22 Thread David Laight
From: Sasha Levin > netlink uses empty data to seperate different levels. However, we still > try to copy that data from a NULL ptr using memcpy, which is an undefined > behaviour. > > Signed-off-by: Sasha Levin > --- > lib/nlattr.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

Re: [PATCH] mtd: phram: fix asm/io.h include usage

2014-10-22 Thread Brian Norris
On Tue, Oct 21, 2014 at 08:14:00PM +0100, Rob Ward wrote: > From ca36c5ca9adbe1d3c107e5ff22e8d0db5dddb1b9 Mon Sep 17 00:00:00 2001 > From: Rob Ward > Date: Tue, 21 Oct 2014 20:01:09 +0100 > Subject: [PATCH] mtd: phram: fix asm/io.h include usage > > Modify phram to include rather than > >

Re: [PATCH v5 4/4] crypto: Add Allwinner Security System crypto accelerator

2014-10-22 Thread Arnd Bergmann
On Sunday 19 October 2014 16:16:22 LABBE Corentin wrote: > Add support for the Security System included in Allwinner SoC A20. > The Security System is a hardware cryptographic accelerator that support > AES/MD5/SHA1/DES/3DES/PRNG algorithms. > > Signed-off-by: LABBE Corentin Please wrap lines

Re: [PATCH RESEND 2/3] extcon: max77693: Request only specific interrupts

2014-10-22 Thread Chanwoo Choi
Hi Krzysztof, The extcon-max77693.c was tested by all cables (mhl, hdmi, usb, usb-host, dock for audio play, dock for mhl). with default_init_data register setting. If you deletes legacy default_init_data[] register setting, extcon-max77693.c can not guarantee the operation of upper cables.

audit_tree: keep inode pinned

2014-10-22 Thread Miklos Szeredi
From: Miklos Szeredi Audit rules disappear when an inode they watch is evicted from the cache. This is likely not what we want. The guilty commit is "fsnotify: allow marks to not pin inodes in core", which didn't take into account that audit_tree adds watches with a zero mask. Adding any mask

Problem: A divide error 0000 occured when rcv_mss is 0

2014-10-22 Thread Wang Weidong
Hi everyone, my kernel is based on linux-stable-3.4.87. And when I do some testing, I got this Bug: <4>[18042.394823] divide error: [#1] <4>[18042.395178] SMP <4>[18042.734309] CPU 2 ... <4>[18042.734309] RIP: 0010:[] [] tcp_send_dupack+0x54/0xe0 <4>[18042.734309] RSP:

[PATCH v4 RESEND 1/3] ARM: dts: pbab01: move i2c pins and frequency configuration into pfla02

2014-10-22 Thread Dmitry Lavnikevich
Since pins and frequency are specific to module (pfla02), not base board (pbab02), it is better to be initialized in corresponding dts file. This patch fixes i2c2, i2c3 pin configuration which caused messages: imx6q-pinctrl 20e.iomuxc: no groups defined in

Re: [PATCH RESEND 3/3] extcon: max77693: Fix extcon UART on Trats2 board

2014-10-22 Thread Chanwoo Choi
On 10/22/2014 05:45 PM, Krzysztof Kozlowski wrote: > When JIG was set to "boot on" mode, the UART connection did not work > because it was assigned to Dock-Car cable (path: audio), not JIG-UART-ON > cable. > > This was introduced in 39bf369e4ed3 ("extcon: max77693: Add support dock > device and

[PATCH v4 0/3 RESEND] Add Phytec pbab01 audio support

2014-10-22 Thread Dmitry Lavnikevich
Patch fixing PLL D configuration (number 4 in previous patchset) was already accepted by Mark Brown. No notes or comments on other patches was made so resending them in case they were lost. Based on branch for-next branch of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git -- To

Re: [PATCH v3] sched/numa: fix unsafe get_task_struct() in task_numa_assign()

2014-10-22 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 09:03:35PM +0200, Oleg Nesterov wrote: > > I think I prefer the SLAB_DESTROY_BY_RCU thing over the probe_kernel > > thing > > I won't really insist, but let me try to explain why I dislike it in > this particular case. > > - It is not clear who else (except

[PATCH v4 RESEND 3/3] ARM: imx_v6_v7_defconfig: enable tlv320aic3x audio codec by default

2014-10-22 Thread Dmitry Lavnikevich
Used on Phytec PBAB01 board. Signed-off-by: Dmitry Lavnikevich --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index 8fca6e276b69..cac07d67b933 100644 ---

Re: [PATCH v2 0/12] perf/x86: implement HT leak workaround for SNB/IVB/HSW

2014-10-22 Thread Peter Zijlstra
On Tue, Oct 21, 2014 at 03:08:32PM +0200, Stephane Eranian wrote: > On Tue, Oct 21, 2014 at 3:03 PM, Peter Zijlstra wrote: > > On Tue, Oct 21, 2014 at 02:28:06PM +0200, Stephane Eranian wrote: > >> Peter, > >> > >> On Tue, Oct 21, 2014 at 1:25 PM, Peter Zijlstra > >> wrote: > >> > > >> > > >> >

[PATCH v4 RESEND 2/3] ARM: dts: pbab01: enable I2S audio on phyFLEX-i.MX6 boards

2014-10-22 Thread Dmitry Lavnikevich
Audio on phyFLEX boards is presented by tlv320aic3007 codec connected over SSI interface. Signed-off-by: Dmitry Lavnikevich --- arch/arm/boot/dts/imx6qdl-phytec-pbab01.dtsi | 100 ++- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 15 2 files changed, 113

Re: [PATCH RESEND 3/3] extcon: max77693: Fix extcon UART on Trats2 board

2014-10-22 Thread Krzysztof Kozlowski
On śro, 2014-10-22 at 18:09 +0900, Chanwoo Choi wrote: > On 10/22/2014 05:45 PM, Krzysztof Kozlowski wrote: > > When JIG was set to "boot on" mode, the UART connection did not work > > because it was assigned to Dock-Car cable (path: audio), not JIG-UART-ON > > cable. > > > > This was introduced

Re: [PATCH RESEND 2/3] extcon: max77693: Request only specific interrupts

2014-10-22 Thread Krzysztof Kozlowski
On śro, 2014-10-22 at 18:04 +0900, Chanwoo Choi wrote: > Hi Krzysztof, > > The extcon-max77693.c was tested by all cables (mhl, hdmi, usb, usb-host, > dock for audio play, dock for mhl). > with default_init_data register setting. If you deletes legacy > default_init_data[] register setting, >

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-22 Thread Bo Shen
Hi Peter, On 10/22/2014 04:33 PM, Peter Rosin wrote: The sama5d3xek/wm9804 combo, as implemented in the kernel, has the ssc dai in slave mode, and therefore don't need to fiddle with any ssc dai dividers (atmel_9804.c :atmel_asoc_wm9804_hw_params() only sets things in the wm9804 codec dai

Re: [PATCH v2] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-10-22 Thread Lee Jones
On Fri, 10 Oct 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Fix rts5227&5249 failed send buffer cmd after suspend, > PM_CTRL3 should reset before send any buffer cmd after suspend. > Otherwise, buffer cmd will failed, this will lead resume fail. > > Signed-off-by: Micky

[PATCH] clocksource: sh_mtu2: Correct SoC family name

2014-10-22 Thread Geert Uytterhoeven
r7s72100 is a member of the RZ family, not of the R-Car family Signed-off-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/timer/renesas,mtu2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/timer/renesas,mtu2.txt

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-22 Thread Arnd Bergmann
On Wednesday 22 October 2014 11:51:40 Mika Westerberg wrote: > On Wed, Oct 22, 2014 at 10:33:32AM +0200, Arnd Bergmann wrote: > > On Wednesday 22 October 2014 11:10:44 Mika Westerberg wrote: > > > > > > It expects that GPIOs returned from _CRS are in specific order. Since we > > > can't change

Re: [PATCH fixes v2] mfd: max77693: Fix always masked MUIC interrupts

2014-10-22 Thread Krzysztof Kozlowski
On pią, 2014-10-10 at 11:56 +0100, Lee Jones wrote: > On Fri, 10 Oct 2014, Krzysztof Kozlowski wrote: > > > All interrupts coming from MUIC were ignored because interrupt source > > register was masked. > > > > The Maxim 77693 has a "interrupt source" - a separate register and > > interrupts >

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-22 Thread Borislav Petkov
Hi Aravind, question: what's the story with MC?_MISC[IntP], is that bit still there? Because I don't see it in my BKDGs here. The background of the story is https://lkml.org/lkml/2014/10/7/84 There's this thing we did at the time f227d4306cf3 ("x86, MCE, AMD: Make APIC LVT thresholding

Re: [3.16.1 BISECTED REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-10-22 Thread Nix
On 14 Oct 2014, Johan Hovold verbalised: > On Sun, Oct 12, 2014 at 10:36:30PM +0100, Nix wrote: >> I have checked: this code is being executed against a symlink that >> points to /dev/ttyACM0, and the tcsetattr() succeeds. (At least, it's >> succeeding on the kernel I'm running now, but of course

Re: [PATCH v3] sched/deadline: do not try to push tasks if pinned task switches to dl

2014-10-22 Thread Juri Lelli
On 22/10/14 01:36, Wanpeng Li wrote: > As Kirill mentioned(https://lkml.org/lkml/2013/1/29/118): > | If rq has already had 2 or more pushable tasks and we try to add a > | pinned task then call of push_rt_task will just waste a time. > > Just switched pinned task is not able to be pushed. If the

Re: [PATCH 03/19] MIPS: sead3: Stop using GIC REG macros

2014-10-22 Thread Qais Yousef
On 10/20/2014 08:03 PM, Andrew Bresticker wrote: Stop using the REG macros from gic.h and instead use proper iomem accessors. Signed-off-by: Andrew Bresticker --- arch/mips/mti-sead3/sead3-int.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v2 2/3] sched/dl: Cleanup prio_changed_dl()

2014-10-22 Thread Juri Lelli
On 21/10/14 17:33, Kirill Tkhai wrote: > В Вт, 21/10/2014 в 17:24 +0100, Juri Lelli пишет: >> Hi Kirill, >> >> On 02/10/14 10:52, Kirill Tkhai wrote: >>> В Чт, 02/10/2014 в 11:36 +0200, Peter Zijlstra пишет: On Wed, Oct 01, 2014 at 01:04:35AM +0400, Kirill Tkhai wrote: > From: Kirill

Re: [PATCH v5 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-10-22 Thread Ivan T. Ivanov
On Tue, 2014-10-21 at 19:15 +0100, Srinivas Kandagatla wrote: > Hi Ivan, > > Just realized that this patch can generate compiler errors due to > 3.18 > changes in pinmux_ops struct and gpiochip_remove returns void now. Yes. I am just preparing new version of this for Linus. Regards, Ivan --

[PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Chao Peng
Expose Intel AVX-512 feature bits to guest. Also add checks for xcr0 AVX512 related bits according to spec: http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf Signed-off-by: Chao Peng --- arch/x86/include/asm/xsave.h |1 + arch/x86/kvm/cpuid.c |3

Re: [PATCH v3 0/2] s390 vs. kprobes on ftrace

2014-10-22 Thread Vojtech Pavlik
On Wed, Oct 22, 2014 at 10:26:25AM +0200, Heiko Carstens wrote: > > I can confirm that kGraft works well on top of current mainline with > > this patch added. > > > > Another reason for a performance impact when kGraft is enabled is that > > kGraft still adds two instructions to the syscall path

[PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add TMU0 and TMU1 device nodes

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7740.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi index 559bd39e778bddaf..aec8da89ef9ac766 100644 ---

[PATCH 3/3] ARM: shmobile: armadillo800eva dts: Enable TMU0

2014-10-22 Thread Geert Uytterhoeven
ch0 will be used for clock events and for periodic clock events, ch1 will be used as clock source. Signed-off-by: Geert Uytterhoeven --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts

[PATCH 1/3] clocksource: sh_tmu: Document R-Mobile r8a7740 binding

2014-10-22 Thread Geert Uytterhoeven
Compared to the r8a7779, the r8a7740 lacks the input capture register, which is not used by the driver (the current driver already handles the r8a7740 in the non-DT case). Signed-off-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/timer/renesas,tmu.txt | 3 ++- 1 file changed, 2

[PATCH 0/3] ARM: shmobile: r8a7740/armadillo800eva dts: Enable TMU0

2014-10-22 Thread Geert Uytterhoeven
Hi all, It seems the TMU got lost from armadillo800eva-reference at some point in time, and thus the conversion to DT was forgotten. This series extends the existing bindings to cover r8a7740, adds the device nodes on r8a7740, and enables TMU0 on armadillo800eva-multiplatform. Geert

Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-22 Thread Masami Hiramatsu
(2014/10/22 17:20), Hemant Kumar wrote: >>> From "file_sdt_ent" we will find out the file name. >>> Convert this sdt note into a perf event and then write this into >>> uprobe_events >>> file to be able to record the event. >>> Then, corresponding entries are added to uprobe_events file for >>>

[PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-10-22 Thread Jingchang Lu
The offset of all 8-/16-bit registers in big-endian eDMA model are swapped in a 32-bit size opposite those in the little-endian model. The hardware Scatter/Gather requires the subsequent TCDs stored in memory in little endian independent of the register endian model, the eDMA engine will do the

Re: [RFC] sched/dl: Fix preemption checks

2014-10-22 Thread Juri Lelli
Hi Kirill, On 21/10/14 17:35, Kirill Tkhai wrote: > > 1)switched_to_dl() check is wrong. We reschedule only > if rq->curr is deadline task, and we do not reschedule > if it's a lower priority task. But we must always > preempt a task of other classes. > > 2)dl_task_timer(): > Policy does not

[PATCH 3/4] of: Grammar s/an/a/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/of/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 48d6673fa9a28bf0..cff3afcff1951faf 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -923,7 +923,7 @@ const struct

[PATCH 4/4] of: Remove spaces before tabs

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/of/base.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index cff3afcff1951faf..19075e770d8b6306 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -577,9 +577,9 @@

linux-kernel,We are distributors of mailbox production

2014-10-22 Thread Rankin
Hi We are suppliers of Mailbox, If you are interested, please contact us. Email:i...@tdmailbox.com Web: www.tdmailbox.comN�Р骒r��yb�X�肚�v�^�)藓{.n�+�伐�{��赙zXФ�≤�}��财�z�:+v�����赙zZ+��+zf"�h���~i���z��wア�?�ㄨ��&�)撷f��^j谦y�m��@A�a囤� 0鹅h���i

[PATCH 2/4] of: Improve grammar for of_alias_scan() documentation

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- drivers/of/base.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index e3f9043860c81b5d..48d6673fa9a28bf0 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1849,14 +1849,14 @@

[PATCH 1/4] of: Correct of_phandle_args node reference in comments

2014-10-22 Thread Geert Uytterhoeven
The device_node pointer in struct of_phandle_args is called "np", not "node". Signed-off-by: Geert Uytterhoeven --- drivers/of/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 2305dc0382bca0a5..e3f9043860c81b5d 100644 ---

[PATCH v2 RESEND] extcon: Fix sleeping in atomic context after connecting USB cable

2014-10-22 Thread Krzysztof Kozlowski
Sleeping in atomic context happens because: 1. Extcon is notifying with raw notifier chain under spin lock. 2. Notified charger-manager calls sleeping functions. Actually the problem is not only charger-manager specific because the extcon is also exporting as API its raw notifier chain with

[PATCH/TRIVIAL 2/5] net: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: David S. Miller --- drivers/net/ethernet/ti/tlan.c| 2 +- drivers/net/wireless/ath/ath10k/wmi.h | 2 +- drivers/net/wireless/atmel.c | 2 +- include/net/iw_handler.h | 2 +- net/socket.c | 2 +- 5 files

[PATCH/TRIVIAL 4/5] [SCSI] isci: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: James E.J. Bottomley --- drivers/scsi/isci/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c index 5d6fda72d659770d..c086c075e8c498bd 100644 --- a/drivers/scsi/isci/task.c +++

[PATCH/TRIVIAL 1/5] drm/radeon: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Alex Deucher Cc: Christian König --- drivers/gpu/drm/radeon/atombios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios.h b/drivers/gpu/drm/radeon/atombios.h index 92be50c39ffd4a4b..ab89eed9ddd9c47e

[PATCH/TRIVIAL 3/5] of: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Grant Likely Cc: Rob Herring --- drivers/of/dynamic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c index f297891d852908ae..d4994177dec25506 100644 --- a/drivers/of/dynamic.c +++

[PATCH/TRIVIAL 5/5] usb: gadget: zero: Spelling s/infrastucture/infrastructure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Felipe Balbi --- drivers/usb/gadget/legacy/zero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/legacy/zero.c b/drivers/usb/gadget/legacy/zero.c index ebf09f439f3aaf13..ff97ac93ac03d0ad 100644 ---

[PATCH] clk: st: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: Mike Turquette --- Documentation/devicetree/bindings/clock/st/st,flexgen.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/st/st,flexgen.txt

Re: lockdep splat in CPU hotplug

2014-10-22 Thread Jiri Kosina
On Tue, 21 Oct 2014, Jiri Kosina wrote: > Hi, > > I am seeing the lockdep report below when resuming from suspend-to-disk > with current Linus' tree (c2661b80609). > > The reason for CCing Ingo and Peter is that I can't make any sense of one > of the stacktraces lockdep is providing. > >

Re: [PATCH] usb: serial: Fix indentation style issue

2014-10-22 Thread Johan Hovold
On Sat, Oct 11, 2014 at 07:20:49AM -0700, Greg Kroah-Hartman wrote: > On Sat, Oct 11, 2014 at 03:49:43PM +0200, Philip Munksgaard wrote: > > Fix a style issue > > > > Signed-off-by: Philip Munksgaard > > --- > > drivers/usb/serial/option.c | 2 +- > > 1 file changed, 1 insertion(+), 1

[PATCH v6 0/4] Qualcomm SPMI PMIC pin controller drivers

2014-10-22 Thread Ivan T. Ivanov
Changes since v4: - Rebased on v3.18-rc1: pinmux_ops.enable is now pinmux_ops.set_mux gpiochip_remove() did not return a value. - Added Ack's from Bjorn Short description: Patches adds pin control drivers for Multi-Purpose Pin (MPP) and General-purpose pin (GPIO) controllers found in

[PATCH v6 4/4] pinctrl: Qualcomm SPMI PMIC MPP pin controller driver

2014-10-22 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm MPP sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov Acked-by: Bjorn Andersson --- drivers/pinctrl/qcom/Makefile | 1 + drivers/pinctrl/qcom/pinctrl-spmi-mpp.c | 949

Re: [RFC PATCH] UBSan: run-time undefined behavior sanity checker

2014-10-22 Thread Rasmus Villemoes
On Mon, Oct 20 2014, Andrey Ryabinin wrote: > UBSan uses compile-time instrumentation to catch undefined behavior (UB). > Compiler inserts code that perform certain kinds of > checks before operations that could cause UB. > If check fails (i.e. UB detected) __ubsan_handle_* function called. > to

[PATCH v6 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-10-22 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov Acked-by: Bjorn Andersson --- drivers/pinctrl/qcom/Kconfig | 13 + drivers/pinctrl/qcom/Makefile| 1 +

[PATCH v6 1/4] pinctrl: Device tree bindings for Qualcomm PMIC GPIO block

2014-10-22 Thread Ivan T. Ivanov
From: Bjorn Andersson This introduced the device tree bindings for the GPIO block found in PMIC's from Qualcomm. Signed-off-by: Bjorn Andersson Signed-off-by: Ivan T. Ivanov --- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 215 +

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

2014-10-22 Thread Ivan T. Ivanov
On Sun, 2014-10-19 at 21:54 +0200, Hartmut Knaack wrote: > Ivan T. Ivanov schrieb am 01.10.2014 18:14: > > The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has > > 16 bits resolution and register space inside PMIC accessible > > across > > SPMI bus. > > > > The driver registers

[PATCH v6 2/4] pinctrl: Device tree bindings for Qualcomm PMIC MPP block

2014-10-22 Thread Ivan T. Ivanov
DeviceTree binding documentation for Qualcomm SPMI PMIC MPP pinctrl drivers. Signed-off-by: Ivan T. Ivanov Acked-by: Bjorn Andersson --- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 162 + include/dt-bindings/pinctrl/qcom,pmic-mpp.h| 44 ++ 2 files

Re: [PATCH v2 1/3] sched/dl: Implement cancel_dl_timer() to use in switched_from_dl()

2014-10-22 Thread Juri Lelli
On 21/10/14 15:21, Kirill Tkhai wrote: > В Вт, 21/10/2014 в 12:41 +0100, Juri Lelli пишет: >> On 21/10/14 11:48, Kirill Tkhai wrote: >>> В Вт, 21/10/2014 в 11:30 +0100, Juri Lelli пишет: Hi Kirill, sorry for the late reply, but I was busy doing other stuff and then travelling.

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-22 Thread Peter Zijlstra
On Fri, Oct 10, 2014 at 10:21:56AM +0800, Yuyang Du wrote: > +/* Group cfs_rq's load_avg is used for task_h_load and update_cfs_share */ > +static inline int update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) > { > + int decayed; > > + if (atomic_long_read(_rq->removed_load_avg)) {

Re: [PATCH] sysctl: terminate strings also on \r

2014-10-22 Thread Aaron Tomlin
On Tue, Oct 21, 2014 at 01:21:37PM -0700, Kees Cook wrote: > From: Paul Wise > > This partially mitigates a common strategy used by attackers for hiding > the full contents of strings in procfs from naive sysadmins who use cat, > more or sysctl to inspect the contents of strings in procfs. > >

Re: [tpmdd-devel] [PATCH] tpm: fix multiple race conditions in tpm_ppi.c

2014-10-22 Thread Jarkko Sakkinen
On Tue, Oct 21, 2014 at 03:02:15PM -0600, Jason Gunthorpe wrote: > On Tue, Oct 21, 2014 at 11:42:51PM +0300, Jarkko Sakkinen wrote: > > > > Personally, I'd sequence this commit right after your 'tpm: two-phase > > > chip management functions' commit because it makes it much saner (no > > > half

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-22 Thread Baoquan He
Hi Zhenhua, I tested your latest patch on 3.18.0-rc1+, there are still some dmar errors. I remember it worked well with Bill's original patchset. 0console [earlya[0.00] allocate tes of page_cg 'a ong[ 0.00] tsc: Fast TSC calibration using PIT 0031] Calibrating delay loop (skipped),

Re: [PATCH 3/4] s390/mm: prevent and break zero page mappings in case of storage keys

2014-10-22 Thread Paolo Bonzini
On 10/22/2014 10:30 AM, Dominik Dingel wrote: > As use_skey is already the condition on which we call s390_enable_skey > we need to introduce a new flag for the mm->context on which we decide > if zero page mapping is allowed. Can you explain better why "mm->context.use_skey = 1" cannot be done

Re: [PATCH V2] kernel, add bug_on_warn

2014-10-22 Thread Prarit Bhargava
On 10/22/2014 12:27 AM, Rusty Russell wrote: > Prarit Bhargava writes: >> There have been several times where I have had to rebuild a kernel to >> cause a panic when hitting a WARN() in the code in order to get a crash >> dump from a system. Sometimes this is easy to do, other times (such as

Re: [PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Paolo Bonzini
On 10/22/2014 11:35 AM, Chao Peng wrote: > Expose Intel AVX-512 feature bits to guest. Also add checks for > xcr0 AVX512 related bits according to spec: > http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf > > Signed-off-by: Chao Peng The patch looks good, but

Re: [3.16.1 BISECTED REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-10-22 Thread Johan Hovold
On Wed, Oct 22, 2014 at 10:31:17AM +0100, Nix wrote: > On 14 Oct 2014, Johan Hovold verbalised: > > > On Sun, Oct 12, 2014 at 10:36:30PM +0100, Nix wrote: > >> I have checked: this code is being executed against a symlink that > >> points to /dev/ttyACM0, and the tcsetattr() succeeds. (At least,

Re: [PATCH 09/12] rtc: omap: add support for pmic_power_en

2014-10-22 Thread Johan Hovold
On Fri, Oct 10, 2014 at 01:07:27PM -0500, Felipe Balbi wrote: > On Thu, Oct 09, 2014 at 09:06:31PM +0200, Johan Hovold wrote: > > - /* clear pending irqs, and set 1/second periodic, > > -* which we'll use instead of update irqs > > + /* > > +* disable interrupts > > +* > > +*

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-22 Thread Li, Zhen-Hua
Hi Baoquan, I tested it on 3.17, it does not have these faults. There are little differences between this version and Bill's last version. I will test it on 3.18.0-rc1+ on my system and let you know the result. And could you send me the result of "lspci -vvv " on your system? Thanks Zhenhua

Re: [PATCH v3 1/5] perf/sdt: ELF support for SDT

2014-10-22 Thread Hemant Kumar
On 10/22/2014 08:09 AM, Namhyung Kim wrote: Hi Hemant, On Fri, 10 Oct 2014 16:27:53 +0530, Hemant Kumar wrote: This patch serves the initial support to identify and list SDT events in binaries. When programs containing SDT markers are compiled, gcc with the help of assembler directives

Re: [PATCH 00/12] rtc: omap: fixes and power-off feature

2014-10-22 Thread Johan Hovold
On Wed, Oct 15, 2014 at 12:08:32PM -0500, Felipe Balbi wrote: > On Wed, Oct 15, 2014 at 07:06:28PM +0200, Johan Hovold wrote: > > On Wed, Oct 15, 2014 at 11:55:02AM -0500, Felipe Balbi wrote: > > > BTW, how do you test this series ? > > > > Set a 30 second wakealarm using the sysfs attribute of

Re: [RESUBMIT PATCH v4 7/8] regulator: sky81452: Add compatible string for device binding

2014-10-22 Thread Mark Brown
On Mon, Oct 20, 2014 at 03:10:24PM +0900, Gyungoh Yoo wrote: > On Fri, Oct 17, 2014 at 04:26:05PM +0200, Mark Brown wrote: > > The thing I'm seeing is that the binding for your device with the > > subnode looks very much like the device trees of devices with multiple > > regulators. The fact

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-22 Thread Baoquan He
On 10/22/14 at 10:22am, Li, Zhen-Hua wrote: > > Hi Baoquan, > I tested it on 3.17, it does not have these faults. There are little > differences between this version and Bill's last version. > > I will test it on 3.18.0-rc1+ on my system and let you know the result. > > And could you send me

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-22 Thread Peter Zijlstra
So I would really like to hear from others on this, as it stands I tend to rather like this code -- and it removes a fair amount of icky lines of code. That said, it does change semantics slightly in that it removes the blocked/runnable split and last time we added the blocked component to the

Re: [RESEND PATCH 3/3 v5] sched: Remove task and group entity load_avg when they are dead

2014-10-22 Thread Peter Zijlstra
On Fri, Oct 10, 2014 at 10:21:57AM +0800, Yuyang Du wrote: > When task exits or group is destroyed, the entity's load_avg should be > removed from its parent cfs_rq's load_avg. Otherwise, it will take time > for the parent cfs_rq to decay the dead entity's load_avg to 0, which > is not desired.

Re: [PATCH 3/4] s390/mm: prevent and break zero page mappings in case of storage keys

2014-10-22 Thread Dominik Dingel
On Wed, 22 Oct 2014 12:09:31 +0200 Paolo Bonzini wrote: > On 10/22/2014 10:30 AM, Dominik Dingel wrote: > > As use_skey is already the condition on which we call s390_enable_skey > > we need to introduce a new flag for the mm->context on which we decide > > if zero page mapping is allowed. > >

[no subject]

2014-10-22 Thread OUTLOOK 2014 Award winner
Open the attached file and view the information OUTLOOK AWARD OUTLOOK AWARD.doc Description: MS-Word document

regression: checkpatch.pl fails when called via symlink

2014-10-22 Thread Jani Nikula
Since commit 66b47b4a9dad00e45c049d79966de9a3a1f4d337 Author: Kees Cook Date: Mon Oct 13 15:51:57 2014 -0700 checkpatch: look for common misspellings checkpatch.pl dies with checkpatch.pl: Can't open /path/to/spelling.txt for reading: No such file or directory if it's called through a

Re: [PATCH 1/2] ARM: perf: armv7 remove useless return and check of idx in counter handling

2014-10-22 Thread Mark Rutland
Hi, On Wed, Oct 22, 2014 at 09:21:46AM +0100, chai wen wrote: > Idx sanity check was once implemented separately in these counter handling > functions and then return value was treated as a judgement. > armv7_pmnc_select_counter() > armv7_pmnc_enable_counter() >

Re: [PATCH v3] ASoC: rockchip-i2s: add MAX98090 support to Kconfig

2014-10-22 Thread Mark Brown
On Wed, Oct 22, 2014 at 10:59:59AM +0800, Jianqun wrote: > +config SND_SOC_MAX98090 > + tristate "ASoC support for max98090 driver" > + depends on I2C && GPIOLIB > + help > + Say Y or M here if you want to add support for max98090 codec. No, you're missing what Lars was saying

Re: [PATCH] dell-wmi: Update code for processing WMI events

2014-10-22 Thread Pali Rohár
On Tuesday 21 October 2014 23:32:12 Darren Hart wrote: > On Tue, Oct 21, 2014 at 12:15:24AM +0200, Pali Rohár wrote: > > WMI buffer can contains more events. First value in buffer > > is length of event followed by data of specified length. > > After that is next length and next data. When length

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-22 Thread Johan Hovold
On Sat, Oct 11, 2014 at 07:47:58PM -0500, Felipe Balbi wrote: > On Sat, Oct 11, 2014 at 12:12:01PM +0200, Johan Hovold wrote: > > On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: > > > Hi, > > > > > > On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: > > > > Make sure to

Re: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-22 Thread Mike Surcouf
I get that NTP can be installed locally. This is how I regulate time on my guests. I agree the admin argument probably doesn't stand up. The problem is hyperv_clocksource (pluggable time source used by hyperv guests) is systematically fast in my environment. by around -250 PPM. I get away with

Re: [PATCH 2/2] ARM: perf: armv7: wrap unsupported arch init functions via micro

2014-10-22 Thread Mark Rutland
Hi, On Wed, Oct 22, 2014 at 09:21:47AM +0100, chai wen wrote: > Signed-off-by: chai wen > --- > arch/arm/kernel/perf_event_v7.c | 52 +- > 1 files changed, 13 insertions(+), 39 deletions(-) I'm currently in the process of decoupling

Re: [PATCH 00/19] MIPS GIC cleanup, part 2

2014-10-22 Thread Qais Yousef
On 10/20/2014 08:03 PM, Andrew Bresticker wrote: Second round of cleanups for the MIPS GIC drivers: - Patches 1 through 5 get rid of the ugly REG() macros and instead use proper iomem accessors. - Patches 6 and 7 move the GIC header to linux/irqchip/ and clean it up. - Patches 8

RE: [PATCH v7] mfd: syscon: Decouple syscon interface from platform devices

2014-10-22 Thread Pankaj Dubey
Hello Lee, On Tuesday, October 07, 2014 2:39 PM, Lee Jones wrote, > On Tue, 30 Sep 2014, Pankaj Dubey wrote: > > > Currently a syscon entity can be only registered directly through a > > platform device that binds to a dedicated syscon driver. However in > > certain use cases it is desirable to

Re: [PATCHv4 RESEND 0/3] syscalls,x86: Add execveat() system call

2014-10-22 Thread David Drysdale
On Tue, Oct 21, 2014 at 5:29 AM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> On Mon, Oct 20, 2014 at 6:48 AM, David Drysdale wrote: >>> On Sun, Oct 19, 2014 at 1:20 AM, Eric W. Biederman >>> wrote: Andy Lutomirski writes: > [Added Eric Biederman, since I think your

[PATCH 1/4] s390/mm: recfactor global pgste updates

2014-10-22 Thread Dominik Dingel
Replace the s390 specific page table walker for the pgste updates with a call to the common code walk_page_range function. There are now two pte modification functions, one for the reset of the CMMA state and another one for the initialization of the storage keys. Signed-off-by: Dominik Dingel

[PATCH 4/4] s390/mm: disable KSM for storage key enabled pages

2014-10-22 Thread Dominik Dingel
When storage keys are enabled unmerge already merged pages and prevent new pages from being merged. Signed-off-by: Dominik Dingel Acked-by: Christian Borntraeger --- arch/s390/include/asm/pgtable.h | 2 +- arch/s390/kvm/priv.c| 17 - arch/s390/mm/pgtable.c

[PATCH 2/4] mm: introduce mm_forbids_zeropage function

2014-10-22 Thread Dominik Dingel
Add a new function stub to allow architectures to disable for an mm_structthe backing of non-present, anonymous pages with read-only empty zero pages. Signed-off-by: Dominik Dingel --- include/linux/mm.h | 4 mm/huge_memory.c | 2 +- mm/memory.c| 2 +- 3 files changed, 6

Re: [PATCH 00/12] rtc: omap: fixes and power-off feature

2014-10-22 Thread Johan Hovold
On Sat, Oct 11, 2014 at 12:08:18PM -0700, Tony Lindgren wrote: > * Johan Hovold [141011 02:42]: > > On Fri, Oct 10, 2014 at 12:54:22PM -0500, Felipe Balbi wrote: > > > > > > is this power-off feature "RTC-only mode" ? > > > > Yes, I believe so, at least as long as RTC power is maintained. The >

[PATCH 3/4] s390/mm: prevent and break zero page mappings in case of storage keys

2014-10-22 Thread Dominik Dingel
As soon as storage keys are enabled we need to stop working on zero page mappings to prevent inconsistencies between storage keys and pgste. Otherwise following data corruption could happen: 1) guest enables storage key 2) guest sets storage key for not mapped page X -> change goes to PGSTE 3)

[PATCH v3 0/4] mm: new function to forbid zeropage mappings for a process

2014-10-22 Thread Dominik Dingel
s390 has the special notion of storage keys which are some sort of page flags associated with physical pages and live outside of direct addressable memory. These storage keys can be queried and changed with a special set of instructions. The mentioned instructions behave quite nicely under

Re: [RFC PATCH] UBSan: run-time undefined behavior sanity checker

2014-10-22 Thread Andrey Ryabinin
On 10/22/2014 01:58 PM, Rasmus Villemoes wrote: > On Mon, Oct 20 2014, Andrey Ryabinin wrote: > >> UBSan uses compile-time instrumentation to catch undefined behavior (UB). >> Compiler inserts code that perform certain kinds of >> checks before operations that could cause UB. >> If check fails

<    7   8   9   10   11   12   13   14   15   16   >