Re: [char-misc-next 4/7] watchdog: mei_wdt: add status debugfs entry

2015-12-18 Thread Guenter Roeck
On 12/17/2015 06:49 AM, Tomas Winkler wrote: Add entry for dumping current watchdog internal state Signed-off-by: Tomas Winkler --- drivers/watchdog/mei_wdt.c | 84 ++ 1 file changed, 84 insertions(+) diff --git a/drivers/watchdog/mei_wdt.c

Re: [PATCH] memcg: fix SLOB build regression

2015-12-18 Thread Johannes Weiner
On Fri, Dec 18, 2015 at 03:35:06PM +0100, Arnd Bergmann wrote: > A recent cleanup broke the build when CONFIG_SLOB is used: > > mm/memcontrol.c: In function 'memcg_update_kmem_limit': > mm/memcontrol.c:2974:9: error: implicit declaration of function > 'memcg_online_kmem'

Re: [PATCH v3] use callbacks to access UART_DLL/UART_DLM

2015-12-18 Thread Peter Hurley
On 12/18/2015 08:40 AM, Sebastian Frias wrote: > Some UART HW has a single register combining UART_DLL/UART_DLM > (this was probably forgotten in the change that introduced the > callbacks, commit b32b19b8ffc05cbd3bf91c65e205f6a912ca15d9) > > Fixes: b32b19b8ffc0 ("[SERIAL] 8250: set divisor

Re: [PATCH v5 4/5] ARM: dts: DRA7: add entry for qspi mmap region

2015-12-18 Thread Tony Lindgren
* Vignesh R [151217 21:51]: > > > On 12/18/2015 12:15 AM, Tony Lindgren wrote: > > * Rob Herring [151211 07:10]: > >> On Fri, Dec 11, 2015 at 09:39:59AM +0530, Vignesh R wrote: > >>> Add qspi memory mapped region entries for DRA7xx based SoCs. Also, > >>> update the binding documents for the

[PATCH v3] use callbacks to access UART_DLL/UART_DLM

2015-12-18 Thread Sebastian Frias
Some UART HW has a single register combining UART_DLL/UART_DLM (this was probably forgotten in the change that introduced the callbacks, commit b32b19b8ffc05cbd3bf91c65e205f6a912ca15d9) Fixes: b32b19b8ffc0 ("[SERIAL] 8250: set divisor register correctly ...") Signed-off-by: Sebastian Frias ---

Re: n_tty: Check the other end of pty pair before returning EAGAIN on a read()

2015-12-18 Thread Peter Hurley
Hi Marc, On 12/18/2015 06:26 AM, Marc Aurele La France wrote: > On Fri, 11 Dec 2015, Peter Hurley wrote: >> On 12/11/2015 05:37 AM, Marc Aurele La France wrote: > >>> I am not asking to read data before it has been produced. I am puzzled >>> that despite knowing that the data exists, I can now

Re: [char-misc-next v2 3/7] watchdog: mei_wdt: implement MEI iAMT watchdog driver

2015-12-18 Thread Guenter Roeck
On 12/17/2015 06:49 AM, Tomas Winkler wrote: Create a driver with the generic watchdog interface for the MEI iAMT watchdog device. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler Reviewed-by: Guenter Roeck --- V2: The watchdog device is no longer dynamically allocated in

[PATCH 5/9] usb: xhci: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/host/xhci-ring.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index f1c21c4..4ed15c0

[PATCH 4/9] usb: host: u132-hcd: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/host/u132-hcd.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/usb/host/u132-hcd.c b/drivers/usb/host/u132-hcd.c index

[PATCH 9/9] usb: gadget: bcm63xx_udc: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/gadget/udc/bcm63xx_udc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget/udc/bcm63xx_udc.c

[PATCH 8/9] usb: gadget: rndis: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/gadget/function/rndis.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/usb/gadget/function/rndis.c

[PATCH 3/9] usb: host: oxu210hp-hcd: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/host/oxu210hp-hcd.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/oxu210hp-hcd.c

[PATCH 7/9] usb: dwc2: host: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/dwc2/hcd_ddma.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/dwc2/hcd_ddma.c b/drivers/usb/dwc2/hcd_ddma.c index

[PATCH 1/9] usb: host: fotg210: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/host/fotg210-hcd.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/fotg210-hcd.c

Re: [PATCH 0/3] OOM detection rework v4

2015-12-18 Thread Johannes Weiner
On Fri, Dec 18, 2015 at 02:15:09PM +0100, Michal Hocko wrote: > On Wed 16-12-15 15:58:44, Andrew Morton wrote: > > It's hard to say how long declaration of oom should take. Correctness > > comes first. But what is "correct"? oom isn't a binary condition - > > there's a chance that if we keep

[PATCH 6/9] usb: chipidea: debug: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/chipidea/debug.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index a4f7db2..de5c509

[PATCH 2/9] usb: host: max3421-hcd: use list_for_each_entry*

2015-12-18 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- drivers/usb/host/max3421-hcd.c | 25 + 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/drivers/usb/host/max3421-hcd.c

Re: [PATCH v2] use callbacks to access UART_DLL/UART_DLM

2015-12-18 Thread Sebastian Frias
On 12/18/2015 05:34 PM, Peter Hurley wrote: On 12/18/2015 08:27 AM, Sebastian Frias wrote: On 12/18/2015 05:06 PM, Peter Hurley wrote: -unsigned char old_dll, old_dlm, old_lcr; +unsigned char old_lcr; unsigned int id; +unsigned int old_dl; unsigned int id, old_dl;

Re: [PATCH v2] use callbacks to access UART_DLL/UART_DLM

2015-12-18 Thread Peter Hurley
On 12/18/2015 08:27 AM, Sebastian Frias wrote: > On 12/18/2015 05:06 PM, Peter Hurley wrote: >>> -unsigned char old_dll, old_dlm, old_lcr; >>> +unsigned char old_lcr; >>> unsigned int id; >>> +unsigned int old_dl; >> >> unsigned int id, old_dl; > > Ok, thanks for your

Re: [PATCH] memory-hotplug: don't BUG() in register_memory_resource()

2015-12-18 Thread Igor Mammedov
On Fri, 18 Dec 2015 15:50:24 +0100 Vitaly Kuznetsov wrote: > Out of memory condition is not a bug and while we can't add new memory in > such case crashing the system seems wrong. Propagating the return value > from register_memory_resource() requires interface change. > > Cc: Andrew Morton >

Re: [PATCH v4 05/19] irqchip: add nps Internal and external irqchips

2015-12-18 Thread Marc Zyngier
On 18/12/15 14:29, Noam Camus wrote: >> From: Marc Zyngier [mailto:marc.zyng...@arm.com] >> Sent: Friday, December 18, 2015 1:21 PM > >>> I need this for my per CPU irqs such timer and IPI which do not come >>> from some external device but from CPUs. For these IRQs I am calling >>> to

Re: [PATCH v2] use callbacks to access UART_DLL/UART_DLM

2015-12-18 Thread Sebastian Frias
On 12/18/2015 05:06 PM, Peter Hurley wrote: -unsigned char old_dll, old_dlm, old_lcr; +unsigned char old_lcr; unsigned int id; +unsigned int old_dl; unsigned int id, old_dl; Ok, thanks for your comments. By the way, should I just do: -unsigned char old_dll,

Re: [PATCH v2] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-18 Thread Vladimir Davydov
On Fri, Dec 18, 2015 at 11:00:41AM -0500, Johannes Weiner wrote: > On Fri, Dec 18, 2015 at 06:32:02PM +0300, Vladimir Davydov wrote: > > On Thu, Dec 17, 2015 at 03:02:17PM -0800, Andrew Morton wrote: > > > On Tue, 15 Dec 2015 15:31:37 +0300 Vladimir Davydov > > > wrote: > > > > @@ -859,14

Re: [PATCH] hwmon: sht15 needs CONFIG_BITREVERSE

2015-12-18 Thread Guenter Roeck
On 12/18/2015 06:52 AM, Arnd Bergmann wrote: If CONFIG_BITREVERSE is not built-in, the sht15 driver fails to link: drivers/built-in.o: In function `sht15_crc8': drivers/hwmon/sht15.c:195: undefined reference to `byte_rev_table' This adds a Kconfig 'select' statement, like all other users of

RE: [PATCH V3 4/4] scsi: storvsc: Tighten up the interrupt path

2015-12-18 Thread KY Srinivasan
> -Original Message- > From: Hannes Reinecke [mailto:h...@suse.de] > Sent: Friday, December 18, 2015 12:52 AM > To: KY Srinivasan ; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; h...@infradead.org;

Re: [PATCH 1/2] cgroup: clean up the kernel configuration menu nomenclature

2015-12-18 Thread Johannes Weiner
On Fri, Dec 18, 2015 at 10:23:03AM +0800, Zefan Li wrote: > On 2015/12/18 6:19, Johannes Weiner wrote: > >The config options for the different cgroup controllers use various > >terms: resource controller, cgroup subsystem, etc. Simplify this to > >"controller", which is clear enough in the cgroup

Re: [PATCH v3 4/4] printk/nmi: Increase the size of NMI buffer and make it configurable

2015-12-18 Thread Petr Mladek
On Thu 2015-12-17 14:38:58, Andrew Morton wrote: > On Tue, 15 Dec 2015 15:26:21 +0100 Petr Mladek wrote: > > > > OK, thanks. So "not needed at present, might be needed in the future, > > > useful for out-of-tree debug code"? > > > > It is possible that I got it a wrong way on arm. The NMI

[PATCH] soc: qcom: Add support for SAW2 regulators

2015-12-18 Thread Georgi Djakov
The SAW2 (Subsystem Power Manager and Adaptive Voltage Scaling Wrapper) is part of the SPM subsystem. It is a hardware block found on some of the Qualcomm chipsets, which regulates the power to the CPU cores. Add some basic support for it, so that we can do dynamic voltage scaling. Signed-off-by:

Re: [PATCH] null_blk: use sector_div instead of do_div

2015-12-18 Thread Arnd Bergmann
On Saturday 28 November 2015 09:05:56 Matias Bjørling wrote: > > I had my head around the original code and kept references to the device > layout I had in mind. 256 being number of pages in a block, and the 2^16 > being number of blocks in a lun and wanted to communicate that part.. > which

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-18 Thread Benjamin Tissoires
On Dec 18 2015 or thereabouts, Mika Westerberg wrote: > On Fri, Dec 18, 2015 at 04:42:09PM +0200, Mika Westerberg wrote: > > On another occasion the faulty input report was received immediatelly > > after we call i2c_hid_set_power(). > > > > With below hack patch suspend/resume works fine but it

Re: linux-next: Tree for Dec 16 (lib/842/842_decompress)

2015-12-18 Thread Randy Dunlap
On 12/18/15 06:32, Dan Streetman wrote: > On Wed, Dec 16, 2015 at 3:23 PM, Randy Dunlap wrote: >> On 12/15/15 21:43, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20151215: >>> >>> The drm-misc tree gained a conflict against Linus' tree. >>> >>> The i2c tree gained a build failure for

Re: [PATCH v2] use callbacks to access UART_DLL/UART_DLM

2015-12-18 Thread Peter Hurley
Hi Sebastian, On 12/18/2015 02:46 AM, Sebastian Frias wrote: > --- > > Some UART HW has a single register combining UART_DLL/UART_DLM > (this was probably forgotten in the change that introduced the > callbacks, commit b32b19b8ffc05cbd3bf91c65e205f6a912ca15d9) Thanks for the fix. Because of

splice-bind deadlock (was: [PATCH] af_unix: Revert 'lock_interruptible' in stream receive code)

2015-12-18 Thread Rainer Weikusat
Rainer Weikusat writes: > Hannes Frederic Sowa writes: > > [...] > >> There is still a deadlock lingering around > > [...] > >> http://lists.openwall.net/netdev/2015/11/10/4 [...] > (a while ago) A: socketpair() > > B: splice() from a pipe to /mnt/regular_file >

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Andy Lutomirski
On Thu, Dec 17, 2015 at 10:43 PM, H. Peter Anvin wrote: > On December 17, 2015 9:29:21 PM PST, Andy Lutomirski > wrote: >>On Dec 17, 2015 6:53 PM, "Dave Hansen" >>wrote: >>> >>> On 12/17/2015 06:32 PM, Andy Lutomirski wrote: >>> > On Thu, Dec 17, 2015 at 6:13 PM, Dave Hansen >> wrote: >>> >>

Re: [PATCH 1/1] staging: coding style cleanups for staging/panel driver

2015-12-18 Thread Greg KH
On Fri, Dec 18, 2015 at 02:48:58PM +0530, Bijosh T wrote: > From: Bijosh T > > This patch fixes coding style errors for staging/panel driver. > > Signed-off-by: Bijosh T I need a "full" name here, not just "T" as a last name, as odds are it's a bit longer than just that one character...

[PATCH v4] arm64: run-time detection for aarch32 support

2015-12-18 Thread Yury Norov
Kernel option COMPAT defines the ability of executing aarch32 binaries. Some platforms does not support aarch32 mode, and so cannot execute that binaries. But we cannot just disable COMPAT for them because the same kernel binary may be used by multiple platforms. In this patch,

Re: [PATCH v2] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-18 Thread Johannes Weiner
On Fri, Dec 18, 2015 at 06:32:02PM +0300, Vladimir Davydov wrote: > On Thu, Dec 17, 2015 at 03:02:17PM -0800, Andrew Morton wrote: > > On Tue, 15 Dec 2015 15:31:37 +0300 Vladimir Davydov > > wrote: > > > @@ -859,14 +859,20 @@ struct mem_cgroup *mem_cgroup_iter(struct > > > mem_cgroup *root, > >

您好:

2015-12-18 Thread Rehanna
您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2652697913给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line "unsubscribe

[PULL] GIC updates for v4.5

2015-12-18 Thread Marc Zyngier
Hi Thomas, Jason, This is the pull request for the GIC updates aimed at v4.5. Not a lot this time (what a relief!), but an interesting series from Linus Walleij coming out of his work converting the ARM RealView platforms to DT, and a couple of mundane fixes. Please pull! Thanks, M.

Re: [PATCH 02/14] sctp: use list_for_each_entry*

2015-12-18 Thread Marcelo Ricardo Leitner
On Fri, Dec 18, 2015 at 11:33:26PM +0800, Geliang Tang wrote: > Use list_for_each_entry*() instead of list_for_each*() to simplify > the code. > > Signed-off-by: Geliang Tang Nice, thanks Acked-by: Marcelo Ricardo Leitner > --- > net/sctp/associola.c | 24 + >

[git pull] IOMMU Fixes for Linux v4.4-rc5

2015-12-18 Thread Joerg Roedel
Hi Linus, The following changes since commit 9f9499ae8e6415cefc4fe0a96ad0e27864353c89: Linux 4.4-rc5 (2015-12-13 17:42:58 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.4-rc5 for you to fetch changes up to

Re: [PATCH v2 05/14] DEVICETREE: Add bindings for PIC32/MZDA platforms

2015-12-18 Thread Rob Herring
On Mon, Dec 14, 2015 at 03:42:07PM -0700, Joshua Henderson wrote: dt/bindings: ... is preferred for the subject. > This adds support for the Microchip PIC32 platform along with the > specific variant PIC32MZDA on a PIC32MZDA Starter Kit. > > Signed-off-by: Joshua Henderson > Cc: Ralf Baechle

Re: [PATCH v2 11/11] tty: serial: 8250: Fix indentation warnings

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:22 AM, Anton Wuerfel wrote: > Checkpatch complains about incorrect indentation of switch/case statements. > This patch fixes the corresponding warnings. Additionally some indentation > is changed to match the correct format specified in the Linux Kernel > Coding Style.

Re: [PATCH v2 05/11] tty: serial: 8250: Remove else after return

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > This patch fixes checkpatch warnings about unnecessary else blocks after > return statements. Reviewed-by: Peter Hurley See note below. > Signed-off-by: Anton Würfel > Signed-off-by: Phillip Raffeck > CC: linux-ker...@i4.cs.fau.de > --- >

Re: [PATCH v2 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-12-18 Thread Rob Herring
On Mon, Dec 14, 2015 at 03:42:05PM -0700, Joshua Henderson wrote: > From: Purna Chandra Mandal > > Document the devicetree bindings for the clock driver found on Microchip > PIC32 class devices. > > Signed-off-by: Purna Chandra Mandal > Signed-off-by: Joshua Henderson > Cc: Ralf Baechle A

Re: [PATCH v2 09/11] tty: serial: 8250: Fix multi-line strings

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:22 AM, Anton Wuerfel wrote: > Merged user-visible multi-line strings into a single line according to the > Linux Kernel Coding Style, which allows user-visible strings to exceed the > maximum line length of 80 characters. The main reason for this is to > facilitate grepping for

Re: [PATCH v2 08/11] tty: serial: 8250: Add parentheses to macro

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:22 AM, Anton Wuerfel wrote: > This patch fixes a checkpatch warning caused by missing parentheses > in the definition of a macro. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 04/11] tty: serial: 8250: Fix multiline comment style

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > Checkpatch outputs some warnings about incorrect comment style, > which is fixed by this patch. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 06/11] tty: serial: 8250: Move EXPORT_SYMBOL to function

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > This patch moves EXPORT_SYMBOL macros directly after the definition of > the corresponding symbol to remove checkpatch warnings. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH v2 07/11] tty: serial: 8250: Fix line continuation warning

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > Fixed checkpatch warning about an unnecessary line continuation in a > multi-line variable assignment. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 06/14] libceph: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- net/ceph/messenger.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index 9981039..c664b7f 100644

