[PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-05-24 Thread Bryant G. Ly
From: bgly This initial commit contains WIP of the IBM VSCSI Target Fabric Module. It currently supports read/writes, and I have tested the ability to create a file backstore with the driver and install RHEL VIA NIM and then boot up the partition via filio backstore through the driver. Signed-of

Re: [PATCH 3.12 00/76] 3.12.60-stable review

2016-05-24 Thread Jiri Slaby
On 05/24/2016, 02:58 PM, Shuah Khan wrote: > On 05/19/2016 03:08 AM, Jiri Slaby wrote: >> This is the start of the stable review cycle for the 3.12.60 release. >> There are 76 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these being applied

Re: [PATCH] mm: oom_kill_process: do not abort if the victim is exiting

2016-05-24 Thread Michal Hocko
On Tue 24-05-16 15:24:02, Vladimir Davydov wrote: > After selecting an oom victim, we first check if it's already exiting > and if it is, we don't bother killing tasks sharing its mm. We do try to > reap its mm though, but we abort if any of the processes sharing it is > still alive. This might res

Re: [PATCH 1/2] drm/exynos: g2d: Add support for old S5Pv210 type

2016-05-24 Thread Krzysztof Kozlowski
On 05/24/2016 03:49 PM, Tobias Jakobi wrote: > Hello Krzysztof, > > are you sure that these are the only differences. Because AFAIK there > are quite a few more: > - DMA submission of commands > - blend mode / rounding > - solid fill > - YCrCb support > - and probably more > > One would need to a

Re: [PATCH 1/2] drm/exynos: g2d: Add support for old S5Pv210 type

2016-05-24 Thread Tobias Jakobi
Hello Krzysztof, are you sure that these are the only differences. Because AFAIK there are quite a few more: - DMA submission of commands - blend mode / rounding - solid fill - YCrCb support - and probably more One would need to add least split the command list parser into a v3 and v41 version to

Re: v4.6 kernel BUG at mm/rmap.c:1101!

2016-05-24 Thread Andrea Arcangeli
On Tue, May 24, 2016 at 11:12:23AM +0300, Mika Westerberg wrote: > Hmm, the kernel shipped with Fedora 23 has that enabled: > > lahna % grep CONFIG_DEBUG_VM /boot/config-4.4.9-300.fc23.x86_64 > CONFIG_DEBUG_VM=y > # CONFIG_DEBUG_VM_VMACACHE is not set > # CONFIG_DEBUG_VM_RB is not set Yes, it wo

Re: [PATCH] arm64: defconfig: Enable cros-ec and battery driver

2016-05-24 Thread Jon Hunter
Hi Rhyland, On 03/05/16 16:45, Rhyland Klein wrote: > Enable the ChromeOS Embedded Controller, its I2C tunnel driver, and > the BA27XXX battery driver. These are all used on the Tegra210 Smaug > platform. > > Signed-off-by: Rhyland Klein I tried booting with this patch with next-20160523 on the

can't boot with reiserfs on linux-4.6.0+

2016-05-24 Thread Jeff Chua
Seems to break after index 348619f..d55dc5a 100644 Boot up with ext4 works, but try anything to access anything on the reiser partition such as "/mnt/bin/passwd" resulted in the following ... [ 93.380353] BUG: unable to handle kernel NULL pointer dereference at (null) [ 93.380924] I

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-05-24 Thread Joe Perches
On Tue, 2016-05-24 at 08:52 -0500, Bryant G. Ly wrote: > From: bgly > > This initial commit contains WIP of the IBM VSCSI Target Fabric > Module. It currently supports read/writes, and I have tested > the ability to create a file backstore with the driver and install > RHEL VIA NIM and then boot

Re: [RFC PATCH] usb: gadget: Introduce Cadence USB2 UDC Driver

2016-05-24 Thread Neil Armstrong
Hi Felipe, Laurent, I submitted this driver for a Cadence IP library from a now abandoned project. The driver was working on a SoC platform ported on a FPGA, but I do not have access to this HW anymore. But I have a fixed version... Now, I am looking for SoCs, vendors and even Cadence people (

Re: [RFC PATCH 2/2] lightnvm: Append device name to target name

2016-05-24 Thread Matias Bjørling
On 05/23/2016 03:31 PM, Wenwei Tao wrote: Eh.. my lock patch can only prevent concurrent creation of the same name target on the same backend device, not the concurrent creation of same name target on different backend devices, since target management is protect by per device's gn->lock not the

Re: [PATCHv2 2/3] drm/imx: convey the pixelclk-active and de-active flags from DT to the ipu-di driver

2016-05-24 Thread Philipp Zabel
Hi Lothar, thank you for rebasing. I have applied the other two patches. With this one, I'd like to avoid the duplicated code. See below: Am Dienstag, den 24.05.2016, 08:31 +0200 schrieb Lothar Waßmann: > Currently these flags are lost in the call > drm_display_mode_from_videomode() > > Signed-o

Re: [PATCH] bcache: bch_writeback_thread() is not freezable

2016-05-24 Thread Jens Axboe
On 05/23/2016 05:05 PM, Jiri Kosina wrote: On Wed, 18 May 2016, Jiri Kosina wrote: bch_writeback_thread() is calling try_to_freeze(), but that's just an expensive no-op given the fact that the thread is not marked freezable. I/O helper kthreads, exactly such as the bcache writeback thread, act

Re: [PATCH] bcache: bch_writeback_thread() is not freezable

2016-05-24 Thread Jiri Kosina
On Tue, 24 May 2016, Jens Axboe wrote: > > Ok, I call it officially ridiculous now. I guess I'll be resending through > > akpm. > > You can just send it to me, I've funneled bcache stable fixes before. > > > Is it a time to claim (by MAINTAINERS entry) the in-tree bcache orphaned? > > I think s

Re: [PATCH] NVMe: Only release requested regions

2016-05-24 Thread Keith Busch
On Tue, May 24, 2016 at 02:19:17AM -0700, Christoph Hellwig wrote: > On Tue, May 24, 2016 at 11:15:52AM +0200, Johannes Thumshirn wrote: > > As I've probably missed v4.7, is it possible to get it for v4.8? > > Or should I take on the PCI helper functions Christoph suggested first? > > Let's get th

Re: [PATCH] usb: core: add debugobjects support for urb object

2016-05-24 Thread Alan Stern
On Tue, 24 May 2016 changbin...@intel.com wrote: > From: "Du, Changbin" > > Add debugobject support to track the life time of struct urb. > This feature help us detect violation of urb operations by > generating a warning message from debugobject core. I'm pretty sure the USB core already does

[PATCH v5] platform:x86: Add PMC Driver for Intel Core SoC

2016-05-24 Thread Rajneesh Bhardwaj
This patch adds the Power Management Controller driver as a pci driver for Intel Core SoC architecture. This driver can utilize debugging capabilities and supported features as exposed by the Power Management Controller. Please refer to the below specification for more details on PMC features. ht

[PATCH v3] drm/i915/ilk: Don't disable SSC source if it's in use

2016-05-24 Thread Lyude
Thanks to Ville Syrjälä for pointing me towards the cause of this issue. Unfortunately one of the sideaffects of having the refclk for a DPLL set to SSC is that as long as it's set to SSC, the GPU will prevent us from powering down any of the pipes or transcoders using it. A couple of BIOSes enabl

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-05-24 Thread Greg KH
On Tue, May 24, 2016 at 08:52:58AM -0500, Bryant G. Ly wrote: > From: bgly Really? Please go get a proper review from the other internal IBM developers to fix this, and the other obvious problems with your patch, before you send it publically and force us to tell you these things... thanks, gr

RE: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-24 Thread Li, Liang Z
> > > > > This can be pre-initialized, correct? > > > > > > > > pre-initialized? I am not quite understand your mean. > > > > > > I think you can maintain sg as part of device state and init sg with the > bitmap. > > > > > > > I got it. > > > > > > > This is grossly inefficient if you only requeste

RE: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-24 Thread Gabriele Paoloni
Hi Jon > -Original Message- > From: Jon Masters [mailto:j...@redhat.com] > Sent: 24 May 2016 02:11 > To: Bjorn Helgaas > Cc: Gabriele Paoloni; Lorenzo Pieralisi; Ard Biesheuvel; Tomasz > Nowicki; a...@arndb.de; will.dea...@arm.com; catalin.mari...@arm.com; > raf...@kernel.org; hanjun@l

Re: [PATCH V7 00/11] Support for generic ACPI based PCI host controller

2016-05-24 Thread Jon Masters
Hi Gabriele, all, On 05/24/2016 03:23 AM, Gabriele Paoloni wrote: >> Sorry Gab, I guess I was really responding to earlier messages :) >> >> I don't really have much to say here, except that it doesn't seem >> right to have an MCFG that describes a non-standard ECAM mapping. > > The ACPI table t

[RFC][PATCH 2/3] locking: Annotate spin_unlock_wait() users

2016-05-24 Thread Peter Zijlstra
spin_unlock_wait() has an unintuitive 'feature' in that it doesn't fully serialize against the spin_unlock() we've waited on. In particular, spin_unlock_wait() only provides a control dependency, which is a LOAD->STORE order. This means subsequent loads can creep up and observe state prior to the

[PATCH 1/4] bcache: bch_writeback_thread() is not freezable

2016-05-24 Thread Jiri Kosina
From: Jiri Kosina bch_writeback_thread() is calling try_to_freeze(), but that's just an expensive no-op given the fact that the thread is not marked freezable. I/O helper kthreads, exactly such as the bcache writeback thread, actually shouldn't be freezable, because they are potentially necess

[RFC][PATCH 0/3] spin_unlock_wait and assorted borkage

2016-05-24 Thread Peter Zijlstra
As per recent discussions spin_unlock_wait() has an unintuitive 'feature'. lkml.kernel.org/r/20160520053926.gc31...@linux-uzut.site These patches pull the existing solution into generic code; annotate all spin_unlock_wait() users and fix nf_conntrack more. The alternative -- putting smp_acquir

Re: [RFC PATCH 2/2] lightnvm: Append device name to target name

2016-05-24 Thread Wenwei Tao
It's fine to allow the user to define a device name as long as hold the global lock and link the targets into a global list but that may against the idea to move the target management into media mgr. 2016-05-24 22:17 GMT+08:00 Matias Bjørling : > On 05/23/2016 03:31 PM, Wenwei Tao wrote: >> >> Eh.

[RFC][PATCH 3/3] locking,netfilter: Fix nf_conntrack_lock()

2016-05-24 Thread Peter Zijlstra
nf_conntrack_lock{,_all}() is borken as it misses a bunch of memory barriers to order the whole global vs local locks scheme. Even x86 (and other TSO archs) are affected. Signed-off-by: Peter Zijlstra (Intel) --- net/netfilter/nf_conntrack_core.c | 30 +- 1 file ch

Re: [RFC PATCH] usb: gadget: Introduce Cadence USB2 UDC Driver

2016-05-24 Thread Felipe Balbi
Hi, (please break lines at 80-columns and don't top-post ;) Neil Armstrong writes: > [ Unknown signature status ] > Hi Felipe, Laurent, > > I submitted this driver for a Cadence IP library from a now abandoned > project. > > The driver was working on a SoC platform ported on a FPGA, but I do >

[PATCH 4/4] MAINTAINERS: mark bcache as orphan

2016-05-24 Thread Jiri Kosina
The submitted patches are not being reacted upon, and Jens is only picking up stable fixes on an rather ad-hoc basis. Link: lkml.kernel.org/r/574462c5.40...@kernel.dk Signed-off-by: Jiri Kosina --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAI

[PATCH 3/4] bcache: bch_gc_thread() is not freezable

2016-05-24 Thread Jiri Kosina
From: Jiri Kosina bch_gc_thread() doesn't mark itself freezable, so calling try_to_freeze() in its context is just an expensive no-op. Signed-off-by: Jiri Kosina --- drivers/md/bcache/btree.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/bt

[PATCH 2/4] bcache: bch_allocator_thread() is not freezable

2016-05-24 Thread Jiri Kosina
From: Jiri Kosina bch_allocator_thread() is calling try_to_freeze(), but that's just an expensive no-op given the fact that the thread is not marked freezable. Bucket allocator has to be up and running to the very last stages of the suspend, as the bcache I/O that's in flight (think of writing

Re: [PATCH v2] kernel/kcov: unproxify debugfs file's fops

2016-05-24 Thread Greg Kroah-Hartman
d can be found at > > http://lkml.kernel.org/g/1464011147-31836-1-git-send-email-nicsta...@gmail.com > > Changes to v1: > - Following the suggestion of Kees Cook, a comment explaining why the use >of debugfs_create_file_unsafe() is actually safe there has been added. > >

[RFC][PATCH 1/3] locking: Introduce smp_acquire__after_ctrl_dep

2016-05-24 Thread Peter Zijlstra
Introduce smp_acquire__after_ctrl_dep(), this construct is not uncommen, but the lack of this barrier is. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/compiler.h | 14 ++ ipc/sem.c| 14 ++ 2 files changed, 12 insertions(+), 16 deletions(-)

Re: [RFC][PATCH 3/3] locking,netfilter: Fix nf_conntrack_lock()

2016-05-24 Thread Peter Zijlstra
On Tue, May 24, 2016 at 04:27:26PM +0200, Peter Zijlstra wrote: > nf_conntrack_lock{,_all}() is borken as it misses a bunch of memory > barriers to order the whole global vs local locks scheme. > > Even x86 (and other TSO archs) are affected. > > Signed-off-by: Peter Zijlstra (Intel) > --- > ne

Re: [PATCH 4/4] MAINTAINERS: mark bcache as orphan

2016-05-24 Thread Joe Perches
On Tue, 2016-05-24 at 16:38 +0200, Jiri Kosina wrote: > The submitted patches are not being reacted upon, and Jens is only picking  > up stable fixes on an rather ad-hoc basis. > > Link: lkml.kernel.org/r/574462c5.40...@kernel.dk > Signed-off-by: Jiri Kosina > --- >  MAINTAINERS | 2 +- >  1 file

Re: [PATCH] PCI/ASPM: fix reverse ASPM L0s assignment of upstream and downstream

2016-05-24 Thread Sinan Kaya
On 5/24/2016 7:53 AM, Bjorn Helgaas wrote: > On Tue, May 24, 2016 at 06:29:44AM +, Ocean HY1 He wrote: >> > In pcie_config_aspm_link(), when convert ASPM state to >> > upstream/downstream ASPM register state, the upstream variable and >> > dwsream variable are reversed. This causes PCI/E link e

Re: [PATCH] usb: core: add debugobjects support for urb object

2016-05-24 Thread Greg KH
On Tue, May 24, 2016 at 03:53:53PM +0800, changbin...@intel.com wrote: > From: "Du, Changbin" > > Add debugobject support to track the life time of struct urb. > This feature help us detect violation of urb operations by > generating a warning message from debugobject core. And we fix > the possi

BUG: drm, nouveau: slab-out-of-bounds read access in nv50_fbcon_imageblit()

2016-05-24 Thread Jerome Marchand
While testing a kernel with KASan enabled I've encountered several out-of-bounds read warning in the nouveau driver. It seems to be caused by inconsistent alignment requirements. The function soft_cursor() (which I assume draw the cursor on the console) calls fb_get_buffer_offset() which make sur

Re: v4.6 kernel BUG at mm/rmap.c:1101!

2016-05-24 Thread Mika Westerberg
On Tue, May 24, 2016 at 04:08:09PM +0200, Andrea Arcangeli wrote: > On Tue, May 24, 2016 at 11:12:23AM +0300, Mika Westerberg wrote: > > Hmm, the kernel shipped with Fedora 23 has that enabled: > > > > lahna % grep CONFIG_DEBUG_VM /boot/config-4.4.9-300.fc23.x86_64 > > CONFIG_DEBUG_VM=y > > # CON

Re: [RFC PATCH v1 10/18] x86/efi: Access EFI related tables in the clear

2016-05-24 Thread Tom Lendacky
On 05/12/2016 01:20 PM, Tom Lendacky wrote: > On 05/10/2016 08:57 AM, Borislav Petkov wrote: >> On Tue, May 10, 2016 at 02:43:58PM +0100, Matt Fleming wrote: >>> Is it not possible to maintain some kind of kernel virtual address >>> mapping so memremap*() and friends can figure out when to twiddle

[PATCH] perf/x86/intel/rapl: fix pmus free during cleanup

2016-05-24 Thread Vincent Stehlé
On rapl cleanup path, kfree() is given by mistake the address of the pointer of the structure to free (rapl_pmus->pmus + i). Pass the pointer instead (rapl_pmus->pmus[i]). This was introduced by commit 9de8d686955b0e8e27847ed4edbbcd280f3fd8 ("perf/x86/intel/rapl: Convert it to a per package facili

[GIT PULL] xen: bug fixes for 4.7-rc0

2016-05-24 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-4.7-rc0-tag xen: bug fixes for 4.7-rc0 Thanks. David arch/x86/pci/xen.c | 7 +++-- arch/x86/xen/setup.c |

Re: [PATCH 2/3] perf util: Move get_main_thread to thread.c

2016-05-24 Thread Arnaldo Carvalho de Melo
Em Mon, May 23, 2016 at 05:52:24PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > Move the get_main_thread function from db-export.c to thread.c > so that it can be used elsewhere. After removing the db-export.h leftover junk, applied. - Arnaldo > Signed-off-by: Andi Kleen > --- > tool

Re: [PATCH 1/3] perf pt: Mark PT return events as "return"

2016-05-24 Thread Arnaldo Carvalho de Melo
Em Mon, May 23, 2016 at 05:52:23PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > With perf script --itrace=cr we can synthesize calls and returns out of > a PT log. However both calls and returns are marked with the same event, > called branches. This makes it difficult to read and post proc

[RFC PATCH] tools:iio: Rename generic_buffer

2016-05-24 Thread Daniel Baluta
The new name is in agreement with convention for tools/iio programs. Signed-off-by: Daniel Baluta --- tools/iio/Makefile | 6 +- tools/iio/generic_buffer.c | 581 - tools/iio/iio_generic_buffer.c | 581

Re: [PATCH 06/16] sched: Disable WAKE_AFFINE for asymmetric configurations

2016-05-24 Thread Morten Rasmussen
On Tue, May 24, 2016 at 03:52:00PM +0200, Vincent Guittot wrote: > On 24 May 2016 at 15:36, Morten Rasmussen wrote: > > On Tue, May 24, 2016 at 03:27:05PM +0200, Vincent Guittot wrote: > >> On 24 May 2016 at 15:16, Morten Rasmussen wrote: > >> > On Tue, May 24, 2016 at 02:12:38PM +0200, Vincent G

Re: [PATCH] mm: oom_kill_process: do not abort if the victim is exiting

2016-05-24 Thread Tetsuo Handa
Michal Hocko wrote: > On Tue 24-05-16 15:24:02, Vladimir Davydov wrote: > > After selecting an oom victim, we first check if it's already exiting > > and if it is, we don't bother killing tasks sharing its mm. We do try to > > reap its mm though, but we abort if any of the processes sharing it is >

[PATCH v1 3/3] V4L: add VP9 format documentation

2016-05-24 Thread Wu-Cheng Li
Add documentation for V4L2_PIX_FMT_VP9. Signed-off-by: Wu-Cheng Li --- Documentation/DocBook/media/v4l/pixfmt.xml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/DocBook/media/v4l/pixfmt.xml b/Documentation/DocBook/media/v4l/pixfmt.xml index 5a08aee..ab915c3 100644 --- a/

[PATCH v1 0/3] Add V4L2_PIX_FMT_VP9

2016-05-24 Thread Wu-Cheng Li
This patch series add V4L2_PIX_FMT_VP9 and the documentation. Wu-Cheng Li (3): videodev2.h: add V4L2_PIX_FMT_VP9 format. v4l2-ioctl: add VP9 format description. V4L: add VP9 format documentation Documentation/DocBook/media/v4l/pixfmt.xml | 5 + drivers/media/v4l2-core/v4l2-ioctl.c

[PATCH v1 2/3] v4l2-ioctl: add VP9 format description.

2016-05-24 Thread Wu-Cheng Li
VP9 is a video coding format and a successor to VP8. Signed-off-by: Wu-Cheng Li --- drivers/media/v4l2-core/v4l2-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 28e5be2..8f3e631 100644 --- a/drivers/me

[PATCH v1 1/3] videodev2.h: add V4L2_PIX_FMT_VP9 format.

2016-05-24 Thread Wu-Cheng Li
This adds VP9 video coding format, a successor to VP8. Signed-off-by: Wu-Cheng Li --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 8f95191..a95f940 100644 --- a/include/uapi/linux/videodev

[RFC PATCH v2] tools: iio: Rename generic_buffer to iio_generic_buffer

2016-05-24 Thread Daniel Baluta
This makes it clear that generic_buffer is an IIO tool and also complies with filename conventions in tools/iio. Signed-off-by: Daniel Baluta --- Changes since v1: * use -M to detect renames and make the patch easier to review tools/iio/Makefile | 6 +++

Re: [PATCH 1/4] bcache: bch_writeback_thread() is not freezable

2016-05-24 Thread Jens Axboe
On 05/24/2016 08:38 AM, Jiri Kosina wrote: From: Jiri Kosina bch_writeback_thread() is calling try_to_freeze(), but that's just an expensive no-op given the fact that the thread is not marked freezable. I/O helper kthreads, exactly such as the bcache writeback thread, actually shouldn't be fre

RE: livepatch: change to a per-task consistency model

2016-05-24 Thread David Laight
From: Jiri Kosina > Sent: 23 May 2016 19:45 > > Related, please can we have a flag for the sleep and/or process so that > > an uninterruptible sleep doesn't trigger the 'hung task' detector > > TASK_KILLABLE Not sure that does what I want. It appears to allow some 'kill' actions to wake the proc

Re: [PATCH RFC kernel] balloon: speed up inflating/deflating process

2016-05-24 Thread Michael S. Tsirkin
On Tue, May 24, 2016 at 02:36:08PM +, Li, Liang Z wrote: > > > > > > This can be pre-initialized, correct? > > > > > > > > > > pre-initialized? I am not quite understand your mean. > > > > > > > > I think you can maintain sg as part of device state and init sg with the > > bitmap. > > > > > > >

Re: [PATCH 1/1] arm64: fix flush_cache_range

2016-05-24 Thread Mark Rutland
On Tue, May 24, 2016 at 08:19:05PM +0800, Leizhen (ThunderTown) wrote: > > > On 2016/5/24 19:37, Mark Rutland wrote: > > On Tue, May 24, 2016 at 07:16:37PM +0800, Zhen Lei wrote: > >> When we ran mprotect04(a test case in LTP) infinitely, it would always > >> failed after a few seconds. The case

Re: [Nbd] [PATCH] NBD: replace kill_bdev() with __invalidate_device()

2016-05-24 Thread Wouter Verhelst
On Thu, May 19, 2016 at 08:35:03AM +0200, Markus Pargmann wrote: > Hi Wouter, > > On Sun, May 15, 2016 at 02:55:39PM +0200, Wouter Verhelst wrote: > > Hi Markus, > > > > On Thu, May 12, 2016 at 11:53:01AM +0200, Markus Pargmann wrote: > > > On Thursday 28 April 2016 18:27:34 Wouter Verhelst wrote

Re: [PATCH 16/54] MAINTAINERS: Add file patterns for drm device tree bindings

2016-05-24 Thread Emil Velikov
On 23 May 2016 at 13:35, Rob Herring wrote: > On Mon, May 23, 2016 at 4:33 AM, Emil Velikov > wrote: >> On 22 May 2016 at 10:05, Geert Uytterhoeven wrote: >>> Submitters of device tree binding documentation may forget to CC >>> the subsystem maintainer if this is missing. >>> >>> Signed-off-by:

BUG: slab-out-of-bounds in bio_alloc_bioset

2016-05-24 Thread Baozeng Ding
Hi all, I've got the following report (slab-out-of-bounds in bio_alloc_bioset) while running syzkaller.The kernel version is 4.6.0-rc7+. (I can reproduce it with syzkaller).Thanks. BUG: KASAN: slab-out-of-bounds in memcpy+0x1d/0x40 at addr 8800187a9030 Read of size 4096 by task syz-execut

Re: bpf: use-after-free in array_map_alloc

2016-05-24 Thread Tejun Heo
Hello, On Tue, May 24, 2016 at 10:40:54AM +0200, Vlastimil Babka wrote: > [+CC Marco who reported the CVE, forgot that earlier] > > On 05/23/2016 11:35 PM, Tejun Heo wrote: > > Hello, > > > > Can you please test whether this patch resolves the issue? While > > adding support for atomic allocati

Re: [PATCH] power_suply: isp1704_charger: Fix isp1704_write() definition

2016-05-24 Thread Pali Rohár
On Thursday 19 May 2016 11:13:04 Pali Rohár wrote: > On Saturday 09 January 2016 23:42:30 Pali Rohár wrote: > > On Friday 01 January 2016 12:26:21 Pali Rohár wrote: > > > On Friday 01 January 2016 12:03:29 Ivaylo Dimitrov wrote: > > > > All calls to isp1704_write() are using parameter sequence of >

Re: [RFC PATCH] usb: gadget: Introduce Cadence USB2 UDC Driver

2016-05-24 Thread Laurent Pinchart
Hi Neil, On Tuesday 24 May 2016 16:16:16 Neil Armstrong wrote: > Hi Felipe, Laurent, > > I submitted this driver for a Cadence IP library from a now abandoned > project. > > The driver was working on a SoC platform ported on a FPGA, but I do not have > access to this HW anymore. > > But I have

Re: [PATCH v2 4/5] iommu/mediatek: add support for mtk iommu generation one HW

2016-05-24 Thread Robin Murphy
On 24/05/16 10:57, Honghui Zhang wrote: [...] @@ -48,6 +48,9 @@ struct mtk_iommu_domain { struct io_pgtable_ops *iop; struct iommu_domain domain; + void*pgt_va; + dma_addr_t pgt_pa; + void

Re: [PATCH 06/16] sched: Disable WAKE_AFFINE for asymmetric configurations

2016-05-24 Thread Vincent Guittot
On 24 May 2016 at 17:02, Morten Rasmussen wrote: > On Tue, May 24, 2016 at 03:52:00PM +0200, Vincent Guittot wrote: >> On 24 May 2016 at 15:36, Morten Rasmussen wrote: >> > On Tue, May 24, 2016 at 03:27:05PM +0200, Vincent Guittot wrote: >> >> On 24 May 2016 at 15:16, Morten Rasmussen >> >> wro

Re: [PATCH v4 10/21] fs: Check for invalid i_uid in may_follow_link()

2016-05-24 Thread Djalal Harouni
On Tue, Apr 26, 2016 at 02:36:23PM -0500, Seth Forshee wrote: > Filesystem uids which don't map into a user namespace may result > in inode->i_uid being INVALID_UID. A symlink and its parent > could have different owners in the filesystem can both get > mapped to INVALID_UID, which may result in fo

Re: [PATCH v3] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-05-24 Thread Yongji Xie
On 2016/5/23 23:20, Alex Williamson wrote: On Mon, 23 May 2016 11:45:34 +0800 Yongji Xie wrote: On 2016/5/20 6:33, Alex Williamson wrote: On Thu, 12 May 2016 18:20:51 +0800 Yongji Xie wrote: Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs because

Re: can't boot with reiserfs on linux-4.6.0+

2016-05-24 Thread Al Viro
On Tue, May 24, 2016 at 10:10:18PM +0800, Jeff Chua wrote: > Seems to break after index 348619f..d55dc5a 100644 > > Boot up with ext4 works, but try anything to access anything on the > reiser partition such as "/mnt/bin/passwd" resulted in the following > ... > > [ 93.380353] BUG: unable to han

[PATCH net 2/2] net: hwbm: Fix unbalanced spinlock in error case

2016-05-24 Thread Gregory CLEMENT
When hwbm_pool_add exited in error the spinlock was not released. This patch fixes this issue. Fixes: 8cb2d8bf57e6 ("net: add a hardware buffer management helper API") Reported-by: Jean-Jacques Hiblot Cc: Signed-off-by: Gregory CLEMENT --- net/core/hwbm.c | 3 +++ 1 file changed, 3 insertions(

[PATCH net 1/2] net: mvneta: Fix lacking spinlock initialization

2016-05-24 Thread Gregory CLEMENT
The spinlock used by the hwbm functions must be initialized by the network driver. This commit fixes this lack and the following erros when lockdep is enabled: INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. []

Re: [PATCH 1/2] drm/exynos: g2d: Add support for old S5Pv210 type

2016-05-24 Thread Tobias Jakobi
Hello Krzysztof, Krzysztof Kozlowski wrote: > On 05/24/2016 03:49 PM, Tobias Jakobi wrote: >> Hello Krzysztof, >> >> are you sure that these are the only differences. Because AFAIK there >> are quite a few more: >> - DMA submission of commands >> - blend mode / rounding >> - solid fill >> - YCrCb

[PATCH net 0/2] Fix spinlock usage in HWBM

2016-05-24 Thread Gregory CLEMENT
Hi, these two patches fix spinlock related issues introduced in v4.6. They have been reported by Russell King and Jean-Jacques Hiblot. Thanks to them, Gregory Gregory CLEMENT (2): net: mvneta: Fix lacking spinlock initialization net: hwbm: Fix unbalanced spinlock in error case drivers/net

Re: [PATCH][v7] x86, suspend: Save/restore extra MSR registers for suspend

2016-05-24 Thread Len Brown
+mjg59, who may be seeing this issue on a skylake laptop Chen-yu, Great debugging, but I think there is a more general fix possible than this DMI quirk. I agree that in this example, a grantley server, it seems the BIOS is erroneously returning a bogus value of MSR_IA32_THERM_CONTROL on resume f

Re: can't boot with reiserfs on linux-4.6.0+

2016-05-24 Thread Linus Torvalds
On Tue, May 24, 2016 at 8:59 AM, Al Viro wrote: > > Umm... Any chance of getting the function names to go with the addresses? > I'll try to reproduce it here, but the things would be easier with that > information... Yeah, we shouldn't even allow non-KALLSYMS builds. In fact, unless you pick EXP

Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c

2016-05-24 Thread Larry Finger
On 05/23/2016 07:18 PM, Al Viro wrote: On Mon, May 23, 2016 at 04:30:43PM -0500, Larry Finger wrote: The mainline kernels past 4.6.0 fail hang when logging in. There are no error messages, and the machine seems to be waiting for some event that never happens. The problem has been bisected to co

[PATCH] mailbox: mailbox-test: set tdev->signal to NULL after freeing

2016-05-24 Thread Sudeep Holla
tdev->signal is not set NULL after it's freed. This will cause random exceptions when the stale pointer is accessed after tdev->signal is freed. Also, since tdev->signal allocation is skipped the next time it's written, this leads to continuous fault finally leading to the total death of the system

Re: [RFC][PATCH 2/3] locking: Annotate spin_unlock_wait() users

2016-05-24 Thread Linus Torvalds
On Tue, May 24, 2016 at 7:27 AM, Peter Zijlstra wrote: > spin_unlock_wait() has an unintuitive 'feature' in that it doesn't > fully serialize against the spin_unlock() we've waited on. NAK. We don't start adding more of this "after_ctrl_dep" crap. It's completely impossible to understand, and e

Re: [RFC][PATCH 2/3] locking: Annotate spin_unlock_wait() users

2016-05-24 Thread Tejun Heo
Hello, On Tue, May 24, 2016 at 09:17:13AM -0700, Linus Torvalds wrote: > So don't talk about "acquire". And most certainly don't talk about > "control dependencies". Not if we end up having things like *drivers* > using this like in this example libata. A delta but that particular libata usage is

Applied "ASoC: rockchip: i2s: rename I2S_CKR_TRCM_TX/RXSHARE to I2S_CKR_TRCM_TX/RXONLY" to the asoc tree

2016-05-24 Thread Mark Brown
The patch ASoC: rockchip: i2s: rename I2S_CKR_TRCM_TX/RXSHARE to I2S_CKR_TRCM_TX/RXONLY has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in

Re: [PATCH 1/3] perf pt: Mark PT return events as "return"

2016-05-24 Thread Adrian Hunter
On 24/05/2016 5:57 p.m., Arnaldo Carvalho de Melo wrote: Em Mon, May 23, 2016 at 05:52:23PM -0700, Andi Kleen escreveu: From: Andi Kleen With perf script --itrace=cr we can synthesize calls and returns out of a PT log. However both calls and returns are marked with the same event, called branc

Re: [PATCH v2] xen: use vma_pages().

2016-05-24 Thread Boris Ostrovsky
On 05/23/2016 08:04 PM, Muhammad Falak R Wani wrote: > Replace explicit computation of vma page count by a call to > vma_pages(). > > Signed-off-by: Muhammad Falak R Wani Reviewed-by: Boris Ostrovsky

Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c

2016-05-24 Thread Al Viro
On Tue, May 24, 2016 at 11:10:09AM -0500, Larry Finger wrote: > For now, the following one-line hack allows my system to boot: > > diff --git a/fs/read_write.c b/fs/read_write.c > index 933b53a..d5d64d9 100644 > --- a/fs/read_write.c > +++ b/fs/read_write.c > @@ -721,6 +721,7 @@ static ssize_t do

Re: [PATCH 2/3] Define fb_open_adj_file()

2016-05-24 Thread Max Staudt
Hi Daniel, Thanks for the feedback! Comments below: On 05/23/2016 03:44 PM, Daniel Vetter wrote: > Do we _really_ care about fbdev mmap support so much that we want to add > more hacks all over the place (in each driver) to make it work? Given that > fbdev is officially in the "no more drivers"

[GIT PULL] ext4 updates for 4.7

2016-05-24 Thread Theodore Ts'o
Note: there are some merge conflicts in the Direct I/O handling code. The resolution of them is in linux-next, as well as here: http://git.kernel.org/cgit/linux/kernel/git/tytso/ext4.git/commit/?h=trial-merge Also see below for the output of "git show trial-merge". (I couldn't figure out a w

Re: [PATCH 3/3] ARM: configs: keystone: Enable PINCTRL_SINGLE Config

2016-05-24 Thread Santosh Shilimkar
Hi Keerthy, On 5/23/2016 8:56 PM, Keerthy wrote: On Tuesday 24 May 2016 09:07 AM, Lokesh Vutla wrote: On Monday 23 May 2016 05:59 PM, Keerthy wrote: keystone-k2l devices use pinmux and are compliant with PINCTRL_SINGLE. Hence enable the config option. Signed-off-by: Keerthy A similar p

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-05-24 Thread Greg KH
On Tue, May 24, 2016 at 09:25:05AM -0700, Bart Van Assche wrote: > > +static inline long h_send_crq(struct ibmvscsis_adapter *adapter, > > + u64 word1, u64 word2) > > +{ > > + long rc; > > + struct vio_dev *vdev = adapter->dma_dev; > > + > > + pr_debug("ibmvscsis: ibmvscsis_

[PATCH] perf/x86/intel/rapl: add skylake server

2016-05-24 Thread Jacob Pan
SKX uses similar RAPL interface as Broadwell server. Signed-off-by: Jacob Pan --- arch/x86/events/intel/rapl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/intel/rapl.c b/arch/x86/events/intel/rapl.c index 1705c9d..70af62a 100644 --- a/arch/x86/events/intel/rapl.c +++ b/ar

Re: [PATCH] mm: fix build problems from lookup_page_ext

2016-05-24 Thread Shi, Yang
Hi Arnd, Thanks a lot for the patch. My bad, sorry for the inconvenience. I omitted the specific page_idle change is for 32 bit only. And, my host compiler looks old which is still 4.8 so it might not catch the warning. I will update my compiler. Regards, Yang On 5/24/2016 3:08 AM, Arnd B

Why copy_from/to_user causes KASAN complain?

2016-05-24 Thread Lifan Su
Hi all, I got "BUG: KASAN: user-memory-access on address ..." message when developing a driver. I reviewed my code twice and didn't find why. I experienced this on various kernel versions. Please tell me why my code cause this warning? Here is a minimal reproduce example: On a Fedora-23 host, co

Re: [PATCH RESEND 8/8] af_unix: charge buffers to kmemcg

2016-05-24 Thread Vladimir Davydov
On Tue, May 24, 2016 at 06:02:06AM -0700, Eric Dumazet wrote: > On Tue, 2016-05-24 at 11:49 +0300, Vladimir Davydov wrote: > > Unix sockets can consume a significant amount of system memory, hence > > they should be accounted to kmemcg. > > > > Since unix socket buffers are always allocated from p

Re: [PATCH] mm: page_is_guard return false when page_ext arrays are not allocated yet

2016-05-24 Thread Shi, Yang
On 5/23/2016 10:37 PM, Joonsoo Kim wrote: On Fri, May 20, 2016 at 10:00:06AM -0700, Shi, Yang wrote: On 5/19/2016 7:40 PM, Joonsoo Kim wrote: 2016-05-20 2:18 GMT+09:00 Shi, Yang : On 5/18/2016 5:28 PM, Joonsoo Kim wrote: Vlastiml, thanks for ccing me on original bug report. On Wed, May 18,

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-05-24 Thread Bart Van Assche
On 05/24/2016 06:52 AM, Bryant G. Ly wrote: +config SCSI_IBMVSCSIS + tristate "IBM Virtual SCSI Server support" + depends on PPC_PSERIES && SCSI_SRP && TARGET_CORE + help + This is the IBM POWER Virtual SCSI Target Server + + The userspace component needed to in

Re: [PATCH 3/4 v7] ASoC: dwc: Add PIO PCM extension

2016-05-24 Thread Mark Brown
On Mon, May 23, 2016 at 11:02:24AM +0100, Jose Abreu wrote: > +config SND_DESIGNWARE_PCM > + bool "PCM PIO extension for I2S driver" Why can't this be built as a module? > + > + return irq_valid ? IRQ_HANDLED : IRQ_NONE; Please write a normal if statement, the ternery operator doesn't h

Re: [REGRESSION] Headphones no longer working on MacPro6,1 with 4.4

2016-05-24 Thread Laura Abbott
On 05/21/2016 12:42 AM, Takashi Iwai wrote: On Sat, 21 May 2016 08:41:28 +0200, Takashi Iwai wrote: On Sat, 21 May 2016 00:27:22 +0200, Laura Abbott wrote: On 03/15/2016 12:49 PM, Takashi Iwai wrote: On Tue, 15 Mar 2016 20:38:41 +0100, Takashi Iwai wrote: On Tue, 15 Mar 2016 20:23:09 +0100

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-05-24 Thread Bart Van Assche
On 05/24/2016 09:34 AM, Greg KH wrote: On Tue, May 24, 2016 at 09:25:05AM -0700, Bart Van Assche wrote: +static inline long h_send_crq(struct ibmvscsis_adapter *adapter, + u64 word1, u64 word2) +{ + long rc; + struct vio_dev *vdev = adapter->dma_dev; + + p

Re: [PATCH RESEND 7/8] pipe: account to kmemcg

2016-05-24 Thread Vladimir Davydov
On Tue, May 24, 2016 at 05:59:02AM -0700, Eric Dumazet wrote: ... > > +static int anon_pipe_buf_steal(struct pipe_inode_info *pipe, > > + struct pipe_buffer *buf) > > +{ > > + struct page *page = buf->page; > > + > > + if (page_count(page) == 1) { > > This looks racy :

[PATCH] devicetree - document using aliases to set spi bus number.

2016-05-24 Thread Christer Weinigel
Document how to use devicetree aliases to assign a stable bus number to a spi bus. Signed-off-by: Christer Weinigel --- Trivial documentation change. Not having used devicetree that much it was surprisingly hard to figure out how to assign a stable bus number to a spi bus. Add a simple exampl

Re: [PATCH] ibmvscsis: Initial commit of IBM VSCSI Tgt Driver

2016-05-24 Thread Greg KH
On Tue, May 24, 2016 at 09:44:43AM -0700, Bart Van Assche wrote: > On 05/24/2016 09:34 AM, Greg KH wrote: > > On Tue, May 24, 2016 at 09:25:05AM -0700, Bart Van Assche wrote: > > > > +static inline long h_send_crq(struct ibmvscsis_adapter *adapter, > > > > + u64 word1, u64 wor

Re: [PATCH 2/3] Define fb_open_adj_file()

2016-05-24 Thread Daniel Vetter
On Tue, May 24, 2016 at 6:28 PM, Max Staudt wrote: > Hi Daniel, > > Thanks for the feedback! Comments below: > > > On 05/23/2016 03:44 PM, Daniel Vetter wrote: >> Do we _really_ care about fbdev mmap support so much that we want to add >> more hacks all over the place (in each driver) to make it w

Re: [RFC][PATCH 2/3] locking: Annotate spin_unlock_wait() users

2016-05-24 Thread Peter Zijlstra
On Tue, May 24, 2016 at 12:22:07PM -0400, Tejun Heo wrote: > A delta but that particular libata usage is probably not needed now. > The path was used while libata was gradually adding error handlers to > the low level drivers. I don't think we don't have any left w/o one > at this point. I'll ver

Re: [RFC][PATCH 2/3] locking: Annotate spin_unlock_wait() users

2016-05-24 Thread Peter Zijlstra
On Tue, May 24, 2016 at 09:17:13AM -0700, Linus Torvalds wrote: > This needs to be either hidden inside the basic spinlock functions, > _or_ it needs to be a clear and unambiguous interface. Anything that > starts talking about control dependencies is not it. > > Note that this really is about na

<    1   2   3   4   5   6   7   8   9   >