[PATCH] arch:x86/boot/compressed/error: Add declaration for necessary head file

2017-03-29 Thread Zhengyi Shen
Add declaration for the error.h file to correct the sparse warnings. Sparse warnings: arch/x86/boot/compressed/error.c:8:6: warning: symbol 'warn' was not declared. Should it be static? arch/x86/boot/compressed/error.c:15:6: warning: symbol 'error' was not declared. Should it be st

Re: [PATCH v1 4/8] gpio: acpi: Even more tighten up ACPI GPIO lookups

2017-03-29 Thread Dmitry Torokhov
On Tue, Mar 28, 2017 at 07:31:24PM +0300, Andy Shevchenko wrote: > On Thu, 2017-03-23 at 13:12 -0700, Dmitry Torokhov wrote: > > On Thu, Mar 23, 2017 at 09:46:14PM +0200, Andy Shevchenko wrote: > > > The commit 10cf4899f8af ("gpiolib: tighten up ACPI legacy gpio > > > lookups") > > > prevents to ge

Re: [PATCH v2] extcon: Allow registering a single notifier for all cables on an extcon_dev

2017-03-29 Thread Chanwoo Choi
Hi, On 2017년 03월 25일 23:03, Hans de Goede wrote: > Hi, > > On 20-03-17 10:48, Hans de Goede wrote: >> Hi, >> >> On 20-03-17 01:55, Chanwoo Choi wrote: >>> Hi, >>> >>> On 2017년 03월 20일 03:23, Hans de Goede wrote: In some cases a driver may want to monitor multiple cables on a single extc

Re: [PATCH] Remove atomisp/i2c style errors.

2017-03-29 Thread Greg KH
On Tue, Mar 28, 2017 at 08:31:37PM -0700, Daniel Cashman wrote: > From: Dan Cashman Please list what the issue you fixed in the subject line. Also change the subject to match others for this driver, a 'git log' will show you what to do there. > > Remove two ' , ' issues and change spaces to ta

Re: [PATCH 1/2] drm/sun4i: Add display backend interrupt to device tree binding

2017-03-29 Thread Maxime Ripard
On Mon, Mar 27, 2017 at 10:38:46PM +0800, Chen-Yu Tsai wrote: > The display backend has an interrupt line. Add it to the device tree > binding. > > Signed-off-by: Chen-Yu Tsai The patches prefix for the binding documentation is usually dt-bindings: I've changed that and applied that patch, than

Re: [PATCH 1/1] drivers: staging: fbtft: Hush Checkpatch.pl Error about unnecessary whitespace and comma

2017-03-29 Thread Greg KH
On Wed, Mar 29, 2017 at 12:23:01PM +0530, vaibhavd...@gmail.com wrote: > From: Vaibhav Kothari > > Removed whitespace & comma in fbtft-bus.c as a part of > checkpatch.pl fix-up. Did you test build this? Always do so, otherwise you will get grumpy emails saying you need to test-build your change

Re: [PATCH v1 6/8] gpio: acpi: Explain how to get GPIO descriptors in ACPI case

2017-03-29 Thread Dmitry Torokhov
On Tue, Mar 28, 2017 at 07:39:23PM +0300, Andy Shevchenko wrote: > On Thu, 2017-03-23 at 13:28 -0700, Dmitry Torokhov wrote: > > On Thu, Mar 23, 2017 at 09:46:16PM +0200, Andy Shevchenko wrote: > > > > > +Using the _CRS fallback > > > +--- > > > + > > > +If a device does not h

Re: [PATCH 2/2] ARM: dts: sun5i: Add interrupt for display backend

2017-03-29 Thread Maxime Ripard
On Mon, Mar 27, 2017 at 10:38:47PM +0800, Chen-Yu Tsai wrote: > The display backend on sun5i shares the same interrupt line as the > display frontend. Add it. > > Signed-off-by: Chen-Yu Tsai And ideally, patches prefix shouldn't have dts here too. I've dropped it and applied, thanks! > This won

Re: [PATCH] input: matrix_keypad: add option to drive inactive columns

2017-03-29 Thread Dmitry Torokhov
On Tue, Mar 28, 2017 at 09:02:29PM -0500, Rob Herring wrote: > On Wed, Mar 22, 2017 at 04:16:50PM -0400, David Rivshin wrote: > > From: David Rivshin > > > > The gpio-matrix-keypad driver normally sets inactive columns as inputs > > while scanning. This does not work for all hardware, which may r

RE: [PATCH] PCI: Blacklist AMD Stoney GPU devices for ATS

2017-03-29 Thread Nath, Arindam
>-Original Message- >From: 'Joerg Roedel' [mailto:jroe...@suse.de] >Sent: Wednesday, March 29, 2017 3:56 AM >To: Deucher, Alexander >Cc: 'Joerg Roedel'; Bjorn Helgaas; linux-...@vger.kernel.org; linux- >ker...@vger.kernel.org; Daniel Drake; Nath, Arindam >Subject: Re: [PATCH] PCI: Blacklist

Re: [f2fs-dev] [PATCH 1/5] f2fs: relax node version check for victim data in gc

2017-03-29 Thread heyunlei
Hi all, On 2017/3/26 5:27, Jaegeuk Kim wrote: On 03/25, Chao Yu wrote: Hi Jaegeuk, On 2017/3/25 15:59, Jaegeuk Kim wrote: - has_not_enough_free_secs node_secs: 0 dent_secs: 0 freed:0 free_segments:103 reserved:104 - f2fs_gc - get_victim_by_default alloc_mode 0, gc_

Re: [PATCH 0/8] fujitsu-laptop: use sparse keymaps for input event handling

2017-03-29 Thread Michał Kępień
> On Tue, Mar 28, 2017 at 08:16:18AM +0200, Micha?? K??pie?? wrote: > > > On Fri, Mar 24, 2017 at 09:19:59PM +1030, Jonathan Woithe wrote: > > > > On Mon, Mar 20, 2017 at 10:32:16AM +0100, Micha?? K??pie?? wrote: > > > > > This series simplifies handling of both brightness key and hotkey > > > > >