Re: [RESEND] Lenovo Yoga 900 touchpad issues

2015-12-18 Thread Mika Westerberg
On Fri, Dec 18, 2015 at 04:42:09PM +0200, Mika Westerberg wrote: > On another occasion the faulty input report was received immediatelly > after we call i2c_hid_set_power(). > > With below hack patch suspend/resume works fine but it is far from being > suitable for merging. Still, it would be

[PATCH 05/14] atm: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- net/atm/ioctl.c | 5 ++--- net/atm/resources.c | 8 ++-- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/net/atm/ioctl.c b/net/atm/ioctl.c index bbd3b63..9feb293

[PATCH 10/14] lapb: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- net/lapb/lapb_iface.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c index fc60d9d..49abba7 100644 ---

Re: futex(3) man page, final draft for pre-release review

2015-12-18 Thread Jonathan Wakely
On 18/12/15 12:11 +0100, Torvald Riegel wrote: On Wed, 2015-12-16 at 16:54 +0100, Michael Kerrisk (man-pages) wrote: Hello Darren, On 12/15/2015 10:18 PM, Darren Hart wrote: > On Tue, Dec 15, 2015 at 02:43:50PM +0100, Michael Kerrisk (man-pages) wrote: [...] >>When executing a futex

Re: [PATCH v2 7/7] Documentation: cgroup: add memory.swap.{current,max} description

