Re: [PATCH v2 1/2] mm, kasan: improve double-free detection

2016-05-09 Thread Andrey Ryabinin
On 05/09/2016 02:35 PM, Luruo, Kuthonuzo wrote: > > This patch with atomic bit op is similar in spirit to v1 except that it > increases metadata size. > I don't think that this is a big deal. That will slightly increase size of objects <= (128 - 32) bytes. And if someone think otherwise, we

[PATCH v2] zsmalloc: fix zs_can_compact() integer overflow

2016-05-09 Thread Sergey Senozhatsky
zs_can_compact() has two race conditions in its core calculation: unsigned long obj_wasted = zs_stat_get(class, OBJ_ALLOCATED) - zs_stat_get(class, OBJ_USED); 1) classes are not locked, so the numbers of allocated and used objects can change by the concurrent op

Re: [RFC] sched: low latency feedback to userspace

2016-05-09 Thread Maximilian Krüger
sched_yield() for anything other than SCHED_FIFO / SCHED_DEADLINE is a 'bug'. That is, calling sched_yield() outside of those two cases is undefined behaviour and the kernel is free to eat your granny and set your pet on fire. okay, fair.c/yield_task_fair() does not exactly sound, as if it

Re: [PATCH (v5) 3/11] MIPS: bmips: Add bcm6345-l2-timer interrupt controller

2016-05-09 Thread Guenter Roeck
On 05/09/2016 05:01 AM, Álvaro Fernández Rojas wrote: Hello Guenter, Are there any other issues preventing this patches from being merged? My major problem/concern is the interrupt handling and the repeated restart of the hardware timer with continuously reduced timeouts. This appears fragile

[PATCH] clocksource/arm_arch_timer: Force per-CPU interrupt to trigger on level-high

2016-05-09 Thread Marc Zyngier
The ARM architected timer produces level-triggered interrupts (this is mandated by the architecture). Unfortunately, most device-trees get this wrong, and expose an edge-triggered interrupt. Until now, this wasn't too much an issue, as the programming of the trigger would fail (the corresponding P

Re: [PATCH 4.5 00/88] 4.5.4-stable review

2016-05-09 Thread Guenter Roeck
On 05/09/2016 12:20 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.5.4 release. There are 88 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be mad

Re: [RFC][PATCH 0/6] Enhanced file stat system call

2016-05-09 Thread Arnd Bergmann
On Thursday 05 May 2016 21:00:18 Steve French wrote: > On Thu, May 5, 2016 at 5:54 PM, Steve French wrote: > > On Wed, May 4, 2016 at 8:46 AM, Arnd Bergmann wrote: > >> On Friday 29 April 2016 13:57:36 David Howells wrote: > >>> struct statx *buffer); > >>> > >>> This is an enhanced file stat fun

[PATCH v8 6/6] Documentation: ABI: overlays - per overlay docs

2016-05-09 Thread Pantelis Antoniou
Documentation for the per-overlay attributes. Signed-off-by: Pantelis Antoniou Acked-by: Greg Kroah-Hartman --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-firmware-devicetree-over

[PATCH v8 1/6] of: overlay: kobjectify overlay objects

2016-05-09 Thread Pantelis Antoniou
We are going to need the overlays to appear on sysfs with runtime global properties (like master enable) so turn them into kobjects. They have to be in sysfs so that people can have information about the overlays applied in the system, i.e. where their targets are and whether removal is possible.

Re: [PATCH 4.4 00/67] 4.4.10-stable review

2016-05-09 Thread Guenter Roeck
On 05/09/2016 12:18 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.10 release. There are 67 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

[PATCH v8 3/6] Documentation: ABI: overlays - global attributes

2016-05-09 Thread Pantelis Antoniou
Documentation ABI entry for overlays sysfs entries. Signed-off-by: Pantelis Antoniou Acked-by: Greg Kroah-Hartman --- .../ABI/testing/sysfs-firmware-devicetree-overlays | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/ABI/testing/sysfs-firmware-dev

[PATCH v8 4/6] Documentation: document of_overlay_disable parameter

2016-05-09 Thread Pantelis Antoniou
Document the of_overlay_disable parameter. Signed-off-by: Pantelis Antoniou Acked-by: Greg Kroah-Hartman --- Documentation/kernel-parameters.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 0b3de80..cc8d4

[PATCH v8 0/6] of: overlay: kobject & sysfs'ation

2016-05-09 Thread Pantelis Antoniou
The first patch puts the overlays as objects in the sysfs in /sys/firmware/devicetree/overlays. The #2 adds a master overlay enable switch (that once is set to disabled can't be re-enabled), while the one after that introduces a number of default per overlay attributes. The patch following is the

[PATCH v8 5/6] of: overlay: add per overlay sysfs attributes

2016-05-09 Thread Pantelis Antoniou
* A per overlay can_remove sysfs attribute that reports whether the overlay can be removed or not due to another overlapping overlay. * A target sysfs attribute listing the target of each fragment, in a group named after the name of the fragment. Signed-off-by: Pantelis Antoniou Acked-by: Greg K

[PATCH v8 2/6] of: overlay: global sysfs enable attribute

2016-05-09 Thread Pantelis Antoniou
A throw once master enable switch to protect against any further overlay applications if the administrator desires so. A kernel command line option is provided as well. Signed-off-by: Pantelis Antoniou Acked-by: Greg Kroah-Hartman --- drivers/of/overlay.c | 50 +

