RE: [PATCH V2 1/1] perf, core: Use sample period avg as child event's initial period

2015-02-10 Thread Liang, Kan
Hi Peter, Could you please review the patch? Thanks, Kan > > Hi Peter, > > The patch is month old. I checked that it still apply to current tip. > Could you please take a look? > > Thanks, > Kan > > > > > From: Kan Liang > > > > For perf record frequency mode, the initial sample_period is

Re: [RFC PATCH 7/9] proc: add /proc//universe to show livepatch status

2015-02-10 Thread Jiri Slaby
On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: > Expose the per-task klp_universe value so users can determine which > tasks are holding up completion of a patching operation. > > Signed-off-by: Josh Poimboeuf > --- > fs/proc/base.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff

Re: mm: NULL ptr deref in unlink_file_vma

2015-02-10 Thread Konstantin Khlebnikov
On Mon, Dec 22, 2014 at 10:14 PM, Kirill A. Shutemov wrote: > On Mon, Dec 22, 2014 at 01:05:13PM -0500, Sasha Levin wrote: >> On 12/22/2014 01:01 PM, Kirill A. Shutemov wrote: >> > On Mon, Dec 22, 2014 at 10:04:02AM -0500, Sasha Levin wrote: >> >> > Hi all, >> >> > >> >> > While fuzzing with

Re: [PATCH v4 1/4] dt-bindings: mfd: add lubbock-cplds binding

2015-02-10 Thread Robert Jarzmik
Robert Jarzmik writes: > Add a binding for lubbock motherboard IO board. > > Signed-off-by: Robert Jarzmik > --- > Since v3: name change to lubbock-cplds, > Lee's comments taken into account. Hi Lee, I hope I have handled all the comments. Is this v4 good for you for mfd tree

make mandocs build failure with next-20150210

2015-02-10 Thread Jim Davis
DOCPROC Documentation/DocBook/device-drivers.xml docproc: .//include/linux/i2o.h: No such file or directory make[1]: *** [Documentation/DocBook/device-drivers.xml] Error 1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] scsi: megaraid_sas: Prevent future %p disaster

2015-02-10 Thread Joe Perches
Convert printks to pr_ Miscellaneous: o Coalesce formats Add and remove spaces where appropriate when coalescing o Add pr_fmt o Remove embedded prefixes o Convert embedded function names to "%s:", __func__ o Realign arguments o Outdent one block that was inappropriately indented o Use pr_cont

[PATCH v4 3/3] staging: lustre: fix coding style errors fix the

2015-02-10 Thread Tal Shorer
following coding style error in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c: missing spaces around '=' Signed-off-by: Tal Shorer --- drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 1/3] staging: lustre: fix coding style errors

2015-02-10 Thread Tal Shorer
fix the following coding style error in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c: initialization of lnet_table_header (static pointer) to NULL Signed-off-by: Tal Shorer --- drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v4 2/3] staging: lustre: fix coding style errors

2015-02-10 Thread Tal Shorer
fix the following coding style error in drivers/staging/lustre/lustre/libcfs/linux/linux-proc.c: initialization of min_watchdog_ratelimit (static int) to 0 for clarity's sake, the "= 0" is kept as part of a comment Signed-off-by: Tal Shorer ---

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-10 Thread Stephen Boyd
On 02/10/15 07:41, Russell King - ARM Linux wrote: > On Mon, Feb 09, 2015 at 05:24:08PM -0800, Stephen Boyd wrote: > > >> Maybe we can do the same thing here by using a >> spinlock for synchronization between the IPI handler and the dying CPU? >> So lock/unlock around the IPI sending from the

Re: [GIT PULL rcu/next] RCU commits for 3.20

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 09:19:48AM +0100, David Hildenbrand wrote: > > > OK, so if I understand correctly, I need to add the Cc: > > > stable tags after the last > > > git-format-patch/git-send-email, but (of course) before > > > the git-request-pull. Is that the trick? > > > > So I'd try to

[PATCHv2] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Sowmini Varadhan
When the RDS transport is TCP, we cannot inline the call to rds_send_xmit from rds_cong_queue_update because (a) we are already holding the sock_lock in the recv path, and will deadlock when tcp_setsockopt/tcp_sendmsg try to get the sock lock (b) cong_queue_update does an irqsave on the

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-02-10 Thread David Cohen
On Tue, Feb 03, 2015 at 01:37:39PM +0200, Heikki Krogerus wrote: > Hi David, Felipe, Hi Heikki, > > > > > > why would you have dwc3 mess around with the PHY's gpios ? Doesn't > > > > > look > > > > > very good. > > > > > > > > ..but unfortunately we can't use the bus without it :(. We depend

Re: [RFC PATCH 4/9] livepatch: get function sizes