2015-12-18 Thread Vladimir Davydov
On Fri, Dec 18, 2015 at 11:51:23AM +0900, Kamezawa Hiroyuki wrote: ... > Could you give here a hint how to calculate amount of swapcache, > counted both in memory.current and swap.current ? Currently it's impossible, but once memory.stat has settled in the unified hierarchy, it might be worth

[PATCH 02/14] sctp: use list_for_each_entry*

2015-12-18 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- net/sctp/associola.c | 24 + net/sctp/chunk.c | 16 ++ net/sctp/outqueue.c | 56 +++-

Re: [PATCH v2 06/11] tty: serial: 8250: Move EXPORT_SYMBOL to function

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > This patch moves EXPORT_SYMBOL macros directly after the definition of > the corresponding symbol to remove checkpatch warnings. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH 01/14] Bluetooth: use list_for_each_entry*

2015-12-18 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- net/bluetooth/af_bluetooth.c | 12 ++-- net/bluetooth/cmtp/capi.c| 8 ++-- net/bluetooth/hci_core.c | 8 +++- net/bluetooth/rfcomm/core.c | 46

[PATCH 09/14] net: dsa: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- net/dsa/dsa.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 208d1b2..2ab4a19 100644 --- a/net/dsa/dsa.c +++

[PATCH 12/14] net: sched: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- net/sched/sch_htb.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 15ccd7f..5f7aa74 100644 ---

