Re: [PATCH v2 1/2] debugfs: Export bool read/write functions

2015-08-05 Thread Greg KH
On Tue, Jun 23, 2015 at 02:32:54PM +0100, Richard Fitzgerald wrote: > The file read/write functions for bools have no special dependencies > on debugfs internals and are sufficiently non-trivial to be worth > exporting so clients can re-use the implementation. > > Signed-off-by: Richard Fitzgerald

Re: [PATCH 1/3] zpool: add zpool_has_pool()

2015-08-05 Thread Andrew Morton
On Wed, 5 Aug 2015 09:46:41 -0400 Dan Streetman wrote: > Add zpool_has_pool() function, indicating if the specified type of zpool > is available (i.e. zsmalloc or zbud). This allows checking if a pool is > available, without actually trying to allocate it, similar to > crypto_has_alg(). > > Th

Re: [PATCHv5 3/5] Staging: most: hdm-usb/hdm_usb.c. Fix "missing static keyword" warnings

2015-08-05 Thread Christian Gromm
On Tue, 4 Aug 2015 20:44:53 +0200 Adrian Remonda wrote: > This is a patch to the most/hdm-usb/hdm_usb.c file. It > makes several local functions and structures static to prevent global > visibility. > > Signed-off-by: Adrian Remonda > --- > drivers/staging/most/hdm-usb/hdm_usb.c | 16 -

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-05 Thread Steve Grubb
On Wednesday, August 05, 2015 03:16:58 PM Paul Moore wrote: > On Wednesday, August 05, 2015 02:30:14 AM Richard Guy Briggs wrote: > > On 15/08/04, Paul Moore wrote: > > > On Saturday, August 01, 2015 03:42:23 PM Richard Guy Briggs wrote: > > > > Signed-off-by: Richard Guy Briggs > > > > --- > > >

Re: [PATCH] can: xilinx: fix RX FIFO overflow error handling

2015-08-05 Thread Andrea Scian - DAVE Embedded Systems
Michal, Kedar, Any feedback regarding my patch? Have you ever experienced such a problem? Andrea SCIAN *DAVE Embedded Systems* via Talponedo 29/A 33080 Porcia (PN) - Italy Telephone: +39.0434.921215 Telefax: +39.0434.1994030 web: www.dave.eu Il 24/07/2015 06:15, Michal S

Re: [PATCH v2] ioatdma: fix overflow of u16 in ring_reshape

2015-08-05 Thread Dan Williams
On Wed, Aug 5, 2015 at 7:55 AM, Allen Hubbe wrote: > 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. >

Re: [RFC 0/8] Allow GFP_NOFS allocation to fail

2015-08-05 Thread Andreas Dilger
On Aug 5, 2015, at 3:51 AM, mho...@kernel.org wrote: > Hi, > small GFP_NOFS, like GFP_KERNEL, allocations have not been not failing > traditionally even though their reclaim capabilities are restricted > because the VM code cannot recurse into filesystems to clean dirty > pages. At the same time th

[PATCH v2] 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 enou

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

2015-08-05 Thread David Teigland
On Wed, Aug 05, 2015 at 12:01:38PM -0700, Guenter Roeck wrote: > I think I can understand why Wim was reluctant to accept your patch; > I must admit I don't understand your use case either. Very breifly, sanlock is a shared storage based lease manager, and the expiration of a lease is tied to the

Re: [RFC PATCH] timer: Improve itimers scalability