2015-02-10 Thread Jiri Slaby
On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: > --- a/kernel/livepatch/core.c > +++ b/kernel/livepatch/core.c > @@ -197,8 +197,25 @@ static int klp_find_verify_func_addr(struct klp_object > *obj, > else > ret = klp_verify_vmlinux_symbol(func->old_name, >

Re: [RFC PATCH 3/9] livepatch: move patching functions into patch.c

2015-02-10 Thread Jiri Slaby
On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: > Move functions related to the actual patching of functions and objects > into a new patch.c file. > > The only functional change is to remove the unnecessary > WARN_ON(!klp_is_object_loaded()) check from klp_patch_object(). > > Signed-off-by: Josh

Re: [RFC PATCH v1] usb: dwc2: reduce dwc2 driver probe time

2015-02-10 Thread Julius Werner
> @@ -2703,7 +2703,7 @@ int dwc2_get_hwparams(struct dwc2_hsotg *hsotg) > gusbcfg = readl(hsotg->regs + GUSBCFG); > gusbcfg &= ~GUSBCFG_FORCEHOSTMODE; > writel(gusbcfg, hsotg->regs + GUSBCFG); > - usleep_range(10, 15); > + usleep_range(25000, 5);

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-10 Thread Rich Felker
On Thu, 2 Oct 2014 at 16:52:18 +0100, Catalin Marinas wrote: > On Wed, Sep 03, 2014 at 10:18:54PM +0100, Andrew Pinski wrote: > > New version with all of the requested changes. Updated to the > > latest sources. > > > > Notable changes from the previous versions: > > VDSO code has been factored

[GIT PULL] Quota interface unification and misc cleanups

2015-02-10 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus to get the first part of the series unifying XFS and VFS quota interfaces. This part unifies turning quotas on and off so quota-tools and xfs_quota can be used to manage any

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 12:29:24PM -0500, Peter Hurley wrote: > On 02/10/2015 11:38 AM, Paul E. McKenney wrote: > > On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: > >> On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: > >>> A lockless_dereference() appears to be missing in

Re: [Patch v3 0/6] GSBI CRCI Autoconfiguration Support

2015-02-10 Thread Kumar Gala
On Feb 9, 2015, at 4:01 PM, Andy Gross wrote: > This patch set adds support for automatic configuration of GSBI DMA CRCI > values. > > DMA operations require that the ADM CRCI mux values be properly configured in > the TCSR (Top Control and Status Register) block. During probing of a GSBI >

Re: [PATCH 2/2] staging: panel: initialize lcd if lcd enabled

2015-02-10 Thread Willy Tarreau
On Tue, Feb 10, 2015 at 05:26:03PM +0530, Sudip Mukherjee wrote: > initialiaze lcd parameters only if lcd is enabled. > > Signed-off-by: Sudip Mukherjee One minor comment below (cosmetic), but after this it's OK. Acked-by: Willy Tarreau > + if (lcd.enabled) { > + /* > +

Re: [PATCH 1/2] staging: panel: register driver after checking device

2015-02-10 Thread Willy Tarreau
On Tue, Feb 10, 2015 at 05:26:02PM +0530, Sudip Mukherjee wrote: > register the driver only if lcd or keypad has been enabled and if > both are disabled then just exit. > > Signed-off-by: Sudip Mukherjee Acked-by: Willy Tarreau Willy -- To unsubscribe from this list: send the line

Re: [PATCH] module: Annotate nested sleep in resolve_symbol()

2015-02-10 Thread Dave Jones
On Tue, Feb 10, 2015 at 06:12:55PM +0100, Peter Zijlstra wrote: > On which, we should probably do this. > > --- > Subject: module: Replace over-engineered nested sleep > > Since the introduction of the nested sleep warning; we've established > that the occasional sleep inside a

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 06:36:47PM +0100, Frederic Weisbecker wrote: > On Tue, Feb 10, 2015 at 09:25:26AM -0800, Paul E. McKenney wrote: > > On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote: > > > On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: > > > > On Tue, Feb 10, 2015 at

Re: [PATCH 03/16] tty: serial: 8250_core: read only RX if there is something in the FIFO

2015-02-10 Thread Peter Hurley
On 02/10/2015 07:04 AM, Nicolas Schichan wrote: > On 02/10/2015 12:34 AM, Peter Hurley wrote: >> Hi Nicolas, >> >> Thanks for the report. >> > [...] >>> When a caracter is received on the UART while the kernel is printing >>> the boot messages, as soon as the kernel configures the UART for >>>

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Frederic Weisbecker
On Tue, Feb 10, 2015 at 09:25:26AM -0800, Paul E. McKenney wrote: > On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote: > > On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: > > > On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: > > >> From: Rik van Riel > > >> > > >>

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 09:59:58AM -0600, Josh Poimboeuf wrote: > On Tue, Feb 10, 2015 at 08:16:59PM +0900, Masami Hiramatsu wrote: > > (2015/02/10 2:31), Josh Poimboeuf wrote: > > > This patch set implements a livepatch consistency model, targeted for > > > 3.21. > > > Now that we have a solid

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Peter Hurley
On 02/10/2015 11:38 AM, Paul E. McKenney wrote: > On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: >> On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: >>> A lockless_dereference() appears to be missing in llist_del_first(). >>> It should only matter for Alpha in practice. >>> >>>

Re: [PATCH] x86, kaslr: propagate base load address calculation

2015-02-10 Thread Kees Cook
On Tue, Feb 10, 2015 at 5:17 AM, Jiri Kosina wrote: > Commit e2b32e678 ("x86, kaslr: randomize module base load address") makes > the base address for module to be unconditionally randomized in case when > CONFIG_RANDOMIZE_BASE is defined and "nokaslr" option isn't present on the > commandline. >

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 11:48:37AM -0500, Rik van Riel wrote: > On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: > > On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: > >> From: Rik van Riel > >> > >> These wrapper functions allow architecture code (eg. ARM) to keep > >> calling

Re: [RFC PATCH 2/9] livepatch: separate enabled and patched states

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 05:44:30PM +0100, Jiri Slaby wrote: > On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: > > Once we have a consistency model, patches and their objects will be > > enabled and disabled at different times. For example, when a patch is > > disabled, its loaded objects' funcs

[PATCH] staging: lustre: lustre: lov: lov_dev: fix sparse warning of static declaration

2015-02-10 Thread Mohammad Jamal
This patch adds a static keyword to cl_lov_device_mutex_class variable to suppress the warning of static declaration Signed-off-by: Mohammad Jamal --- drivers/staging/lustre/lustre/lov/lov_dev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/3] perf, x86: Add new cache events table for Haswell

2015-02-10 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 09:11:35AM -0800, Andi Kleen wrote: > > Now the other tables create little helpers like: > > > > #define HSW_DMND_READ (HSW_DMND_DATA_RD) > > #define HSW_DMND_WRITE (HSW_DMND_RFO) > > > > #define HSW_L3_ACCESS (HSW_ANY_RESPONSE) > > #define HSW_L3_MISS

Re: [PATCH] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node

2015-02-10 Thread Robert Jarzmik
Alexandre Courbot writes: > On Tue, Feb 10, 2015 at 5:48 PM, Hans Holmberg > wrote: >> The change: >> >> 7b8792bbdffdff3abda704f89c6a45ea97afdc62 >> gpiolib: of: Correct error handling in of_get_named_gpiod_flags >> >> assumed that only one gpio-chip is registred per of-node. >> Some drivers

Re: [RFC] pstore-ram: remove superfluous memory size check

2015-02-10 Thread Mark Salyzyn
Please refer to '[PATCH v2 2/5] pstore: remove superfluous memory size check' Sincerely -- Mark Salyzyn On 02/10/2015 02:26 AM, Kiran Raparthy wrote: From: Mark Salyzyn pstore-ram: remove superfluous memory size check All previous checks will fail with error if memory size is not

Re: [PATCH] module: Annotate nested sleep in resolve_symbol()

2015-02-10 Thread Peter Zijlstra
On which, we should probably do this. --- Subject: module: Replace over-engineered nested sleep Since the introduction of the nested sleep warning; we've established that the occasional sleep inside a wait_event() is fine. wait_event() loops are invariant wrt. spurious wakeups, and the

Re: [PATCH 1/3] perf, x86: Add new cache events table for Haswell

2015-02-10 Thread Andi Kleen
> Just in case someone is crazy enough to run a 32bit kernel on HSW, this > needs to be BIT_ULL() -- also for compile testing, gcc tends to complain > about things like (1UL << 32) for ILP32 targets. Ok. > Now the other tables create little helpers like: > > #define HSW_DMND_READ

Re: [PATCH v9 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-02-10 Thread Ray Jui
On 2/10/2015 12:33 AM, Wolfram Sang wrote: > >> Thanks, Wolfram. I think I'm missing something here and would like to >> get it clarified, so I don't make the same mistake again in the future: >> I thought I've already sent these patches as a new thread, i.e., [PATCH >> v9 ...], isn't it? > >

[PATCH] module: Annotate nested sleep in resolve_symbol()

2015-02-10 Thread Peter Zijlstra
Because wait_event() loops are safe vs spurious wakeups we can allow the occasional sleep -- which ends up being very similar. Cc: Rusty Russell Reported-by: Dave Jones Signed-off-by: Peter Zijlstra (Intel) --- kernel/module.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[for-next][PATCH 2/5] tracing: Add TRACE_EVENT_CONDITION sample

2015-02-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The sample code lacks an example of TRACE_EVENT_CONDITION, and it has been expressed to me that this feature for TRACE_EVENT is not well known and not used when it could be. Signed-off-by: Steven Rostedt --- samples/trace_events/trace-events-sample.c | 3 ++

[for-next][PATCH 5/5] tracing: Fix unmapping loop in tracing_mark_write

2015-02-10 Thread Steven Rostedt
From: Vikram Mulukutla Commit 6edb2a8a385f0cdef51dae37ff23e74d76d8a6ce introduced an array map_pages that contains the addresses returned by kmap_atomic. However, when unmapping those pages, map_pages[0] is unmapped before map_pages[1], breaking the nesting requirement as specified in the

[for-next][PATCH 4/5] tracing: Add samples of DECLARE_EVENT_CLASS() and DEFINE_EVENT()

2015-02-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add to samples/trace_events/ the macros DECLARE_EVENT_CLASS() and DEFINE_EVENT() and recommend using them over multiple TRACE_EVENT() macros if the multiple events have the same format. Signed-off-by: Steven Rostedt ---

[for-next][PATCH 1/5] tracing: Update the TRACE_EVENT fields available in the sample code

2015-02-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The sample code in samples/trace_events/ is extremely out of date and does not show all the new fields that have been added since the sample code was written. As most people are unaware of these new fields, adding sample code and explanations of those fields

[for-next][PATCH 0/5] tracing: Some last minute updates for 3.20

2015-02-10 Thread Steven Rostedt
Some last minute updates for this merge window. Mostly documentantion and sample code changes. Nothing risky. But they went through my entire test suite anyway. There is also an urgent patch that got lost in my inbox that I added.

[for-next][PATCH 3/5] tracing: Add TRACE_EVENT_FN example

2015-02-10 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" If a function should be called before a tracepoint is enabled and/or after it is disabled, the TRACE_EVENT_FN() serves this purpose. But it is not well documented. Having it as a sample would help developers to know how to use it. Signed-off-by: Steven Rostedt

[PATCH v3] i2c: cadence: fixup wait_for_completion_timeout return handling

2015-02-10 Thread Nicholas Mc Guire
) Patch is against 3.19.0 (localversion-next is -next-20150210) drivers/i2c/busses/i2c-cadence.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-cadence.c b/drivers/i2c/busses/i2c-cadence.c index 7d7a14c..2ee78e0 100644 --- a/drivers/i2c/busses/i2c

Re: [GIT] Networking

2015-02-10 Thread Linus Torvalds
On Tue, Feb 10, 2015 at 8:33 AM, Linus Torvalds wrote: > > Will try your suggestion, Nope, that wasn't it. It still hangs in the same place (I forgot to get rid of the red hat graphical boot screen so I didn't see the oops, but ..) Looking more closely at the generated code, and the fact that

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 04:59:17PM +0100, Miroslav Benes wrote: > > On Mon, 9 Feb 2015, Josh Poimboeuf wrote: > > > Add a basic per-task consistency model. This is the foundation which > > will eventually enable us to patch those ~10% of security patches which > > change function prototypes