Re: [PATCH v2 20/53] mtd: nand: denali: do not set mtd->name

2017-03-29 Thread Boris Brezillon
On Wed, 29 Mar 2017 10:19:02 +0900 Masahiro Yamada wrote: > Hi Boris, > > 2017-03-29 6:40 GMT+09:00 Boris Brezillon > : > > On Wed, 29 Mar 2017 06:32:24 +0900 > > Masahiro Yamada wrote: > > > >> Hi Boris, > >> > >> 2017-03-28 0:31 GMT+09:00 Boris Brezillon > >> : > >> > On Wed, 22 Mar 201

CTM and other color related properties

2017-03-29 Thread Jyri Sarha
Referring to this discussion: https://patchwork.kernel.org/patch/9546905/ Since the discussion, has there been any planning/work been done about the CTM2 API? We would need for omap drm (for DSS5 and DSS6) a similar matrix API for two purposes. However, neither of them is an exact match to the CT

Re: [PATCH v8 2/3] dt-bindings: input: touchscreen: Add max11801-ts binding

2017-03-29 Thread Dmitry Torokhov
On Tue, Mar 28, 2017 at 08:57:55PM -0500, Rob Herring wrote: > On Thu, Mar 23, 2017 at 12:35:17AM +0530, Jagan Teki wrote: > > From: Jagan Teki > > > > Add missing documentation of max11801-ts dt-binding details. > > > > Cc: Dmitry Torokhov > > Cc: Mark Rutland > > Cc: Rob Herring > > Cc: Sha

Re: [PATCH v8 1/3] Input: max11801_ts: Add missing of_match_table

2017-03-29 Thread Dmitry Torokhov
On Thu, Mar 23, 2017 at 12:35:16AM +0530, Jagan Teki wrote: > From: Jagan Teki > > Added missing of_match_table for max11801_ts driver with > compatible as "maxim,max11801_ts" > > Cc: Dmitry Torokhov > Cc: Shawn Guo > Cc: Matteo Lisi > Cc: Michael Trimarchi > Signed-off-by: Jagan Teki Appl

Re: [PATCH 2/2] ARM: dts: sun5i: Add interrupt for display backend

2017-03-29 Thread Chen-Yu Tsai
On Wed, Mar 29, 2017 at 3:13 PM, Maxime Ripard wrote: > On Mon, Mar 27, 2017 at 10:38:47PM +0800, Chen-Yu Tsai wrote: >> The display backend on sun5i shares the same interrupt line as the >> display frontend. Add it. >> >> Signed-off-by: Chen-Yu Tsai > > And ideally, patches prefix shouldn't have

Re: [PATCH] minor coding style fix

2017-03-29 Thread Greg Kroah-Hartman
On Mon, Mar 27, 2017 at 03:34:47PM +0100, sfaragnaus wrote: > This patch fix a minor coding style issue. You need to be a lot more specific here, and in your subject line. > Signed-off-by: sfaragnaus I also need a "real name" here and in the from: line please. thanks, greg k-h

Re: [PATCH v3] staging: goldfish: Fix style issues in macros

2017-03-29 Thread Greg KH
On Mon, Mar 27, 2017 at 03:19:06PM +0300, aviyae wrote: > Fix coding style issues in macros: > 1. Add parenthesis around macro arguments > 2. Avoid arguments reuse in macro That's different things, please make different patches for this. Remember, only one patch per "thing" and "fix all style iss

Re: [PATCH v3 1/7] pinctrl: Renesas RZ/A1 pin and gpio controller

2017-03-29 Thread Geert Uytterhoeven
Hi Linus, On Fri, Mar 24, 2017 at 4:42 PM, Linus Walleij wrote: > On Fri, Mar 24, 2017 at 4:22 PM, Jacopo Mondi > wrote: > > I assume Geert will queue this driver even if it is outside of sh-pfc? OK for me, thanks. I was actually wondering about that ;-) Gr{oetje,eeting}s,

Re: [PATCH] auxdisplay: ht16k33: don't access uninitialized data

2017-03-29 Thread Dmitry Torokhov
On Tue, Mar 28, 2017 at 12:11:49PM +0200, Arnd Bergmann wrote: > gcc-7.0.1 points out that we copy uninitialized data from the stack > into a per-device structure: > > drivers/auxdisplay/ht16k33.c: In function 'ht16k33_keypad_irq_thread': > arch/x86/include/asm/string_32.h:78:16: error: 'new_state

Re: [PATCH] staging: lusten: conrpc.c: fix different address space sparse warning

2017-03-29 Thread Greg KH
On Tue, Mar 28, 2017 at 11:14:06PM -0300, Marcos Paulo de Souza wrote: > head_up parameter is marked with __user attribute, tmp is filled > by a copy_from_user from next, that is also marked as __user, so > tmp.next needs to be "casted" as __user to make sparse happy. But is it the correct change?

Re: lockdep warning: console vs. mem hotplug

2017-03-29 Thread Michal Hocko
On Tue 28-03-17 18:00:16, Petr Mladek wrote: > On Tue 2017-03-28 16:22:27, Michal Hocko wrote: > > On Sat 25-03-17 09:04:42, Sergey Senozhatsky wrote: > > > On (03/21/17 13:44), Sergey Senozhatsky wrote: > > > [..] > > > > so we probably can > > > > > > > > > > > > 1) move pr_info() out of zone->

Re: [PATCH] staging: rtl8188eu: fix unnecessary parentheses, multiple blank lines, spaces around '&' reported by checkpatch.pl

2017-03-29 Thread Greg KH
On Sun, Mar 12, 2017 at 06:52:26PM +0200, Andrii wrote: > Signed-off-by: Andrii Vladyka I can't take a patch without any changelog text :( Also, your From: line does not match your signed-off-by line :(

