Re: [PATCH 0/2] Automatically load the vmx_crypto module if supported

2016-07-12 Thread Alastair D'Silva
On Wed, 2016-07-13 at 15:47 +1000, alast...@au1.ibm.com wrote: > From: Alastair D'Silva > > This series allows the vmx_crypto module to be detected and > automatically > loaded via UDEV if the CPU supports the vector crypto feature. > > Alastair D'Silva (2): >   powerpc: Add

[PATCH 2/2] Automatically load the vmx_crypto module if supported.

2016-07-12 Thread alastair
From: Alastair D'Silva This patch utilises the GENERIC_CPU_AUTOPROBE infrastructure to automatically load the vmx_crypto module if the CPU supports it. Signed-off-by: Alastair D'Silva --- drivers/crypto/vmx/Kconfig | 2 +- drivers/crypto/vmx/vmx.c

Re: [PATCH 02/34] mm, vmscan: move lru_lock to the node

2016-07-12 Thread Balbir Singh
On Tue, Jul 12, 2016 at 12:18:05PM +0100, Mel Gorman wrote: > On Tue, Jul 12, 2016 at 09:06:04PM +1000, Balbir Singh wrote: > > > diff --git a/Documentation/cgroup-v1/memory.txt > > > b/Documentation/cgroup-v1/memory.txt > > > index b14abf217239..946e69103cdd 100644 > > > ---

[PATCH 2/2] crypto: vmx - Convert to CPU feature based module autoloading

2016-07-12 Thread alastair
From: Alastair D'Silva This patch utilises the GENERIC_CPU_AUTOPROBE infrastructure to automatically load the vmx_crypto module if the CPU supports it. Signed-off-by: Alastair D'Silva --- drivers/crypto/vmx/Kconfig | 2 +- drivers/crypto/vmx/vmx.c

[PATCH 0/2] Automatically load the vmx_crypto module if supported

2016-07-12 Thread alastair
From: Alastair D'Silva This series allows the vmx_crypto module to be detected and automatically loaded via UDEV if the CPU supports the vector crypto feature. Alastair D'Silva (2): powerpc: Add module autoloading based on CPU features crypto: vmx - Convert to CPU

[PATCH 1/2] powerpc: Add module autoloading based on CPU features

2016-07-12 Thread alastair
From: Alastair D'Silva This patch provides the necessary infrastructure to allow drivers to be automatically loaded via UDEV. It implements the minimum required to be able to use module_cpu_feature_match to trigger the GENERIC_CPU_AUTOPROBE mechanisms. The features exposed

[PATCH 1/2] Allow drivers to be autoloaded.

2016-07-12 Thread alastair
From: Alastair D'Silva This patch provides the necessary infrastructure to allow drivers to be automatically loaded via UDEV. It implements the minimum required to be able to use module_cpu_feature_match to trigger the GENERIC_CPU_AUTOPROBE mechanisms. The features exposed

Re: Add MediaTek USB3 DRD Driver

2016-07-12 Thread chunfeng yun
Hi Felipe: Could you please give me some suggestions if you have already reviewed some codes. Thanks a lot. On Wed, 2016-06-15 at 11:07 +0800, Chunfeng Yun wrote: > From 48552e96e4e33f8830cb6a59154fe148425532fd Mon Sep 17 00:00:00 2001 > From: Chunfeng Yun > Date:

Re: [Query] Preemption (hogging) of the work handler

2016-07-12 Thread Sergey Senozhatsky
Cc Petr Mladek. On (07/12/16 16:19), Viresh Kumar wrote: [..] > Okay, we have tracked this BUG and its really interesting. good find! > I hacked the platform's serial driver to implement a putchar() routine > that simply writes to the FIFO in polling mode, that helped us in > tracing on where

Re: [PATCH 1/2] HID: logitech-hidpp: add battery support for HID++ 2.0 devices