[PATCH 07/14] batman-adv: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- net/batman-adv/icmp_socket.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/net/batman-adv/icmp_socket.c

[PATCH RESENT] staging/emxx_udc: fix 64-bit warnings

2015-12-18 Thread Arnd Bergmann
ARCH_SHMOBILE is coming to arm64, which creates new warnings in allmodconfig: drivers/staging/emxx_udc/emxx_udc.c: In function '_nbu2ss_out_dma': drivers/staging/emxx_udc/emxx_udc.c:843:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

[PATCH 13/14] sunrpc: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- net/sunrpc/svc_xprt.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index a6cbb21..fe4f628 100644 ---

[PATCH 11/14] openvswitch: use list_for_each_entry

2015-12-18 Thread Geliang Tang
Use list_for_each_entry() instead of list_for_each() to simplify the code. Signed-off-by: Geliang Tang --- net/openvswitch/flow_table.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/net/openvswitch/flow_table.c b/net/openvswitch/flow_table.c index d073fff..9b5999ba

[PATCH 08/14] caif: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- net/caif/chnl_net.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c index 67a4a36..d3db77c 100644

[PATCH 14/14] net: pktgen: use list_for_each_entry_safe

2015-12-18 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- net/core/pktgen.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 2be1444..1d8cffb

[PATCH 03/14] ipv4, ipv6: use list_for_each_entry*