Re: [PATCHv2] staging: wlan-ng: fix avoid multiple line dereference warning reported by checkpatch.pl

2017-03-29 Thread Greg KH
On Sun, Mar 12, 2017 at 05:30:09PM +0200, Andrii wrote: > Fixed three code style warnings (multiple line dereference) reported > by checkpatch.pl script. > > Signed-off-by: Andrii Vladyka > diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c > b/drivers/staging/wlan-ng/hfa384x_usb.c > index 6134e

Re: [PATCH v2 2/7] dt-bindings: pinctrl: Add RZ/A1 bindings doc

2017-03-29 Thread Geert Uytterhoeven
Hi Linus, On Wed, Mar 29, 2017 at 4:30 AM, Linus Walleij wrote: > On Tue, Mar 28, 2017 at 4:38 PM, wrote: >>> The fact that historically all the early adopters of pinctrl in device >>> tree >>> have these funky custom bindings is unfortunate but just something >>> that we need to live with. >>

Re: [PATCH v3] Revert "staging: radio-bcm2048: fixed bare use of unsigned int"

2017-03-29 Thread Greg Kroah-Hartman
On Mon, Mar 27, 2017 at 05:20:29PM +1100, Eddie Youseph wrote: > This reverts previous changes to checkpatch warning: > WARNING: Prefer 'unsigned int' to bare use of 'unsigned' > --- > Changes in v2: > - Added changelog > > Changes in v3: > - Revert changes to using bare unsigned I do

Re: [PATCH v3 3/9] arm: fix return value of parse_cpu_capacity

2017-03-29 Thread Vincent Guittot
On 27 March 2017 at 15:18, Juri Lelli wrote: > parse_cpu_capacity() has to return 0 on failure, but it currently returns > 1 instead if raw_capacity kcalloc failed. > > Fix it by removing the negation of the return value. > > Cc: Russell King > Reported-by: Morten Rasmussen > Fixes: 06073ee26775

Re: [PATCH v2] extcon: Allow registering a single notifier for all cables on an extcon_dev

2017-03-29 Thread Hans de Goede
Hi, On 29-03-17 09:06, Chanwoo Choi wrote: Hi, On 2017년 03월 25일 23:03, Hans de Goede wrote: Hi, On 20-03-17 10:48, Hans de Goede wrote: Hi, On 20-03-17 01:55, Chanwoo Choi wrote: Hi, On 2017년 03월 20일 03:23, Hans de Goede wrote: In some cases a driver may want to monitor multiple cables o

Re: [PATCH v3 4/9] arm: remove wrong CONFIG_PROC_SYSCTL ifdef

2017-03-29 Thread Vincent Guittot
On 27 March 2017 at 15:18, Juri Lelli wrote: > The sysfs cpu_capacity entry for each CPU has nothing to do with > PROC_FS, nor it's in /proc/sys path. > > Remove such ifdef. > > Cc: Russell King > Reported-and-suggested-by: Sudeep Holla > Fixes: 7e5930aaef5d ('ARM: 8622/3: add sysfs cpu_capacity

[PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-03-29 Thread Dmitry Torokhov
The data read from the device is 3 little-endian words, so let's annotate them as such and use le16_to_cpu() to convert them to host endianness - it might turn out to be a bit more performant, and it expresses the conversion more clearly. Signed-off-by: Dmitry Torokhov --- drivers/auxdisplay/ht1

Re: [PATCH v2] module: check if memory leak by module.

2017-03-29 Thread Michal Hocko
On Wed 29-03-17 11:32:02, Maninder Singh wrote: > This patch checks if any module which is going to be unloaded > is doing vmalloc memory leak or not. Hmm, how can you track _all_ vmalloc allocations done on behalf of the module? It is quite some time since I've checked kernel/module.c but from my

[PATCH] zram: factor out partial IO routine

2017-03-29 Thread Minchan Kim
For architecture(PAGE_SIZE > 4K), zram have supported partial IO. However, the mixed code for handling normal/partial IO is too mess, error-prone to modify IO handler functions with upcoming feature so this patch aims for cleaning up via factoring out partial IO routines to zram_bvec_partial_[read|

Re: [PATCH v3 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2017-03-29 Thread Mars Cheng
Hi Marc comments inline On Fri, 2017-03-24 at 16:22 +, Marc Zyngier wrote: > On 14/02/17 02:56, Youlin Pei wrote: > > In Mediatek SOCs, the CIRQ is a low power interrupt controller > > designed to works outside MCUSYS which comprises with Cortex-Ax > > cores,CCI and GIC. > > > > The CIRQ con

Re: [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object.

2017-03-29 Thread Yisheng Xie
Hi Minchan, Thanks for your comment! On 2017/3/29 8:20, Minchan Kim wrote: > Hello, > > On Tue, Mar 28, 2017 at 03:20:22PM +0800, Yisheng Xie wrote: >> Hi, all, >> >> We had backport the no-lru migration to linux-4.1, meanwhile change the >> ZS_MAX_ZSPAGE_ORDER to 3. Then we met a BUG_ON(!page[1]

Re: [RFC PATCH 2/3] iio: adc: sun4i-gpadc-iio: add support for H3 thermal sensor

2017-03-29 Thread Lee Jones
On Wed, 29 Mar 2017, Icenowy Zheng wrote: > > 2017年3月29日 14:54于 Quentin Schulz 写道: > > > > Hi, > > > > On 28/03/2017 19:30, Icenowy Zheng wrote: > > > This adds support for the Allwinner H3 thermal sensor. > > > > > > Allwinner H3 has a thermal sensor like the one in A33, but have its > > >

Re: [RFC]mm/zsmalloc,: trigger BUG_ON in function zs_map_object.

2017-03-29 Thread Yisheng Xie
Hi Sergey, Thanks for your comment! On 2017/3/29 14:42, Sergey Senozhatsky wrote: > On (03/29/17 09:20), Minchan Kim wrote: >> Hello, >> >> On Tue, Mar 28, 2017 at 03:20:22PM +0800, Yisheng Xie wrote: >>> Hi, all, >>> >>> We had backport the no-lru migration to linux-4.1, meanwhile change the >>>

Re: [PATCH v2] serial: 8250_dw: Avoid "too much work" from bogus rx timeout interrupt

2017-03-29 Thread Olliver Schinagl
Hey Douglas, On 07-02-17 00:30, Douglas Anderson wrote: On a Rockchip rk3399-based board during suspend/resume testing, we found that we could get the console UART into a state where it would print this to the console a lot: serial8250: too much work for irq42 Followed eventually by: NMI wa

Re: [PATCH v3 05/11] Documentation: DT: bindings: input: touschcreen: remove sun4i documentation

2017-03-29 Thread Lee Jones
On Tue, 21 Mar 2017, Quentin Schulz wrote: > This patch removes the sun4i touchscreen controller binding > documentation since it has been merged with the sun4i GPADC binding > documentation. > > Signed-off-by: Quentin Schulz > Acked-by: Rob Herring > --- > > added in v2 > > .../bindings/inp

Re: [PATCHv4] mfd: cpcap: implement irq sense helper

2017-03-29 Thread Lee Jones
On Tue, 28 Mar 2017, Sebastian Reichel wrote: > Hi Lee, > > On Tue, Mar 28, 2017 at 11:27:16AM +0100, Lee Jones wrote: > > > +int cpcap_sense_virq(struct regmap *regmap, int virq) > > > +{ > > > + struct regmap_irq_chip_data *d = irq_get_chip_data(virq); > > > + int base = regmap_irq_chip_get_bas

Re: [PATCH v3 3/9] arm: fix return value of parse_cpu_capacity

2017-03-29 Thread Juri Lelli
On 29/03/17 09:37, Vincent Guittot wrote: > On 27 March 2017 at 15:18, Juri Lelli wrote: > > parse_cpu_capacity() has to return 0 on failure, but it currently returns > > 1 instead if raw_capacity kcalloc failed. > > > > Fix it by removing the negation of the return value. > > > > Cc: Russell King

Re: [PATCH] sched/fair: update scale invariance of PELT

2017-03-29 Thread Vincent Guittot
On 28 March 2017 at 17:35, Vincent Guittot wrote: > The current implementation of load tracking invariance scales the contribution > with current frequency and uarch performance (only for utilization) of the > CPU. One main result of this formula is that the figures are capped by current > capacit

Re: [PATCH v2] module: check if memory leak by module.

2017-03-29 Thread Miroslav Benes
On Wed, 29 Mar 2017, Michal Hocko wrote: > On Wed 29-03-17 11:32:02, Maninder Singh wrote: > > This patch checks if any module which is going to be unloaded > > is doing vmalloc memory leak or not. > > Hmm, how can you track _all_ vmalloc allocations done on behalf of the > module? It is quite so

Re: [RESEND PATCH 2/2] sched/fair: Optimize __update_sched_avg()

2017-03-29 Thread Yuyang Du
On Tue, Mar 28, 2017 at 02:50:22PM +0200, Peter Zijlstra wrote: > This Changelog being so impenetrable is what makes me skip over it; > I'll put it on the 'look-at-later' pile, and that just never happens :/ Very understandable, but thank you. I hope I can write the changelog better. :)

Re: [PATCH] mm,hugetlb: compute page_size_log properly

2017-03-29 Thread Michal Hocko
On Tue 28-03-17 10:54:08, Matthew Wilcox wrote: > On Tue, Mar 28, 2017 at 09:55:13AM -0700, Davidlohr Bueso wrote: > > Do we have any consensus here? Keeping SHM_HUGE_* is currently > > winning 2-1. If there are in fact users out there computing the > > value manually, then I am ok with keeping it

Re: [PATCH] auxdisplay: ht16k33: don't access uninitialized data

2017-03-29 Thread Robin van der Gracht
On Tue, 28 Mar 2017 12:11:49 +0200 Arnd Bergmann wrote: > gcc-7.0.1 points out that we copy uninitialized data from the stack > into a per-device structure: > > drivers/auxdisplay/ht16k33.c: In function 'ht16k33_keypad_irq_thread': > arch/x86/include/asm/string_32.h:78:16: error: 'new_state' may

Re: [PATCH 4.10 094/111] libceph: force GFP_NOIO for socket allocations

2017-03-29 Thread Michal Hocko
On Tue 28-03-17 14:31:20, Greg KH wrote: > 4.10-stable review patch. If anyone has any objections, please let me know. Greg, please hold on with this backport. I would like to get http://lkml.kernel.org/r/20170328124312.ge18...@dhcp22.suse.cz resolved. So far I believe the patch is simply not nee

Re: [RESEND PATCH 2/2] sched/fair: Optimize __update_sched_avg()

2017-03-29 Thread Yuyang Du
Hi Peter, On Tue, Mar 28, 2017 at 04:46:25PM +0200, Peter Zijlstra wrote: > On Mon, Feb 13, 2017 at 05:44:23AM +0800, Yuyang Du wrote: > > __update_load_avg() has the following steps: > > > > 1. add the remainder of the last incomplete period > > 2. decay old sum > > 3. accumulate new sum i

Re: [PATCH 4.9 75/88] libceph: force GFP_NOIO for socket allocations

2017-03-29 Thread Michal Hocko
On Tue 28-03-17 14:31:30, Greg KH wrote: > 4.9-stable review patch. If anyone has any objections, please let me know. Greg, please hold on with this backport. I would like to get http://lkml.kernel.org/r/20170328124312.ge18...@dhcp22.suse.cz resolved. So far I believe the patch is simply not need

Re: [PATCH 1/2] dt-bindings: Document the STM32 MDMA bindings

2017-03-29 Thread M'boumba Cedric Madianga
Hi Rob, > stm32 is not a specific SoC. Compatible strings should be specific to > an SoC (with fallback strings to whatever they are compatible with) so > you can handle SoC specific differences or errata. Ok I see. I will add a more specific SoC description in my compatible. Thanks. > I still

Re: [PATCH] auxdisplay: ht16k33: use le16_to_cpup() to fetch LE16 data

2017-03-29 Thread Robin van der Gracht
On Wed, 29 Mar 2017 00:42:08 -0700 Dmitry Torokhov wrote: > The data read from the device is 3 little-endian words, so let's annotate > them as such and use le16_to_cpu() to convert them to host endianness - it > might turn out to be a bit more performant, and it expresses the conversion > more c

Re: in_irq_or_nmi()

2017-03-29 Thread Peter Zijlstra
On Mon, Mar 27, 2017 at 09:58:17AM -0700, Matthew Wilcox wrote: > On Mon, Mar 27, 2017 at 05:15:00PM +0200, Jesper Dangaard Brouer wrote: > > And I also verified it worked: > > > > 0.63 │ mov__preempt_count,%eax > >│ free_hot_cold_page(): > > 1.25 │ test $0x1f

Re: [PATCH] reset: uniphier: add NAND and eMMC reset control

2017-03-29 Thread Philipp Zabel
On Tue, 2017-03-28 at 17:40 +0900, Masahiro Yamada wrote: > Add reset lines for the Denali NAND controller on all UniPhier SoCs, > for the Cadence eMMC controller on LD11/LD20 SoCs. > > Signed-off-by: Masahiro Yamada > --- > > Philipp, > > Sorry for sending this in the last minute. > If it is n

Re: [PATCH v3 0/7] ARM: Fix dma_alloc_coherent() and friends for NOMMU

2017-03-29 Thread Vladimir Murzin
Ping! On 23/03/17 09:26, Vladimir Murzin wrote: > On 22/03/17 12:23, Szemző András wrote: >> I’ve tested this v3 version on my Atmel armv7m board with several drivers >> with DMA and enabled caches, >> and I’ve not seen any issues. >> >> You can add my Tested-by. > > Much appreciated! > > Russ

Re: [PATCH 4/8] asm-generic: add atomic-instrumented.h

2017-03-29 Thread Dmitry Vyukov
On Tue, Mar 28, 2017 at 11:35 PM, Matthew Wilcox wrote: > On Tue, Mar 28, 2017 at 06:15:41PM +0200, Dmitry Vyukov wrote: >> The new header allows to wrap per-arch atomic operations >> and add common functionality to all of them. > > Why a new header instead of putting this in linux/atomic.h? Onl

Re: [PATCH v8 3/3] ARM: dts: imx6q-icore: Add touchscreen node

2017-03-29 Thread Shawn Guo
On Thu, Mar 23, 2017 at 12:35:18AM +0530, Jagan Teki wrote: > From: Jagan Teki > > max11801 touchscreen on Engicam iCoreM6 Quad module is > connected via i2c1, so add max11801: touchscreen@48 on i2c1. > > Cc: Dmitry Torokhov > Cc: Domenico Acri > Cc: Matteo Lisi > Cc: Michael Trimarchi > Cc:

Re: [RFC PATCH tip/master 2/3] kprobes: Allocate kretprobe instance if its free list is empty

2017-03-29 Thread Masami Hiramatsu
On Wed, 29 Mar 2017 08:30:05 +0200 Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > > > @@ -1824,6 +1823,30 @@ void unregister_jprobes(struct jprobe **jps, int num) > > EXPORT_SYMBOL_GPL(unregister_jprobes); > > > > #ifdef CONFIG_KRETPROBES > > + > > +/* Try to use free instance first, if

Re: [alsa-devel] [PATCH v2 6/8] regulator: arizona-micbias: Add regulator driver for Arizona micbiases

2017-03-29 Thread Charles Keepax
improve the system] > > url: > https://github.com/0day-ci/linux/commits/Charles-Keepax/regulator-arizona-micsupp-Avoid-potential-memory-leak-reading-init_data/20170329-112224 > base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git > for-next > config: i386

Re: [PATCH V6 4/7] mfd: da9061: MFD core support

2017-03-29 Thread Lee Jones
On Tue, 28 Mar 2017, Geert Uytterhoeven wrote: > Hi Steve, > > On Tue, Mar 28, 2017 at 12:42 PM, Steve Twiss > wrote: > > On 28 March 2017 09:37, Geert Uytterhoeven wrote: > >> Subject: Re: [PATCH V6 4/7] mfd: da9061: MFD core support > >> On Tue, Mar 28, 2017 at 10:21 AM, Lee Jones wrote: > >>

Re: [PATCH 3/4] selftests: ftrace: Add -l/--logdir option

2017-03-29 Thread Masami Hiramatsu
On Wed, 29 Mar 2017 10:46:24 +0900 Namhyung Kim wrote: > In my virtual machine setup, running ftracetest failed on creating > LOG_DIR on a read-only filesystem. It'd be convenient to provide an > option to specify a different directory as log directory. > Looks good to me :) Acked-by: Masami

Re: [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-29 Thread Arnd Bergmann
Here is a reduced test case for one assertion failure I get with the initify plugin: 8< typedef unsigned int u32; __attribute__ ((format(printf, 1, 2))) __attribute__ ((__cold__)) int printk(const char *fmt, ...); void mv78xx0_pcie_id(u32 * dev, u32 * rev); static char * __attribute

Re: linux-next: manual merge of the xen-tip tree with the tip tree

2017-03-29 Thread Juergen Gross
On 29/03/17 05:35, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the xen-tip tree got a conflict in: > > arch/x86/xen/enlighten.c > > between commits: > > 6415813bae75 ("x86/cpu: Drop wp_works_ok member of struct cpuinfo_x86") > 69218e47994d ("x86: Remap GDT tables in

Re: [PATCH 1/5] locking: Introduce range reader/writer lock

2017-03-29 Thread Laurent Dufour
On 28/03/2017 18:58, Kirill A. Shutemov wrote: > On Tue, Mar 28, 2017 at 09:39:18AM -0700, Davidlohr Bueso wrote: >> I'll wait to see if there are any more concerns and send a v2 with your >> corrections. > > Have you tried drop-in replacement of mmap_sem with full range lock? > It would be inter

[PATCH] net: ipv6: netfilter: Format block comments.

2017-03-29 Thread Arushi Singhal
Fix checkpatch warnings: WARNING: Block comments use a trailing */ on a separate line WARNING: Block comments use * on subsequent lines Signed-off-by: Arushi Singhal --- net/ipv6/netfilter/ip6_tables.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/net/ipv6/

Re: [PATCH v6 02/39] [media] dt-bindings: Add bindings for i.MX media driver

2017-03-29 Thread Russell King - ARM Linux
On Tue, Mar 28, 2017 at 07:21:34PM -0500, Rob Herring wrote: > On Mon, Mar 27, 2017 at 7:40 PM, Steve Longerbeam > wrote: > > Add bindings documentation for the i.MX media driver. > > > > Signed-off-by: Steve Longerbeam > > --- > > Documentation/devicetree/bindings/media/imx.txt | 74 > > +

[REPOST PATCH] ARM: dts: imx6qp-nitrogen6_som2: add Quad Plus variant of the SOM

2017-03-29 Thread Gary Bisson
https://boundarydevices.com/product/nit6x-som-v2/ Reviewed-by: Fabio Estevam Signed-off-by: Gary Bisson --- Hi, This is just a re-post to LAKML as suggested by Shawn [1]. Also include the Review tag from Fabio [2]. Regards, Gary [1] http://www.spinics.net/lists/devicetree/msg170732.html [2]

[PATCH net-next] net: mvneta: add RGMII_RXID and RGMII_TXID support

2017-03-29 Thread Jisheng Zhang
RGMII_RXID and RGMII_TX_ID share the same GMAC CTRL setting as RGMII or RGMII_ID. Signed-off-by: Jisheng Zhang --- drivers/net/ethernet/marvell/mvneta.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index aebb

Re: [RFC PATCHv2 02/21] cma: Introduce cma_for_each_area

2017-03-29 Thread Benjamin Gaignard
2017-03-18 1:54 GMT+01:00 Laura Abbott : > > Frameworks (e.g. Ion) may want to iterate over each possible CMA area to > allow for enumeration. Introduce a function to allow a callback. even outside ION rework that could be useful Reviewed-by: Benjamin Gaignard > > Signed-off-by: Laura Abbott >

Re: [PATCH linux-next v2 0/4] usb: gadget: udc: atmel: Endpoint allocation scheme fixes

2017-03-29 Thread Nicolas Ferre
Le 28/03/2017 à 18:07, cristian.bir...@microchip.com a écrit : > From: Cristian Birsan > > This patch series provides fixes, based on the feedback received on the > mailing list, for > the following: > - fifo table parameters validation against device tree values > - coding style >

Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure

2017-03-29 Thread SIMRAN SINGHAL
On Wed, Mar 29, 2017 at 12:25 PM, Jan Engelhardt wrote: > > On Tuesday 2017-03-28 18:23, SIMRAN SINGHAL wrote: >>On Tue, Mar 28, 2017 at 7:24 PM, Jan Engelhardt wrote: >>> On Tuesday 2017-03-28 15:13, simran singhal wrote: >>> Some functions like kmalloc/kzalloc return NULL on failure. When N

Re: Synaptics RMI4 touchpad regression in 4.11-rc1

2017-03-29 Thread Benjamin Tissoires
On Mar 28 2017 or thereabouts, Andrew Duggan wrote: > On 03/19/2017 10:00 PM, Peter Hutterer wrote: > > On Fri, Mar 17, 2017 at 12:23:36PM -0700, Andrew Duggan wrote: > > > On 03/17/2017 09:57 AM, Benjamin Tissoires wrote: > > > > On Wed, Mar 15, 2017 at 2:19 AM, Andrew Duggan > > > > wrote: > >

Re: [PATCH] iio/adc/ltc2497: Driver for Linear Technology LTC2497 ADC

2017-03-29 Thread Michael Hennerich
On 23.03.2017 12:05, Lars-Peter Clausen wrote: Sorry - I missed some of this review feedback ... + +static int ltc2497_wait_conv(struct ltc2497_st *st) +{ + s64 time_elapsed; + + time_elapsed = ktime_ms_delta(ktime_get(), st->time_prev); + + if (time_elapsed < LTC2497_CONVERSI

[PATCH net-next v2] net: mvneta: set rx mode during resume if interface is running

2017-03-29 Thread Jisheng Zhang
I found a bug by: 0. boot and start dhcp client 1. echo mem > /sys/power/state 2. resume back immediately 3. don't touch dhcp client to renew the lease 4. ping the gateway. No acks Usually, after step2, the DHCP lease isn't expired, so in theory we should resume all back. But in fact, it doesn't.

Re: [PATCH -mm -v7 0/9] THP swap: Delay splitting THP during swapping out

2017-03-29 Thread Huang, Ying
Hi, Andrew, Andrew Morton writes: > On Tue, 28 Mar 2017 13:32:00 +0800 "Huang, Ying" wrote: > >> Hi, Andrew, could you help me to check whether the overall design is >> reasonable? >> >> Hi, Hugh, Shaohua, Minchan and Rik, could you help me to review the >> swap part of the patchset? Especial

Re: [PATCH v4] perf annotate: Fix missing number of samples for source_line_samples

2017-03-29 Thread Taeung Song
Arnaldo, I think we had a little communication problem. So would you mind if I finally sum up this situation ? Currently there are the two calculation setting for 'number of samples'. (At util/annotate.c, not TUI code ui/browsers/annotate.c) A) disasm__calc_percent() -> util/annotate.c:881~

Re: [PATCH 1/5] locking: Introduce range reader/writer lock

2017-03-29 Thread Peter Zijlstra
On Mon, Mar 06, 2017 at 09:03:26PM -0800, Davidlohr Bueso wrote: > diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig > index 88e01e08e279..e4d9eadd2c47 100644 > --- a/drivers/gpu/drm/Kconfig > +++ b/drivers/gpu/drm/Kconfig > @@ -154,7 +154,6 @@ config DRM_RADEON > select HWMON >

Re: [PATCH v5 1/4] gcc-plugins: Add the initify gcc plugin

2017-03-29 Thread Arnd Bergmann
And here is a workaround that I applied locally to avoid the ICE, but I wouldn't want to have this upstream. commit 8712fd8979a5730318a84922fbcb8791ea5af40e Author: Arnd Bergmann Date: Wed Mar 29 10:53:48 2017 +0200 work around initify ICE arch/arm/mach-mv78xx0/common.i: In function '

Re: [PATCH 1/5] locking: Introduce range reader/writer lock

2017-03-29 Thread Peter Zijlstra
On Mon, Mar 06, 2017 at 09:03:26PM -0800, Davidlohr Bueso wrote: > +++ b/kernel/locking/range_rwlock.c > @@ -0,0 +1,462 @@ > +/* > + * Implementation of read/write range locks. > + * > + * We keep interval tree of locked and to-be-locked ranges. When new range > lock > + * is requested, we add its

Re: linux-next: manual merge of the xen-tip tree with the tip tree

2017-03-29 Thread Ingo Molnar
* Juergen Gross wrote: > On 29/03/17 05:35, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the xen-tip tree got a conflict in: > > > > arch/x86/xen/enlighten.c > > > > between commits: > > > > 6415813bae75 ("x86/cpu: Drop wp_works_ok member of struct cpuinfo_x86"

Re: in_irq_or_nmi()

2017-03-29 Thread Jesper Dangaard Brouer
On Wed, 29 Mar 2017 10:12:19 +0200 Peter Zijlstra wrote: > On Mon, Mar 27, 2017 at 09:58:17AM -0700, Matthew Wilcox wrote: > > On Mon, Mar 27, 2017 at 05:15:00PM +0200, Jesper Dangaard Brouer wrote: > > > And I also verified it worked: > > > > > > 0.63 │ mov__preempt_count,%eax > >

[PATCH] net: ipv6: Removed unnecessary parenthesis

2017-03-29 Thread Arushi Singhal
Removed parentheses on the right hand side of assignment, as they are not required. The following coccinelle script was used to fix this issue: @@ local idexpression id; expression e; @@ id = -( e -) Signed-off-by: Arushi Singhal --- net/ipv6/netfilter/nf_conntrack_reasm.c | 4 ++-- 1 file cha

Re: [RFC PATCHv2 00/21] Ion clean in preparation for moving out of staging

2017-03-29 Thread Benjamin Gaignard
2017-03-18 1:54 GMT+01:00 Laura Abbott : > > Hi, > > This is v2 of the series to do some serious Ion clean up in preparation for > moving out of staging. I got good feedback last time so this series mostly > attempts to address that feedback and do more still more cleanup. Highlights: > > - All cal

Re: [PATCH v5 6/9] coresight: add support for CPU debug module

2017-03-29 Thread Suzuki K Poulose
On 29/03/17 04:07, Leo Yan wrote: Hi Suzuki, On Mon, Mar 27, 2017 at 05:34:57PM +0100, Suzuki K Poulose wrote: On 25/03/17 18:23, Leo Yan wrote: [...] Leo, Thanks a lot for the quick rework. I don't fully understand (yet!) why we need the idle_constraint. I will leave it for Sudeep to com

Re: [PATCH 1/5] locking: Introduce range reader/writer lock

2017-03-29 Thread Peter Zijlstra
On Mon, Mar 06, 2017 at 09:03:26PM -0800, Davidlohr Bueso wrote: > +#define RANGE_RWLOCK_INFINITY (~0UL - 1) > +#define DEFINE_RANGE_RWLOCK_INF(name)\ > + struct range_rwlock name = __RANGE_RWLOCK_INITIALIZER(0, > RANGE_RWLOCK_INFINITY) > +void range_rwlock_init_inf(struct r

[PATCH v2] clk: stm32h7: Add stm32h743 clock driver

2017-03-29 Thread gabriel.fernandez
From: Gabriel Fernandez This patch enables clocks for STM32H743 boards. Signed-off-by: Gabriel Fernandez Just for the MFD changes: Acked-by: Lee Jones v2: - rename compatible string "stm32,pll" into "stm32h7-pll" - suppress "st,pllrge" property - suppress "st, frac-status" property -

Re: [PATCH 1/5] locking: Introduce range reader/writer lock

2017-03-29 Thread Peter Zijlstra
On Mon, Mar 06, 2017 at 09:03:26PM -0800, Davidlohr Bueso wrote: > +/* > + * Implementation of read/write range locks. > + * > + * We keep interval tree of locked and to-be-locked ranges. When new range > lock > + * is requested, we add its interval to the tree and store number of > intervals > +

Re: [PATCH v2] serial: 8250_dw: Avoid "too much work" from bogus rx timeout interrupt

2017-03-29 Thread Andy Shevchenko
On Wed, Mar 29, 2017 at 10:58 AM, Olliver Schinagl wrote: > On 07-02-17 00:30, Douglas Anderson wrote: First of all I didn't get why people from Cc list are suddenly disappeared. Check your mail client settings. Returning back some of them. >> It appears that somehow we have a RX Timeout interru

Re: [PATCH V6 4/7] mfd: da9061: MFD core support

2017-03-29 Thread Geert Uytterhoeven
Hi Lee, On Wed, Mar 29, 2017 at 10:30 AM, Lee Jones wrote: > On Tue, 28 Mar 2017, Geert Uytterhoeven wrote: >> On Tue, Mar 28, 2017 at 12:42 PM, Steve Twiss >> wrote: >> > On 28 March 2017 09:37, Geert Uytterhoeven wrote: >> >> Subject: Re: [PATCH V6 4/7] mfd: da9061: MFD core support >> >> On T

Re: CTM and other color related properties

2017-03-29 Thread Ville Syrjälä
On Wed, Mar 29, 2017 at 10:23:54AM +0300, Jyri Sarha wrote: > Referring to this discussion: > https://patchwork.kernel.org/patch/9546905/ > > Since the discussion, has there been any planning/work been done about > the CTM2 API? > > We would need for omap drm (for DSS5 and DSS6) a similar matrix

Re: [PATCH v2] netfilter: Clean up tests if NULL returned on failure

2017-03-29 Thread SIMRAN SINGHAL
On Wed, Mar 29, 2017 at 2:19 PM, SIMRAN SINGHAL wrote: > On Wed, Mar 29, 2017 at 12:25 PM, Jan Engelhardt wrote: >> >> On Tuesday 2017-03-28 18:23, SIMRAN SINGHAL wrote: >>>On Tue, Mar 28, 2017 at 7:24 PM, Jan Engelhardt wrote: On Tuesday 2017-03-28 15:13, simran singhal wrote: >So

Re: in_irq_or_nmi()

2017-03-29 Thread Peter Zijlstra
On Wed, Mar 29, 2017 at 10:59:28AM +0200, Jesper Dangaard Brouer wrote: > On Wed, 29 Mar 2017 10:12:19 +0200 > Peter Zijlstra wrote: > > > On Mon, Mar 27, 2017 at 09:58:17AM -0700, Matthew Wilcox wrote: > > > On Mon, Mar 27, 2017 at 05:15:00PM +0200, Jesper Dangaard Brouer wrote: > > > > And I

Re: linux-next: manual merge of the kvms390 tree with the kvm-mips tree

2017-03-29 Thread James Hogan
On Wed, Mar 29, 2017 at 02:08:32PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kvms390 tree got a conflict in: > > include/uapi/linux/kvm.h > > between commits: > > a8a3c426772e ("KVM: MIPS: Add VZ & TE capabilities") > 578fd61d2d21 ("KVM: MIPS: Add 64BIT

Re: [PATCH 4.4 48/76] libceph: force GFP_NOIO for socket allocations

2017-03-29 Thread Ilya Dryomov
On Tue, Mar 28, 2017 at 3:30 PM, Michal Hocko wrote: > On Tue 28-03-17 15:23:58, Ilya Dryomov wrote: >> On Tue, Mar 28, 2017 at 2:43 PM, Michal Hocko wrote: >> > On Tue 28-03-17 14:30:45, Greg KH wrote: >> >> 4.4-stable review patch. If anyone has any objections, please let me >> >> know. >> >

Re: [PATCH v7 1/7] clocksource/drivers/clksrc-evt-probe: Describe with the DT both the clocksource and the clockevent

2017-03-29 Thread Daniel Lezcano
On Tue, Mar 28, 2017 at 08:51:46PM -0500, Rob Herring wrote: > On Wed, Mar 22, 2017 at 06:48:28PM +0300, Alexander Kochetkov wrote: > > From: Daniel Lezcano > > > > The CLOCKSOURCE_OF_DECLARE() was introduced before the > > CLOCKEVENT_OF_DECLARE() and that resulted in some abuse where the > > clo

[PATCH] Fix IB va_start+ib_bytes range check on 32Bit systems

2017-03-29 Thread Jan Burgmeier
Signed-off-by: Jan Burgmeier --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c index 99424cb8020b..583d22974e14 100644 --- a/drivers/gpu/drm/amd/amdgpu/

Fix hardware accelerated video playback with amdgpu on 32Bit system

2017-03-29 Thread Jan Burgmeier
Hi, on 32Bit systems hardware accelerated video playback with amdgpu always errors out with the following message: "[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* IB va_start+ib_bytes is invalid." Attached you find a patch witch fixes the problem. The patch was made against the staging-next bra

Re: linux-next: manual merge of the xen-tip tree with the tip tree

2017-03-29 Thread Juergen Gross
On 29/03/17 10:59, Ingo Molnar wrote: > > * Juergen Gross wrote: > >> On 29/03/17 05:35, Stephen Rothwell wrote: >>> Hi all, >>> >>> Today's linux-next merge of the xen-tip tree got a conflict in: >>> >>> arch/x86/xen/enlighten.c >>> >>> between commits: >>> >>> 6415813bae75 ("x86/cpu: Drop

[RFC][PATCHv2 2/8] printk: introduce printing kernel thread

2017-03-29 Thread Sergey Senozhatsky
printk() is quite complex internally and, basically, it does two slightly independent things: a) adds a new message to a kernel log buffer (log_store()) b) prints kernel log messages to serial consoles (console_unlock()) while (a) is guaranteed to be executed by printk(), (b) is not, for a varie

[RFC][PATCHv2 3/8] printk: offload printing from wake_up_klogd_work_func()

2017-03-29 Thread Sergey Senozhatsky
Offload printing of printk_deferred() messages from IRQ context to a schedulable printing kthread, when possible (the same way we do it in vprintk_emit()). Otherwise, console_unlock() can force the printing CPU to spend unbound amount of time flushing kernel messages from IRQ context. Signed-off-b

[RFC][PATCHv2 6/8] kexec: switch to printk.emergency mode in unsafe places

2017-03-29 Thread Sergey Senozhatsky
Switch to printk emergency mode in kernel_kexec(), this lets us to immediately flush pending kernel message to the console and to avoid potentially unsafe calls into the scheduler. Signed-off-by: Sergey Senozhatsky --- kernel/kexec_core.c | 4 1 file changed, 4 insertions(+) diff --git a/k

  1   2   3   4   5   6   7   8   9   10   >