[PATCH] drm/vc4: fix build warning

2015-12-22 Thread Sudip Mukherjee
We were getting build warning: drivers/gpu/drm/vc4/vc4_validate.c: In function 'validate_gl_shader_rec': drivers/gpu/drm/vc4/vc4_validate.c:864:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=] DRM_ERROR("BO offset overflow (%d + %d > %d)\n",

Re: [PATCH] regulator: s2m,s5m: constify regulator_ops structures

2015-12-22 Thread Julia Lawall
On Wed, 23 Dec 2015, Mark Brown wrote: > On Sat, Dec 19, 2015 at 03:58:00PM +0100, Julia Lawall wrote: > > The regulator_ops structures are never modified, so declare them as const. > > > > Done with the help of Coccinelle. > > This doesn't apply against current code, please check and resend.

Re: [PATCH 4/4] ASoC: Intel: add NULL test

2015-12-22 Thread Julia Lawall
On Wed, 23 Dec 2015, Mark Brown wrote: > On Sun, Dec 20, 2015 at 12:15:53PM +0100, Julia Lawall wrote: > > Add NULL test on call to devm_kzalloc. > > > > The semantic match that finds this problem is as follows: > > (http://coccinelle.lip6.fr/) > > If there was a patch 3 in this series I seem

Re: [PATCH 2/2] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2015-12-22 Thread Joonsoo Kim
On Wed, Dec 23, 2015 at 07:14:21AM +0100, Vlastimil Babka wrote: > On 22.12.2015 23:17, David Rientjes wrote: > > On Mon, 21 Dec 2015, Joonsoo Kim wrote: > > > >> Before vs After > >> Max: 1096 MB/s vs 1325 MB/s > >> Min: 635 MB/s 1015 MB/s > >> Avg: 899 MB/s 1194 MB/s > >> > >> Avg is improved

[lkp] [blk] 26efb85d35: BUG kmalloc-512 (Not tainted): Redzone overwritten

2015-12-22 Thread kernel test robot
FYI, we noticed the below changes on git://internal_merge_and_test_tree devel-catchup-201512220028 commit 26efb85d35c71bc297e22773928062c97e41a8a2 ("blk-mq: dynamic h/w context count") ++++ |

[PATCH] clk: gpio: fix memory leak

2015-12-22 Thread Sudip Mukherjee
If we fail to allocate parent_name then we are returning but we missed freeing data which has already been allocated. Signed-off-by: Sudip Mukherjee --- drivers/clk/clk-gpio.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c

Re: [PATCH] staging: lustre/lustre/libcfs: Fix type mismatch reported by sparse

2015-12-22 Thread Niranjan Dighe
On Wed, Dec 23, 2015 at 3:34 AM, Dilger, Andreas wrote: > On 2015/12/22, 06:05, "Niranjan Dighe" wrote: > >>On Tue, Dec 22, 2015 at 5:14 AM, Greg Kroah-Hartman >> wrote: >>> On Wed, Dec 09, 2015 at 10:38:13PM +0530, Niranjan Dighe wrote: The third argument to function kportal_memhog_alloc

Re: [PATCH 2/2] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2015-12-22 Thread Vlastimil Babka
On 22.12.2015 23:17, David Rientjes wrote: > On Mon, 21 Dec 2015, Joonsoo Kim wrote: > >> Before vs After >> Max: 1096 MB/s vs 1325 MB/s >> Min: 635 MB/s 1015 MB/s >> Avg: 899 MB/s 1194 MB/s >> >> Avg is improved by roughly 30% [2]. >> > > Wow, ok! > > I'm wondering if it would be better to

Re: [PATCH] dma: Revert "dmaengine: mic_x100: add missing spin_unlock"

2015-12-22 Thread Ashutosh Dixit
On Wed, Dec 23 2015 at 12:45:31 AM, Saurabh Sengar wrote: > On 23 December 2015 at 09:05, Ashutosh Dixit wrote: >> This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing >> spin_unlock"). >> >> The above patch is incorrect. There is nothing wrong with the original >> code. The

Re: [PATCH v11 17/19] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-22 Thread Yakir Yang
Hi Jingoo, On 12/23/2015 12:24 PM, Yakir Yang wrote: Hi Jingoo, On 12/22/2015 08:26 PM, Jingoo Han wrote: On Wednesday, December 16, 2015 12:58 PM, Yakir Yang wrote: After test on rockchiop platform, i found sometims driver would failed at reading EDID message. After debugging more, i found

Re: [PATCH] dma: Revert "dmaengine: mic_x100: add missing spin_unlock"

2015-12-22 Thread Saurabh Sengar
On 23 December 2015 at 09:05, Ashutosh Dixit wrote: > This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing > spin_unlock"). > > The above patch is incorrect. There is nothing wrong with the original > code. The spin_lock is acquired in the "prep" functions and released > in

[PATCH] dt: bindings: add bindings for ipq4019 wifi block

2015-12-22 Thread Raja Mani
Add device tree binding documentation details for wifi block present in Qualcomm IPQ4019 SoC into qcom,ath10k.txt. Signed-off-by: Raja Mani --- .../bindings/net/wireless/qcom,ath10k.txt | 87 -- 1 file changed, 82 insertions(+), 5 deletions(-) diff --git

RE: [PATCH 0/7][v4] Add OTG support for FSL socs

2015-12-22 Thread Jun Li
Hi > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Felipe Balbi > Sent: Wednesday, December 23, 2015 2:21 AM > To: Ramneek Mehresh ; linux- > ker...@vger.kernel.org > Cc: st...@rowland.harvard.edu;

KVM: memory ballooning bug?

2015-12-22 Thread Minchan Kim
During my compaction-related stuff, I encountered some problems with ballooning. Firstly, with repeated inflating and deflating cycle, guest memory(ie, cat /proc/meminfo | grep MemTotal) decreased and couldn't recover. When I review source code, balloon_lock should cover release_pages_balloon.

[PATCH v3 1/2] crypto: KEYS: convert public key to the akcipher api

2015-12-22 Thread Tadeusz Struk
This patch converts the module verification code to the new akcipher API. Signed-off-by: Tadeusz Struk --- crypto/asymmetric_keys/Kconfig|2 crypto/asymmetric_keys/Makefile |7 - crypto/asymmetric_keys/pkcs7_parser.c | 12 +-

[PATCH v3 2/2] integrity: convert digsig to akcipher api

2015-12-22 Thread Tadeusz Struk
Convert asymmetric_verify to akcipher api. Signed-off-by: Tadeusz Struk --- security/integrity/Kconfig |1 + security/integrity/digsig_asymmetric.c | 10 +++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/security/integrity/Kconfig

[PATCH v3 0/2] crypto: KEYS: convert public key to akcipher api

2015-12-22 Thread Tadeusz Struk
This patch set converts the module verification and digital signature code to the new akcipher API. RSA implementation has been removed from crypto/asymmetric_keys and the new API is used for cryptographic primitives. There is no need for MPI above the akcipher API anymore. Modules can be verified

Re: [PATCH v2 1/2] crypto: KEYS: convert public key to the akcipher api

2015-12-22 Thread Tadeusz Struk
On 12/22/2015 06:33 PM, Herbert Xu wrote: >> What about the first two. This one is completely unrelated. >> > It only supposed to fix some random configuration issue >> > reported by a build robot, which isn't really important now. >> > The other two convert the module verifier to the new API. >

[git pull] drm fixes

2015-12-22 Thread Dave Airlie
Hi Linus, Not much happening, should have dequeued this lot earlier, One amdgpu, one nouveau and one exynos fix. Dave. The following changes since commit 76b8ebdc4c7a8299e6365428a36cc0fb1c2a4103: Merge tag 'media/v4.4-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media

[PATCH 3/8] cgroup: introduce cgroup namespaces

2015-12-22 Thread serge . hallyn
From: Aditya Kali Introduce the ability to create new cgroup namespace. The newly created cgroup namespace remembers the cgroup of the process at the point of creation of the cgroup namespace (referred as cgroupns-root). The main purpose of cgroup namespace is to virtualize the contents of

[PATCH 1/8] kernfs: Add API to generate relative kernfs path

2015-12-22 Thread serge . hallyn
: - kernfs_path_from_node: change arguments to 'to' and 'from', and change their order. Changelog 20151222: - kernfs_path_from_node{,_locked}: return the string length. kernfs_path is gpl-exported, so changing their return value seemed ill-advised, but if noone minds I can update it too

[PATCH 6/8] cgroup: mount cgroupns-root when inside non-init cgroupns

2015-12-22 Thread serge . hallyn
From: Serge Hallyn This patch enables cgroup mounting inside userns when a process as appropriate privileges. The cgroup filesystem mounted is rooted at the cgroupns-root. Thus, in a container-setup, only the hierarchy under the cgroupns-root is exposed inside the container. This allows

[PATCH 8/8] Add FS_USERNS_FLAG to cgroup fs

2015-12-22 Thread serge . hallyn
From: Serge Hallyn allowing root in a non-init user namespace to mount it. This should now be safe, because 1. non-init-root cannot mount a previously unbound subsystem 2. the task doing the mount must be privileged with respect to the user namespace owning the cgroup namespace 3. the

Re: [PATCH] Staging: comedi: fix block comments coding style issue in comedi.h

2015-12-22 Thread Sudip Mukherjee
On Wed, Dec 23, 2015 at 10:51:11AM +0800, maoma king wrote: > Dear Greg > I have sent my first patch (https://lkml.org/lkml/2015/11/18/239) to > linux-next tree.But I never received anything about it.So I sent it > again. You say "Doesn't apply to my tree :(".but it can be apply to > least

[PATCH 5/8] kernfs: define kernfs_node_dentry

2015-12-22 Thread serge . hallyn
From: Aditya Kali Add a new kernfs api is added to lookup the dentry for a particular kernfs path. Signed-off-by: Aditya Kali Signed-off-by: Serge E. Hallyn --- Changelog: 20151116 - Don't allow user namespaces to bind new subsystems 20151118 - postpone the FS_USERNS_MOUNT

[PATCH 7/8] cgroup: Add documentation for cgroup namespaces

2015-12-22 Thread serge . hallyn
From: Aditya Kali Signed-off-by: Aditya Kali Signed-off-by: Serge Hallyn --- Changelog (2015-12-08): Merge into Documentation/cgroup.txt Changelog (2015-12-22): Reformat to try to follow the style of the rest of the cgroup.txt file. Signed-off-by: Serge Hallyn ---

Re: [PATCH v6 13/20] arm64: ilp32: share aarch32 syscall wrappers to ilp32

2015-12-22 Thread Yury Norov
On Tue, Dec 22, 2015 at 12:25:15PM +, Catalin Marinas wrote: > On Wed, Dec 16, 2015 at 12:42:39AM +0300, Yury Norov wrote: > > statfs64, fstat64 and mmap_pgoff has wrappers that needed both by aarch32 > > and > > ilp32 to workaround some issues. Here we create common file to share aarch32 > >

Re: [PATCH v11 17/19] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-22 Thread Yakir Yang
Hi Jingoo, On 12/22/2015 08:26 PM, Jingoo Han wrote: On Wednesday, December 16, 2015 12:58 PM, Yakir Yang wrote: After test on rockchiop platform, i found sometims driver would failed at reading EDID message. After debugging more, i found that it's okay to read_a byte from i2c, but it would

[PATCH 4/8] cgroup: cgroup namespace setns support

2015-12-22 Thread serge . hallyn
From: Aditya Kali setns on a cgroup namespace is allowed only if task has CAP_SYS_ADMIN in its current user-namespace and over the user-namespace associated with target cgroupns. No implicit cgroup changes happen with attaching to another cgroupns. It is expected that the somone moves the

[PATCH 2/8] sched: new clone flag CLONE_NEWCGROUP for cgroup namespace

2015-12-22 Thread serge . hallyn
From: Aditya Kali CLONE_NEWCGROUP will be used to create new cgroup namespace. Signed-off-by: Aditya Kali Signed-off-by: Serge Hallyn --- include/uapi/linux/sched.h |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/uapi/linux/sched.h

CGroup Namespaces (v8)

2015-12-22 Thread serge . hallyn
Hi, following is a revised set of the CGroup Namespace patchset which Aditya Kali has previously sent. The code can also be found in the cgroupns.v8 branch of https://git.kernel.org/cgit/linux/kernel/git/sergeh/linux-security.git/ To summarize the semantics: 1. CLONE_NEWCGROUP re-uses

[PATCH] usb: core: devio.c: Removed unnecessary space

2015-12-22 Thread Chase Metzger
Removed an unnecessary space between a function name and arguments. Signed-off-by: Chase Metzger --- drivers/usb/core/devio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 38ae877c..0bcd45e 100644 ---

Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

2015-12-22 Thread Finn Thain
On Tue, 22 Dec 2015, Joe Perches wrote: > On Wed, 2015-12-23 at 13:03 +1100, Finn Thain wrote: > > On Tue, 22 Dec 2015, Joe Perches wrote: > > > > > On Wed, 2015-12-23 at 11:56 +1100, Finn Thain wrote: > > > > On Tue, 22 Dec 2015, Joe Perches wrote: > > > >  > > > > > On Tue, 2015-12-22 at

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2015-12-22 Thread Sergey Senozhatsky
On (12/23/15 12:57), Sergey Senozhatsky wrote: [..] > > > can we replace this oops_in_progress check with something more reliable? > > > > > > CPU0CPU1 - CPUN > > > panic() > > > local_irq_disable()executing foo() with irqs disabled, > > >

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2015-12-22 Thread Sergey Senozhatsky
On (12/23/15 12:37), Sergey Senozhatsky wrote: > Date: Wed, 23 Dec 2015 12:37:24 +0900 > From: Sergey Senozhatsky > To: Sergey Senozhatsky > Cc: Jan Kara , Sergey Senozhatsky > , Andrew Morton , > Petr Mladek , KY Sri nivasan , Steven > Rostedt , linux-kernel@vger.kernel.org > Subject: Re:

linux-next: Tree for Dec 23

2015-12-22 Thread Stephen Rothwell
Hi all, News: there will (probably) be no linux-next releases until Jan 4 (unless I get bored). Changes since 20151222: The i2c tree still had its build failure for which I applied a patch. The drm tree gained a conflict against the drm-intel-fixes tree. I added a supplied patch to the akpm

[PATCH v6.3 4/6] drm: rockchip: Support Synopsys DW MIPI DSI

2015-12-22 Thread Chris Zhong
Add support for Synopsys DesignWare MIPI DSI controller which is embedded in the rk3288 SoCs. Signed-off-by: Chris Zhong --- Changes in v6.3: - move the mipi_en gate to ockchip_drm_crtc_mode_config Changes in v6.2: - Remove the atomic feature check (Mark Yao) Changes in v6.1: - Add atomic API

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2015-12-22 Thread Sergey Senozhatsky
On (12/23/15 10:54), Sergey Senozhatsky wrote: > On (12/22/15 14:47), Jan Kara wrote: > [..] > > @@ -1803,10 +1869,24 @@ asmlinkage int vprintk_emit(int facility, int level, > > logbuf_cpu = UINT_MAX; > > raw_spin_unlock(_lock); > > lockdep_on(); > > + /* > > +* By default we

RE: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-22 Thread Hayes Wang
Oliver Neukum [mailto:oneu...@suse.com] [...] > It is clear to me that you cannot get away with using the same operation > for resume() and reset_resume() in your driver. It is fundamentally > impossible. Firmware cannot fix it. I would think how to fix it. > Sorry for the length of the

Re: [PATCH powerpc/next v6 0/4] atomics: powerpc: Implement relaxed/acquire/release variants

2015-12-22 Thread Boqun Feng
On Wed, Dec 23, 2015 at 01:40:05PM +1100, Michael Ellerman wrote: > On Tue, 2015-12-15 at 22:24 +0800, Boqun Feng wrote: > > > Hi all, > > > > This is v6 of the series. > > > > Link for v1: https://lkml.org/lkml/2015/8/27/798 > > Link for v2: https://lkml.org/lkml/2015/9/16/527 > > Link for v3:

RE: [f2fs-dev] [PATCH 2/4] f2fs: avoid unnecessary f2fs_gc for dir operations

2015-12-22 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 23, 2015 9:00 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/4]

RE: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support

2015-12-22 Thread Zheng, Lv
Hi, Andy > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Andy Lutomirski > Sent: Wednesday, December 23, 2015 6:49 AM > Subject: Re: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support > > On Mon, Dec 21, 2015 at 5:03 PM, Chen, Yu C

Re: [Propose] Isolate core_pattern in mnt namespace.

2015-12-22 Thread Dongsheng Yang
On 12/22/2015 05:52 AM, Eric W. Biederman wrote: Dongsheng Yang writes: On 12/20/2015 05:47 PM, Eric W. Biederman wrote: Dongsheng Yang writes: On 12/20/2015 10:37 AM, Al Viro wrote: On Sun, Dec 20, 2015 at 10:14:29AM +0800, Dongsheng Yang wrote: On 12/17/2015 07:23 PM, Dongsheng Yang

Re: [Propose] Isolate core_pattern in mnt namespace.

2015-12-22 Thread Dongsheng Yang
On 12/22/2015 11:12 AM, Kamezawa Hiroyuki wrote: > On 2015/12/22 6:52, Eric W. Biederman wrote: >> Dongsheng Yang writes: >> >>> On 12/20/2015 05:47 PM, Eric W. Biederman wrote: Dongsheng Yang writes: > On 12/20/2015 10:37 AM, Al Viro wrote: >> On Sun, Dec 20, 2015 at

RE: [f2fs-dev] [PATCH 1/4] f2fs: check inline_data flag at converting time

2015-12-22 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 23, 2015 9:00 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 1/4] f2fs: check

Re: [PATCH v2 1/2] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2015-12-22 Thread Yang Zhang
On 2015/12/23 3:52, rkrc...@redhat.com wrote: 2015-12-22 07:19+, Wu, Feng: From: Yang Zhang [mailto:yang.zhang...@gmail.com] On 2015/12/22 14:59, Wu, Feng wrote: From: Yang Zhang [mailto:yang.zhang...@gmail.com] On 2015/12/16 9:37, Feng Wu wrote: +

[PATCH] dma: Revert "dmaengine: mic_x100: add missing spin_unlock"

2015-12-22 Thread Ashutosh Dixit
This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing spin_unlock"). The above patch is incorrect. There is nothing wrong with the original code. The spin_lock is acquired in the "prep" functions and released in "submit". Signed-off-by: Ashutosh Dixit ---

Re: [PATCH] Staging: comedi: fix block comments coding style issue in comedi.h

2015-12-22 Thread maoma king
Dear Greg I have sent my first patch (https://lkml.org/lkml/2015/11/18/239) to linux-next tree.But I never received anything about it.So I sent it again. You say "Doesn't apply to my tree :(".but it can be apply to least linux-next branch . I make n new patch and send it.I receive

[PATCH] block: warn once for cloned bio in bio_for_each_segment_all()

2015-12-22 Thread Ming Lei
For one cloned bio, kernel shouldn't touch all segments of this bio via the helper, because the bvec table is shared among all related bios, so warn once for this usage. This change should catch recent memory corruption issue, which is fixed by 23688bf4f830(block: ensure to split after

Re: [BUG] File system corruption with 4.4-rc3 and beyond

2015-12-22 Thread Steven Rostedt
On Tue, 22 Dec 2015 20:20:00 -0500 Steven Rostedt wrote: > This test takes over 8 hours (although the i386 portion is less than an > hour). If it finishes with no problems other than my own, I'll let you > know. The i386 portion just finished, and it showed no indication of any errors. So it

Re: [PATCH powerpc/next v6 0/4] atomics: powerpc: Implement relaxed/acquire/release variants

2015-12-22 Thread Michael Ellerman
On Tue, 2015-12-15 at 22:24 +0800, Boqun Feng wrote: > Hi all, > > This is v6 of the series. > > Link for v1: https://lkml.org/lkml/2015/8/27/798 > Link for v2: https://lkml.org/lkml/2015/9/16/527 > Link for v3: https://lkml.org/lkml/2015/10/12/368 > Link for v4:

RE: [PATCH 1/1] powerpc/irq: tidy up inconsistent context in migrate_irqs()

2015-12-22 Thread Zhang Zhuoyu
Hi, Denis Any test result on pmac machine for this patch? Zhuoyu > -Original Message- > From: Zhang Zhuoyu [mailto:zhangzhu...@cmss.chinamobile.com] > Sent: Wednesday, December 16, 2015 10:46 PM > To: 'Denis Kirjanov'; 'Michael Ellerman' > Cc: 'Daniel Axtens'; 'Zhang Zhuoyu';

[PATCH] thermal: clean up whitespace in scan code

2015-12-22 Thread Inhyuk Kang
From: Hugh Kang Signed-off-by: Hugh Kang --- drivers/thermal/thermal_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/thermal_core.c b/drivers/thermal/thermal_core.c index d9e525c..115b959 100644 --- a/drivers/thermal/thermal_core.c +++

Re: [PATCH v2 1/2] crypto: KEYS: convert public key to the akcipher api

2015-12-22 Thread Herbert Xu
On Tue, Dec 22, 2015 at 06:23:59AM -0800, Tadeusz Struk wrote: > > What about the first two. This one is completely unrelated. > It only supposed to fix some random configuration issue > reported by a build robot, which isn't really important now. > The other two convert the module verifier to the

Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

2015-12-22 Thread Finn Thain
On Tue, 22 Dec 2015, James Bottomley wrote: > I don't think it is trivial. I can't actually find a single instance in > this patch where collapsing the space at the start of the comment looks > justified; most of the time it eliminates intended formatting. The present formatting is broken.

Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

2015-12-22 Thread Joe Perches
On Wed, 2015-12-23 at 13:03 +1100, Finn Thain wrote: > On Tue, 22 Dec 2015, Joe Perches wrote: > > > On Wed, 2015-12-23 at 11:56 +1100, Finn Thain wrote: > > > On Tue, 22 Dec 2015, Joe Perches wrote: > > >  > > > > On Tue, 2015-12-22 at 12:18 +1100, Finn Thain wrote: > > > > > This patch is just

Re: [PATCH v5] extcon: add Maxim MAX3355 driver

2015-12-22 Thread Chanwoo Choi
On 2015년 12월 22일 20:15, Sergei Shtylyov wrote: > Hello. > > On 12/22/2015 4:13 AM, Chanwoo Choi wrote: > >> This patch depend on GPIOLIB configuration as following: >> I modified it with following diff and applied it. >> >> diff --git a/drivers/extcon/Kconfig

[PATCH v2 1/3 RESEND] USB: serial: cp210x: New 16-bit register access functions.

2015-12-22 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new register access functions for 16-bit values, instead of the above functions. Signed-off-by: Konstantin Shkolnyy --- drivers/usb/serial/cp210x.c | 155 +++- 1 file

[PATCH v2 2/3 RESEND] USB: serial: cp210x: New 8-bit and 32-bit register access functions.

2015-12-22 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new register access functions for 8 and 32-bit values, instead of the above functions. Signed-off-by: Konstantin Shkolnyy --- drivers/usb/serial/cp210x.c | 92 ++--- 1

[PATCH v2 3/3 RESEND] USB: serial: cp210x: New register access functions for large registers

2015-12-22 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change switches large register access to use new block functions. The old functions are removed because now they become unused. Signed-off-by: Konstantin Shkolnyy --- drivers/usb/serial/cp210x.c | 137

RE: [PATCH v2 1/2] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2015-12-22 Thread Wu, Feng
> -Original Message- > From: rkrc...@redhat.com [mailto:rkrc...@redhat.com] > Sent: Wednesday, December 23, 2015 3:53 AM > To: Wu, Feng > Cc: Yang Zhang ; pbonz...@redhat.com; > k...@vger.kernel.org; linux-kernel@vger.kernel.org; Jiang Liu > (jiang@linux.intel.com) > Subject: Re:

Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

2015-12-22 Thread Finn Thain
On Tue, 22 Dec 2015, Joe Perches wrote: > On Wed, 2015-12-23 at 11:56 +1100, Finn Thain wrote: > > On Tue, 22 Dec 2015, Joe Perches wrote: > > > > > On Tue, 2015-12-22 at 12:18 +1100, Finn Thain wrote: > > > > This patch is just the result of two substitutions. The first > > > > removes any

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2015-12-22 Thread Sergey Senozhatsky
Hi, slowly looking through the patches. On (12/22/15 14:47), Jan Kara wrote: [..] > @@ -1803,10 +1869,24 @@ asmlinkage int vprintk_emit(int facility, int level, > logbuf_cpu = UINT_MAX; > raw_spin_unlock(_lock); > lockdep_on(); > + /* > + * By default we print message

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-22 Thread Dave Airlie
On 23 December 2015 at 03:38, Liviu Dudau wrote: > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: >> Hello, >> >> This is v2 of the patchset trying to make drm_of_component_probe() cope with >> finding >> both local crtc ports and remote encoder ones. Heiko Stübner was nice enough

Re: [BUG] File system corruption with 4.4-rc3 and beyond

2015-12-22 Thread Steven Rostedt
On Tue, 22 Dec 2015 16:17:25 -0800 Linus Torvalds wrote: > We *just* fixed this. It was pretty subtle, and the debugging went on > for several days. But the fixed got applied to the block tree earlier > today, and I just pulled it only 15 minutes ago and pushed it out just > now. Just my luck.

Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

2015-12-22 Thread James Bottomley
On Wed, 2015-12-23 at 11:56 +1100, Finn Thain wrote: > On Tue, 22 Dec 2015, Joe Perches wrote: > > > On Tue, 2015-12-22 at 12:18 +1100, Finn Thain wrote: > > > This patch is just the result of two substitutions. The first > removes > > > any tabs and spaces at the end of the line. The second

Re: [BUG] File system corruption with 4.4-rc3 and beyond

2015-12-22 Thread Steven Rostedt
On Tue, 22 Dec 2015 20:09:29 -0500 Steven Rostedt wrote: > On Tue, 22 Dec 2015 17:16:59 -0700 > Jens Axboe wrote: > > > I'm guessing it's the same issue that was recently diagnosed, which > > would make sense if you hit this on 32-bit with highmem. Patch is > > pending, if you feel inclined,

Re: [BUG] File system corruption with 4.4-rc3 and beyond

2015-12-22 Thread Ming Lei
On Wed, Dec 23, 2015 at 8:16 AM, Jens Axboe wrote: > On 12/22/2015 05:09 PM, Steven Rostedt wrote: >> >> OK, I started with 4.4-rc4 to add some urgent ftrace patches and >> started testing. My tests started to fail, and then I noticed they >> failed with v4.4-rc4 as well. I got strange errors.

Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

2015-12-22 Thread Joe Perches
On Wed, 2015-12-23 at 11:56 +1100, Finn Thain wrote: > On Tue, 22 Dec 2015, Joe Perches wrote: > > > On Tue, 2015-12-22 at 12:18 +1100, Finn Thain wrote: > > > This patch is just the result of two substitutions. The first removes  > > > any tabs and spaces at the end of the line. The second

Re: [BUG] File system corruption with 4.4-rc3 and beyond

2015-12-22 Thread Steven Rostedt
On Tue, 22 Dec 2015 17:16:59 -0700 Jens Axboe wrote: > I'm guessing it's the same issue that was recently diagnosed, which > would make sense if you hit this on 32-bit with highmem. Patch is > pending, if you feel inclined, it'd be great if you could add this patch > and retry: > >

[PATCH 2/4] f2fs: avoid unnecessary f2fs_gc for dir operations

2015-12-22 Thread Jaegeuk Kim
The f2fs_balance_fs doesn't need to cover f2fs_new_inode or f2fs_find_entry works. Signed-off-by: Jaegeuk Kim --- fs/f2fs/namei.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 2c32110..8d2616f 100644 ---

[PATCH 4/4] f2fs: call f2fs_balance_fs only when node was changed

2015-12-22 Thread Jaegeuk Kim
If user tries to update or read data, we don't need to call f2fs_balance_fs which triggers f2fs_gc, which increases unnecessary long latency. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 19 --- fs/f2fs/file.c | 26 +- fs/f2fs/inline.c | 4 3

[PATCH 3/4] f2fs: record node block allocation in dnode_of_data

2015-12-22 Thread Jaegeuk Kim
This patch introduces recording node block allocation in dnode_of_data. This information helps to figure out whether any node block is allocated during specific file operations. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 1 + fs/f2fs/f2fs.h | 1 + fs/f2fs/file.c | 1 + fs/f2fs/node.c | 4

[PATCH 1/4] f2fs: check inline_data flag at converting time

2015-12-22 Thread Jaegeuk Kim
We can check inode's inline_data flag when calling to convert it. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 8 +++- fs/f2fs/file.c | 58 ++-- fs/f2fs/inline.c | 3 +++ 3 files changed, 29 insertions(+), 40 deletions(-) diff

Re: [PATCH v3 68/77] ncr5380: Fix whitespace issues using regexp

2015-12-22 Thread Finn Thain
On Tue, 22 Dec 2015, Joe Perches wrote: > On Tue, 2015-12-22 at 12:18 +1100, Finn Thain wrote: > > This patch is just the result of two substitutions. The first removes > > any tabs and spaces at the end of the line. The second replaces runs > > of tabs and spaces at the beginning of comment

[PATCH v2 0/2] Change PAT to support mremap use-cases

2015-12-22 Thread Toshi Kani
This patch-set fixes two issues found in PAT when mremap() is used on a VM_PFNMAP range. Patch 1/2 fixes an issue for mremap() with MREMAP_FIXED, which moves a pfnmap from old vma to new vma. untrack_pfn_moved() is added to clear VM_PAT from old vma. Patch 2/2 fixes an issue for mremap() with a

[PATCH v2 2/2] x86/mm/pat: Change free_memtype() to support shrinking case

2015-12-22 Thread Toshi Kani
Using mremap() to shrink the map size of a VM_PFNMAP range causes the following error message, and leaves the pfn range allocated. x86/PAT: test:3493 freeing invalid memtype [mem 0x48320-0x4863f] This is because rbt_memtype_erase(), called from free_memtype() with spin_lock held, only

[PATCH v2 1/2] x86/mm/pat: Add untrack_pfn_moved for mremap

2015-12-22 Thread Toshi Kani
mremap() with MREMAP_FIXED on a VM_PFNMAP range causes the following WARN_ON_ONCE() message in untrack_pfn(). WARNING: CPU: 1 PID: 3493 at arch/x86/mm/pat.c:985 untrack_pfn+0xbd/0xd0() Call Trace: [] dump_stack+0x45/0x57 [] warn_slowpath_common+0x86/0xc0 [] warn_slowpath_null+0x1a/0x20

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2015-12-22 Thread Rob Herring
On Mon, Dec 21, 2015 at 10:24:08AM +0100, Ludovic Desroches wrote: > This driver supports the new version of the Atmel ADC device introduced > with the SAMA5D2 SoC family. > > Signed-off-by: Ludovic Desroches > --- > .../devicetree/bindings/iio/adc/at91_adc8xx.txt| 27 ++ >

Re: [PATCH v11 03/19] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-12-22 Thread Yakir Yang
Hi Jingoo, Thanks for your respond. On 12/22/2015 08:09 PM, Jingoo Han wrote: On Wednesday, December 16, 2015 12:28 PM, Yakir Yang wrote: link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove

Re: [PATCH v11 02/19] drm: bridge: analogix/dp: fix some obvious code style

2015-12-22 Thread Yakir Yang
On 12/22/2015 08:05 PM, Jingoo Han wrote: On Wednesday, December 16, 2015 12:26 PM, Yakir Yang wrote: Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski

Re: [PATCH v11 09/19] phy: Add driver for rockchip Display Port PHY

2015-12-22 Thread Yakir Yang
Hi Jingoo, Thanks for your respond. On 12/22/2015 08:20 PM, Jingoo Han wrote: On Wednesday, December 16, 2015 12:41 PM, Yakir Yang wrote: Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Signed-off-by: Yakir Yang

Re: [PATCH v11 06/19] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-12-22 Thread Yakir Yang
On 12/22/2015 08:13 PM, Jingoo Han wrote: On Wednesday, December 16, 2015 12:35 PM, Yakir Yang wrote: After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from

Re: [PATCH v3 5/5] hisilicon/dts: Add hi655x pmic dts node

2015-12-22 Thread Mark Brown
On Mon, Dec 21, 2015 at 02:20:16PM +0800, chenfeng wrote: Please fix your mail client to word wrap within paragraphs at something substantially less than 80 columns. Doing this makes your messages much easier to read and reply to. > While doing this in driver code, I found that it seems all the

Re: [PATCH 2/2] pci, pcie-thunder-pem: Add PCIe host driver for ThunderX processors.

2015-12-22 Thread Rob Herring
On Mon, Dec 21, 2015 at 05:53:42PM -0800, David Daney wrote: > From: David Daney > > Some Cavium ThunderX processors require quirky access methods for the > config space of the PCIe bridge. Add a driver to provide these config > space accessor functions. The pci-host-generic driver code is

Re: [PATCH v3 66/77] ncr5380: Fix soft lockups

2015-12-22 Thread Michael Schmitz
I'd like to think that, too - probably true for the Atari TT SCSI case (can do scatter-gather, can do more than one command per LUN). Worse for the Falcon SCSI which is the only one I can test (no scatter-gather, one command per LUN, interrupt shared with IDE and IDE driver locked out while SCSI

Re: [PATCH 1/3] mmc: sdhci-pci: Add AMD HS200 mode tuning function

2015-12-22 Thread Wan ZongShun
2015-12-22 17:52 GMT+08:00 Andy Shevchenko : > On Tue, Dec 22, 2015 at 6:40 PM, Wan Zongshun wrote: >> From: Wan Zongshun >> >> This patch is to add software tuning functions for AMD hs200 >> mode. >> >> Signed-off-by: Wan Zongshun >> --- >> drivers/mmc/host/sdhci-pci-core.c | 146 >>

[PATCH v3 2/6] drivers/staging/lustre: Fix set-but-unused whinge.

2015-12-22 Thread Valdis Kletnieks
drivers/staging/lustre/lustre/fid/lproc_fid.c: In function 'ldebugfs_fid_write_common': drivers/staging/lustre/lustre/fid/lproc_fid.c:67:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; We fix it by *using* the return code to help bulletproof it. It says it's

[PATCH v3 1/6] drivers/staging/lustre: Silence warning about 'inline'

2015-12-22 Thread Valdis Kletnieks
Low-hanging fruit first: CC [M] drivers/staging/lustre/lustre/fid/fid_request.o In file included from drivers/staging/lustre/lustre/fid/../include/lustre_net.h:66:0, from drivers/staging/lustre/lustre/fid/../include/lustre_lib.h:64, from

[PATCH v3 4/6] drivers/staging/lustre: Fix another C compiler whine: set but not used

2015-12-22 Thread Valdis Kletnieks
CC [M] drivers/staging/lustre/lustre/libcfs/module.o drivers/staging/lustre/lustre/libcfs/module.c: In function 'lustre_insert_debugfs': drivers/staging/lustre/lustre/libcfs/module.c:670:17: warning: variable 'entry' set but not used [-Wunused-but-set-variable] struct dentry *entry;

[PATCH v3 5/6] drivers/staging/lustre: Nuke an unsigned >= 0 assert

2015-12-22 Thread Valdis Kletnieks
Writing asserts for almost-never-can-happen things can be valuable. Writing an assert that tests that an "unsigned int" hasn't gone negative isn't. And it generates an *ugly* message: drivers/staging/lustre/lustre/llite/rw.c:763:20: warning: comparison of unsigned expression >= 0 is always true

[PATCH v3 6/6] drivers/staging/lustre: Nuke another unsigned >= 0 assert

2015-12-22 Thread Valdis Kletnieks
Clean up another case of the compiler remininding the programmer they are an idiot: drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c:308:34: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits] LASSERT(page_pools.epp_waitqlen >= 0); Just lose the assert, and save a

Re: [PATCH v2 2/2] dt-bindings: sound: add devicetree document for rt5616

2015-12-22 Thread Rob Herring
On Tue, Dec 22, 2015 at 01:45:03PM +0800, Caesar Wang wrote: > Add the description for rt5616 codec. > > Signed-off-by: Caesar Wang > > --- > > Changes in v2: > - As Frank comments, rt5616@1b to instead of rt5616. > - Update the Pins device from Bard. > > Changes in v1: > - As Heiko comments,

[PATCH v3 3/6] drivers/staging/lustre: Clean up another C warnining: set but not used

2015-12-22 Thread Valdis Kletnieks
drivers/staging/lustre/lustre/fid/../include/lustre_cfg.h: In function 'lustre_cfg_free': drivers/staging/lustre/lustre/fid/../include/lustre_cfg.h:253:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len; Yep, we're just gonna call kfree, no need to calculate len.

Re: [PATCH] [RFC] selftests/cgroupns: new test for cgroup namespaces

2015-12-22 Thread Serge Hallyn
Quoting Alban Crequy (alban.cre...@gmail.com): > From: Alban Crequy > > This adds the selftest "cgroupns_test" in order to test the CGroup > Namespace patchset. > > cgroupns_test creates two child processes. They perform a list of > actions defined by the array cgroupns_test. This array can

[PATCH v3 0/6] Patch series to make lustre safe(r) for W=1 compiles

2015-12-22 Thread Valdis Kletnieks
Start of a batch series to clean up the Lustre tree. Other people have done some sparse and checkpatch cleanups, but I found a bunch of stuff building with W=1. There's probably more, but this was the really low-hanging obvious fruit. Valdis Kletnieks (6): drivers/staging/lustre: Silence

Re: [PATCH v2] ARM: mm: flip priority of CONFIG_DEBUG_RODATA

2015-12-22 Thread Laura Abbott
On 12/22/2015 02:37 AM, Geert Uytterhoeven wrote: Hi Kees, Russell, On Wed, Dec 2, 2015 at 9:27 PM, Kees Cook wrote: The use of CONFIG_DEBUG_RODATA is generally seen as an essential part of kernel self-protection: http://www.openwall.com/lists/kernel-hardening/2015/11/30/13 Additionally, its

Re: [PATCH 2/5] watchdog: Separate and maintain variables based on variable lifetime

2015-12-22 Thread Guenter Roeck
On 12/22/2015 02:05 PM, Tomas Winkler wrote: > Do you see a situation where holding the lock between calls into the driver > might be a problem ? I don't think u are holding the lock now in watchdog_unregister when WDOG_UNREGISTERED was dropped. the lock is held while clearing the

Re: [PATCH v1 1/6] dt-bindings: misc: add document for reboot-mode driver

2015-12-22 Thread Rob Herring
On Tue, Dec 22, 2015 at 05:05:24PM +0800, Andy Yan wrote: > add device tree bindings document for reboot-mode driver > > Signed-off-by: Andy Yan > > --- > > Changes in v1: None > > .../devicetree/bindings/misc/reboot-mode.txt | 41 > ++ > 1 file changed, 41

[PATCH] gicv2m: Miscellaneous fixes for V2m resources and SPI ranges

2015-12-22 Thread Suravee Suthikulpanit
This patch contain fixes for v2m resources and SPI ranges: * Fix off-by-one error when set up v2m resource end range in gicv2m_acpi_init(). * Fix the off-by-one print error for SPI range. * Use %pR to properly print resource range information. Both ACPI and DT should now print:

  1   2   3   4   5   6   7   8   9   10   >