2015-12-18 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- net/ipv4/af_inet.c| 6 ++ net/ipv4/tcp_output.c | 6 ++ net/ipv6/addrconf.c | 8 +++- net/ipv6/af_inet6.c | 7 ++- 4 files changed, 9 insertions(+), 18

Re: [PATCH 1/1] Fix 'sleeping function called from invalid context' warning in sysrq generated crash.

2015-12-18 Thread Ani Sinha
On Fri, Dec 18, 2015 at 5:01 AM, Paul E. McKenney wrote: > On Thu, Dec 17, 2015 at 05:15:10PM -0800, Ani Sinha wrote: >> Commit 984d74a72076a1 ("sysrq: rcu-ify __handle_sysrq") >> replaced spin_lock_irqsave() calls with >> rcu_read_lock() calls in sysrq. Since rcu_read_lock() does not >> disable

[PATCH 04/14] x25: use list_for_each_entry*

2015-12-18 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- net/x25/x25_forward.c | 20 ++-- net/x25/x25_link.c| 23 ++- net/x25/x25_route.c | 29 +++-- 3 files changed, 19

Re: [PATCH 18/43] MAINTAINERS: add kdbus

2015-12-18 Thread Greg Kroah-Hartman
On Fri, Dec 18, 2015 at 03:51:41PM +0800, Fengguang Wu wrote: > CC: Greg Kroah-Hartman > Signed-off-by: Fengguang Wu > --- > MAINTAINERS | 10 ++ > 1 file changed, 10 insertions(+) > > --- linux.orig/MAINTAINERS2015-12-18 15:43:28.229016896 +0800 > +++ linux/MAINTAINERS