Re: [PATCH] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Sowmini Varadhan
On (02/10/15 11:50), Chuck Lever wrote: > > > > This patch fixes a sock_lock deadlock in the rds_cong_queue_update path. > > Note that the deadlock appears to exist only with TCP transports. > True, but the patch does no harm to IB: this actually only reverts the change from commit 2fa57129d.

Re: [RFC PATCH 3/8] kmod - teach call_usermodehelper() to use a namespace

2015-02-10 Thread Oleg Nesterov
On 02/10, Ian Kent wrote: > > On Mon, 2015-02-09 at 17:03 +0100, Oleg Nesterov wrote: > > > > I understand. but I still can't understand why we can't implement something > > like > > enter_ns(struct nsproxy *p) > > { > > new_nsproxy = create_new_namespaces(...); > > > >

Re: [PATCH] scsi: megaraid_sas: Prevent future %p disaster

2015-02-10 Thread Joe Perches
On Tue, 2015-02-10 at 22:16 +0530, Kashyap Desai wrote: > Acked-by: Kashyap Desai > > > -Original Message- > > From: Rasmus Villemoes [mailto:li...@rasmusvillemoes.dk] > > Sent: Friday, February 06, 2015 8:04 PM [] > > There is currently no %po format extension, so currently the letters

Re: [PATCH] rds: rds_cong_queue_updates needs to defer the congestion update transmission

2015-02-10 Thread Chuck Lever
On Feb 10, 2015, at 9:22 AM, Sowmini Varadhan wrote: > > This patch fixes a sock_lock deadlock in the rds_cong_queue_update path. Note that the deadlock appears to exist only with TCP transports. > We cannot inline the call to rds_send_xmit from rds_cong_queue_update > because > (a) we are

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Rik van Riel
On 02/10/2015 10:28 AM, Frederic Weisbecker wrote: > On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: >> From: Rik van Riel >> >> These wrapper functions allow architecture code (eg. ARM) to keep >> calling context_tracking_user_enter & context_tracking_user_exit >> the same way

RE: [PATCH] scsi: megaraid_sas: Prevent future %p disaster

2015-02-10 Thread Kashyap Desai
Acked-by: Kashyap Desai > -Original Message- > From: Rasmus Villemoes [mailto:li...@rasmusvillemoes.dk] > Sent: Friday, February 06, 2015 8:04 PM > To: Kashyap Desai; Sumit Saxena; Uday Lingala; James E.J. Bottomley > Cc: Rasmus Villemoes; megaraidlinux@avagotech.com; linux- >

Re: [RFC PATCH 2/9] livepatch: separate enabled and patched states

2015-02-10 Thread Jiri Slaby
On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: > Once we have a consistency model, patches and their objects will be > enabled and disabled at different times. For example, when a patch is > disabled, its loaded objects' funcs can remain registered with ftrace > indefinitely until the unpatching

3.19 scheduler might_sleep triggered from module loading during boot.

2015-02-10 Thread Dave Jones
I don't recall seeing this one until now.. Dave [3.559609] WARNING: CPU: 0 PID: 181 at kernel/sched/core.c:7326 __might_sleep+0xd0/0xf0() [3.559701] do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_event+0x93/0x1f0 [3.559800] CPU: 0 PID: 181

Re: [PATCH] i2c: at91: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Ludovic Desroches
On Sun, Feb 08, 2015 at 11:12:07AM -0500, Nicholas Mc Guire wrote: > Return type of wait_for_completion_timeout is unsigned long not int. This > patch adds a timeout variable of appropriate type and fixes up the assignment. > > Signed-off-by: Nicholas Mc Guire Acked-by: Ludovic Desroches

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Sergei Shtylyov
On 02/10/2015 06:55 PM, Nicholas Mc Guire wrote: On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: - if (!rc) { + if (irq_timeout == 0) { Why == 0 tho? This always bothers me. To match this style, we'd use != 0 to test the other direction. In what way is "if

Re: [PATCH] llist: Fix missing lockless_dereference()

2015-02-10 Thread Paul E. McKenney
On Tue, Feb 10, 2015 at 09:03:50AM -0500, Peter Hurley wrote: > On 02/06/2015 09:08 PM, Mathieu Desnoyers wrote: > > A lockless_dereference() appears to be missing in llist_del_first(). > > It should only matter for Alpha in practice. > > > > Signed-off-by: Mathieu Desnoyers > > CC: Huang Ying

randconfig build error with next-20150210, in fs/nfsd

2015-02-10 Thread Jim Davis
Building with the attached random configuration file, In file included from include/linux/linkage.h:4:0, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from include/linux/mmzone.h:7, from include/linux/gfp.h:5,

Re: [GIT] Networking

2015-02-10 Thread Linus Torvalds
On Mon, Feb 9, 2015 at 8:52 PM, David Miller wrote: > > I think the handling of the 'used' local variable for function > skcipher_recvmsg() in that commit is suspect. Yeah, skcipher_wait_for_data() waits for it to be non-zero, but it's not reloaded. Will try your suggestion,

[PATCH v2] iio: Export userspace IIO headers

2015-02-10 Thread Daniel Baluta
After UAPI header file split [1] all user-kernel interfaces were placed under include/uapi/. This patch moves IIO user specific API from: * include/linux/iio/events.h => include/uapi/linux/iio/events.h * include/linux/types.h => include/uapi/linux/types.h Now there is no need for

[PATCHv2 1/2] pci: spear: Use platform_driver_probe instead of platform_driver_register

2015-02-10 Thread Matwey V. Kornilov
Use platform_driver_probe instead of platform_driver_register because the former allows us to use probe function placed into __init section and the driver itself is not support hotplugging (yet?). Signed-off-by: Matwey V. Kornilov --- Changes from v1: - Use platform_driver_probe instead of

[PATCHv2 2/2] pci: spear: Drop __initdata from struct platform_driver spear13xx_pcie_driver

2015-02-10 Thread Matwey V. Kornilov
spear13xx_pcie_driver.driver is allocated in text.init section and then the pointer to it is passed futher. This patch is to avoid crashes like the following, when freed memory is used: #0 __device_attach (drv=0xc0ed5608 , data=0xdb622610) at ../drivers/base/dd.c:409 #1 0xc07a4798 in

[PATCH] usb: gadget: f_hid: remove unnecessary usb_ep_dequeue()

2015-02-10 Thread Robert Baldyga
Function usb_ep_disable() causes completion of all requests queued for given endpoint, so there is no need to dequeue them after endpoint disabling. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/function/f_hid.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v2] libata: fixup wait_for_completion_timeout return handling

2015-02-10 Thread Nicholas Mc Guire
was only compile tested with x86_64_defconfig (implies CONFIG_ATA=y) Patch is against 3.19.0 (localversion-next is -next-20150210) drivers/ata/libata-core.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
On Tue, 10 Feb 2015 16:16:00 + Mark Rutland wrote: > On Tue, Feb 10, 2015 at 03:52:01PM +, Boris Brezillon wrote: > > Hi Mark, > > > > On Tue, 10 Feb 2015 15:36:28 + > > Mark Rutland wrote: > > > > > Hi Boris, > > > > > > On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon

Re: memcg && uaccess (Was: [PATCH 1/2] kernel/fork: handle put_user errors for CLONE_CHILD_SETTID/CLEARTID)

2015-02-10 Thread Johannes Weiner
On Fri, Feb 06, 2015 at 09:32:46PM +0100, Oleg Nesterov wrote: > Add cc's. > > On 02/06, Oleg Nesterov wrote: > > > > And in fact I think that this is not set_child_tid/etc-specific. Perhaps > > I am totally confused, but I think that put_user() simply should not fail > > this way. Say, why a

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Mark Rutland
On Tue, Feb 10, 2015 at 03:52:01PM +, Boris Brezillon wrote: > Hi Mark, > > On Tue, 10 Feb 2015 15:36:28 + > Mark Rutland wrote: > > > Hi Boris, > > > > On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote: > > > Add documentation for the virtual irq demuxer. > > > > > >

Business Deal

2015-02-10 Thread JAAP STEFANO
Hello, I have a proposal for you. Kindly get back to me. Best Regards Jaap Stefano Powered By Zimbra NNS

Re: [PATCH] genirq: fix virtual irq demuxer related comments

2015-02-10 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 04:43:12PM +0100, Boris Brezillon wrote: > Replace remaining 'Dumb' occurrences by 'Virtual'. > Remove inappropriate notes in kerneldoc headers. > > Signed-off-by: Boris Brezillon Thanks, squished into the other one. -- To unsubscribe from this list: send the line

Re: [GIT PULL] (xen) for-jens-3.20 for v3.20 Xen blk driver updates

2015-02-10 Thread Jens Axboe
On 02/10/2015 09:10 AM, David Vrabel wrote: On 10/02/15 15:27, Jens Axboe wrote: On 02/10/2015 05:58 AM, Roger Pau Monné wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jens, There are 3 fixes for Xen blk drivers. One adds myself as a maintainer (together with Konrad). There's

Re: [PATCH 1/2] sched/wait: add round robin wakeup mode

2015-02-10 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 10:59:01AM -0500, Jason Baron wrote: > hmmm...but don't we need the head/tail of the list to add it back too? Ah, good point that ;-) > Further, we can't just append to tail while walking the list b/c > otherwise it can result in multiple wakeups to the same item. So I

Re: [GIT PULL] (xen) for-jens-3.20 for v3.20 Xen blk driver updates

2015-02-10 Thread David Vrabel
On 10/02/15 15:27, Jens Axboe wrote: > On 02/10/2015 05:58 AM, Roger Pau Monné wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Hello Jens, >> >> There are 3 fixes for Xen blk drivers. One adds myself as a maintainer >> (together with Konrad). There's also one to improve

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
I'm fixing my own answer :-) On Tue, 10 Feb 2015 16:52:01 +0100 Boris Brezillon wrote: > Hi Mark, > > On Tue, 10 Feb 2015 15:36:28 + > Mark Rutland wrote: > > > Hi Boris, > > > > On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote: > > > Add documentation for the virtual irq

Re: [RFC PATCH 0/9] livepatch: consistency model

2015-02-10 Thread Josh Poimboeuf
On Tue, Feb 10, 2015 at 08:16:59PM +0900, Masami Hiramatsu wrote: > (2015/02/10 2:31), Josh Poimboeuf wrote: > > This patch set implements a livepatch consistency model, targeted for 3.21. > > Now that we have a solid livepatch code base, this is the biggest remaining > > missing piece. > > > >

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-10 Thread Miroslav Benes
On Mon, 9 Feb 2015, Josh Poimboeuf wrote: > Add a basic per-task consistency model. This is the foundation which > will eventually enable us to patch those ~10% of security patches which > change function prototypes and/or data semantics. > > When a patch is enabled, livepatch enters into a

Re: [PATCH 1/2] sched/wait: add round robin wakeup mode

2015-02-10 Thread Jason Baron
On 02/10/2015 04:03 AM, Peter Zijlstra wrote: > On Mon, Feb 09, 2015 at 11:06:17PM -0500, Jason Baron wrote: >> On 02/09/2015 04:50 PM, Peter Zijlstra wrote: >>> On Mon, Feb 09, 2015 at 08:05:57PM +, Jason Baron wrote: diff --git a/kernel/sched/wait.c b/kernel/sched/wait.c index

[PATCH] clocksource: whitelist asm9260_timer driver for ARM

2015-02-10 Thread Oleksij Rempel
For now it is easier to allow only tested platforms, instead of fighting with different platform specific issues. This patch is fixing compile error on ARCH=SPARC and SPARC64: Building sparc64:allmodconfig ... failed -- Error log: drivers/built-in.o: In function `asm9260_timer_init':

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Tejun Heo
On Tue, Feb 10, 2015 at 04:55:17PM +0100, Nicholas Mc Guire wrote: > On Tue, 10 Feb 2015, Tejun Heo wrote: > > > On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: > > > - if (!rc) { > > > + if (irq_timeout == 0) { > > > > Why == 0 tho? This always bothers me. To match this

[PATCH] Add support for Atheros AR5B195 combo Mini PCIe cards (AR3011 Bluetooth)

2015-02-10 Thread Alexander Ploumistos
The AR5B195 Mini PCIe card is made up by an AR9285 Wi-Fi chip and an AR3011 Bluetooth chip. The operating procedure of the device, as well as the rationale behind the patch is documented in https://wireless.wiki.kernel.org/en/users/Drivers/ath3k#ar3011_with_sflash_configurations The bluetooth

Re: [PATCH] libata: fixup return type of wait_for_completion_timeout

2015-02-10 Thread Nicholas Mc Guire
On Tue, 10 Feb 2015, Tejun Heo wrote: > On Tue, Feb 10, 2015 at 03:39:36AM -0500, Nicholas Mc Guire wrote: > > - if (!rc) { > > + if (irq_timeout == 0) { > > Why == 0 tho? This always bothers me. To match this style, we'd use > != 0 to test the other direction. In what way is "if (ret !=

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Boris Brezillon
Hi Mark, On Tue, 10 Feb 2015 15:36:28 + Mark Rutland wrote: > Hi Boris, > > On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote: > > Add documentation for the virtual irq demuxer. > > > > Signed-off-by: Boris Brezillon > > Acked-by: Nicolas Ferre > > --- > >

Re: [PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-02-10 Thread Mark Rutland
[...] > +static int __init virt_irq_demux_of_init(struct device_node *node, > +struct device_node *parent) > +{ > + struct irq_chip_virt_demux *demux; > + unsigned int irq; > + u32 valid_irqs; > + int ret; > + > + irq =

[PATCH] retrieving smack context of keys

2015-02-10 Thread José Bollo
PATCH for kernel 3.14.28 The LSM Smack isn't currently implementing the retrieval of the contexts of the keys. In other words, the LSM Samck doesn't implement the LSM side part of the system call keyctl for the function KEYCTL_GET_SECURITY. It is causing difficulties when trying to investigate

Re: 1e918876 breaks r8169 (linux-3.18+)

2015-02-10 Thread Florian Westphal
Florian Westphal wrote: > Tomas Szepe wrote: > > Hi, > > > > Since linux-3.18.0, r8169 is having problems driving one of my add-on > > PCIe NICs. The interface is losing link for several seconds at a time, > > the frequency being about once a minute when the traffic is high. > > > > The first

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-10 Thread Russell King - ARM Linux
On Mon, Feb 09, 2015 at 05:24:08PM -0800, Stephen Boyd wrote: > On 02/05/15 08:11, Russell King - ARM Linux wrote: > > On Thu, Feb 05, 2015 at 06:29:18AM -0800, Paul E. McKenney wrote: > >> Works for me, assuming no hidden uses of RCU in the IPI code. ;-) > > Sigh... I kind'a new it wouldn't be

[PATCH] genirq: fix virtual irq demuxer related comments

2015-02-10 Thread Boris Brezillon
Replace remaining 'Dumb' occurrences by 'Virtual'. Remove inappropriate notes in kerneldoc headers. Signed-off-by: Boris Brezillon --- include/linux/irq.h | 8 +--- kernel/irq/Kconfig | 2 +- kernel/irq/chip.c| 7 ++- kernel/irq/virt-demux-chip.c | 2 +- 4

Re: [PATCH v3 0/5] Add support for Fujitsu USB host controller

2015-02-10 Thread Sneeker Yeh
Hi 2015-01-31 0:38 GMT+08:00 Felipe Balbi : > Hi, > > On Thu, Jan 29, 2015 at 10:23:12AM -0600, Felipe Balbi wrote: >> On Tue, Jan 27, 2015 at 09:22:50AM -0600, Felipe Balbi wrote: >> > Hi, >> > >> > On Sun, Jan 25, 2015 at 04:13:23PM +0800, Sneeker Yeh wrote: >> > > These patches add support for

Re: linux-next: manual merge of the nfsd tree with the nfs tree

2015-02-10 Thread J. Bruce Fields
On Tue, Feb 10, 2015 at 11:55:49AM +1100, Stephen Rothwell wrote: > Hi, > > Today's linux-next merge of the nfsd tree got a conflict in > include/linux/nfs4.h between commit d67ae825a59d ("pnfs/flexfiles: Add > the FlexFile Layout Driver") from the nfs tree and commit 6cae0a4648c0 > ("nfs: add

Twoja skrzynka pocztowa zostala tymczasowo zawieszona !!!

2015-02-10 Thread Admin
Drogi Uzytkowniku Niedawno wykryto nietypowe dzialania z konta e-mail, wiec skrzynka pocztowa zostala tymczasowo zawieszona przez administratora systemu, prosimy odzyskac swoje konto, klikajac na ponizszy link lub skopiuj do przegladarki: W zwiazku z tym, mozna otrzymac te wiadomosc w

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-10 Thread Mark Rutland
Hi Boris, On Thu, Jan 29, 2015 at 10:33:38AM +, Boris Brezillon wrote: > Add documentation for the virtual irq demuxer. > > Signed-off-by: Boris Brezillon > Acked-by: Nicolas Ferre > --- > .../bindings/interrupt-controller/dumb-demux.txt | 41 > ++ > 1 file changed,

[GIT PULL] arch/microblaze changes for 3.20-rc1

2015-02-10 Thread Michal Simek
Hi Linus, please pull these microblaze chagnes to your tree. Thanks, Michal The following changes since commit b7392d2247cfe6771f95d256374f1a8e6a6f48d6: Linux 3.19-rc2 (2014-12-28 16:49:37 -0800) are available in the git repository at: git://git.monstr.eu/linux-2.6-microblaze.git

Re: [PATCH 1/6] rcu,nohz: add context_tracking_user_enter/exit wrapper functions

2015-02-10 Thread Frederic Weisbecker
On Tue, Feb 10, 2015 at 09:41:45AM -0500, r...@redhat.com wrote: > From: Rik van Riel > > These wrapper functions allow architecture code (eg. ARM) to keep > calling context_tracking_user_enter & context_tracking_user_exit > the same way it always has, without error prone tricks like duplicate >

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-10 Thread Mark Rutland
> >> >> > Are we certain of the split between components the PSCI implementation > >> >> > must touch and those the kernel must touch? > >> >> > > >> >> >> Also add dts file to support HiKey development board which > >> >> >> based on Hi6220 SoC and document the devicetree bindings. > >> >> >> >

Re: [GIT PULL] (xen) for-jens-3.20 for v3.20 Xen blk driver updates

2015-02-10 Thread Jens Axboe
On 02/10/2015 05:58 AM, Roger Pau Monné wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Jens, There are 3 fixes for Xen blk drivers. One adds myself as a maintainer (together with Konrad). There's also one to improve compatibility with older xen-blkfront versions that did not

Re: [PATCH v2 1/2] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-10 Thread Alim Akhtar
Hi Addy, On Mon, Feb 9, 2015 at 12:55 PM, Addy Ke wrote: > Because of some uncertain factors, such as worse card or worse hardware, > DAT[3:0](the data lines) may be pulled down by card, and mmc controller > will be in busy state. This should not happend when mmc controller > send command to

Re: [PATCH v4 2/5] irqchip: add virtual demultiplexer implementation

2015-02-10 Thread Boris Brezillon
Hello Peter, On Tue, 10 Feb 2015 16:00:13 +0100 Peter Zijlstra wrote: > On Thu, Jan 29, 2015 at 11:33:37AM +0100, Boris Brezillon wrote: > > +#ifdef CONFIG_VIRT_IRQ_DEMUX_CHIP > > +/** > > + * struct irq_chip_virt_demux - Dumb demultiplexer irq chip data structure > > s/Dumb/Virtual/ ? > > >

Re: [PATCH v2] ARM: Don't use complete() during __cpu_die

2015-02-10 Thread Mark Rutland
On Tue, Feb 10, 2015 at 01:24:08AM +, Stephen Boyd wrote: > On 02/05/15 08:11, Russell King - ARM Linux wrote: > > On Thu, Feb 05, 2015 at 06:29:18AM -0800, Paul E. McKenney wrote: > >> Works for me, assuming no hidden uses of RCU in the IPI code. ;-) > > Sigh... I kind'a new it wouldn't be

Re: [PATCH V2 RESEND] clk: mxs: Fix invalid 32-bit access to frac registers

2015-02-10 Thread Fabio Estevam
Hi Stefan, On Tue, Feb 10, 2015 at 11:55 AM, Stefan Wahren wrote: > Could you apply only the clk-imx28.c part of my patch and see what happens? If I apply only the clk-imx28.c part of your patch I can successfully probe the SPI NOR. Thanks -- To unsubscribe from this list: send the line

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