Re: [PATCH v2 1/2] Documentation: DT: bindings: Add Broadcom STB PCIe bindings

2016-05-09 Thread Arnd Bergmann
On Thursday 05 May 2016 14:46:22 Florian Fainelli wrote: > > > > >> +- brcm,gen: integer that indicates desired forced generation of link: 1 > >> => 2.5 > >> + Gbps, 2 => 5.0 Gbps, 3 => 8.0 Gbps. Will override the auto-negotation if > >> + specified. > > > > to repeat my earlier comment from

Re: [PATCH V3 06/17] irqdomain: Don't set type when mapping an IRQ

2016-05-09 Thread Jon Hunter
On 09/05/16 13:23, Marc Zyngier wrote: > On 04/05/16 17:25, Jon Hunter wrote: >> Some IRQ chips, such as GPIO controllers or secondary level interrupt >> controllers, may require require additional runtime power management >> control to ensure they are accessible. For such IRQ chips, it makes sens

Re: [PATCH net-next v3] block/drbd: align properly u64 in nl messages

2016-05-09 Thread Lars Ellenberg
On Mon, May 09, 2016 at 11:40:20AM +0200, Nicolas Dichtel wrote: > The attribute 0 is never used in drbd, so let's use it as pad attribute > in netlink messages. This minimizes the patch. > > Note that this patch is only compile-tested. > > Signed-off-by: Nicolas Dichtel > Signed-off-by: Lars El

[PATCH v4] z3fold: the 3-fold allocator for compressed pages

2016-05-09 Thread Vitaly Wool
This patch introduces z3fold, a special purpose allocator for storing compressed pages. It is designed to store up to three compressed pages per physical page. It is a ZBUD derivative which allows for higher compression ratio keeping the simplicity and determinism of its predecessor. This patch co

Re: [GIT PULL] move ARM LCD display driver to auxdisplay

2016-05-09 Thread Linus Walleij
On Mon, May 9, 2016 at 9:06 AM, Robin van der Gracht wrote: > If you guys feel like auxdisplay is not the right subsystem for the > driver, and would like me to move it, please share. The best would be if you volunteer to maintain it and bring it forward. Yours, Linus Walleij

Re: [PATCHv5 0/8] 2c: Relax mandatory I2C ID table passing

2016-05-09 Thread Javier Martinez Canillas
Hello Lee, On 05/09/2016 05:14 AM, Lee Jones wrote: > On Wed, 04 May 2016, Kieran Bingham wrote: > [snip]. >> >> Finally, I feel I can safely add this tag to the patch set: >> Tested-by: Kieran Bingham > > Great work Kieran. > > Wolfram, Javier, > > Looks like Kieran has ticked each of your

[PATCH 2/4] of: dynamic: Add __of_node_dupv()

2016-05-09 Thread Pantelis Antoniou
Add an __of_node_dupv() private method and make __of_node_dup() use it. This is required for the subsequent changeset accessors which will make use of it. Signed-off-by: Pantelis Antoniou --- drivers/of/dynamic.c | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-

Re: [PATCH 3.14 00/23] 3.14.69-stable review

2016-05-09 Thread Guenter Roeck
On 05/09/2016 12:17 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.69 release. There are 23 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

[PATCH 3/4] of: changesets: Introduce changeset helper methods

2016-05-09 Thread Pantelis Antoniou
Changesets are very powerful, but the lack of a helper API makes using them cumbersome. Introduce a simple copy based API that makes things considerably easier. To wit, adding a property using the raw API. struct property *prop; prop = kzalloc(sizeof(*prop)), GFP_KERNEL);

Re: [PATCH v2 1/2] mm, kasan: improve double-free detection

2016-05-09 Thread Dmitry Vyukov
On Mon, May 9, 2016 at 3:01 PM, Andrey Ryabinin wrote: > > > On 05/09/2016 02:35 PM, Luruo, Kuthonuzo wrote: >> >> This patch with atomic bit op is similar in spirit to v1 except that it >> increases metadata size. >> > > I don't think that this is a big deal. That will slightly increase size of

[PATCH 0/4] of: dynamic: Changesets helpers & fixes

2016-05-09 Thread Pantelis Antoniou
This patchset introduces changeset helpers which makes working with changeset much easier and less error prone. The first patch fixes a bug when using an update property changeset operation but the property does not exist. The second exports an internal method which is used for the third patch wh

[PATCH 4/4] of: unittest: changeset helpers

2016-05-09 Thread Pantelis Antoniou
Add a unitest specific for the new changeset helpers. Signed-off-by: Pantelis Antoniou --- drivers/of/unittest.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c index e986e6e..ff6939b 100644 --

