Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support

2015-08-05 Thread Robert Jarzmik
Vaibhav Hiremath writes: > Robert, > > It would be helpful if you can test this patch-series and confirm that > it now fixes the NULL pointer deference issue. > > Thanks, > Vaibhav Hi Vaibhav, My next slot is probably this comming Sunday. I'll do the test and report. Cheers. -- Robert -- To

Re: [PATCH 3/4] arm64: Juno: Add HDLCD support to the Juno boards.

2015-08-05 Thread Liviu Dudau
On Wed, Aug 05, 2015 at 06:53:03PM +0100, Russell King - ARM Linux wrote: > On Wed, Aug 05, 2015 at 03:28:11PM +0100, Liviu Dudau wrote: > > + hdmi-transmitter@71 { > > compatible = "nxp,tda998x"; > > reg = <0x71>; > > + port { >

Re: [PATCHv2] serial: don't register CIR serial ports

2015-08-05 Thread Peter Hurley
On 08/05/2015 11:43 AM, Maciej S. Szmigiero wrote: > CIR type serial ports aren't real serial ports. > > This is just a way to prevent legacy 8250 serial > driver from probing and eventually binding some > resources. > > Since in current state such ports aren't providing > any real functionality

[PATCH] Input: elan_i2c - enable asynchronous probing

2015-08-05 Thread Dmitry Torokhov
It takes a bit of time to go through controller power up sequence and initialization. To not stall the overall boot progress let's probe the controller asynchronously, given that userspace is usually prepared for hot-plugging of input devices and thus does not rely on particular ordering.

Re: [PATCH] staging: sm750fb: fix sparse warning for lock

2015-08-05 Thread Greg KH
On Wed, Aug 05, 2015 at 09:26:44PM +0800, Peng Fan wrote: > Use __acquire() and __release() in the right place to silence the sparse > lock checking warning. > > drivers/staging/sm750fb/sm750.c:177:13: warning: context imbalance in > 'lynxfb_ops_fillrect' - different lock contexts for basic

Re: [PATCH 0/8] watchdog: Add support for keepalives triggered by infrastructure

2015-08-05 Thread Guenter Roeck
Hi David, On 08/05/2015 10:51 AM, David Teigland wrote: On Wed, Aug 05, 2015 at 10:41:51AM -0700, Guenter Roeck wrote: Not really. The heartbeats will be generated such that the watchdog expires no later that . I discussed this already with Uwe; he had the same concern. This isn't in the

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-05 Thread Eric W. Biederman
Hmm. On closer inspection this patch touches on a greater inconsistency then the test to see if the task is the only task using the mm_struct. We currently allow tasks created with clone to have a different user namespace and to share a mm_struct, and I don't think that is wrong. What we

Re: [PATCH 02/27] ASN.1: Copy string names to tokens in ASN.1 compiler [ver #7]

2015-08-05 Thread Mimi Zohar
On Wed, 2015-08-05 at 19:26 +0100, David Howells wrote: > Mimi Zohar wrote: > > > This patch isn't applying properly against linux-security/next. The > > rest seem to be fine. > > Did you apply the asn1-fixes-20150805 first and patch 1? > > Note that the br

[PATCH] Input: elants_i2c - wire up regulator support

2015-08-05 Thread Dmitry Torokhov
Elan touchscreen controllers use two power supplies, vcc33 and vccio, and we need to enable them before trying to access the device. On X86 firmware usually does this, but on ARM it is usually left to the kernel. Signed-off-by: Dmitry Torokhov Reviewed-by: Benson Leung Signed-off-by: Dmitry

[PATCH] Input: elants_i2c - enable asynchronous probing

2015-08-05 Thread Dmitry Torokhov
It takes a bit of time to go through controller power up sequence and initialization. To not stall the overall boot progress let's probe the controller asynchronously, given that userspace is usually prepared for hot-plugging of input devices and thus does not rely on particular ordering.

Re: [PATCH V3] staging: android: lowmemorykiller: imporve lmk to avoid deadlock issue

2015-08-05 Thread gre...@linuxfoundation.org
On Mon, Aug 03, 2015 at 08:26:40AM +, Wang, Biao wrote: > Consider the following case: > Task A trigger lmk with a lock held, while task B try to get this lock, but > unfortunately B is the very culprit task lmk select to kill. Then B will > never be killed, and A will forever select B to

Re: [PATCH] thermal: remove power allocator from list of default governors

2015-08-05 Thread Eduardo Valentin
On Wed, Aug 05, 2015 at 09:35:39AM -0700, Dmitry Torokhov wrote: > On Wed, Aug 05, 2015 at 09:37:55AM +0100, Javi Merino wrote: > > On Tue, Aug 04, 2015 at 05:39:21PM +0100, Dmitry Torokhov wrote: > > > As it currently stands the power allocator governor can not handle > > > thermal zones that are

Re: [PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-05 Thread Eduardo Valentin
On Wed, Aug 05, 2015 at 06:29:03PM +0100, Javi Merino wrote: > On Wed, Aug 05, 2015 at 05:50:20PM +0100, Dmitry Torokhov wrote: > > On Wed, Aug 05, 2015 at 09:29:11AM +0100, Javi Merino wrote: > > > On Tue, Aug 04, 2015 at 05:33:40PM +0100, Dmitry Torokhov wrote: > > > > The code in question is

Re: [PATCH v3 0/5] Add SMP bringup support for mt65xx socs

2015-08-05 Thread Matthias Brugger
On Tuesday, July 14, 2015 01:18:26 PM Yingjoe Chen wrote: > This series add SMP brinup support for MediaTek SoCs. This is based > on v4.2-rc1 and Matthias' next branch (for dts parts). > > There are similar but different SMP bringup up methods on MediaTek > mt65xx and mt81xx. On MT8135 & MT8127,

Re: [PATCH V6 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller.

2015-08-05 Thread vikasm
Hi Graham, On 07/28/2015 10:38 AM, Graham Moore wrote: > Signed-off-by: Graham Moore > --- > V2: use NULL instead of modalias in spi_nor_scan call > V3: Use existing property is-decoded-cs instead of creating duplicate. > V4: Support Micron quad mode by snooping command stream for EVCR command >

Re: [PATCH 2/7] tty: core: Add tty_debug() for printk(KERN_DEBUG) messages

2015-08-05 Thread Peter Hurley
On 07/23/2015 09:35 PM, Greg Kroah-Hartman wrote: > On Sun, Jul 12, 2015 at 10:49:08PM -0400, Peter Hurley wrote: >> Introduce tty_debug() macro to output uniform debug information for >> tty core debug messages (function name and tty name). >> >> Note: printk(KERN_DEBUG) is retained here over

Re: [PATCH 1/3] x86/entry/64: Refactor IRQ stacks and make then NMI-safe

2015-08-05 Thread Andy Lutomirski
On Wed, Aug 5, 2015 at 11:27 AM, Steven Rostedt wrote: > On Wed, 5 Aug 2015 11:24:54 -0700 > Andy Lutomirski wrote: > >> On Wed, Aug 5, 2015 at 1:59 AM, Ingo Molnar wrote: >> > >> > * Andy Lutomirski wrote: >> > >> >> --- a/arch/x86/kernel/process_64.c >> >> +++ b/arch/x86/kernel/process_64.c

Re: [PATCH 1/3] x86/entry/64: Refactor IRQ stacks and make then NMI-safe

2015-08-05 Thread Steven Rostedt
On Wed, 5 Aug 2015 11:24:54 -0700 Andy Lutomirski wrote: > On Wed, Aug 5, 2015 at 1:59 AM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> --- a/arch/x86/kernel/process_64.c > >> +++ b/arch/x86/kernel/process_64.c > >> @@ -280,6 +280,10 @@ __switch_to(struct task_struct *prev_p,

Re: [PATCH 02/27] ASN.1: Copy string names to tokens in ASN.1 compiler [ver #7]

2015-08-05 Thread David Howells
Mimi Zohar wrote: > This patch isn't applying properly against linux-security/next. The > rest seem to be fine. Did you apply the asn1-fixes-20150805 first and patch 1? Note that the branch is based on security/next, with my asn1-fixes-20150805 tag merged on top - so it *ought* to

Re: [PATCH] vDSO,test: Add vdso_test as an additional target with add-assign

2015-08-05 Thread Andy Lutomirski
On Tue, Aug 4, 2015 at 4:09 PM, Yuyang Du wrote: > Simply adding the vdso_test target by removing the comment sign won't > work unless the targets are added correctly. Jon, is this yours or mine? --Andy > > Signed-off-by: Yuyang Du > --- > Documentation/vDSO/Makefile | 4 ++-- > 1 file

Re: [PATCH 1/3] x86/entry/64: Refactor IRQ stacks and make then NMI-safe

2015-08-05 Thread Andy Lutomirski
On Wed, Aug 5, 2015 at 1:59 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> --- a/arch/x86/kernel/process_64.c >> +++ b/arch/x86/kernel/process_64.c >> @@ -280,6 +280,10 @@ __switch_to(struct task_struct *prev_p, struct >> task_struct *next_p) >> unsigned fsindex, gsindex; >>

Re: [PATCH] x86: correct fpu emulation access to ldt

2015-08-05 Thread Andy Lutomirski
On Wed, Aug 5, 2015 at 2:11 AM, Juergen Gross wrote: > On 08/04/2015 08:01 PM, Andy Lutomirski wrote: >> >> On Tue, Aug 4, 2015 at 8:02 AM, Juergen Gross wrote: >>> >>> Commit 14805442532c ("x86/ldt: Make modify_ldt synchronous") introduced >>> a new struct ldt_struct anchored at

[PATCH] ioatdma: fix overflow of u16 in ring_reshape

2015-08-05 Thread Allen Hubbe
If the allocation order is 16, then the u16 index will overflow and wrap to zero instead of being equal or greater than 1 << 16. The loop condition will always be true, and the loop will run until all the memory resources are depleted. Change the type of index 'i' to u32, so that it is large

Re: [PATCH 19/23] power/reset: at91-poweroff: get and use slow clock

2015-08-05 Thread Sebastian Reichel
Hi, On Fri, Jul 31, 2015 at 11:39:55AM +0200, Alexandre Belloni wrote: > Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system > hang") added a workaround for the slow clock as it is not properly handled > by its users. > > Get and use the slow clock as it is necessary for the

Re: [PATCH 18/23] power/reset: at91-reset: get and use slow clock

2015-08-05 Thread Sebastian Reichel
Hi, On Fri, Jul 31, 2015 at 11:39:54AM +0200, Alexandre Belloni wrote: > Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system > hang") added a workaround for the slow clock as it is not properly handled > by its users. > > Get and use the slow clock as it is necessary for the

Re: [PATCH] sb_edac: fix TAD presence check for sbridge_mci_bind_devs()

2015-08-05 Thread Aristeu Rozanski
On Wed, Aug 05, 2015 at 01:16:01PM -0500, Seth Jennings wrote: > In 7d375bff, NUM_CHANNELS was changed to 8 and the channel space was > renumerated to handle EN, EP, and EX configurations. > > The *_mci_bind_devs functions, except for sbridge_mci_bind_devs(), got a > new device presence check in

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-05 Thread Eric W. Biederman
Kees Cook writes: > On Tue, Jul 28, 2015 at 1:55 PM, Ricky Zhou wrote: >> On Tue, Jul 28, 2015 at 11:17 AM, Eric W. Biederman >> wrote: >>> Kees Cook writes: >>> From: Ricky Zhou Checking mm_users > 1 does not mean a process is multithreaded. For example, reading

[PATCH] sb_edac: fix TAD presence check for sbridge_mci_bind_devs()

2015-08-05 Thread Seth Jennings
In 7d375bff, NUM_CHANNELS was changed to 8 and the channel space was renumerated to handle EN, EP, and EX configurations. The *_mci_bind_devs functions, except for sbridge_mci_bind_devs(), got a new device presence check in the form of saw_chan_mask. However, sbridge_mci_bind_devs() still uses

[PATCH 2/2] clocksource: sanity check watchdog clocksource

2015-08-05 Thread Shaohua Li
Add a sanity check to make sure watchdog clocksource doesn't wrap too quickly. Cc: John Stultz Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Shaohua Li --- kernel/time/clocksource.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kernel/time/clocksource.c

[PATCH 1/2] clocksource: improve unstable clocksource detection

2015-08-05 Thread Shaohua Li
>From time to time we saw TSC is marked as unstable in our systems, while the CPUs declare to have stable TSC. Looking at the clocksource unstable detection, there are two problems: - watchdog clock source wrap. HPET is the most common watchdog clock source. It's 32-bit and runs in 14.3Mhz. That

Re: [PATCH 02/27] ASN.1: Copy string names to tokens in ASN.1 compiler [ver #7]

2015-08-05 Thread Mimi Zohar
Hi David, This patch isn't applying properly against linux-security/next. The rest seem to be fine. Mimi On Wed, 2015-08-05 at 14:43 +0100, David Howells wrote: > Copy string names to tokens in ASN.1 compiler rather than storing a pointer > into the source text. This means we don't have to

Re: [PATCH 01/23] Documentation: dt: atmel-at91: add clocks to system timer, rstc and shdwc

2015-08-05 Thread Sebastian Reichel
Hi, On Fri, Jul 31, 2015 at 11:39:37AM +0200, Alexandre Belloni wrote: > The system timer (at91rm9200), the reset controller and the shutdown > controller need an input clock. This is the slow clock and they will not > function without it. > > Also fix the shutdown controller example. Acked-By:

Re: [PATCH 2/2] gpio/mxc: implement reading output gpio value

2015-08-05 Thread Fabio Estevam
Hi Eduardo, On Wed, Aug 5, 2015 at 3:02 PM, Eduardo Valentin wrote: > > Hello Fabio, > > On Wed, Aug 05, 2015 at 02:43:05PM -0300, Fabio Estevam wrote: >> Hi Eduardo, >> >> On Wed, Aug 5, 2015 at 2:23 PM, Eduardo Valentin wrote: >> > In current implementation, reading the value of an output

RE: [PATCH] staging: comedi: improve comedi_check_chanlist() documentation

2015-08-05 Thread Hartley Sweeten
On Wednesday, August 05, 2015 10:13 AM, Ian Abbott wrote: > > Signed-off-by: Ian Abbott > --- > drivers/staging/comedi/range.c | 13 - > 1 file changed, 12 insertions(+), 1 deletion(-) > > diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c > index

Re: [PATCH 3/3] Input - elantech: Add special check for fw_version 0x470f01 touchpad

2015-08-05 Thread Dmitry Torokhov
Hi Ulrik, On Sun, Aug 02, 2015 at 12:16:41PM +0800, duson wrote: > It is no need to check the packet[0] for sanity check when doing > elantech_packet_check_v4() function for fw_version = 0x470f01 touchpad. > Are you OK with this version? Thanks! > Signed-off by: Duson Lin > --- >

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-05 Thread Eric W. Biederman
Oleg Nesterov writes: > On 07/29, Kirill A. Shutemov wrote: >> >> On Tue, Jul 28, 2015 at 02:35:04PM -0700, Andrew Morton wrote: >> > On Tue, 28 Jul 2015 10:15:00 -0700 Kees Cook wrote: >> > >> > > From: Ricky Zhou >> > > >> > > Checking mm_users > 1 does not mean a process is multithreaded.

Re: [PATCH v2 1/2] power: reset: at91: add sama5d3 reset function

2015-08-05 Thread Sebastian Reichel
Hi Nicolas, On Tue, Jul 28, 2015 at 09:27:38AM +0200, Nicolas Ferre wrote: > >> This patch introduces a new compatible string: "atmel,sama5d3-rstc" and > >> new reset function for sama5d3 and later chips. > > > > queued. > > As my Device Tree changes depend on this modification, > we can

Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-08-05 Thread Daniel Kurtz
On Wed, Aug 5, 2015 at 8:25 PM, Sascha Hauer wrote: > This adds support for the Mediatek thermal controller found on MT8173 > and likely other SoCs. > The controller is a bit special. It does not have its own ADC, instead > it controls the on-SoC AUXADC via AHB bus accesses. For this reason > we

Re: [PATCH 2/2] gpio/mxc: implement reading output gpio value

2015-08-05 Thread Eduardo Valentin
Hello Fabio, On Wed, Aug 05, 2015 at 02:43:05PM -0300, Fabio Estevam wrote: > Hi Eduardo, > > On Wed, Aug 5, 2015 at 2:23 PM, Eduardo Valentin wrote: > > In current implementation, reading the value of an output gpio > > always return 0. The reason is because when a gpio is configured > >

Re: [PATCH 07/13] arm64: KVM: VHE: Patch out use of HVC

2015-08-05 Thread Catalin Marinas
On Wed, Jul 08, 2015 at 05:19:10PM +0100, Marc Zyngier wrote: > --- /dev/null > +++ b/arch/arm64/kvm/vhe-macros.h > @@ -0,0 +1,36 @@ > +/* > + * Copyright (C) 2015 - ARM Ltd > + * Author: Marc Zyngier > + * > + * This program is free software; you can redistribute it and/or modify > + * it under

Re: [PATCH 1/3] clk: versatile: Switch to assigned clock parents

2015-08-05 Thread Stephen Boyd
On 08/05/2015 03:29 AM, Pawel Moll wrote: Right, that's probably my fault. The sp810 nodes appeared in the VE trees very early (in terms of the "DT era"), when we weren't so strict about documentation. So far, it would be fairly simple, something like the text below - feel free to take it, mend

Re: [PATCH v6 4/8] usb: gadget: move find_ep() from epautoconf to gadget.h

2015-08-05 Thread Felipe Balbi
On Wed, Aug 05, 2015 at 10:30:54AM -0400, Alan Stern wrote: > On Wed, 5 Aug 2015, Robert Baldyga wrote: > > > Move find_ep() function to gadget.h, rename it to gadget_find_ep_by_name() > > and make it static inline. It can be used in UDC drivers, especially in > > 'match_ep' callback after moving

Re: [PATCH 3/4] arm64: Juno: Add HDLCD support to the Juno boards.

2015-08-05 Thread Russell King - ARM Linux
On Wed, Aug 05, 2015 at 03:28:11PM +0100, Liviu Dudau wrote: > + hdmi-transmitter@71 { > compatible = "nxp,tda998x"; > reg = <0x71>; > + port { > + tda998x_1_input: endpoint@0 { > +

Re: [PATCH 0/8] watchdog: Add support for keepalives triggered by infrastructure

2015-08-05 Thread David Teigland
On Wed, Aug 05, 2015 at 10:41:51AM -0700, Guenter Roeck wrote: > Not really. The heartbeats will be generated such that the watchdog expires > no later that . I > discussed > this already with Uwe; he had the same concern. This isn't in the current > version of the patch set, but it will be in

Re: [BUG] net/ipv4: inconsistent routing table

2015-08-05 Thread Alexander Duyck
On 08/05/2015 02:06 AM, Daniel Borkmann wrote: [ please cc netdev ] On 08/05/2015 10:56 AM, Zang MingJie wrote: Hi: I found a bug when remove an ip address which is referenced by a routing entry. step to reproduce: ip li add type dummy ip li set dummy0 up ip ad add 10.0.0.1/24 dev dummy0

Re: [PATCH 2/2] gpio/mxc: implement reading output gpio value

2015-08-05 Thread Fabio Estevam
Hi Eduardo, On Wed, Aug 5, 2015 at 2:23 PM, Eduardo Valentin wrote: > In current implementation, reading the value of an output gpio > always return 0. The reason is because when a gpio is configured Have you tried setting the SION bit for the pad? This should fix the problem. Regards, Fabio

Re: [PATCH 0/8] watchdog: Add support for keepalives triggered by infrastructure

2015-08-05 Thread Guenter Roeck
Hi David, On 08/05/2015 10:13 AM, David Teigland wrote: On Mon, Aug 03, 2015 at 07:13:26PM -0700, Guenter Roeck wrote: - Some watchdogs have a very short maximum timeout, in the range of just a few seconds. Such low timeouts are difficult if not impossible to support from user space.

Re: [PATCH] Fix data loss in cdc-acm

2015-08-05 Thread Peter Hurley
On 07/22/2015 06:53 PM, Sven Brauch wrote: > Hi, > > On 23/07/15 00:12, Peter Hurley wrote: >> The premature unthrottle actually leads to the data loss but the throttling >> with a mere 2K left is _way too late_. > Ok, yes, I think so too. > >> 10ms is a _really_ long time for a cpu not to

Re: [PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-05 Thread Javi Merino
On Wed, Aug 05, 2015 at 05:50:20PM +0100, Dmitry Torokhov wrote: > On Wed, Aug 05, 2015 at 09:29:11AM +0100, Javi Merino wrote: > > On Tue, Aug 04, 2015 at 05:33:40PM +0100, Dmitry Torokhov wrote: > > > The code in question is called outside of standard driver > > > probe()/remove() callbacks and

Re: [PATCH] acpi, property: Export acpi_dev_prop_read_single call.

2015-08-05 Thread David Daney
On 08/05/2015 06:43 AM, Tomasz Nowicki wrote: On 05.08.2015 15:48, Rafael J. Wysocki wrote: On Tuesday, August 04, 2015 04:01:59 PM David Daney wrote: From: Tomasz Nowicki Fixes the following build error when building drivers as modules: ERROR: "acpi_dev_prop_read_single"

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-08-05 Thread Oleg Nesterov
On 07/29, Kirill A. Shutemov wrote: > > On Tue, Jul 28, 2015 at 02:35:04PM -0700, Andrew Morton wrote: > > On Tue, 28 Jul 2015 10:15:00 -0700 Kees Cook wrote: > > > > > From: Ricky Zhou > > > > > > Checking mm_users > 1 does not mean a process is multithreaded. For > > > example, reading

Re: [PATCH] ARM64: dts: mt6795: enable basic SMP bringup for MT6795

2015-08-05 Thread Matthias Brugger
On Tuesday, August 04, 2015 10:47:37 AM Scott Shu wrote: > This patch adds support SMP on MediaTek MT6795 Cortex-A53 Octa-core SoC. applied to v4.2-next/arm64-2 > > The patch is based on v4.2-rc1 and following patch series: > (1) Mars Cheng's "Add mt6795 basic chip support" [1] > > [1]

[PATCH 2/2] gpio/mxc: implement reading output gpio value

2015-08-05 Thread Eduardo Valentin
In current implementation, reading the value of an output gpio always return 0. The reason is because when a gpio is configured as output, its output status can be read from the GPIO_DR register, and when it is configure as input, its value can be read from GPIO_PSR. With current implementation of

[PATCH 1/2] gpio/mxc: mask gpio interrupts in suspend

2015-08-05 Thread Eduardo Valentin
From: Ulises Brindis Currently in the FSL platform all GPIO interrupts in a bank are muxed into two GPIO lines to the GPC interrupt controller. In each GPIO bank GPIOs 0-15 are OR'ed into one GPC interrupt controller interrupt and 16-31 are OR'ed into another. With the current code, if any of

[PATCH 0/2] couple of fixes on IMX gpio driver

2015-08-05 Thread Eduardo Valentin
Hello all, Here are two fixes on IMX GPIO driver. One is on the way we handle GPIO irqs while going into suspend. Another one is to be able to read the value of an output GPIO. Eduardo Valentin (1): gpio/mxc: implement reading output gpio value Ulises Brindis (1): gpio/mxc: mask gpio

Enquiry

2015-08-05 Thread Jin Alex Du
Hello, I will be in country with a couple of my co-workers and during our stay we will be needing your Scuba Diving lessons.. what are the various ways u charges for your service, is it hourly or daily?. I await your reply. Thanks Jin Du. -- To unsubscribe from this list: send the line

[PATCH cgroup/for-4.3 3/3] cgroup: replace __DEVEL__sane_behavior with cgroup2 fs type

2015-08-05 Thread Tejun Heo
With major controllers - cpu, memory and io - shaping up for the unified hierarchy, cgroup2 is about ready to be, gradually, released into the wild. Replace __DEVEL__sane_behavior flag which was used to select the unified hierarchy with a separate filesystem type "cgroup2" so that unified

Re: [PATCH cgroup/for-4.3 2/3] cgroup: drop cgroup__DEVEL__legacy_files_on_dfl

2015-08-05 Thread Tejun Heo
Now that interfaces for the major three controllers - cpu, memory, io - are shaping up, there's no reason to have an option to force legacy files to show up on the unified hierarchy for testing. Drop it. Signed-off-by: Tejun Heo Cc: Li Zefan Cc: Johannes Weiner ---

[PATCH cgroup/for-4.3 1/3] cgroup: replace error handling in cgroup_init() with WARN_ON()s

2015-08-05 Thread Tejun Heo
The init sequence shouldn't fail short of bugs and even when it does it's better to continue with the rest of initialization and we were silently ignoring /proc/cgroups creation failure. Drop the explicit error handling and wrap sysfs_create_mount_point(), register_filesystem() and proc_create()

Re: [PATCH] writeback: fix initial dirty limit

2015-08-05 Thread Tejun Heo
On Wed, Aug 05, 2015 at 07:08:40PM +0200, Rabin Vincent wrote: > The initial value of global_wb_domain.dirty_limit set by > writeback_set_ratelimit() is zeroed out by the memset in > wb_domain_init(). > > Signed-off-by: Rabin Vincent Acked-by: Tejun Heo Thanks. -- tejun -- To unsubscribe

Re: [PATCH 2/2] MAINTAINERS: Explicitly add linux-arm-kernel for bcm2835

2015-08-05 Thread Florian Fainelli
On 22/07/15 12:55, Eric Anholt wrote: > get_maintainers.pl would list linux-arm-kernel for most bcm2835 > changes because it's under arch/arm, but might not for other bcm2835 > drivers. Most ARM architectures appear to list linux-arm-kernel as an > appropriate list as well. > > Signed-off-by:

Re: [PATCH] sky2: Add module parameter for passing the MAC address

2015-08-05 Thread Liviu Dudau
On Wed, Aug 05, 2015 at 06:15:37PM +0100, Ryan Harkin wrote: >On 5 August 2015 at 16:50, Liviu Dudau <[1]liviu.du...@arm.com> wrote: > > For designs where EEPROMs are not connected to PCI Yukon2 > chips we need to get the MAC address from the firmware. > Add a module parameter

Re: [PATCH 1/2] MAINTAINERS: Add myself as a bcm2835 co-maintainer.

2015-08-05 Thread Florian Fainelli
On 22/07/15 12:55, Eric Anholt wrote: > The current maintainers have limited free time to work on the > architecture, and I'm motivated to do so for my work on graphics for > Broadcom. Arnd and Florian suggested to me that this might be the way > forward. > > Signed-off-by: Eric Anholt Applied

Re: [PATCH] sky2: Add module parameter for passing the MAC address

2015-08-05 Thread Liviu Dudau
On Wed, Aug 05, 2015 at 05:40:57PM +0100, Stephen Hemminger wrote: > On Wed, 5 Aug 2015 16:50:54 +0100 > Liviu Dudau wrote: > > > For designs where EEPROMs are not connected to PCI Yukon2 > > chips we need to get the MAC address from the firmware. > > Add a module parameter called 'mac_address'

Re: [RFC V2 PATCH 0/1] kexec: crash_kexec_post_notifiers boot option related fixes

2015-08-05 Thread Eric W. Biederman
"河合英宏 / KAWAI,HIDEHIRO" writes: > Hello, > > Thanks for the reply. > >> From: Eric W. Biederman [mailto:ebied...@xmission.com] > [...] >> A specific hook for a very specific purpose when there is no other way >> we can consider. > > So, is kmsg_dump like feature admissible? > >> If you don't

[PATCH] staging: comedi: improve comedi_check_chanlist() documentation

2015-08-05 Thread Ian Abbott
Signed-off-by: Ian Abbott --- drivers/staging/comedi/range.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c index 6a393b2..ce3a58a 100644 --- a/drivers/staging/comedi/range.c +++

Re: [PATCH 0/8] watchdog: Add support for keepalives triggered by infrastructure

2015-08-05 Thread David Teigland
On Mon, Aug 03, 2015 at 07:13:26PM -0700, Guenter Roeck wrote: > - Some watchdogs have a very short maximum timeout, in the range of just a few > seconds. Such low timeouts are difficult if not impossible to support from > user space. Drivers supporting such watchdog hardware need to implement

Re: [PATCH] ARM: BCM: Enable ARM erratum 798181 for BRCMSTB

2015-08-05 Thread Florian Fainelli
On 04/08/15 18:43, Gregory Fong wrote: > Commit 04fcab32d3fa1d3f6afe97e0ab431c5572e07a2c ("ARM: 8111/1: Enable > erratum 798181 for Broadcom Brahma-B15") enables this erratum for > affected Broadcom Brahma-B15 CPUs when CONFIG_ARM_ERRATA_798181=y. > Let's make sure that config option is actually

Re: [PATCH 0/5] kmod: Cleanups, simplifications, and make isolation friendly v3

2015-08-05 Thread Oleg Nesterov
On 07/27, Frederic Weisbecker wrote: > > Hence those two debatable changes: > > _ We would like to use generic workqueues. System unbound workqueues are > a very good candidate but they are not wide affine, only node affine. > Now probably a node is enough to perform many parallel kmod jobs. >

Re: [GIT PULL 0/3] phy: for 4.2 -rc

2015-08-05 Thread Greg KH
On Tue, Aug 04, 2015 at 10:17:41PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Got a couple of more fixes for this -rc cycle. One fixes a compiler > error when the driver is built as module and the other fixes a > SATA lockup. The fix also requires a dts patch which I've included > in

RE: [PATCH 2/3] Docs: dt: Add PCI MSI map bindings

2015-08-05 Thread Varun Sethi
Hi Mark Thanks for the patch. Please find my comment inline. Regards Varun > -Original Message- > From: iommu-boun...@lists.linux-foundation.org [mailto:iommu- > boun...@lists.linux-foundation.org] On Behalf Of Mark Rutland > Sent: Thursday, July 23, 2015 10:23 PM > To:

[PATCH] iio: Documentation: Add trigger name attribute ABI documentation

2015-08-05 Thread Cristina Opriceana
This patch adds an entry in the ABI Documentation for the name attribute issued when a trigger is created. Signed-off-by: Cristina Opriceana --- Documentation/ABI/testing/sysfs-bus-iio-trigger-sysfs | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH] writeback: fix initial dirty limit

2015-08-05 Thread Rabin Vincent
The initial value of global_wb_domain.dirty_limit set by writeback_set_ratelimit() is zeroed out by the memset in wb_domain_init(). Signed-off-by: Rabin Vincent --- mm/page-writeback.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/page-writeback.c

Re: [PATCH] kvm:arm:Fix error handling in the function vgic_v3_probe

2015-08-05 Thread Paolo Bonzini
On 05/08/2015 18:48, Nicholas Krause wrote: > This fixes the error handling in the function vgic_v3_probe > for when calling the function kvm_register_device_ops to check > if the call to this function has returned a error code and if > so jump to the label out with goto to cleanup no longer

Re: [PATCH v2] clocksource: sh_cmt: Only perform clocksource suspend/resume if enabled

2015-08-05 Thread Daniel Lezcano
On 08/05/2015 03:56 PM, Geert Uytterhoeven wrote: Hi Daniel, On Thu, Jul 16, 2015 at 4:03 PM, Geert Uytterhoeven wrote: On Thu, Jul 16, 2015 at 3:41 PM, Daniel Lezcano wrote: do you mean to test if the patch [1] solves your problem. -- Daniel [1] https://lkml.org/lkml/2015/1/16/81

Re: [Consult] cris: arch-v10: About $dtp0 register

2015-08-05 Thread Hans-Peter Nilsson
> From: Chen Gang > Date: Wed, 5 Aug 2015 16:39:00 +0200 > On 8/5/15 12:32, Hans-Peter Nilsson wrote: > >> From: Chen Gang > >> Date: Mon, 20 Jul 2015 23:32:52 +0200 > > > >> On 7/9/15 08:44, Chen Gang wrote: > >> The latest upstream cris gcc will cause issue for next-20150720 with > >>

[no subject]

2015-08-05 Thread ZHENG ELECTRIC VEHICLE MANUFACTURING CO., LTD
Greetings, This is an official request for Professional/consultants who will stand as our regional representative to run logistics on behalf of ZHENG ELECTRIC VEHICLE MANUFACTURING CO., LTD. We are looking for a payment collection agent in Canada and USA and Europ. Salary is 10% of every

Re: [PATCH v2 4/8] xen: Use the correctly the Xen memory terminologies

2015-08-05 Thread Wei Liu
On Tue, Aug 04, 2015 at 07:12:48PM +0100, Julien Grall wrote: [...] > diff --git a/drivers/net/xen-netback/netback.c > b/drivers/net/xen-netback/netback.c > index 7d50711..3b7b7c3 100644 > --- a/drivers/net/xen-netback/netback.c > +++ b/drivers/net/xen-netback/netback.c > @@ -314,7 +314,7 @@

Re: [PATCH RFC v1 0/4] perf: Introduce extended syscall error reporting

2015-08-05 Thread Peter Zijlstra
On Fri, Jul 24, 2015 at 02:45:55PM +0300, Alexander Shishkin wrote: > Hi Peter and Ingo and everybody, > > Here's my second stab at improving perf's error reporting by attaching > arbitrary strings to the integer error codes. This is largely based > off of the previous email thread [1]. > > This

Re: [PATCH v2 4/8] xen: Use the correctly the Xen memory terminologies

2015-08-05 Thread Dmitry Torokhov
On Wed, Aug 05, 2015 at 11:08:55AM +0100, Stefano Stabellini wrote: > On Tue, 4 Aug 2015, Julien Grall wrote: > > Based on include/xen/mm.h [1], Linux is mistakenly using MFN when GFN > > is meant, I suspect this is because the first support for Xen was for > > PV. This resulted in some

Re: [PATCH 1/3] Docs: dt: add generic MSI bindings

2015-08-05 Thread Mark Rutland
Rob, Do you have any objections to this, or are you happy to take this patch? There's a user of this binding (the GICv3 ITS) queued for v4.3 already in the tip tree, so either we either need to be ok with this binding or we need to rework that before v4.3. Marc, can I take it from your use of

Re: [PATCH] thermal: power_allocator: do not use devm* interfaces

2015-08-05 Thread Dmitry Torokhov
On Wed, Aug 05, 2015 at 09:29:11AM +0100, Javi Merino wrote: > On Tue, Aug 04, 2015 at 05:33:40PM +0100, Dmitry Torokhov wrote: > > The code in question is called outside of standard driver > > probe()/remove() callbacks and thus will not benefit from use of devm* > > infrastructure. > > > >

Re: [RFC 4/8] jbd, jbd2: Do not fail journal because of frozen_buffer allocation failure

2015-08-05 Thread Greg Thelen
mho...@kernel.org wrote: > From: Michal Hocko > > Journal transaction might fail prematurely because the frozen_buffer > is allocated by GFP_NOFS request: > [ 72.440013] do_get_write_access: OOM for frozen_buffer > [ 72.440014] EXT4-fs: ext4_reserve_inode_write:4729: aborting transaction:

Re: [PATCH v3 5/8] ARM: mediatek: add smp bringup code for MT6580

2015-08-05 Thread Matthias Brugger
On Tuesday, August 04, 2015 09:54:21 PM Scott Shu wrote: > Add support for cpu enable-method "mediatek,mt6580-smp" for booting > secondary CPUs on MT6580. > > Signed-off-by: Scott Shu > --- > arch/arm/mach-mediatek/platsmp.c | 137 > ++ 1 file changed, 137

[PATCH v3 1/3] drivers: staging: wilc1000: use 'void' for no arguments functions

2015-08-05 Thread Chandra S Gorentla
Added 'void' keyword in the paranthesis of function definitions, when there are no arguments to the functions. This fixes the checkpatch.pl error - "Bad function definition 'function()' should probably be function(void)". Signed-off-by: Chandra S Gorentla ---

[PATCH v3 3/3] drivers: staging: wilc1000: remove space after '('

2015-08-05 Thread Chandra S Gorentla
The character ' ' is removed after the character '('. This fixes the checkpatch.pl error - "space prohibited after that open parenthesis '('". Signed-off-by: Chandra S Gorentla --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 2/3] drivers: staging: wilc1000: move { to previous line

2015-08-05 Thread Chandra S Gorentla
Moved the opening brace of code blocks to the previous lines. This fixes the checkpatch.pl error - "that open brace { should be on the previous line". Signed-off-by: Chandra S Gorentla --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 9 +++-- 1 file changed, 3 insertions(+), 6

[PATCH v3 0/3] drivers: staging: wilc1000: Fix a few style errors

2015-08-05 Thread Chandra S Gorentla
v3 - Resending as v2 patch was series missing signedoff line. Corrected now. v2 - Resending as v1 patch series did not apply cleanly. These patches fixes a few style errors reported by checkpatch.pl. PATCH 3/3 should be applied after PATCH 2/3. -- To unsubscribe from this list: send the line

Re: [PATCH] sky2: Add module parameter for passing the MAC address

2015-08-05 Thread Stephen Hemminger
On Wed, 5 Aug 2015 16:50:54 +0100 Liviu Dudau wrote: > For designs where EEPROMs are not connected to PCI Yukon2 > chips we need to get the MAC address from the firmware. > Add a module parameter called 'mac_address' for this. It > will be used if no DT node can be found and the B2_MAC >

Re: [Xen-devel] printk from softirq on xen: hard lockup

2015-08-05 Thread Jason A. Donenfeld
Hi folks, I have written an extremely simple reproducer. Xen 4.5.1. Linux 4.1.3. Config attached. Reproducer attached. Makefile attached. It results in the COMPLETE lockup of the system when it receives a network packet over the Xen PV network interface. The lockup is 100% reliable. As in the

Re: [PATCH] thermal: remove power allocator from list of default governors

2015-08-05 Thread Dmitry Torokhov
On Wed, Aug 05, 2015 at 09:37:55AM +0100, Javi Merino wrote: > On Tue, Aug 04, 2015 at 05:39:21PM +0100, Dmitry Torokhov wrote: > > As it currently stands the power allocator governor can not handle > > thermal zones that are not specifically crafted and therefore can not be > > used as a default

[PATCH v2 0/5] KVM: optimize userspace exits with a new ioctl

2015-08-05 Thread Radim Krčmář
v2: * move request_exits debug counter patch right after introduction of KVM_REQ_EXIT [3/5] * use vcpu ioctl instead of vm one [4/5] * shrink kvm_user_exit from 64 to 32 bytes [4/5] * new [5/5] QEMU uses SIGUSR1 to force a userspace exit and also to queue an early exit before calling

Re: [PATCH v2 4/5] KVM: add KVM_USER_EXIT vcpu ioctl for userspace exit

2015-08-05 Thread Paolo Bonzini
On 05/08/2015 18:33, Radim Krčmář wrote: > The guest can use KVM_USER_EXIT instead of a signal-based exiting to > userspace. Availability depends on KVM_CAP_USER_EXIT. > Only x86 is implemented so far. > > Signed-off-by: Radim Krčmář > --- > v2: > * use vcpu ioctl instead of vm one [4/5] >

[PATCH v2 1/5] KVM: add kvm_has_request wrapper

2015-08-05 Thread Radim Krčmář
We want to have requests abstracted from bit operations. Signed-off-by: Radim Krčmář --- arch/x86/kvm/vmx.c | 2 +- include/linux/kvm_host.h | 7 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 217f66343dc8..17514fe7d2cb

[PATCH v2 5/5] KVM: refactor asynchronous vcpu ioctl dispatch

2015-08-05 Thread Radim Krčmář
I find the switch easier to read and modify. Signed-off-by: Radim Krčmář --- v2: new virt/kvm/kvm_main.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index d7ffe6090520..71598554deed 100644 --- a/virt/kvm/kvm_main.c +++

[PATCH v2 4/5] KVM: add KVM_USER_EXIT vcpu ioctl for userspace exit

2015-08-05 Thread Radim Krčmář
The guest can use KVM_USER_EXIT instead of a signal-based exiting to userspace. Availability depends on KVM_CAP_USER_EXIT. Only x86 is implemented so far. Signed-off-by: Radim Krčmář --- v2: * use vcpu ioctl instead of vm one [4/5] * shrink kvm_user_exit from 64 to 32 bytes [4/5]

[PATCH v2 3/5] KVM: x86: add request_exits debug counter

2015-08-05 Thread Radim Krčmář
We are still interested in the amount of exits userspace requested and signal_exits doesn't cover that anymore. Signed-off-by: Radim Krčmář --- v2: move request_exits debug counter patch right after introduction of KVM_REQ_EXIT [3/5] arch/x86/include/asm/kvm_host.h | 1 +

[PATCH v2 2/5] KVM: add KVM_REQ_EXIT request for userspace exit

2015-08-05 Thread Radim Krčmář
When userspace wants KVM to exit to userspace, it sends a signal. This has a disadvantage of requiring a change to the signal mask because the signal needs to be blocked in userspace to stay pending when sending to self. Using a request flag allows us to shave 200-300 cycles from every userspace

Re: [RFC 8/8] btrfs: use __GFP_NOFAIL in alloc_btrfs_bio

2015-08-05 Thread David Sterba
On Wed, Aug 05, 2015 at 11:51:24AM +0200, mho...@kernel.org wrote: > From: Michal Hocko > > alloc_btrfs_bio is relying on GFP_NOFS to allocate a bio but since "mm: > page_alloc: do not lock up GFP_NOFS allocations upon OOM" this is > allowed to fail which can lead to > [ 37.928625] kernel BUG

Re: [RFC 7/8] btrfs: Prevent from early transaction abort

2015-08-05 Thread David Sterba
On Wed, Aug 05, 2015 at 11:51:23AM +0200, mho...@kernel.org wrote: > From: Michal Hocko ... > Fix this by reintroducing the no-fail behavior of this allocation path > with the explicit __GFP_NOFAIL. > > Signed-off-by: Michal Hocko Reviewed-by: David Sterba -- To unsubscribe from this list:

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