2015-08-05 Thread Jason Low
On Wed, 2015-08-05 at 11:37 +0200, Peter Zijlstra wrote: > On Tue, Aug 04, 2015 at 05:29:44PM -0700, Jason Low wrote: > > > @@ -1137,6 +1148,13 @@ static inline int fastpath_timer_check(struct > > task_struct *tsk) > > if (READ_ONCE(sig->cputimer.running)) { > > Maybe make that: > > i

Re: [GIT PULL] nfsd bugfixes for 4.2

2015-08-05 Thread J. Bruce Fields
On Wed, Aug 05, 2015 at 11:01:53AM +0200, Linus Torvalds wrote: > On Tue, Aug 4, 2015 at 11:09 PM, J. Bruce Fields wrote: > > Please pull a few nfsd bugfixes for 4.2 from: > > Pulled. However, I wonder if you could start making signed tag pull > requests. I don't know how linux-nfs.org is maintai

Re: [PATCH] intel_pstate: append more Oracle OEM table id to vendor bypass list

2015-08-05 Thread Kristen Carlson Accardi
On Wed, 5 Aug 2015 09:28:50 +0900 Ethan Zhao wrote: > Append more Oracle X86 servers that have their own power management, > > SUN FIRE X4275 M3 > SUN FIRE X4170 M3 > and > SUN FIRE X6-2 > > Signed-off-by: Ethan Zhao > --- > drivers/cpufreq/intel_pstate.c | 4 > 1 file changed, 4 insert

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

2015-08-05 Thread Eduardo Valentin
On Wed, Aug 05, 2015 at 03:11:40PM -0300, Fabio Estevam wrote: > 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 V

Re: [RFCv3 1/4] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings.

2015-08-05 Thread Moritz Fischer
Michal, On Tue, Aug 4, 2015 at 8:10 AM, Philipp Zabel wrote: > Hi Moritz, > > Am Dienstag, den 04.08.2015, 08:05 -0700 schrieb Moritz Fischer: >> Hi Philip, >> >> On Tue, Aug 4, 2015 at 1:09 AM, Philipp Zabel wrote: >> > Hi Moritz, >> > >> > Am Donnerstag, den 30.07.2015, 18:13 -0700 schrieb Mor

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

2015-08-05 Thread Kees Cook
On Wed, Aug 5, 2015 at 11:13 AM, Eric W. Biederman wrote: > 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 no

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-05 Thread Richard Guy Briggs
On 15/08/05, William Roberts wrote: > On Aug 1, 2015 12:44 PM, "Richard Guy Briggs" wrote: > > > > Signed-off-by: Richard Guy Briggs > > --- > > include/uapi/linux/audit.h |2 ++ > > kernel/audit.c |2 +- > > kernel/audit_watch.c |8 > > kernel/auditsc.c

Re: [Intel-gfx] [PATCH 3/3] drm/i915: Support DDI lane reversal for DP

2015-08-05 Thread Benjamin Tissoires
On Jul 30 2015 or thereabouts, Sivakumar Thulasimani wrote: > > > On 7/29/2015 8:52 PM, Benjamin Tissoires wrote: > >On Jul 29 2015 or thereabouts, Sivakumar Thulasimani wrote: > >>why not detect reverse in intel_dp_detect/intel_hpd_pulse ? that way you can > >>identify both lane count and revers

[PATCH] drm/msm/mdp: Clear pending interrupt status before enable interrupt

2015-08-05 Thread Jilai Wang
Pending interrupt status needs to be cleared before enable the interrupt. Otherwise it's possible to get a pending interrupt instead of an incoming interrupt. Signed-off-by: Jilai Wang --- drivers/gpu/drm/msm/mdp/mdp4/mdp4_irq.c | 10 +++--- drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.h | 3 ++-

[PATCH V6] audit: save signal match info in case entry passed in is the one deleted

2015-08-05 Thread Richard Guy Briggs
Move the access to the entry for audit_match_signal() to earlier in the function in case the entry found is the same one passed in. This will enable it to be used by audit_remove_mark_rule(). Signed-off-by: Richard Guy Briggs --- Revision history: v6: Fix a rebase manual merge error that mix

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

2015-08-05 Thread Greg Kroah-Hartman
On Wed, Aug 05, 2015 at 02:33:37PM -0400, Peter Hurley wrote: > 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 an

Re: [PATCH V5] audit: save signal match info in case entry passed in is the one deleted

2015-08-05 Thread Richard Guy Briggs
On 15/08/05, Paul Moore wrote: > On Wednesday, August 05, 2015 05:23:10 AM Richard Guy Briggs wrote: > > Move the access to the entry for audit_match_signal() to the beginning of > > the function in case the entry found is the same one passed in. This will > > enable it to be used by audit_remove_

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

2015-08-05 Thread Luck, Tony
> 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() st

Re: [PATCH] tty: serial: men_z135_uart.c: Fix race between IRQ and set_termios()

2015-08-05 Thread Peter Hurley
On 08/05/2015 04:06 AM, Johannes Thumshirn wrote: > Peter Hurley writes: > >> On 08/04/2015 03:02 AM, Johannes Thumshirn wrote: >>> Peter Hurley writes: On 08/03/2015 09:58 AM, Johannes Thumshirn wrote: > Fix panic caused by a race between men_z135_intr() and > men_z135_set_termios

Re: [PATCH V4 (was V6)] audit: use macros for unset inode and device values

2015-08-05 Thread Paul Moore
On Wednesday, August 05, 2015 02:30:14 AM Richard Guy Briggs wrote: > On 15/08/04, Paul Moore wrote: > > On Saturday, August 01, 2015 03:42:23 PM Richard Guy Briggs wrote: > > > Signed-off-by: Richard Guy Briggs > > > --- > > > > > > include/uapi/linux/audit.h |2 ++ > > > kernel/audit.c

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 u

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. Signed-o

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 block

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 curren

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 actual

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 bra

[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 Toro

[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. Signed-o

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 kil

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 cal

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, s

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 pr_d

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, st

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 *ough

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 change

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 mm->context.ldt.

[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 enou

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 t

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 /proc/PID

[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 th

[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 b/kernel/t

[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 use

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 gpio

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 6a393b2..ce

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 > --- > drivers/inpu

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. Fo

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 synchro

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 n

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 > > Have

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 t

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 the

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 i

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. Driv

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 attend

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 t

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" [drivers/net/phy/

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 /proc/PI

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] https://

[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 the

[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 interru

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 "unsu

[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 hierarch

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 --- Documentation/cgroups/unifi

[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() w

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 fro

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: Eri

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 c

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 hav

[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 +++ b/drivers/staging/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 se

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 this

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: devicet...@vger.ke

[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 a/Documentation/ABI/testing/sysfs-bus-

[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 b/mm/page-writeb

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 requ

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 I'l

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 > >> allmodc

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