Re: [PATCH] of: Fix comparison of reserved memory regions

2015-12-05 Thread Michael Ellerman
On 5 December 2015 04:07:39 GMT+11:00, Mitchel Humpherys wrote: >On Wed, Nov 18 2015 at 09:46:38 PM, Michael Ellerman > wrote: >> In order to check for overlapping reserved memory regions, we first >need >> to sort the array of memory regions. This is implemented using >sort(), >> and a custom

[PATCH v2 3/5] powerpc: ftrace: fix the comments for ftrace_modify_code

2015-12-05 Thread Li Bin
There is no need to worry about module and __init text disappearing case, because that ftrace has a module notifier that is called when a module is being unloaded and before the text goes away and this code grabs the ftrace_lock mutex and removes the module functions from the ftrace list, such that

[PATCH v2 0/5] ftrace: fix ftrace misleading comments for arch using it

2015-12-05 Thread Li Bin
Fix the following similar misleading comments of ftrace for arch ia64/metag/powerpc/sh/x86: Note: Due to modules and __init, code can disappear and change, we need to protect against faulting as well as code changing. We do this by using the probe_kernel_* functions. No real locking needed, th

Re: [PATCH net-next] Driver for IBM System i/p VNIC protocol

2015-12-05 Thread David Miller
From: Thomas Falcon Date: Fri, 4 Dec 2015 11:49:46 -0600 > +static int ibmvnic_buffs_per_pool = IBMVNIC_BUFFS_PER_POOL; > +module_param(ibmvnic_buffs_per_pool, int, S_IRUGO); > +MODULE_PARM_DESC(ibmvnic_buffs_per_pool, > + "IBMVNIC number of buffers per rx pool"); Please do not use

crypto/nx842: Ignore queue overflow informative error

2015-12-05 Thread Haren Myneni
NX842 coprocessor sets bit 3 if queue is overflow. It is just for information to the user. So the driver prints this informative message and ignores it. Signed-off-by: Haren Myneni diff --git a/arch/powerpc/include/asm/icswx.h b/arch/powerpc/include/asm/icswx.h index 9f8402b..d1a2a2d 100644