Re: [PATCH v2] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-18 Thread Vladimir Davydov
On Thu, Dec 17, 2015 at 03:02:17PM -0800, Andrew Morton wrote: > On Tue, 15 Dec 2015 15:31:37 +0300 Vladimir Davydov > wrote: > > > Memory cgroup reclaim can be interrupted with mem_cgroup_iter_break() > > once enough pages have been reclaimed, in which case, in contrast to a > > full

Re: [PATCH 1/2] bio: Remove the incorrect test for idx in __bio_clone_fast

2015-12-18 Thread Minfei Huang
On 12/18/15 at 11:02P, Minfei Huang wrote: > It is more lucky that kernel crash does not happen, since we test the > bi_pool in function __bio_clone_fast. Now bi_flags is used to flag the > idx, so it is incorrect to test the bi_pool. > > For now, the bio in function __bio_clone_fast may have its

Re: linux-next: build failure after merge of the rtc tree

2015-12-18 Thread Sasha Levin
On 12/17/2015 06:21 AM, Alexandre Belloni wrote: > On 17/12/2015 at 16:03:44 +1100, Stephen Rothwell wrote : >> > Hi Alexandre, >> > >> > After merging the rtc tree, today's linux-next build (arm >> > multi_v7_defconfig) failed like this: >> > >> > drivers/built-in.o: In function

Re: [PATCH v2] pinctrl: at91-pio4: use %pr format string for resource

2015-12-18 Thread Arnd Bergmann
On Monday 30 November 2015 09:47:03 Linus Walleij wrote: > On Wed, Nov 18, 2015 at 4:21 PM, Arnd Bergmann wrote: > > > resource_size_t may be defined as 32 or 64 bit depending on configuration, > > so it cannot be printed using the normal format strings, as gcc correctly > > warns: > > > >

Re: [PATCH 2/2] bio: Free own bvec before assigning the source bio's bvec

2015-12-18 Thread Minfei Huang
Sorry to bother you, since I have missed the nr_iovecs in bio_clone_fast. Nacked this patch. Thanks Minfei On 12/18/15 at 11:02P, Minfei Huang wrote: > This is a memory leaking during splitting the bio by the caller > bio_clone_fast. > > Clone bio may allocate its own bvec, if demanding bvec

RE: [PATCH 2/4] PCI: rcar: Support runtime PM link state L1 handling in pcie-rcar

2015-12-18 Thread Phil Edworthy
Hi Wolfram, On 18 December 2015 14:04, Wolfram Sang wrote: > > Since the hardware doesn't support hot plug, I believe this loop will > > always exit very quickly. Unless someone has taken a hammer to the HW > > of course. > > I know what you mean. But since readl_poll_timeout() makes it easy, we

[RFC, PATCH] ARM: documentation: update Marvell product listing

2015-12-18 Thread Arnd Bergmann
I'm still getting confused regarding which core specifically is used in which SoC, so I've added some more detail to the Marvell README file. I got most of this from random sources on the internet, so it's possible that some of the information is wrong, but most of it should be pretty obvious.