Re: [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug

2016-05-09 Thread William Wu
On 05/09/2016 08:10 PM, Felipe Balbi wrote: William Wu writes: Thanks Felipe Balbi and Greg KH. I'm really sorry that I forgot to add changelog. Signed-off-by: William Wu no changelog = no commit, sorry. Why do you want to dump GUCTL1? Because GUCTL1 can be written by user. For rock

[PATCH 1/4] of: dynamic: changeset prop-update revert fix

2016-05-09 Thread Pantelis Antoniou
When reverting an update property changeset entry that created a property the reverse operation is a remove property and not an update. Signed-off-by: Pantelis Antoniou --- drivers/of/dynamic.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c i

Re: [PATCH] clocksource/arm_arch_timer: Force per-CPU interrupt to trigger on level-high

2016-05-09 Thread Marc Zyngier
On 09/05/16 14:06, Marc Zyngier wrote: > The ARM architected timer produces level-triggered interrupts (this > is mandated by the architecture). Unfortunately, most device-trees > get this wrong, and expose an edge-triggered interrupt. > > Until now, this wasn't too much an issue, as the programmi

Re: [PATCH 3/4] usb: dwc3: make usb2 phy interface configurable in DT

2016-05-09 Thread William Wu
On 05/09/2016 08:18 PM, Felipe Balbi wrote: Hi, William Wu writes: Add snps,phyif_utmi_16_bits devicetree property. USB2 phy this needs a quirk_ prefix... Yes, maybe a quirk is more proper. As you mentioned, the PHYIf can be configured during coreconsultant. But for some speci

[PATCH] xen/balloon: Fix declared-but-not-defined warning

2016-05-09 Thread Ross Lagerwall
Fix a declared-but-not-defined warning when building with XEN_BALLOON_MEMORY_HOTPLUG=n. This fixes a regression introduced by commit dfd74a1edfab ("xen/balloon: Fix crash when ballooning on x86 32 bit PAE"). Signed-off-by: Ross Lagerwall --- drivers/xen/balloon.c | 4 ++-- 1 file changed, 2 inse

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

2016-05-09 Thread Ross Lagerwall
On 05/09/2016 01:48 PM, Paul Bolle wrote: On ma, 2016-05-09 at 10:24 +0200, Geert Uytterhoeven wrote: + /home/kisskb/slave/src/drivers/xen/balloon.c: warning: 'release_memory_resource' declared 'static' but never defined [-Wunused-function]: => 154:13 This can be triggered by building ba

Re: [PATCH] clk: samsung: exynos5420: Remove useless check for return value of samsung_clk_init

2016-05-09 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/08/2016 05:24 AM, Krzysztof Kozlowski wrote: > The samsung_clk_init() cannot return NULL. Either it returns allocated > memory or it panics. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/clk/samsung/clk-exynos5420.c | 2 -- > 1 file changed, 2 deletions(-) > > d

Re: [PATCH 3/4] usb: dwc3: make usb2 phy interface configurable in DT

2016-05-09 Thread Felipe Balbi
Hi William, William Wu writes: > On 05/09/2016 08:18 PM, Felipe Balbi wrote: >> Hi, >> >> William Wu writes: >>> Add snps,phyif_utmi_16_bits devicetree property. USB2 phy >> this needs a quirk_ prefix... > Yes, maybe a quirk is more proper. As you mentioned, > the PHYIf can be confi

Re: [RESEND PATCH] ION: Sys_heap: Add cached pool to spead up cached buffer alloc

2016-05-09 Thread Chen Feng
Hi Greg, Please see my v1 version for detail. Thank you. On 2016年05月09日 17:02, Greg KH wrote: > On Mon, May 09, 2016 at 04:37:34PM +0800, Chen Feng wrote: >> Add ion cached pool in system heap. >> >> Signed-off-by: Chen Feng >> Signed-off-by: Xia Qing >> Reviewed-by: Fu Jun >> --- >> driver

Re: [PATCH v2 1/2] mm, kasan: improve double-free detection

2016-05-09 Thread Andrey Ryabinin
On 05/09/2016 04:20 PM, Dmitry Vyukov wrote: > On Mon, May 9, 2016 at 3:01 PM, Andrey Ryabinin > wrote: >> >> >> On 05/09/2016 02:35 PM, Luruo, Kuthonuzo wrote: >>> >>> This patch with atomic bit op is similar in spirit to v1 except that it >>> increases metadata size. >>> >> >> I don't think

Re: [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug

2016-05-09 Thread Felipe Balbi
William Wu writes: > On 05/09/2016 08:10 PM, Felipe Balbi wrote: >> William Wu writes: > Thanks Felipe Balbi and Greg KH. I'm really sorry that I forgot to > add changelog. >>> Signed-off-by: William Wu >> no changelog = no commit, sorry. Why do you want to dump GUCTL1? > Because GUCT

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-09 Thread David Howells
Christoph Hellwig wrote: > How are the semantics defined when userspace asks for fields not > available? I'd expect them to be ignored, but we should documentat that > fact. I went into this in some detail. > > Fields in struct statx come in a number of classes: > > I really disagree with all

Re: [PATCH] xen/balloon: Fix declared-but-not-defined warning

2016-05-09 Thread Juergen Gross
On 09/05/16 15:29, Ross Lagerwall wrote: > Fix a declared-but-not-defined warning when building with > XEN_BALLOON_MEMORY_HOTPLUG=n. This fixes a regression introduced by > commit dfd74a1edfab > ("xen/balloon: Fix crash when ballooning on x86 32 bit PAE"). > > Signed-off-by: Ross Lagerwall > ---

Re: [PATCH 0/3] MAINTAINERS: add new maintainers of NXP LPC32xx SoC

2016-05-09 Thread Arnd Bergmann
On Wednesday 27 April 2016 02:55:16 Vladimir Zapolskiy wrote: > Roland Stigge added initial support of NXP LPC32xx SoC series and > first boards powered by it, but for a while since v3.18-rc1 the > SoC support is unmaintained and became stale. > > Vladimir Zapolskiy and Sylvain Lemieux expressed i

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-09 Thread Trond Myklebust
On 5/9/16, 08:57, "linux-nfs-ow...@vger.kernel.org on behalf of David Howells" wrote: >Christoph Hellwig wrote: > >> >int ret = statx(int dfd, >> >const char *filename, >> >unsigned int flags, >> >unsigned int mask, >> >

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-09 Thread David Howells
Christoph Hellwig wrote: > And please prepare a man page to document this system call properly. I intend to - but when it's stabilised sufficiently to warrant inclusion. David

[PATCH] isa: Dummy isa_register_driver should return error code

2016-05-09 Thread William Breathitt Gray
The inline isa_register_driver stub simply allows compilation on systems with CONFIG_ISA disabled; the dummy isa_register_driver does not register an isa_driver at all. The inline isa_register_driver should return -ENODEV to indicate lack of support when attempting to register an isa_driver on such

Re: [RFC] sched: low latency feedback to userspace

2016-05-09 Thread Peter Zijlstra
On Mon, May 09, 2016 at 03:03:59PM +0200, Maximilian Krüger wrote: > > >sched_yield() for anything other than SCHED_FIFO / SCHED_DEADLINE is a > >'bug'. That is, calling sched_yield() outside of those two cases is > >undefined behaviour and the kernel is free to eat your granny and set your > >pet

Re: [PATCH] watchdog: core: Fix circular locking dependency

2016-05-09 Thread Clemens Gruber
On Thu, Apr 21, 2016 at 07:38:14AM -0700, Guenter Roeck wrote: > lockdep reports the following circular locking dependency. > > == > INFO: possible circular locking dependency detected ] > 4.6.0-rc3-00191-gfabf418 #162 Not tainted > -

Re: [Kernel] [PATCH v2 4/5] ARM: dts: omap5: describe control for ckobuffer

2016-05-09 Thread Peter Ujfalusi
On 05/09/16 15:46, Peter Ujfalusi wrote: > On 05/09/16 15:32, Peter Ujfalusi wrote: >> On 05/09/16 15:10, Peter Ujfalusi wrote: >> > finally I found some time to apply your patches. Sorry for the long time. > > Unfortunately, it does not work. Neither on omap5evm nor on our omap5 >

Re: [RFC 2/2] perf/core: change errno for sampling event not supported in hardware

2016-05-09 Thread Vince Weaver
On Mon, 9 May 2016, Vineet Gupta wrote: > This allows userspace to identify this case specifically from the > catch all error msg it prints currently. > > This is an ABI change An ABI change which will probably break things. The original change from ENODEV to ENOTSUPP managed to break things a

Re: qemu m68k/mcf5208: problem with signal handler

2016-05-09 Thread Greg Ungerer
Hi Waldemar, On 09/05/16 18:58, Waldemar Brodkorb wrote: Hi, forgot to add Greg in CC. And sorry for the whitespace fuckup in the example code. Waldemar Brodkorb wrote, Dear kernel hackers, I have a problem with the signal handling under qemu-system-m68k emulating coldfire mcf5208 evalboard

Re: [PATCH v2] uapi glibc compat: fix compile errors when glibc net/if.h included before linux/if.h

2016-05-09 Thread Josh Boyer
On Sun, Apr 24, 2016 at 11:45 AM, Mikko Rapeli wrote: > glibc's net/if.h contains copies of definitions from linux/if.h and these > conflict and cause build failures if both files are included by application > source code. Changes in uapi headers, which fixed header file dependencies to > include

Re: usb: dwc2: regression on MyBook Live Duo / Canyonlands since 4.3.0-rc4

2016-05-09 Thread Benjamin Herrenschmidt
On Mon, 2016-05-09 at 12:36 +0200, Arnd Bergmann wrote: >  > I think we can simply make this set of accessors architecture- > dependent > (MIPS vs. the rest of the world) to revert ARM and PowerPC back to > the working version. Or use writel_be which mips seems to support... Really, make it a BE

Re: [PATCH] [for 4.7] arm-ccn: Enable building as module

2016-05-09 Thread Suzuki K Poulose
On 04/05/16 10:37, Suzuki K Poulose wrote: > On 28/04/16 16:05, Suzuki K Poulose wrote: >> arm-ccn driver uses irq_set_affinity, which is not exported and >> hence cannot be built as a module, eventhough we have all the >> bits ready. This patch makes use of the exported helper >> irq_set_affinity_

Re: [PATCH v3 2/2] cgroup: allow management of subtrees by new cgroup namespaces

2016-05-09 Thread Aleksa Sarai
However, I agree with James that this patchset isn't ideal (it was my first rough attempt). I think I'll get to work on properly virtualising /sys/fs/cgroup, which will allow for a new cgroup namespace to modify subtrees (but without allowing for cgroup escape) -- by pinning what pid namespace the

Re: Is BIT() in arch/x86/include/uapi/asm/kvm.h defined? Where?

2016-05-09 Thread Paolo Bonzini
On 05/05/2016 10:24, Borislav Petkov wrote: > On Wed, May 04, 2016 at 05:49:27PM -0700, Brooks Moses wrote: >> When I run "make ARCH=x86 headers_install", and then write a simple C >> file that #includes "asm/kvm.h" from the resulting tree, I get a >> compiler error: the BIT() macro used on line

Re: [Kernel] [PATCH v2 4/5] ARM: dts: omap5: describe control for ckobuffer

2016-05-09 Thread Tero Kristo
On 09/05/16 16:52, Peter Ujfalusi wrote: On 05/09/16 15:46, Peter Ujfalusi wrote: On 05/09/16 15:32, Peter Ujfalusi wrote: On 05/09/16 15:10, Peter Ujfalusi wrote: finally I found some time to apply your patches. Sorry for the long time. Unfortunately, it does not work. Neither on omap5evm n

Re: [PATCH] MAINTAINERS: ARM/Amlogic: add co-maintainer, misc. updates

2016-05-09 Thread Arnd Bergmann
On Friday 06 May 2016 16:13:38 Carlo Caione wrote: > On Fri, May 6, 2016 at 3:59 PM, Kevin Hilman wrote: > > Add myself as co-maintainer, update mailing list entry and add a couple > > more directories. > > > > Signed-off-by: Kevin Hilman > > Acked-by: Carlo Caione Applied to next/soc, thanks!

Re: [PATCH 3.16 106/217] sd: disable discard_zeroes_data for UNMAP

2016-05-09 Thread Paolo Bonzini
On 29/04/2016 06:00, Rafael David Tinoco wrote: > Actually, It was an objection. > > Knowing that WRITESAME(16), used as the discard mechanism, can cause > storage servers to misbehave (like QEMU's SCSI WRITESAME > implementation, workaround-ed by commit e461338b6cd4) and those > storage servers

Re: [PATCH 11/11] nilfs2: clean trailing semicolons in macros

2016-05-09 Thread Ryusuke Konishi
Hi Andrew, On Fri, 29 Apr 2016 22:15:47 +0900, Ryusuke Konishi wrote: > Remove trailing semicolons from macros, as suggested by checkpatch.pl. > > Signed-off-by: Ryusuke Konishi > --- > diff --git a/fs/nilfs2/sysfs.h b/fs/nilfs2/sysfs.h > index 677e3a1..648cedf 100644 > --- a/fs/nilfs2/sysfs.h

Re: [GIT PULL] move ARM LCD display driver to auxdisplay

2016-05-09 Thread Robin van der Gracht
On Mon, 9 May 2016 15:19:26 +0200 Linus Walleij wrote: > On Mon, May 9, 2016 at 9:06 AM, Robin van der Gracht > wrote: > > > If you guys feel like auxdisplay is not the right subsystem for the > > driver, and would like me to move it, please share. > > The best would be if you volunteer to m

Re: [PATCH] watchdog: core: Fix circular locking dependency

2016-05-09 Thread Guenter Roeck
On 05/09/2016 06:53 AM, Clemens Gruber wrote: On Thu, Apr 21, 2016 at 07:38:14AM -0700, Guenter Roeck wrote: lockdep reports the following circular locking dependency. == INFO: possible circular locking dependency detected ] 4.6.0-rc3-00191-gf

Re: [PATCH BUGFIX] block: add missing group association in bio_split

2016-05-09 Thread Jeff Moyer
Paolo Valente writes: > @@ -1811,6 +1811,11 @@ struct bio *bio_split(struct bio *bio, int sectors, > > bio_advance(bio, split->bi_iter.bi_size); > > +#ifdef CONFIG_BLK_CGROUP > + if (bio->bi_css) > + bio_associate_blkcg(split, bio->bi_css); > +#endif > + > return s

RE: [PATCH v2 1/2] dell-smbios: Add a helper function for complex SMI requests

2016-05-09 Thread Mario_Limonciello
> -Original Message- > From: Michał Kępień [mailto:ker...@kempniu.pl] > Sent: Monday, May 9, 2016 7:02 AM > To: Limonciello, Mario > Cc: dvh...@infradead.org; LKML ; platform- > driver-...@vger.kernel.org > Subject: Re: [PATCH v2 1/2] dell-smbios: Add a helper function for complex > SMI re

RE: [PATCH v2 2/2] dell-laptop: Expose auxiliary MAC address if available

2016-05-09 Thread Mario_Limonciello
> -Original Message- > From: Michał Kępień [mailto:ker...@kempniu.pl] > Sent: Monday, May 9, 2016 7:13 AM > To: Limonciello, Mario > Cc: dvh...@infradead.org; LKML ; platform- > driver-...@vger.kernel.org > Subject: Re: [PATCH v2 2/2] dell-laptop: Expose auxiliary MAC address if > availa

Re: [PATCH v8 5/7] mfd: intel_vuport: Add Intel virtual USB port MFD Driver

2016-05-09 Thread Lee Jones
On Thu, 05 May 2016, Lu Baolu wrote: > Some Intel platforms have an USB port mux controlled by GPIOs. > There's a single ACPI platform device that provides 1) USB ID > extcon device; 2) USB vbus regulator device; and 3) USB port > switch device. This MFD driver will split these 3 devices for > the

Re: [GIT PULL] move ARM LCD display driver to auxdisplay

2016-05-09 Thread Linus Walleij
On Mon, May 9, 2016 at 4:17 PM, Robin van der Gracht wrote: > On Mon, 9 May 2016 15:19:26 +0200 > Linus Walleij wrote: > >> On Mon, May 9, 2016 at 9:06 AM, Robin van der Gracht >> wrote: >> >> > If you guys feel like auxdisplay is not the right subsystem for the >> > driver, and would like me to

Re: [PATCH 02/10] x86, perf: Support sysfs files depending on SMT status

2016-05-09 Thread Andi Kleen
On Mon, May 09, 2016 at 11:42:19AM +0200, Peter Zijlstra wrote: > On Thu, May 05, 2016 at 04:03:59PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Add a way to show different sysfs events attributes depending on > > HyperThreading is on or off. This is difficult to determine > > early at

Re: [PATCH 3/4] of: changesets: Introduce changeset helper methods

2016-05-09 Thread Rob Herring
On Mon, May 9, 2016 at 8:20 AM, Pantelis Antoniou wrote: > Changesets are very powerful, but the lack of a helper API > makes using them cumbersome. Introduce a simple copy based > API that makes things considerably easier. > > To wit, adding a property using the raw API. > > struct proper

Re: [PATCH] mfd: omap-usb-tll: fix scheduling while atomic BUG

2016-05-09 Thread Lee Jones
On Mon, 09 May 2016, Roger Quadros wrote: > We shouldn't be calling clk_prepare_enable()/clk_prepare_disable() > in an atomic context. > > Fixes the following issue: > > [5.830970] ehci-omap: OMAP-EHCI Host Controller driver > [5.830974] driver_register 'ehci-omap' > [5.895849] drive

Re: [PATCH] kdump: Fix gdb macros work work with newer and 64-bit kernels

2016-05-09 Thread Baoquan He
On 05/09/16 at 07:10am, Corey Minyard wrote: > On 05/09/2016 12:18 AM, Baoquan He wrote: > >Hi Corey, > > > >I am trying to review this patch now, and these fixes contained are very > >great. Just several concerns are added in inline comment. > > > >By the way, did you run this in your side? > > Y

Re: [PATCH] mfd: arizona: Add defines for GPSW values that can be used from DT

2016-05-09 Thread Lee Jones
On Mon, 02 May 2016, Charles Keepax wrote: > Add defines for the possible values the GPSW can be set to using the > wlf,gpsw device tree binding. > > Signed-off-by: Charles Keepax > --- > include/dt-bindings/mfd/arizona.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/include/dt

Re: [PATCH 1/4] locking/rwsem: Avoid stale ->count for rwsem_down_write_failed()

2016-05-09 Thread Davidlohr Bueso
On Sun, 08 May 2016, Peter Hurley wrote: On 05/08/2016 09:56 PM, Davidlohr Bueso wrote: The field is obviously updated w.o the lock and needs a READ_ONCE while waiting for lock holder(s) to go away, just like we do with all other ->count accesses. This isn't actually fixing a bug because it's

Re: [PATCH 3/4] of: changesets: Introduce changeset helper methods

2016-05-09 Thread Pantelis Antoniou
Hi Rob, > On May 9, 2016, at 17:27 , Rob Herring wrote: > > On Mon, May 9, 2016 at 8:20 AM, Pantelis Antoniou > wrote: >> Changesets are very powerful, but the lack of a helper API >> makes using them cumbersome. Introduce a simple copy based >> API that makes things considerably easier. >> >>

Re: [PATCH 02/10] x86, perf: Support sysfs files depending on SMT status

2016-05-09 Thread Peter Zijlstra
On Mon, May 09, 2016 at 07:27:41AM -0700, Andi Kleen wrote: > On Mon, May 09, 2016 at 11:42:19AM +0200, Peter Zijlstra wrote: > > On Thu, May 05, 2016 at 04:03:59PM -0700, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > Add a way to show different sysfs events attributes depending on > > > H

Re: [PATCH] [for 4.7] arm-ccn: Enable building as module

2016-05-09 Thread Arnd Bergmann
On Monday 09 May 2016 15:04:17 Suzuki K Poulose wrote: > On 04/05/16 10:37, Suzuki K Poulose wrote: > > On 28/04/16 16:05, Suzuki K Poulose wrote: > >> arm-ccn driver uses irq_set_affinity, which is not exported and > >> hence cannot be built as a module, eventhough we have all the > >> bits ready.

Re: [GIT PULL] ARM: dts: exynos: Non-critical fixes for v4.7

2016-05-09 Thread Arnd Bergmann
On Saturday 07 May 2016 13:10:28 Krzysztof Kozlowski wrote: > Samsung DTS non-critical fixes for v4.7: > 1. Fix s5p-mfc driver probe on Exynos542x Peach boards (need to provide MFC >memory banks). On these boards this was broken for long time but >apparently no one enabled this driver till

Re: [PATCH BUGFIX] block: add missing group association in bio_split

2016-05-09 Thread Paolo
Il 09/05/2016 16:35, Jeff Moyer ha scritto: Jeff Moyer writes: Paolo Valente writes: @@ -1811,6 +1811,11 @@ struct bio *bio_split(struct bio *bio, int sectors, bio_advance(bio, split->bi_iter.bi_size); +#ifdef CONFIG_BLK_CGROUP + if (bio->bi_css) + bio_associat

Re: [PATCH] mfd: vexpress: add !ARCH_USES_GETTIMEOFFSET dependency

2016-05-09 Thread Lee Jones
On Wed, 27 Apr 2016, Arnd Bergmann wrote: > The MFD_VEXPRESS_SYSREG driver selects CLKSRC_MMIO, which in turn > conflicts with ARCH_USES_GETTIMEOFFSET, causing a harmless Kconfig > warning when it is set: > > warning: (ARCH_MVEBU && ARCH_DIGICOLOR && ARCH_GEMINI && ARCH_KEYSTONE && > ARCH_MOXART

Re: [PATCH] [for 4.7] arm-ccn: Enable building as module

2016-05-09 Thread Suzuki K Poulose
On 09/05/16 15:36, Arnd Bergmann wrote: Applied now, sorry for the delay and thanks for the reminders. It was in my todo list the whole time, I just didn't get around to do any merges last week. No problems, Thanks Arnd. Suzuki

Hyvää päivää,

2016-05-09 Thread YesGrowth Loans
Hyvää päivää, Olen rouva Rose Butler, Executive asiamiehen hyvin tunnustettu laillinen lainanantajayhtiöllä tunnetaan YesGrowth lainat. Onko sinulla huono luotto tai olet tarvitsevat rahaa maksaa laskuja? Meidän korko on 3%. Täytä alla oleva lomake jos kiinnostaa. Koko nimi: sukupuoli:

Re: [PATCH BUGFIX] block: add missing group association in bio_split

2016-05-09 Thread Jeff Moyer
Jeff Moyer writes: > Paolo Valente writes: > >> @@ -1811,6 +1811,11 @@ struct bio *bio_split(struct bio *bio, int sectors, >> >> bio_advance(bio, split->bi_iter.bi_size); >> >> +#ifdef CONFIG_BLK_CGROUP >> +if (bio->bi_css) >> +bio_associate_blkcg(split, bio->bi_css); >>

Re: [PATCH V11 1/6] mfd: add device-tree binding doc for PMIC max77620/max20024

2016-05-09 Thread Lee Jones
On Thu, 28 Apr 2016, Laxman Dewangan wrote: > The MAXIM PMIC MAX77620 and MAX20024 are power management IC > which supports RTC, GPIO, DCDC/LDO regulators, interrupt, > watchdog etc. > > Add DT binding document for the different functionality of > this device. > > Signed-off-by: Laxman Dewangan

Re: [PATCH v4 6/6] hwmon: use smp_call_on_cpu() for dell-smm i8k

2016-05-09 Thread Juergen Gross
On 21/04/16 15:27, Pali Rohár wrote: > On Thursday 21 April 2016 15:12:52 Juergen Gross wrote: >> On 21/04/16 12:57, Pali Rohár wrote: >>> On Tuesday 05 April 2016 21:31:52 Pali Rohár wrote: On Tuesday 05 April 2016 16:54:14 Guenter Roeck wrote: > On Tue, Apr 05, 2016 at 07:10:07AM +0200,

Re: [PATCH V11 2/6] mfd: max77620: add core driver for MAX77620/MAX20024

2016-05-09 Thread Lee Jones
On Thu, 28 Apr 2016, Laxman Dewangan wrote: > MAX77620/MAX20024 are Power Management IC from the MAXIM. > It supports RTC, multiple GPIOs, multiple DCDC and LDOs, > watchdog, clock etc. > > Add MFD drier to provides common support for accessing the > device; additional drivers is developed on res

Re: Is BIT() in arch/x86/include/uapi/asm/kvm.h defined? Where?

2016-05-09 Thread Radim Krčmář
2016-05-09 16:00+0200, Paolo Bonzini: > On 05/05/2016 10:24, Borislav Petkov wrote: >> On Wed, May 04, 2016 at 05:49:27PM -0700, Brooks Moses wrote: >>> When I run "make ARCH=x86 headers_install", and then write a simple C >>> file that #includes "asm/kvm.h" from the resulting tree, I get a >>> com

Re: [RFC][PATCH 2/7] sched: Restructure destroy_sched_domain()

2016-05-09 Thread Peter Zijlstra
On Mon, May 09, 2016 at 12:48:09PM +0200, Peter Zijlstra wrote: > There is no point in doing a call_rcu() for each domain, only do a > callback for the root sched domain and clean up the entire set in one > go. > > Also make the entire call chain be called destroy_sched_domain*() to > remove confu

Re: [PATCH 3/4] drm: Add helper for simple display pipeline

2016-05-09 Thread Daniel Vetter
On Thu, May 05, 2016 at 03:24:33PM +0200, Noralf Trønnes wrote: > Provides helper functions for drivers that have a simple display > pipeline. Plane, crtc and encoder are collapsed into one entity. > > Signed-off-by: Noralf Trønnes > +static int drm_simple_kms_plane_atomic_check(struct drm_plane

x86_64 Question: Are concurrent IPI requests safe?

2016-05-09 Thread Tetsuo Handa
; + show_ipi_sequence(); rcu_read_lock_sched(); This debug printk() patch shows sequence numbers using IPI($cpu): last_requested=$v0,$v2 last_responded=$v1,$v3 format and it is expected that $v0 == $v2 - 1 && $v1 == $v3 - 1 &a

Re: [PATCH v5 3/5] dax: use sb_issue_zerout instead of calling dax_clear_sectors

2016-05-09 Thread Ross Zwisler
On Sun, May 08, 2016 at 06:46:13PM +, Verma, Vishal L wrote: > On Sun, 2016-05-08 at 01:52 -0700, Christoph Hellwig wrote: > > On Fri, May 06, 2016 at 03:53:09PM -0600, Vishal Verma wrote: > > > > > > From: Matthew Wilcox > > > > > > dax_clear_sectors() cannot handle poisoned blocks.  These

[PATCH 2/4] staging: lustre: o2iblnd: make rdma_create_id() support containers

2016-05-09 Thread James Simmons
From: Li Dongyang Add support for lustre's ko2iblnd driver to work with containers which was requested by Sebastien Buisson. Signed-off-by: Li Dongyang Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6215 Reviewed-on: http://review.whamcloud.com/18759 Reviewed-by: James Simmons Reviewed-by

Re: [PATCH BUGFIX] block: add missing group association in bio_split

2016-05-09 Thread Jens Axboe
On 05/09/2016 08:39 AM, Paolo wrote: Il 09/05/2016 16:35, Jeff Moyer ha scritto: Jeff Moyer writes: Paolo Valente writes: @@ -1811,6 +1811,11 @@ struct bio *bio_split(struct bio *bio, int sectors, bio_advance(bio, split->bi_iter.bi_size); +#ifdef CONFIG_BLK_CGROUP +if (bio->bi_

[PATCH v2] clocksource/arm_arch_timer: Force per-CPU interrupt to be level-triggered

2016-05-09 Thread Marc Zyngier
The ARM architected timer produces level-triggered interrupts (this is mandated by the architecture). Unfortunately, most device-trees get this wrong, and expose an edge-triggered interrupt. Until now, this wasn't too much an issue, as the programming of the trigger would fail (the corresponding P

Re: [PATCH 1/3] ASoC: da7219: Convert driver to use generic device/fwnode functions

2016-05-09 Thread Mark Brown
On Mon, May 09, 2016 at 12:05:56PM +, Opensource [Adam Thomson] wrote: > On May 06, 2016, 17:06, Mark Brown wrote: > > No, not really - your DT is fairly unusual in how it's done and the lack > > of ACPI helpers is not a good sign on that side. The _DSD things are > > really only supposed to

Re: [PATCH BUGFIX] block: add missing group association in bio_split

2016-05-09 Thread Mark Brown
On Mon, May 09, 2016 at 04:39:04PM +0200, Paolo wrote: > Il 09/05/2016 16:35, Jeff Moyer ha scritto: > > Gah, I see that the bi_css member is only present for CONFIG_BLK_CGROUP. > > I guess we'll have to live with the ifdef. > We have already tried to remove it, but it seems it would require othe

Re: [RFC 1/4] perf kvm: Enable 'record' on powerpc

2016-05-09 Thread Ravi Bangoria
Hi Arnaldo, Thanks for the review. Please find my comments below. On Thursday 28 April 2016 03:17 AM, Arnaldo Carvalho de Melo wrote: Em Wed, Apr 27, 2016 at 06:02:21PM +0530, Ravi Bangoria escreveu: Hi Arnaldo, I've worked on your patch. I'm sending this patch(diff) to check if this is the

[PATCH 0/4] staging: lustre: small recent fixes for LNet/libcfs

2016-05-09 Thread James Simmons
Here are various fixes and improvements for the libcfs and LNet layer. Two memory leaks fixed as well as adding container support for the ko2iblnd driver. Lastly handle the lower limit of the mlx5 driver for cap.max_send_wr. Dmitry Eremin (1): staging: lustre: o2iblnd: limit cap.max_send_wr for

[PATCH 3/4] staging: lustre: libcfs: fix memort leak in libcfs crypto layer

2016-05-09 Thread James Simmons
During code review Boyko discovered a memory leak. This patch fixes that leak. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-4423 Reviewed-on: http://review.whamcloud.com/19716 Reviewed-by: Alexander Boyko Reviewed-by: Frank Zago Reviewed-by: Oleg Drokin Sign

[PATCH 1/4] staging: lustre: o2iblnd: limit cap.max_send_wr for MLX5

2016-05-09 Thread James Simmons
From: Dmitry Eremin Decrease cap.max_send_wr until it is accepted by rdma_create_qp() Signed-off-by: Dmitry Eremin Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7124 Reviewed-on: http://review.whamcloud.com/18347 Reviewed-by: Olaf Weber Reviewed-by: Doug Oucharek Reviewed-by: Oleg Droki

[PATCH 4/4] staging: lustre: ko2iblnd: fix memory corruption with fragments

2016-05-09 Thread James Simmons
In my test of the upstream client this change exposed a long standing issues where we have a offset that is not page algined would causes us to access memory beyond the scatter gather list which was causing memory corruption when all 256 fragments were in use. Signed-off-by: James Simmons --- ..

[PATCH] mountinfo: implement show_path for kernfs and cgroup

2016-05-09 Thread Serge E. Hallyn
Patch summary: When showing a cgroupfs entry in mountinfo, show the path of the mount root dentry relative to the reader's cgroup namespace root. Short explanation (courtesy of mkerrisk): If we create a new cgroup namespace, then we want both /proc/self/cgroup and /proc/self/mountinfo to show cg

[PATCH v3] Enhance kvmconfig

2016-05-09 Thread Andrey Utkin
From: Andrey Utkin "make defconfig kvmconfig" is supposed to end up with usable kernel for KVM guest. In practice, it won't work for e.g. Hetzner VPS (KVM-based) unless you add these options. Signed-off-by: Andrey Utkin --- v3: dropped VIRTIO_MMIO stuff as suggested by Paolo Bonzini. Tested.

<    1   2   3   4   5   6   7   8   9   10   >