2016-07-12 Thread Peter Hutterer
On Fri, Jul 08, 2016 at 04:35:45PM +0200, Bastien Nocera wrote: > On Wed, 2016-06-29 at 19:28 +1000, Peter Hutterer wrote: > > +static int hidpp_battery_get_property(struct power_supply *psy, > > + enum power_supply_property psp, > > +

[PATCH 1/2] ipc/sem.c: Fix complex_count vs. simple op race

2016-07-12 Thread Manfred Spraul
Commit 6d07b68ce16a ("ipc/sem.c: optimize sem_lock()") introduced a race: sem_lock has a fast path that allows parallel simple operations. There are two reasons why a simple operation cannot run in parallel: - a non-simple operations is ongoing (sma->sem_perm.lock held) - a complex operation is

[PATCH 2/2] ipc/sem.c: Remove duplicated memory barriers.

2016-07-12 Thread Manfred Spraul
With 2c610022711 (locking/qspinlock: Fix spin_unlock_wait() some more), memory barriers were added into spin_unlock_wait(). Thus another barrier is not required. And as explained in 055ce0fd1b8 (locking/qspinlock: Add comments), spin_lock() provides a barrier so that reads within the critical

[PATCH 0/2] ipc/sem.c: sem_lock fixes

2016-07-12 Thread Manfred Spraul
Hi Andrew, Hi Peter, next version of the sem_lock() fixes: The patches are again vs. tip. Patch 1 is ready for merging, Patch 2 is for review. - Patch 1 is the patch as in -next since January It fixes the race that was found by Felix. - Patch 2 removes the memory barriers that are part of the

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-12 Thread Stewart Smith
Russell King - ARM Linux writes: > On Tue, Jul 12, 2016 at 10:58:05PM +0200, Petr Tesarik wrote: >> I'm not an expert on DTB, so I can't provide an example of code >> execution, but you have already mentioned the /chosen/linux,stdout-path >> property. If an attacker

Loan Offer

2016-07-12 Thread Quick Loans
Instant cash Loan with same day payout on all kinds of Loan are available at Quick Financial Home were loan is offered at 2% per annul. Email: quickloa...@foxmail.com

Re: [PATCH v3] Input: synaptics-rmi4: Support regulator supplies

2016-07-12 Thread Bjorn Andersson
On Fri, Jun 24, 2016 at 5:40 PM, Andrew Duggan wrote: > On 06/10/2016 10:25 PM, Bjorn Andersson wrote: >> >> From: Bjorn Andersson >> >> Support the two supplies - vdd and vio - to make it possible to control >> power to the Synaptics chip.

xen: migration: guest kernel gets stuck because of too-early-swappness

2016-07-12 Thread Zhangbo (Oscar)
Hi all: We found that guests such as RHEL6, they occasionally got stuck after migration. The stack of the stuck guest kernel is as follows: PID: 18 TASK: 88007de61500 CPU: 1 COMMAND: "xenwatch" #0 [88007de62e40] schedule at 8150d692 #1 [88007de62f08] io_schedule at

Re: [PATCH v6 5/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-07-12 Thread William.wu
Dear Rob, On 2016/7/11 23:13, Rob Herring wrote: On Thu, Jul 07, 2016 at 10:58:44AM +0800, William Wu wrote: This patch adds the devicetree documentation required for Rockchip USB3.0 core wrapper consisting of USB3.0 IP from Synopsys. It supports DRD mode, and could operate in device mode

Re: [PATCH v6 3/5] usb: dwc3: add phyif_utmi_quirk

2016-07-12 Thread William.wu
Dear Rob, On 2016/7/11 22:58, Rob Herring wrote: On Thu, Jul 07, 2016 at 10:54:24AM +0800, William Wu wrote: Add a quirk to configure the core to support the UTMI+ PHY with an 8- or 16-bit interface. UTMI+ PHY interface is hardware property, and it's platform dependent. Normall, the PHYIf can

[PATCH] [linux-next] input: Fix a double word "is is" in include/linux/input.h

2016-07-12 Thread Masanari Iida
This patch fix a double word "is is" found in in Documentation/DocBook/device-drivers.xml. It is because the file was created from comments in sources, so I have to fix the double words in include/linux/input.h Signed-off-by: Masanari Iida --- include/linux/input.h | 2 +-

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-12 Thread W. Trevor King
On Tue, Jul 12, 2016 at 05:08:43PM -0700, Andrew Vagin wrote: > Here is a patch to get an owning user namespace: > https://github.com/avagin/linux-task-diag/commit/7fad8ff3fc4110bebf0920cec2388390b3bd2238 > https://github.com/avagin/linux-task-diag/commit/2663bc803d324785e328261f3c07a0fef37d2088 >

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-12 Thread Andrew Vagin
On Sat, Jul 09, 2016 at 01:29:20PM -0500, Eric W. Biederman wrote: > ebied...@xmission.com (Eric W. Biederman) writes: > > > Andrew Vagin writes: > > > >> All these thoughts about security make me thinking that kcmp is what we > >> should use here. It's maybe something like

Re: [PATCH v6 3/5] usb: dwc3: add phyif_utmi_quirk

2016-07-12 Thread William.wu
Dear Rob, On 2016/7/11 22:54, Rob Herring wrote: On Fri, Jul 08, 2016 at 02:33:09PM +0200, Heiko Stuebner wrote: Hi William, Am Donnerstag, 7. Juli 2016, 10:54:24 schrieb William Wu: Add a quirk to configure the core to support the UTMI+ PHY with an 8- or 16-bit interface. UTMI+ PHY

[RESEND PATCH] soc: mediatek: PMIC wrap: Extend the waiting time to 10ms.

2016-07-12 Thread Henry Chen
Read data fails sometimes because of a timeout that PMIC cannot transfer data to PMIC wrap on time, extend the waiting time to 10ms to reduce the failed rate. Signed-off-by: Henry Chen --- Resend to fixed the typo on commit message ---

Re: [PATCH v3 2/4] drm/rockchip: add an common abstracted PSR driver

2016-07-12 Thread Yakir Yang
Daniel, On 07/12/2016 08:38 PM, Daniel Vetter wrote: On Fri, Jul 01, 2016 at 02:00:00PM -0400, Sean Paul wrote: On Fri, Jul 1, 2016 at 5:19 AM, Yakir Yang wrote: The PSR driver have exported four symbols for specific device driver: - rockchip_drm_psr_register() -

Re: [PATCH] [RFC V1]s390/perf: fix 'start' address of module's map

2016-07-12 Thread Songshan Gong
I send this email to test the connection to linux-kernel maillist. Just ignore. 在 7/11/2016 4:11 PM, Songshan Gong 写道: 在 7/8/2016 11:18 PM, Jiri Olsa 写道: On Thu, Jul 07, 2016 at 09:49:36AM +0800, Song Shan Gong wrote: At preset, when creating module's map, perf gets 'start' address by

Re: [PATCH v6 3/5] usb: dwc3: add phyif_utmi_quirk

2016-07-12 Thread William.wu
Dear Heiko, On 2016/7/10 7:47, Heiko Stuebner wrote: Am Samstag, 9. Juli 2016, 11:38:00 schrieb William.wu: Dear Heiko & Balbi, On 2016/7/8 21:29, Felipe Balbi wrote: Hi, Heiko Stuebner writes: Am Donnerstag, 7. Juli 2016, 10:54:24 schrieb William Wu: Add a quirk to

[PATCH] lockdep: fix warning in case of no_validate lock

2016-07-12 Thread Ming Lei
Now there are several locks which are marked as no_validate, so name of the lock class can be different with the no_validate lock. This patch avoids this warning for this case, and fix the following warning: [ 14.413292] [ cut here ] [ 14.413297] WARNING: CPU: 1 PID:

Re: [PULL] lkdtm update (next)

2016-07-12 Thread Kees Cook
On Tue, Jul 12, 2016 at 9:00 PM, Greg KH wrote: > On Tue, Jul 12, 2016 at 02:42:22PM -0400, Kees Cook wrote: >> On Thu, Jul 7, 2016 at 2:14 PM, Kees Cook wrote: >> > Hi, >> > >> > Please pull these lkdtm changes for next. >> >> Friendly ping...

Re: [PATCH 1/2] crypto: vmx - Adding asm subroutines for XTS

2016-07-12 Thread Stewart Smith
Stephen Rothwell writes: > On Mon, 11 Jul 2016 16:07:39 -0300 Paulo Flabiano Smorigo > wrote: >> >> diff --git a/drivers/crypto/vmx/aesp8-ppc.pl >> b/drivers/crypto/vmx/aesp8-ppc.pl >> index 2280539..813ffcc 100644 >> ---

Re: [lkp] [usb] 9696ef14de: WARNING: CPU: 0 PID: 1 at lib/list_debug.c:36 __list_add+0x104/0x188

2016-07-12 Thread Ye Xiaolong
22.155003] evbug: Connected device: input0 (Power Button at >>LNXPWRBN/button/input0) >> >> >>FYI, raw QEMU command line is: >> >> qemu-system-x86_64 -enable-kvm -cpu Nehalem -kernel /pkg/linux/x86_64- >>randconfig-s0-07121340/gcc- >>6/9696ef14ded07fb

Re: [v5 PATCH 1/5] extcon: Add Type-C and DP support

2016-07-12 Thread Chris Zhong
Hi Chanwoo Choi On 07/13/2016 10:05 AM, Chanwoo Choi wrote: Hi Chris, On 2016년 07월 13일 10:39, Chris Zhong wrote: Hi Chanwoo Choi On 07/13/2016 09:11 AM, Chanwoo Choi wrote: Hi Chris, I'm now developing the extcon property on extcon-test branch. But, it has not been completed. On next

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-12 Thread Dave Young
On 07/12/16 at 03:50pm, Mark Rutland wrote: > On Tue, Jul 12, 2016 at 04:24:10PM +0200, Arnd Bergmann wrote: > > On Tuesday, July 12, 2016 10:18:11 AM CEST Vivek Goyal wrote: > > > > > > > > On Open Firmware, the DT is extracted from running firmware and copied > > > > into dynamically allocated

linux-next: manual merge of the drm-misc tree with the arm tree

2016-07-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/rockchip/rockchip_drm_drv.c between commit: 062993b15e8e ("drm: convert DT component matching to component_match_add_release()") from the arm tree and commit: 6d5fa28c13b9 ("gpu: drm:

Re: [PATCH v2 1/1] block: fix blk_queue_split() resource exhaustion

2016-07-12 Thread Mike Snitzer
On Tue, Jul 12 2016 at 10:18pm -0400, Eric Wheeler wrote: > On Tue, 12 Jul 2016, NeilBrown wrote: > > > On Tue, Jul 12 2016, Lars Ellenberg wrote: > > > > > > > > Instead, I suggest to distinguish between recursive calls to > > > generic_make_request(), and

[PATCH] mm: fix calculation accounting dirtyable highmem

2016-07-12 Thread Minchan Kim
When I tested vmscale in mmtest in 32bit, I found the benchmark was slow down 0.5 times. basenode 1global-1 User 12.98 16.04 System147.61 166.42 Elapsed26.48 38.08 With vmstat, I found IO wait avg is much

[PATCH] mm: fix pgalloc_stall on unpopulated zone

2016-07-12 Thread Minchan Kim
If we use sc->reclaim_idx for accounting pgstall, it can increase the count on unpopulated zone, for example, movable zone(but my system doesn't have movable zone) if allocation request were GFP_HIGHUSER_MOVABLE. It doesn't make no sense. This patch fixes it so that it can account it on first

Re: [PATCH v3 3/9] DocBook/v4l: Add compressed video formats used on MT8173 codec driver

2016-07-12 Thread 李務誠
On Wed, Jul 13, 2016 at 3:14 AM, Nicolas Dufresne wrote: > Le mardi 12 juillet 2016 à 15:08 -0400, Nicolas Dufresne a écrit : >> Le mardi 12 juillet 2016 à 16:16 +0800, Wu-Cheng Li (李務誠) a écrit : >> > Decoder hardware produces MT21 (compressed). Image processor can >>

linux-next: manual merge of the drm tree with the v4l-dvb tree

2016-07-12 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: drivers/media/platform/omap/omap_voutdef.h between commit: 77430f0396af ("[media] omap_vout: use control framework") from the v4l-dvb tree and commit: 781a162244a2 ("[media] omap_vout: Switch to use the

Re: [dm-devel] [PATCH v2 1/1] block: fix blk_queue_split() resource exhaustion

2016-07-12 Thread Eric Wheeler
On Tue, 12 Jul 2016, NeilBrown wrote: > On Tue, Jul 12 2016, Lars Ellenberg wrote: > > > > > Instead, I suggest to distinguish between recursive calls to > > generic_make_request(), and pushing back the remainder part in > > blk_queue_split(), by pointing current->bio_lists to a > >

Re: [PATCH] sched/fair: do not announce throttled next buddy in dequeue_task_fair

2016-07-12 Thread Wanpeng Li
2016-07-13 9:58 GMT+08:00 Xunlei Pang : > On 2016/07/13 at 09:50, Wanpeng Li wrote: >> 2016-07-13 1:25 GMT+08:00 : >>> Konstantin Khlebnikov writes: >>> On 11.07.2016 15:12, Xunlei Pang wrote: > On 2016/07/11 at 17:54,

[PATCH V2] iommu: arm-smmu: drop devm_free_irq when driver detach

2016-07-12 Thread Peng Fan
There is no need to call devm_free_irq when driver detach. devres_release_all which is called after 'drv->remove' will release all managed resources. Signed-off-by: Peng Fan Reviewed-by: Robin Murphy Cc: Will Deacon --- V2:

Re: dm stripe: add DAX support

2016-07-12 Thread Mike Snitzer
On Tue, Jul 12 2016 at 6:22pm -0400, Kani, Toshimitsu wrote: > On Fri, 2016-06-24 at 14:29 -0400, Mike Snitzer wrote: > >  > > BTW, if in your testing you could evaluate/quantify any extra overhead > > from DM that'd be useful to share.  It could be there are bottlenecks > >

Re: [PATCH v4] [media] pci: Add tw5864 driver - fixed few style nits, going to resubmit soon

2016-07-12 Thread Andrey Utkin
Found and fixed few very minor coding style nits, will resubmit in few days, now still waiting for comments to v4. https://github.com/bluecherrydvr/linux/commits/tw5864 commit 31f7c98a144cb3fb8a94662f002d9b6142d1f390 Author: Andrey Utkin Date: Wed Jul 13

Re: [V3 PATCH 1/2] x86/panic: Replace smp_send_stop() with kdump friendly version

2016-07-12 Thread 'Dave Young'
On 07/12/16 at 02:49am, 河合英宏 / KAWAI,HIDEHIRO wrote: > Hi Dave, > > Thanks for the comments. > > > From: Dave Young [mailto:dyo...@redhat.com] > > Sent: Monday, July 11, 2016 5:35 PM > > > > On 07/05/16 at 08:33pm, Hidehiro Kawai wrote: > > > This patch fixes one of the problems reported by

Re: [PATCH] sched/fair: do not announce throttled next buddy in dequeue_task_fair

2016-07-12 Thread Xunlei Pang
On 2016/07/13 at 09:50, Wanpeng Li wrote: > 2016-07-13 1:25 GMT+08:00 : >> Konstantin Khlebnikov writes: >> >>> On 11.07.2016 15:12, Xunlei Pang wrote: On 2016/07/11 at 17:54, Wanpeng Li wrote: > Hi Konstantin, Xunlei, > 2016-07-11

Re: [PATCH v3 3/9] DocBook/v4l: Add compressed video formats used on MT8173 codec driver

2016-07-12 Thread tiffany lin
Hi Nicolas, On Tue, 2016-07-12 at 15:14 -0400, Nicolas Dufresne wrote: > Le mardi 12 juillet 2016 à 15:08 -0400, Nicolas Dufresne a écrit : > > Le mardi 12 juillet 2016 à 16:16 +0800, Wu-Cheng Li (李務誠) a écrit : > > > Decoder hardware produces MT21 (compressed). Image processor can > > > convert

Re: [v5 PATCH 1/5] extcon: Add Type-C and DP support

2016-07-12 Thread Chanwoo Choi
Hi Chris, On 2016년 07월 13일 10:39, Chris Zhong wrote: > Hi Chanwoo Choi > > > On 07/13/2016 09:11 AM, Chanwoo Choi wrote: >> Hi Chris, >> >> I'm now developing the extcon property on extcon-test branch. >> But, it has not been completed. >> >> On next version, I'll remove the notification about

Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-07-12 Thread Brian Norris
Hi, On Wed, Jul 13, 2016 at 09:45:43AM +0800, Shawn Lin wrote: > 在 2016/7/13 9:31, Brian Norris 写道: > >On Wed, Jul 13, 2016 at 09:10:15AM +0800, Shawn Lin wrote: > >At some level, it's a matter of preference. But when you're talking > >about the rk3399 PCIe "interrupt controller" domain, it seems

Re: [PATCH v3 3/9] DocBook/v4l: Add compressed video formats used on MT8173 codec driver

2016-07-12 Thread tiffany lin
On Tue, 2016-07-12 at 16:16 +0800, Wu-Cheng Li (李務誠) wrote: > On Mon, Jul 11, 2016 at 10:56 AM, tiffany lin > wrote: > > Hi Hans, > > > > On Fri, 2016-07-08 at 12:23 +0200, Hans Verkuil wrote: > >> On 05/30/2016 02:29 PM, Tiffany Lin wrote: > >> > Add V4L2_PIX_FMT_MT21

Re: [PATCH v3 3/9] DocBook/v4l: Add compressed video formats used on MT8173 codec driver

2016-07-12 Thread tiffany lin
Hi Nicolas, On Tue, 2016-07-12 at 15:08 -0400, Nicolas Dufresne wrote: > Le mardi 12 juillet 2016 à 16:16 +0800, Wu-Cheng Li (李務誠) a écrit : > > Decoder hardware produces MT21 (compressed). Image processor can > > convert it to a format that can be input of display driver. Tiffany. > > When do

Re: [PATCH v4] [media] pci: Add tw5864 driver

2016-07-12 Thread Andrey Utkin
On Mon, Jul 11, 2016 at 09:40:53AM -0700, Joe Perches wrote: > Each of these blocks will start with the dev_ prefix > and the subsequent lines will not have the same prefix Yes. I have checked how it looks before submitting, but I didn't see this as a problem. I don't mind changing that (anyway I

Re: [PATCH] sched/fair: do not announce throttled next buddy in dequeue_task_fair

2016-07-12 Thread Wanpeng Li
2016-07-13 1:25 GMT+08:00 : > Konstantin Khlebnikov writes: > >> On 11.07.2016 15:12, Xunlei Pang wrote: >>> On 2016/07/11 at 17:54, Wanpeng Li wrote: Hi Konstantin, Xunlei, 2016-07-11 16:42 GMT+08:00 Xunlei Pang : >

Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-07-12 Thread Shawn Lin
在 2016/7/13 9:31, Brian Norris 写道: Hi Shawn, On Wed, Jul 13, 2016 at 09:10:15AM +0800, Shawn Lin wrote: 在 2016/7/7 8:39, Brian Norris 写道: On Wed, Jul 06, 2016 at 03:16:37PM +0800, Shawn Lin wrote: + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map =

Re: [v5 PATCH 1/5] extcon: Add Type-C and DP support

2016-07-12 Thread Chris Zhong
Hi Chanwoo Choi On 07/13/2016 09:11 AM, Chanwoo Choi wrote: Hi Chris, I'm now developing the extcon property on extcon-test branch. But, it has not been completed. On next version, I'll remove the notification about extcon property and only support the following two functions. -

[lkp] [mm, kasan] 7392becb25: BUG: KASAN: slab-out-of-bounds in bucket_table_alloc+0x79/0x1a0 at addr ffff88003e400000

2016-07-12 Thread kernel test robot
0443/gcc-6/7392becb255cd6c0e7bedaabd58f638b732772f2/vmlinuz-4.7.0-rc6-1-g7392bec -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-1G-5/bisect_boot-1-debian-x86_64-2015-02-07.cgz-x86_64-randconfig-s2-07120443-7392becb255cd6c0e7bedaabd58f638b732772f2-20160712-21427-xipcnl-0.yaml ARCH=x86_

Re: [PATCH 2/2] mmc: dw_mmc: Print proper voltage on error

2016-07-12 Thread Jaehoon Chung
Hi Krzysztof, On 07/12/2016 11:08 PM, Krzysztof Kozlowski wrote: > The commit 97f659a2e972 ("mmc: dw_mmc: prevent to set the wrong > value") reordered the code so the 'uhs' variable used in > mmc_regulator_set_vqmmc() error message is always 0 at that time thus > always printing 3.3 voltage.

Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-07-12 Thread Brian Norris
Hi Shawn, On Wed, Jul 13, 2016 at 09:10:15AM +0800, Shawn Lin wrote: > 在 2016/7/7 8:39, Brian Norris 写道: > >On Wed, Jul 06, 2016 at 03:16:37PM +0800, Shawn Lin wrote: > >>+ #interrupt-cells = <1>; > >>+ interrupt-map-mask = <0 0 0 7>; > >>+ interrupt-map = <0 0 0 1 _intc 1>, > >>+

[PATCH v4] f2fs: fix to avoid data update racing between GC and DIO

2016-07-12 Thread Chao Yu
Datas in file can be operated by GC and DIO simultaneously, so we will face race case as below: For write case: Thread AThread B - generic_file_direct_write - invalidate_inode_pages2_range - f2fs_direct_IO - do_blockdev_direct_IO - do_direct_IO -

Re: Fix issue with alternatives/paravirt patches

2016-07-12 Thread Jessica Yu
+++ Josh Poimboeuf [12/07/16 09:01 -0500]: On Tue, Jul 12, 2016 at 01:55:54PM +0200, Miroslav Benes wrote: On Thu, 7 Jul 2016, Josh Poimboeuf wrote: > On Thu, Jul 07, 2016 at 05:56:33PM +0200, Petr Mladek wrote: > > On Tue 2016-07-05 22:34:58, Jessica Yu wrote: > > > Hi, > > > > > > A few

Re: linux-next: please clean up the hid tree

2016-07-12 Thread Stephen Rothwell
Hi Jiri, On Wed, 13 Jul 2016 09:28:09 +1000 Stephen Rothwell wrote: > > The hid tree > (git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git#for-next) > seems to be based on v3.19 and constists of a large number of merges > (of stuff that is now in Linus' tree) and

RE: [f2fs-dev] [PATCH 3/7] f2fs: drop any block plugging

2016-07-12 Thread hebiao (G)
Hi, Kim, You are right. If file system can merge bios as much as possible. It's very helpful to block layer. But plugging mechanism has a precognition of IO stream except merging bios. For example, we can out the low-power mode in advance when you start a plug and we can in the

Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-07-12 Thread Shawn Lin
在 2016/7/7 8:39, Brian Norris 写道: Hi Shawn, On Wed, Jul 06, 2016 at 03:16:37PM +0800, Shawn Lin wrote: This patch adds a binding that describes the Rockchip PCIe controller found on Rockchip SoCs PCIe interface. Signed-off-by: Shawn Lin Acked-by: Rob Herring

Re: Build regressions/improvements in v4.7-rc7

2016-07-12 Thread Geert Uytterhoeven
On Wed, Jul 13, 2016 at 2:57 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.7-rc7[1] to v4.7-rc6[3], the summaries are: > - build errors: +7/-6 + error: main.c: undefined reference to `__stack_chk_guard': => .init.text+0x166), .init.text+0x1d6)

Re: [v5 PATCH 1/5] extcon: Add Type-C and DP support

2016-07-12 Thread Chanwoo Choi
Hi Chris, I'm now developing the extcon property on extcon-test branch. But, it has not been completed. On next version, I'll remove the notification about extcon property and only support the following two functions. - extcon_set_cable_property() - extcon_get_cable_property() Because the

[PATCH 1/3] Documentation: dt: Intersil isl12057 is not a trivial device

2016-07-12 Thread Alexandre Belloni
The ISL12057 has a documentation file, remove it from trivial-devices.txt Signed-off-by: Alexandre Belloni --- Documentation/devicetree/bindings/i2c/trivial-devices.txt | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 2/3] rtc: ds1307: add Intersil ISL12057 support

2016-07-12 Thread Alexandre Belloni
Intersil ISL12057 is a drop-in replacement for DS1337. It can be supported by the ds1307 driver. Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig | 8 drivers/rtc/rtc-ds1307.c | 6 ++ 2 files changed, 10 insertions(+), 4

Re:Re: [f2fs-dev] [PATCH] f2fs: return proper error code

2016-07-12 Thread Tiezhu Yang
At 2016-07-12 09:45:43, "Chao Yu" wrote: >On 2016/7/11 7:20, Tiezhu Yang wrote: >> When the length of file name is more than F2FS_NAME_LEN, > >Seem @name indicates a xattr/key name, not a file name. Yes, you are right. Sorry for the noise. Thanks,

Re: [PULL] lkdtm update (next)

2016-07-12 Thread Greg KH
On Tue, Jul 12, 2016 at 02:42:22PM -0400, Kees Cook wrote: > On Thu, Jul 7, 2016 at 2:14 PM, Kees Cook wrote: > > Hi, > > > > Please pull these lkdtm changes for next. > > Friendly ping... I'd like this refactor to make it in time for the 4.8 > merge window. :) Sorry, was

[PATCH 0/3] rtc: remove intersil isl12057

2016-07-12 Thread Alexandre Belloni
Arnaud, This is the series I intend to apply once you confirm my previous patch is working. Alexandre Belloni (3): Documentation: dt: Intersil isl12057 is not a trivial device rtc: ds1307: add Intersil ISL12057 support rtc: isl12057: remove driver

[PATCH 3/3] rtc: isl12057: remove driver

2016-07-12 Thread Alexandre Belloni
The Intersil isl12057 is now supported by the ds1307 driver. Signed-off-by: Alexandre Belloni --- drivers/rtc/Kconfig| 10 - drivers/rtc/Makefile | 1 - drivers/rtc/rtc-isl12057.c | 643 - 3 files

Build regressions/improvements in v4.7-rc7

2016-07-12 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.7-rc7[1] compared to v4.6[2]. Summarized: - build errors: +10/-7 - build warnings: +1294/-1054 JFYI, when comparing v4.7-rc7[1] to v4.7-rc6[3], the summaries are: - build errors: +7/-6 - build warnings: +1013/-939

Re: [PATCH 2/3] Update name field for all shrinker instances

2016-07-12 Thread Tony Jones
On 07/09/2016 01:52 AM, Janani Ravichandran wrote: > diff --git a/fs/super.c b/fs/super.c > index d78b984..051073c 100644 > --- a/fs/super.c > +++ b/fs/super.c > @@ -241,6 +241,7 @@ static struct super_block *alloc_super(struct > file_system_type *type, int flags) > s->s_time_gran =

Re: [PATCH v4 2/2] input: add ADC resistor ladder driver

2016-07-12 Thread Dmitry Torokhov
Hi Alexandre, On Tue, Jul 12, 2016 at 09:36:26PM +0200, Alexandre Belloni wrote: > A common way of multiplexing buttons on a single input in cheap devices is > to use a resistor ladder on an ADC. This driver supports that configuration > by polling an ADC channel provided by IIO. This looks

Re: [PATCH 3/3] Add name fields in shrinker tracepoint definitions

2016-07-12 Thread Tony Jones
On 07/11/2016 07:18 AM, Vlastimil Babka wrote: > On 07/09/2016 11:05 AM, Janani Ravichandran wrote: >> Currently, the mm_shrink_slab_start and mm_shrink_slab_end >> tracepoints tell us how much time was spent in a shrinker, the number of >> objects scanned, etc. But there is no information about

[PATCH] rtc: ds1307: fix century bit support

2016-07-12 Thread Alexandre Belloni
Add an option to properly support the century bit of ds1337 and compatibles and ds1340. Because the driver had a bug until now, it is not possible to switch users to the fixed code directly as RTCs in the field will wrongly have the century bit set. Signed-off-by: Alexandre Belloni

[PATCH] media: s5p-mfc remove unnecessary error messages

2016-07-12 Thread Shuah Khan
Removing unnecessary error messages as appropriate error code is returned. Signed-off-by: Shuah Khan --- drivers/media/platform/s5p-mfc/s5p_mfc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc.c

Re: divide error: 0000 [#1] SMP in task_numa_migrate - handle_mm_fault vanilla 4.4.6

2016-07-12 Thread Greg KH
On Tue, Jul 12, 2016 at 03:12:35PM +0200, Peter Zijlstra wrote: > On Mon, Jul 11, 2016 at 03:33:53PM -0700, Greg KH wrote: > > > Oops, this commit does not apply cleanly to 4.6 or 4.4-stable trees. > > Can someone send me the backported verision that they have tested to > > work properly so I can

[PATCH] CodingStyle: Remove "Don't use C99-style comments"

2016-07-12 Thread Joe Perches
Because Linus may still be reading source code on greenbar paper instead of color terminals with code syntax highlighting and appropriate font decorations. Link: http://lkml.kernel.org/r/ca+55afyqyjerovmssosks7pesszbr4vnp-3quuwhqk4a4_j...@mail.gmail.com Signed-off-by: Joe Perches

Re: [Query] Preemption (hogging) of the work handler

2016-07-12 Thread Viresh Kumar
On 12-07-16, 16:19, Viresh Kumar wrote: > Okay, we have tracked this BUG and its really interesting. > > I hacked the platform's serial driver to implement a putchar() routine > that simply writes to the FIFO in polling mode, that helped us in > tracing on where we are going wrong. > > The

[PATCH] remoteproc: qcom: hexagon: Clean up mpss validation

2016-07-12 Thread Bjorn Andersson
As reported by Dan the unsigned "val" can't be negative. But instead correcting the check for early errors here followed by a wait for the validation result to show the error or success we can consolidate these two parts of the validation process into the validation function. Reported-by: Dan

[PATCH 1/2] checkpatch: Skip long lines that use an EFI_GUID macro

2016-07-12 Thread Joe Perches
These are also possible single line uses that exceed the generic maximum line length (typically 80 columns) Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 4 1 file changed, 4 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

[PATCH 2/2] checkpatch: Allow c99 style // comments

2016-07-12 Thread Joe Perches
Sanitise the lines that contain c99 comments so that the error doesn't get emitted. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index cc787e6..a0e5112 100755 ---

[PATCH] arm64: take SHN_LIVEPATCH syms into account when calculating plt_max_entries

2016-07-12 Thread Jessica Yu
SHN_LIVEPATCH symbols are technically a subset of SHN_UNDEF/undefined symbols, except that their addresses are resolved by livepatch at runtime. Therefore, when calculating the upper-bound for the number of plt entries to allocate, make sure to take livepatch symbols into account as well.

Severe performance regression w/ 4.4+ on Android due to cgroup locking changes

2016-07-12 Thread John Stultz
Hey Tejun, So Dmitry Shmidt recently noticed that with 4.4 based systems we're seeing quite a bit of performance overhead from __cgroup_procs_write(). With 4.4 tree as it stands, we're seeing __cgroup_procs_write() quite often take 10s of miliseconds to execute (with max times up in the 80ms

Re: [PATCH net-next 3/3] bpf: avoid stack copy and use skb ctx for event output

2016-07-12 Thread Fengguang Wu
Hi Daniel, On Wed, Jul 13, 2016 at 01:45:47AM +0200, Daniel Borkmann wrote: On 07/13/2016 01:25 AM, kbuild test robot wrote: Hi, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Daniel-Borkmann/BPF-event-output-helper-improvements/20160713-065944

Re: System freezes after OOM

2016-07-12 Thread Mikulas Patocka
The problem of swapping to dm-crypt is this. The free memory goes low, kswapd decides that some page should be swapped out. However, when you swap to an ecrypted device, writeback of each page requires another page to hold the encrypted data. dm-crypt uses mempools for all its structures and

Re: [PATCH net-next 3/3] bpf: avoid stack copy and use skb ctx for event output

2016-07-12 Thread Daniel Borkmann
On 07/13/2016 01:25 AM, kbuild test robot wrote: Hi, [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Daniel-Borkmann/BPF-event-output-helper-improvements/20160713-065944 config: s390-allyesconfig (attached as .config) compiler: s390x-linux-gnu-gcc

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-12 Thread Stewart Smith
Petr Tesarik writes: > On Tue, 12 Jul 2016 13:25:11 -0300 > Thiago Jung Bauermann wrote: > >> Hi Eric, >> >> I'm trying to understand your concerns leading to your nack. I hope you >> don't mind expanding your thoughts on them a bit. >> >> Am

Re: [RFC 0/3] extend kexec_file_load system call

2016-07-12 Thread Stewart Smith
Vivek Goyal writes: > On Tue, Jul 12, 2016 at 10:58:09AM -0300, Thiago Jung Bauermann wrote: >> Hello Eric, >> >> Am Dienstag, 12 Juli 2016, 08:25:48 schrieb Eric W. Biederman: >> > AKASHI Takahiro writes: >> > > Device tree blob must be passed to

Re: [PATCH] userspace API definitions for auto-focus coil

2016-07-12 Thread Mauro Carvalho Chehab
Em Sat, 18 Jun 2016 17:38:46 +0200 Pavel Machek escreveu: > Hi! > > > > Not V4L2_CID_USER_AD5820...? > > > > The rest of the controls have no USER as part of the macro name, so I > > wouldn't use it here either. > > Ok. > > > > Ok, separate header file for 2 lines seemed

Re: [PATCH] loop: Make user notify for adding loop device failed

2016-07-12 Thread Jens Axboe
On 06/06/2016 07:05 PM, Minfei Huang wrote: There is no error number returned if loop driver fails in function alloc_disk to add new loop device. Add a correct error number to make user notify in this case. Sorry about the delay, vacation got in the way. Added for 4.8, thanks. -- Jens Axboe

Re: [PATCH 2/3] mm, meminit: Always return a valid node from early_pfn_to_nid

2016-07-12 Thread David Rientjes
On Fri, 8 Jul 2016, Mel Gorman wrote: > early_pfn_to_nid can return node 0 if a PFN is invalid on machines > that has no node 0. A machine with only node 1 was observed to crash > with the following message > > BUG: unable to handle kernel paging request at 0002a3c8 > PGD 0 > Modules

Re: [PATCH 3/3] mm, meminit: Ensure node is online before checking whether pages are uninitialised

2016-07-12 Thread David Rientjes
On Fri, 8 Jul 2016, Mel Gorman wrote: > early_page_uninitialised looks up an arbitrary PFN. While a machine without > node 0 will boot with "mm, page_alloc: Always return a valid node from > early_pfn_to_nid", it works because it assumes that nodes are always in > PFN order. This is not

Linux 3.18.36-rt38-rc2

2016-07-12 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.18.36-rt38-rc2. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Linux 4.1.27-rt31-rc2

2016-07-12 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 4.1.27-rt31-rc2. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Re: [PATCH 29/66] tools lib traceevent: Use str_error_r()

2016-07-12 Thread Steven Rostedt
On Tue, 12 Jul 2016 20:14:24 -0300 Arnaldo Carvalho de Melo wrote: > Em Tue, Jul 12, 2016 at 07:11:08PM -0400, Steven Rostedt escreveu: > > On Tue, 12 Jul 2016 19:40:04 -0300 Arnaldo Carvalho de Melo > > wrote: > > > To make it portable to non-glibc systems,

Linux 3.14.72-rt76-rc2

2016-07-12 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.14.72-rt76-rc2. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

Re: [PATCH 29/66] tools lib traceevent: Use str_error_r()

2016-07-12 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 12, 2016 at 07:25:19PM -0400, Steven Rostedt escreveu: > On Tue, 12 Jul 2016 20:14:24 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Tue, Jul 12, 2016 at 07:11:08PM -0400, Steven Rostedt escreveu: > > > On Tue, 12 Jul 2016 19:40:04 -0300 Arnaldo Carvalho de Melo >

Re: [Query] Preemption (hogging) of the work handler

2016-07-12 Thread Viresh Kumar
On 11-07-16, 15:35, Viresh Kumar wrote: > Sometimes, the platform doesn't come back after suspend. I have tried > enabling no-console-suspend and the last line it prints is: > > Disabling non-boot CPUs > > And nothing after that at all. We have to forcefully reboot the phone > after

  1   2   3   4   5   6   7   8   9   10   >