[RFC, PATCH] ARM: PJ4: don't use PJ4B code on PJ4

2015-12-18 Thread Arnd Bergmann
We can have multiplatform kernels with PJ4 (Dove, MMP2) in combination with PJ4B (Armada 370) or PJ4B-MP (Berlin, Armada XP), and the processor functions that are defined for PJ4B use a mask that covers all three core types, rather than using the default ARMv7 type for the original PJ4. This adds

Re: [PATCH 38/43] MAINTAINERS: add git URL for tile

2015-12-18 Thread Chris Metcalf
On 12/18/2015 02:52 AM, Fengguang Wu wrote: CC: Chris Metcalf Signed-off-by: Fengguang Wu --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) Thanks! Taken into the tile tree. -- Chris Metcalf, EZChip Semiconductor http://www.ezchip.com -- To unsubscribe from this list: send the

Re: [PATCH v2 00/11] tty: serial: 8250: Fix checkpatch warnings

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > Hello Peter, > > thanks for your feedback. We updated the patches according to your remarks. Not a problem; on the contrary, thanks for the patches. Just a procedural note: it's customary to address the patches to the maintainer(s) and cc others

Re: [PATCH] BTT: Change nd_btt_arena_is_valid() to verify UUID

2015-12-18 Thread Toshi Kani
On Fri, 2015-12-18 at 01:34 -0700, Vishal Verma wrote: > On Thu, 2015-12-17 at 16:00 -0700, Toshi Kani wrote: > > When user unbinds a BTT disk and binds again with a different > > sector size without wiping out the disk, a BTT disk is created > > with a wrong size. > > I think this is an

[PATCH] [media] dvbdev: avoid unused functions

2015-12-18 Thread Arnd Bergmann
The dvb_create_tsout_entity and dvb_create_media_entity functions are only called if CONFIG_MEDIA_CONTROLLER_DVB is enabled, otherwise we get a compiler warning: dvb-core/dvbdev.c:219:12: warning: 'dvb_create_tsout_entity' defined but not used [-Wunused-function] dvb-core/dvbdev.c:264:12:

Re: [PATCH 1/2] HID: Use multitouch driver for Type Covers

2015-12-18 Thread Bastien Nocera
On Mon, 2015-12-14 at 21:50 +0900, Akihiko Odaki wrote: > Use multitouch driver instead of microsoft one for Microsoft Surface > Type Covers. > > By using MT_CLS_EXPORT_ALL_INPUTS, the keyboards function as well as > the multitouch pads do. > > Signed-off-by: Akihiko Odaki All the multimedia

Re: [PATCH v2 4/5] pinctrl: mediatek: Add Pinctrl/GPIO/EINT driver for mt2701

2015-12-18 Thread Yingjoe Chen
On Fri, 2015-12-11 at 17:07 +0800, Biao Huang wrote: > Add mt2701 support using mediatek common pinctrl driver. > MT2701 have some special pins need an extra setting register > than other ICs, so adding this support to common code. > > Signed-off-by: Biao Huang > --- >

Re: [PATCH v2 03/11] tty: serial: 8250: Fix braces after struct

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > This patch fixes a checkpatch warning by moving an opening curly brace > to its correct position. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 02/11] tty: serial: 8250: Replace spaces with tabs

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > Indentation is changed to match the correct format of using tabs instead > of spaces wherever possible. Reviewed-by: Peter Hurley -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 10/11] tty: serial: 8250: Replace printk by pr_*

2015-12-18 Thread Peter Hurley
Hi Anton, On 12/18/2015 04:32 AM, Andy Shevchenko wrote: > On Fri, 2015-12-18 at 12:22 +0100, Anton Wuerfel wrote: > > >> This comes with a slight change in behaviour as >> pr_debug is configurable via CONFIG_DYNAMIC_DEBUG, whereas >> printk(KERN_DEBUG ...) is not. Please make this one change

Re: [PATCH v2 01/11] tty: serial: 8250: Fix whitespace errors

2015-12-18 Thread Peter Hurley
On 12/18/2015 03:21 AM, Anton Wuerfel wrote: > This patch fixes whitespace errors reported by checkpatch to increase > readability. Main focus is on missing spaces after commas in > function headers and macros (like foo,bar edited to foo, bar). Reviewed-by: Peter Hurley -- To unsubscribe from

Re: [PATCH 2/7] perf: Generalize task_function_call()ers

2015-12-18 Thread Alexander Shishkin
Peter Zijlstra writes: > @@ -2774,9 +2696,6 @@ static void perf_event_context_sched_in( >*/ > cpu_ctx_sched_out(cpuctx, EVENT_FLEXIBLE); > > - if (ctx->nr_events) > - cpuctx->task_ctx = ctx; > - > perf_event_sched_in(cpuctx, cpuctx->task_ctx, task); This

Re: [PATCH] pinctrl: mediatek: convert to arch_initcall

2015-12-18 Thread Yingjoe Chen
On Fri, 2015-12-18 at 12:21 +0800, Daniel Kurtz wrote: > Move pinctrl initialization earlier in boot so that real devices can find > their pctldev without probe deferring. > > Signed-off-by: Daniel Kurtz > --- > drivers/pinctrl/mediatek/pinctrl-mt6397.c | 2 +- >

Re: [RFC PATCH] always probe UART HW when options are not specified

2015-12-18 Thread Peter Hurley
On 12/18/2015 05:53 AM, Sebastian Frias wrote: > Hi Peter, > > On 12/17/2015 09:09 PM, Peter Hurley wrote: >>> It's confusing though, given there are multiple ways to express the same >>> thing. >>> I also found parts of the doc confusing in that regard as well. >>> ie: there's also a

[PATCH] PCI: provide of_pci_get_host_bridge_resources helper

2015-12-18 Thread Arnd Bergmann
The pcie-rcar driver can be built for any ARM platform (for COMPILE_TEST) including those without CONFIG_OF enabled, and that results in a compile-time error: drivers/pci/host/pcie-rcar.c: In function 'rcar_pcie_parse_request_of_pci_ranges': drivers/pci/host/pcie-rcar.c:939:8: error: implicit

[PATCH 1/2] bio: Remove the incorrect test for idx in __bio_clone_fast

2015-12-18 Thread Minfei Huang
It is more lucky that kernel crash does not happen, since we test the bi_pool in function __bio_clone_fast. Now bi_flags is used to flag the idx, so it is incorrect to test the bi_pool. For now, the bio in function __bio_clone_fast may have its own bvec, if the caller is bio_clone_fast. Removing

[PATCH 2/2] bio: Free own bvec before assigning the source bio's bvec

2015-12-18 Thread Minfei Huang
This is a memory leaking during splitting the bio by the caller bio_clone_fast. Clone bio may allocate its own bvec, if demanding bvec is more than inline bvec in function bio_alloc_bioset. bi_io_vec is assigned to the source bio's bvec directly without freeing it firstly in function

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Chris Metcalf
On 12/18/2015 05:05 AM, Sudip Mukherjee wrote: This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. CONFIG_SMP dependency is needed for some arch like tile, tilegx and m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a result their builds are failing with "undefined

[PATCH] PCI: iproc: fix msi driver selection

2015-12-18 Thread Arnd Bergmann
The newly added MSI support for iproc causes a link error when its Kconfig option is disabled: ERROR: "iproc_msi_exit" [drivers/pci/host/pcie-iproc.ko] undefined! ERROR: "iproc_msi_init" [drivers/pci/host/pcie-iproc.ko] undefined! This changes the header file so we use stub functions whenever

[PATCH] printk: nmi: Use %zu for printing 'size_t'

2015-12-18 Thread Fabio Estevam
From: Fabio Estevam Use %zu for printing 'size_t' in order to fix the following build warning: kernel/printk/nmi.c:143:3: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' [-Wformat=] Signed-off-by: Fabio Estevam --- kernel/printk/nmi.c | 2

Re: [PATCH] futex: Prevent pi_state from double freeing in case of error

2015-12-18 Thread Davidlohr Bueso
On Fri, 18 Dec 2015, bhuvanesh_surach...@mentor.com wrote: From: Bhuvanesh Surachari In case of error from rt_mutex_start_proxy_lock pi_state is freed twice in futex_requeue function. Hence removing free_pi_state in else branch and branching to the location where pi_state is freed. This

[PATCH] hwmon: sht15 needs CONFIG_BITREVERSE

2015-12-18 Thread Arnd Bergmann
If CONFIG_BITREVERSE is not built-in, the sht15 driver fails to link: drivers/built-in.o: In function `sht15_crc8': drivers/hwmon/sht15.c:195: undefined reference to `byte_rev_table' This adds a Kconfig 'select' statement, like all other users of bitrev.h have it. Signed-off-by: Arnd Bergmann

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