Re: [PATCH 4/7] arm64: dts: exynos: Add clocks to Exynos5433 LPASS module

2017-01-26 Thread Krzysztof Kozlowski
On Thu, Jan 26, 2017 at 9:18 AM, Marek Szyprowski wrote: > Hi Krzysztof, > > > On 2017-01-25 20:50, Krzysztof Kozlowski wrote: >> >> On Wed, Jan 25, 2017 at 12:50:28PM +0100, Marek Szyprowski wrote: >>> >>> Exynos5433 LPASS module requires some clocks for proper operation with >>> power domain.

Re: [PATCH 4/7] arm64: dts: exynos: Add clocks to Exynos5433 LPASS module

2017-01-26 Thread Marek Szyprowski
Hi Krzysztof, On 2017-01-26 09:40, Krzysztof Kozlowski wrote: On Thu, Jan 26, 2017 at 9:18 AM, Marek Szyprowski wrote: On 2017-01-25 20:50, Krzysztof Kozlowski wrote: On Wed, Jan 25, 2017 at 12:50:28PM +0100, Marek Szyprowski wrote: Exynos5433 LPASS module requires some clocks for proper

Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2017-01-26 Thread Finn Thain
On Mon, 23 Jan 2017, Michael Schmitz wrote: > > Am 21.01.2017 um 20:37 schrieb Finn Thain: > > > > > Actually, the fundamental problem you are describing is partly solved. > > By polling for DMA completion with local irqs disabled, we mostly > > avoid the need for the stdma.c "lock" because

Re: [PATCH 1/2] mac80211: use helper function to access ieee802_1d_to_ac[]

2017-01-26 Thread Johannes Berg
On Tue, 2017-01-24 at 16:42 +0100, Amadeusz Sławiński wrote: > cleanup patch to make use of ieee80211_ac_from_tid() to retrieve ac > from > ieee802_1d_to_ac[] Applied. johannes

Re: [PATCH RESEND] pinctrl: intel: Turn Baytrail support to tristate

2017-01-26 Thread Linus Walleij
On Wed, Jan 25, 2017 at 4:26 PM, Jean Delvare wrote: > The pinctrl-baytrail driver builds just fine as a module so give > users this option. > > Signed-off-by: Jean Delvare > Cc: Mika Westerberg > Cc: Heikki Krogerus > Cc: Linus Walleij > --- > This was discussed almost one year ago, with no

Re: [PATCH v2 2/2] virtio_scsi: Implement fc_host

2017-01-26 Thread kbuild test robot
/20170126-114655 config: i386-randconfig-h0-01261251 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): >> ERROR: "fc_release_transpo

Re: edac/i7300_edac.c:307: strange macro ?

2017-01-26 Thread Mauro Carvalho Chehab
Em Wed, 25 Jan 2017 16:37:28 +0100 Borislav Petkov escreveu: > On Wed, Jan 25, 2017 at 12:04:04PM +, David Binderman wrote: > > You'll have a very long wait to get a linux patch from me. > > > > I am happy for someone else to invent a patch. > > Ah ok, I thought you wanted to give it a

[patch] eeprom/idt_89hpesx: freeing devm_ pointer with kfree()

2017-01-26 Thread Dan Carpenter
"pdev->ee_file" was allocated with devm_kmalloc() so freeing it with kfree() is a double free. In fact, we don't need to free it at all. Fixes: cfad6425382e ("eeprom: Add IDT 89HPESx EEPROM/CSR driver") Signed-off-by: Dan Carpenter diff --git a/drivers/misc/eeprom/idt_89hpesx.c

Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2017-01-26 Thread Geert Uytterhoeven
Hi Finn, On Thu, Jan 26, 2017 at 9:47 AM, Finn Thain wrote: > The difficulty will be arranging for disabled FDC & IDE interrupt sources > during SCSI DMA, and disabled SCSI & IDE interrupt sources during FDC DMA. > (Not all 5380 interrupts can be disabled; no idea about the IDE device or >

Re: [PATCH RESEND] pinctrl: intel: Turn Baytrail support to tristate

2017-01-26 Thread Jean Delvare
Hi Mika and all, On Wed, 25 Jan 2017 18:16:51 +0200, Mika Westerberg wrote: > On Wed, Jan 25, 2017 at 04:26:08PM +0100, Jean Delvare wrote: > > The pinctrl-baytrail driver builds just fine as a module so give > > users this option. > > > > Signed-off-by: Jean Delvare > > Cc: Mika Westerberg >

[PATCH v4 0/13] arm64: allwinner: a64: Enable MMC support

2017-01-26 Thread Maxime Ripard
Hi, Here is a new attempt at getting the MMC controllers running, following the work done by Andre. This has been tested on a board with one SDIO device (a Marvell WiFi chip) and a Kingston eMMC with 1.8V IOs. For SDIO, the HS DDR mode works just fine. That serie also enables the SDR104 mode to

[PATCH v4 5/13] mmc: sunxi: Mask DATA0 when updating the clock

2017-01-26 Thread Maxime Ripard
The A64 MMC controllers need DATA0 to be masked while updating the clock, otherwise any subsequent command will result in a timeout. It's not really clear at this point what DATA0 is exactly, but this behaviour is present in Allwinner's tree, and has been suggested by Allwinner engineers as fixes

[PATCH v4 4/13] mmc: sunxi: Enable the new timings for the A64 MMC controllers

2017-01-26 Thread Maxime Ripard
The A64 MMC controllers need to set a "new timings" bit when a new rate is set. The actual meaning of that bit is not clear yet, but not setting it leads to some corner-case issues, like the CMD53 failing, which is used to implement SDIO packet aggregation. Signed-off-by: Maxime Ripard ---

[PATCH v4 6/13] mmc: sunxi: Add EMMC (MMC2) controller compatible

2017-01-26 Thread Maxime Ripard
The MMC2 controller on the A64 is kind of a special beast. While the general controller design is the same than the other MMC controllers in the SoC, it also has a bunch of features and changes that prevent it to be driven in the same way. It has for example a different bus width limit, a

[PATCH v4 7/13] mmc: sunxi: Add more debug informations

2017-01-26 Thread Maxime Ripard
Add a bit more debug messages that can be helpful when debugging the clock setup. Also fill the actual_clock field in struct mmc_host to report properly the current frequency in debugfs. Signed-off-by: Maxime Ripard --- drivers/mmc/host/sunxi-mmc.c | 23 +++ 1 file changed,

[PATCH v4 8/13] arm64: allwinner: a64: Add MMC nodes

2017-01-26 Thread Maxime Ripard
From: Andre Przywara The A64 has 3 MMC controllers, one of them being especially targeted to eMMC. Among other things, it has a data strobe signal and a 8 bits data width. The two other are more usual controllers that will have a 4 bits width at most and no data strobe signal, which limits it

[PATCH v4 13/13] arm64: allwinner: add BananaPi-M64 support

2017-01-26 Thread Maxime Ripard
From: Andre Przywara The Banana Pi M64 board is a typical single board computer based on the Allwinner A64 SoC. Aside from the usual peripherals it features eMMC storage, which is connected to the 8-bit capable SDHC2 controller. Also it has a soldered WiFi/Bluetooth chip, so we enable UART1 and

[PATCH v4 2/13] mmc: sunxi: Gate the clock when rate is 0

2017-01-26 Thread Maxime Ripard
The MMC core assumes that the code will gate the clock when the bus frequency is set to 0, which we've been ignoring so far. Handle that. Signed-off-by: Maxime Ripard --- drivers/mmc/host/sunxi-mmc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v4 3/13] mmc: sunxi: Always set signal delay to 0 for A64

2017-01-26 Thread Maxime Ripard
Experience have shown that the using the autocalibration could severely degrade the performances of the MMC bus. Allwinner is using in its BSP a delay set to 0 for all the modes but HS400. Remove the calibration code for now, and add comments to document our findings. Reviewed-by: Andre

[PATCH v4 9/13] arm64: allwinner: a64: Add MMC pinctrl nodes

2017-01-26 Thread Maxime Ripard
The A64 only has a single set of pins for each MMC controller. Since we already have boards that require all of them, let's add them to the DTSI. Reviewed-by: Andre Przywara Signed-off-by: Maxime Ripard --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 25 - 1 file

[PATCH v4 11/13] arm64: allwinner: pine64: add MMC support

2017-01-26 Thread Maxime Ripard
From: Andre Przywara All Pine64 boards connect an micro-SD card slot to the first MMC controller. Enable the respective DT node and specify the (always-on) regulator and card-detect pin. As a micro-SD slot does not feature a write-protect switch, we disable this feature. Signed-off-by: Andre

[PATCH v4 12/13] arm64: allwinner: a64: add UART1 pin nodes

2017-01-26 Thread Maxime Ripard
From: Andre Przywara On many boards UART1 connects to a Bluetooth chip, so add the pinctrl nodes for the only pins providing access to that UART. That includes those pins for hardware flow control (RTS/CTS). Signed-off-by: Andre Przywara Signed-off-by: Maxime Ripard ---

[PATCH v4 1/13] mmc: sunxi: Fix clock frequency change sequence

2017-01-26 Thread Maxime Ripard
The SD specification documents that the clock frequency should only be changed once gated (Section 3.2.3 - SD Clock Frequency Change Sequence). The current code first modifies the parent clock, gates it and then modifies the internal divider. This means that since the parent clock rate might be

[PATCH v4 10/13] arm64: allwinner: a64: Increase the MMC max frequency

2017-01-26 Thread Maxime Ripard
The eMMC controller seem to have a maximum frequency of 200MHz, while the regular MMC controllers are capped at 150MHz. Since older SoCs cannot go that high, we cannot change the default maximum frequency, but fortunately for us we have a property for that in the DT. This also has the side

Re: [lkp-robot] [mm, vmscan] 5e56dfbd83: fsmark.files_per_sec -11.1% regression

2017-01-26 Thread Michal Hocko
On Wed 25-01-17 12:27:06, Ye Xiaolong wrote: > On 01/24, Michal Hocko wrote: > >On Mon 23-01-17 09:26:44, kernel test robot wrote: > >> > >> Greeting, > >> > >> FYI, we noticed a -11.1% regression of fsmark.files_per_sec due to commit: > >> > >> > >> commit:

Re: [GIT PULL] soc: samsung: Drivers for v4.11

2017-01-26 Thread Linus Walleij
On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski wrote: > Few changes in Exynos PMU driver including one that is needed by pinctrl > driver for runtime PM. We want to move forward with the RPM for our drivers > while keeping still DT ABI. > > This tag is also for Linus Walleij to pull - base

Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures

2017-01-26 Thread Robert Jarzmik
Bhumika Goyal writes: > Declare usb_ep_ops structures as const as they are only stored in the > ops field of an usb_ep structure. This field is of type const, so > usb_ep_ops structures having this property can be made const too. > Done using Coccinelle( A smaller version of the script) For

Re: [PATCH] Drivers: hv: vmbus: finally fix hv_need_to_signal_on_read()

2017-01-26 Thread gre...@linuxfoundation.org
On Thu, Jan 26, 2017 at 08:27:26AM +, Dexuan Cui wrote: > > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > > > > > It's interesting v4.4.44 is not impacted, but actually it needs both > > > > > the 2 > > patches: > > > > > i.e. this patch, and the previous one: > > > >

Re: [PATCH v4 1/2] mm/migration: make isolate_movable_page always defined

2017-01-26 Thread Michal Hocko
On Wed 25-01-17 23:05:37, ys...@foxmail.com wrote: > From: Yisheng Xie > > Define isolate_movable_page as a static inline function when > CONFIG_MIGRATION is not enable. It should return false > here which means failed to isolate movable pages. > > This patch do not have any functional change

Re: [PATCH RESEND] pinctrl: intel: Turn Baytrail support to tristate

2017-01-26 Thread Mika Westerberg
On Thu, Jan 26, 2017 at 09:55:36AM +0100, Linus Walleij wrote: > On Wed, Jan 25, 2017 at 4:26 PM, Jean Delvare wrote: > > > The pinctrl-baytrail driver builds just fine as a module so give > > users this option. > > > > Signed-off-by: Jean Delvare > > Cc: Mika Westerberg > > Cc: Heikki

Re: [PATCH 0/3] usb: xhci: Add broken port disable quirk

2017-01-26 Thread Felipe Balbi
Hi, Roger Quadros writes: > Felipe, > > On 03/01/17 14:53, Felipe Balbi wrote: >> >> Hi, >> >> Roger Quadros writes: >>> Mathias & Felipe, >>> >>> On 17/11/16 17:01, Roger Quadros wrote: Hi, Some XHCI controllers e.g. dwc3 based have a broken Port disable [1]. If the

Re: [GIT PULL] soc: samsung: Drivers for v4.11

2017-01-26 Thread Marek Szyprowski
Hi Linus, On 2017-01-26 10:13, Linus Walleij wrote: On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski wrote: Few changes in Exynos PMU driver including one that is needed by pinctrl driver for runtime PM. We want to move forward with the RPM for our drivers while keeping still DT ABI.

Re: [PATCH v5 0/5] Update LZ4 compressor module

2017-01-26 Thread Eric Biggers
On Thu, Jan 26, 2017 at 08:57:30AM +0100, Sven Schmidt wrote: > > This patchset is for updating the LZ4 compression module to a version based > on LZ4 v1.7.3 allowing to use the fast compression algorithm aka LZ4 fast > which provides an "acceleration" parameter as a tradeoff between > high

[PATCH] xfs: fix returnvar.cocci warnings

2017-01-26 Thread Julia Lawall
Remove unneeded variable used to store return value. Generated by: scripts/coccinelle/misc/returnvar.cocci Signed-off-by: Fengguang Wu --- Is it correct to be returning 0 in the level == 0 case? dabtree.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) ---

Re: [PATCH v1 1/2] mfd: lpc_ich: Add Device IDs for Intel Apollo Lake PCH

2017-01-26 Thread Mika Westerberg
On Wed, Jan 25, 2017 at 10:18:28PM +0200, Andy Shevchenko wrote: > Adding Intel codename Apollo Lake platform device IDs for PCH. Didn't this originate from Tan Jui Nee and not from you? Please make sure you have the correct From: here and the other patch as well. You can use 'git commit --amend

Re: [PATCH 5/7] mfd: exynos-lpass: Remove pad retention control

2017-01-26 Thread Sylwester Nawrocki
On 01/25/2017 12:50 PM, Marek Szyprowski wrote: > Pad retention should be controlled from pin control driver, so remove it > from Exynos LPASS driver. After this change, no more access to PMU regmap > is needed, so remove also the code for handling PMU regmap. > > Signed-off-by: Marek Szyprowski

Re: [PATCH RESEND] pinctrl: intel: Turn Baytrail support to tristate

2017-01-26 Thread Takashi Iwai
On Thu, 26 Jan 2017 10:19:31 +0100, Mika Westerberg wrote: > > On Thu, Jan 26, 2017 at 09:55:36AM +0100, Linus Walleij wrote: > > On Wed, Jan 25, 2017 at 4:26 PM, Jean Delvare wrote: > > > > > The pinctrl-baytrail driver builds just fine as a module so give > > > users this option. > > > > > >

Re: [PATCH v4 2/2] HWPOISON: soft offlining for non-lru movable page

2017-01-26 Thread Michal Hocko
On Wed 25-01-17 23:05:38, ys...@foxmail.com wrote: > From: Yisheng Xie > > This patch is to extends soft offlining framework to support > non-lru page, which already support migration after > commit bda807d44454 ("mm: migrate: support non-lru movable page > migration") > > When memory corrected

Re: [PATCH RESEND] pinctrl: intel: Turn Baytrail support to tristate

2017-01-26 Thread Mika Westerberg
On Thu, Jan 26, 2017 at 10:05:06AM +0100, Jean Delvare wrote: > Hi Mika and all, > > On Wed, 25 Jan 2017 18:16:51 +0200, Mika Westerberg wrote: > > On Wed, Jan 25, 2017 at 04:26:08PM +0100, Jean Delvare wrote: > > > The pinctrl-baytrail driver builds just fine as a module so give > > > users this

RE: [PATCH] Drivers: hv: vmbus: finally fix hv_need_to_signal_on_read()

2017-01-26 Thread Dexuan Cui
> From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > > > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > > > > > > It's interesting v4.4.44 is not impacted, but actually it needs > > > > > > both the 2 > > > patches: > > > > > > i.e. this patch, and the

Re: [PATCH] arm64: defconfig: enable CONFIG_MMC_SDHCI_CADENCE

2017-01-26 Thread Masahiro Yamada
Hi Arnd, Olof, 2016-12-26 11:14 GMT+09:00 Masahiro Yamada : > Enable the Cadence SD/SDIO/eMMC controller. This is used on > Socionext UniPhier SoC family. > > Signed-off-by: Masahiro Yamada Can you pick up this for ASOC, please? > > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1

[PATCH 3/3] perf ftrace: Handle NULL at write_tracing_file()

2017-01-26 Thread Taeung Song
If a value for tracing file is NULL, segment fault error can occur using strlen(). Of course, currently the function don't be given NULL value. But write_tracing_file() can be generally used. So add the if statement. Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Taeung Song ---

[PATCH 2/3] perf ftrace: Add ftrace.tracer config option

2017-01-26 Thread Taeung Song
Currently perf ftrace command will select 'function_graph' or 'function'. So add ftrace.tracer config option to select tracer # cat ~/.perfconfig [ftrace] tracer = function # perf ftrace usleep 123456 | head -10 <...>-14450 [002] d... 10089.284231: finish_task_switch

Re: [PATCH v2 5/8] mfd: exynos-lpass: Remove pad retention control

2017-01-26 Thread Sylwester Nawrocki
On 01/26/2017 09:33 AM, Marek Szyprowski wrote: > Pad retention should be controlled from pin control driver, so remove it > from Exynos LPASS driver. After this change, no more access to PMU regmap > is needed, so remove also the code for handling PMU regmap. > > Signed-off-by: Marek Szyprowski

Re: [PATCH 0/6 v3] kvmalloc

2017-01-26 Thread Daniel Borkmann
On 01/26/2017 08:43 AM, Michal Hocko wrote: On Wed 25-01-17 21:16:42, Daniel Borkmann wrote: On 01/25/2017 07:14 PM, Alexei Starovoitov wrote: On Wed, Jan 25, 2017 at 5:21 AM, Michal Hocko wrote: On Wed 25-01-17 14:10:06, Michal Hocko wrote: On Tue 24-01-17 11:17:21, Alexei Starovoitov

[PATCH 1/3] perf ftrace: Remove needless code setting default tracer

2017-01-26 Thread Taeung Song
Lately commit a349764 made 'function_graph' be the default tracer. So ftrace.tracer variable can't be NULL but the other code setting default tracer remained. For this reason, remove it as below. And use existing DEFAULT_TRACER instead of "function_graph". Cc: Jiri Olsa Cc: Namhyung Kim

Re: [PATCH 1/2] arm64: defconfig: enable CONFIG_MTD_BLOCK

2017-01-26 Thread Masahiro Yamada
Hi Arnd, Olof, 2016-12-21 1:04 GMT+09:00 Masahiro Yamada : > Enable the block layer support for MTD devices. > > Signed-off-by: Masahiro Yamada Please check this series, and pick it up for ASOC if it looks good. Thanks, > > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1

Re: [PATCH RESEND] pinctrl: intel: Turn Baytrail support to tristate

2017-01-26 Thread Mika Westerberg
On Thu, Jan 26, 2017 at 10:26:56AM +0100, Takashi Iwai wrote: > I guess it would break things on some machines if the module loading > order isn't setup properly. For example, it's known that > pinctrl-cherrytrail breaks MMC or others if it's loaded too lately. Yes, if you have rootfs on eMMC

Re: [PATCH v3 1/2] dt-bindings: display: Add BOE nv101wxmn51 panel binding

2017-01-26 Thread Thierry Reding
On Wed, Dec 14, 2016 at 11:19:55AM +0800, Caesar Wang wrote: > The BOE 10.1" NV101WXMN51 panel is an WXGA TFT LCD panel. > > Signed-off-by: Caesar Wang > --- > > Changes in v3: None > Changes in v2: None > > .../devicetree/bindings/display/panel/boe,nv101wxmn51.txt | 7 > +++ >

Re: [PATCH v3 2/2] drm/panel: simple: Add support BOE nv101wxmn51

2017-01-26 Thread Thierry Reding
On Wed, Dec 14, 2016 at 11:19:56AM +0800, Caesar Wang wrote: > 10.1WXGA is a color active matrix TFT LCD module using amorphous silicon > TFT's as an active switching devices. It can be supported by the > simple-panel driver. > > Read the panel default edid information: > > EDID MODE DETAILS >

Re: [PATCH] iopoll: include instead of

2017-01-26 Thread Masahiro Yamada
Hi. 2017-01-23 18:54 GMT+09:00 Masahiro Yamada : > Hi. > > 2016-12-14 10:33 GMT+09:00 Masahiro Yamada : >> The timer APIs this header needs are ktime_get(), ktime_add_us(), >> and ktime_compare(). So, including seems enough. >> This commit will cut unnecessary header file parsing. >> >>

[PATCH] f2fs: show the fault injection mount option

2017-01-26 Thread Kaixu Xia
This patch shows the fault injection mount option in f2fs_show_options(). Signed-off-by: Kaixu Xia --- fs/f2fs/super.c |5 + 1 file changed, 5 insertions(+) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 46fd30d..47880b4 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@

Re: [PATCH 1/2] x86/fpu: move copyout_from_xsaves bounds check before the copy

2017-01-26 Thread Ingo Molnar
* r...@redhat.com wrote: > From: Rik van Riel > > Userspace may have programs, especially debuggers, that do not know > how large the full XSAVE area space is. They pass in a size argument, > and expect to not get more data than that. > > Unfortunately, the current copyout_from_xsaves does

[PATCH 0/3] perf: Updates for address filters

2017-01-26 Thread Alexander Shishkin
Hi Peter, Here's a small update. One 'feature' that is added is kernel filters on cpu events, so that one can trace scheduling paths and suchlike. While at it, I also brushed up the filter structure a bit, iirc that's also what Ingo wanted. And lastly there was one glitch in the filter parsing

[PATCH 1/2] sched/cgroup: move sched_online_group() back into css_online()

2017-01-26 Thread Konstantin Khlebnikov
Commit 2f5177f0fd7e ("sched/cgroup: Fix/cleanup cgroup teardown/init") moved sched_online_group() from css_online() to css_alloc(). It exposes half-baked task group into global lists before initializing generic cgroup stuff. LTP testcase (third in cgroup_regression_test) written for testing

[PATCH 2/2] kernfs: define name and path to "(null)" for NULL pointer kernfs nodes

2017-01-26 Thread Konstantin Khlebnikov
The same LTP testcase triggers NULL deref css->cgroup->kn in the same place. Commit a5bca2152036 ("cgroup: factor out cgroup_create() out of cgroup_mkdir()") reordered cgroup construction. Now css created and set online twice: first in cgroup_create(), second in cgroup_mkdir(). First happens

Re: [PATCH 0/2] Add support for Tianma TM070JDHG30 display

2017-01-26 Thread Thierry Reding
On Fri, Dec 02, 2016 at 09:52:06AM +0100, Gary Bisson wrote: > Hi all, > > This series adds support for the Tianma TM070JDHG30 7" display (1280x800). > http://usa.tianma.com/products-technology/product/tm070jdhg30-00 > https://boundarydevices.com/product/bd070lic2/ > > The first patch adds

Re: [RFC v2 PATCH] mm/hotplug: enable memory hotplug for non-lru movable pages

2017-01-26 Thread Michal Hocko
On Wed 25-01-17 14:59:45, Yisheng Xie wrote: > We had considered all of the non-lru pages as unmovable before > commit bda807d44454 ("mm: migrate: support non-lru movable page > migration"). But now some of non-lru pages like zsmalloc, > virtio-balloon pages also become movable. So we can offline

Re: [git pull] drm fixes for 4.10-rc6 (just missed rc5 tagging :-)

2017-01-26 Thread Daniel Vetter
On Thu, Jan 26, 2017 at 05:33:57AM +0100, Lukas Wunner wrote: > On Wed, Jan 25, 2017 at 01:54:32PM +0100, Daniel Vetter wrote: > > On Wed, Jan 25, 2017 at 06:10:57PM +0900, Michel Dänzer wrote: > > > On 25/01/17 05:33 PM, Markus Trippelsdorf wrote: > > > > On 2017.01.23 at 09:38 +1000, Dave Airlie

[PATCH 2/3] perf: Do error out on a kernel filter on an exclude_filter event

2017-01-26 Thread Alexander Shishkin
It is currently possible to configure a kernel address filter for a event that excludes kernel from its traces (attr.exclude_kernel==1). While in reality this doesn't make sense, the SET_FILTER ioctl() should return a error in such case, currently it does not. Furthermore, it will still silently

[PATCH 1/3] perf, pt, coresight: Clean up address filter structure

2017-01-26 Thread Alexander Shishkin
This is a cosmetic patch that deals with the address filter structure's ambiguous fields 'filter' and 'range'. The former stands to mean that the filter's *action* should be to filter the traces to its address range if it's set or stop tracing if it's unset. This is confusing and hard on the eyes,

Re: [GIT PULL] soc: samsung: Drivers for v4.11

2017-01-26 Thread Linus Walleij
On Thu, Jan 26, 2017 at 10:20 AM, Marek Szyprowski wrote: > Hi Linus, > > On 2017-01-26 10:13, Linus Walleij wrote: >> >> On Fri, Jan 20, 2017 at 7:13 PM, Krzysztof Kozlowski >> wrote: >> >>> Few changes in Exynos PMU driver including one that is needed by pinctrl >>> driver for runtime PM. We

[PATCH 3/3] perf: Allow kernel filters on cpu events

2017-01-26 Thread Alexander Shishkin
While supporting file-based address filters for cpu events requires some extra context switch handling, kernel address filters are easy, since the kernel mapping is preserved across address spaces. It is also useful as it permits tracing scheduling paths of the kernel. This patch allows setting

Re: [PATCH 1/2] x86/fpu: move copyout_from_xsaves bounds check before the copy

2017-01-26 Thread Ingo Molnar
* Ingo Molnar wrote: > So this code: > > static inline int xstate_copyout(unsigned int pos, unsigned int count, > void *kbuf, void __user *ubuf, > const void *data, const int start_pos, > const

RE: [PATCH 0/6 v3] kvmalloc

2017-01-26 Thread David Laight
From: Daniel Borkmann > Sent: 26 January 2017 09:37 ... > >> I assume that kvzalloc() is still the same from [1], right? If so, then > >> it would unfortunately (partially) reintroduce the issue that was fixed. > >> If you look above at flags, they're also passed to __vmalloc() to not > >> trigger

Re: [PATCH v2 0/8] Pad retentions support for Exynos5433

2017-01-26 Thread Linus Walleij
On Thu, Jan 26, 2017 at 9:33 AM, Marek Szyprowski wrote: > Patches in this patchset depends on each other. They are order in such a > way to make the changes bisectable. > > Patch #3 has runtime dependency on #1. > Patch #5 has runtime dependency on #3. > Patch #6 has runtime dependency on #4. >

[PATCH/RFC] iommu/ipmmu-vmsa: Restrict IOMMU Domain Geometry to 32-bit address space

2017-01-26 Thread Geert Uytterhoeven
Currently, the IPMMU/VMSA driver supports 32-bit I/O Virtual Addresses only, and thus sets io_pgtable_cfg.ias = 32. However, it doesn't force a 32-bit IOVA space through the IOMMU Domain Geometry. Hence if a device (e.g. SYS-DMAC) rightfully configures a 40-bit DMA mask, it will still be handed

Re: [PATCH v2 5/9] of: Add vendor prefix for Netron DY

2017-01-26 Thread Thierry Reding
On Tue, Sep 06, 2016 at 04:46:16PM +0200, Maxime Ripard wrote: > Netron DY is a brand of LCD panels found on SBCs and tablets. > > Signed-off-by: Maxime Ripard > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. Thierry

Re: [PATCH 1/5] mm: vmscan: scan dirty pages even in laptop mode

2017-01-26 Thread Mel Gorman
On Mon, Jan 23, 2017 at 01:16:37PM -0500, Johannes Weiner wrote: > We have an elaborate dirty/writeback throttling mechanism inside the > reclaim scanner, but for that to work the pages have to go through > shrink_page_list() and get counted for what they are. Otherwise, we > mess up the LRU order

Re: [RFC PATCH v1 2/6] kernel-doc: replace kernel-doc perl parser with a pure python one (WIP)

2017-01-26 Thread Markus Heiser
Am 25.01.2017 um 21:59 schrieb Jani Nikula : >> But the problem I see here is, that the perl script generates a >> reST output which I can't use. As an example we can take a look at >> the man-page builder I shipped in the series. > > Sorry, I still don't understand *why* you can't use the same

Re: [PATCH v2 6/9] drm/panel: Add Netron DY E231732

2017-01-26 Thread Thierry Reding
On Tue, Sep 06, 2016 at 04:46:17PM +0200, Maxime Ripard wrote: > The E231732 is a 7" panel with a resolution of 800x480. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/panel/panel-simple.c | 26 ++ > 1 file changed, 26 insertions(+) This is missing a device

Re: [PATCH 1/5] gpio: 104-dio-48e: Add set_multiple callback function support

2017-01-26 Thread Linus Walleij
On Thu, Jan 19, 2017 at 4:05 PM, William Breathitt Gray wrote: > The ACCES 104-DIO-48E series provides registers where 8 lines of GPIO > may be set at a time. This patch add support for the set_multiple > callback function, thus allowing multiple GPIO output lines to be set > more efficiently in

Re: [PATCH 01/11] clk: sunxi-ng: mux: Fix determine_rate for mux clocks with pre-dividers

2017-01-26 Thread Maxime Ripard
Hi Chen-Yu, On Tue, Jan 24, 2017 at 10:32:20AM +0800, Chen-Yu Tsai wrote: > The determine_rate helper used ccu_mux_helper_adjust_parent_for_prediv() > to adjust the parent_rate to account for pre-dividers, but then passed > the pristine parent clock rate from clk_hw_get_rate() to the round() >

Re: [PATCH 2/5] gpio: 104-idio-16: Add set_multiple callback function support

2017-01-26 Thread Linus Walleij
On Thu, Jan 19, 2017 at 4:05 PM, William Breathitt Gray wrote: > The ACCES 104-IDIO-16 series provides registers where 8 lines of GPIO > may be set at a time. This patch add support for the set_multiple > callback function, thus allowing multiple GPIO output lines to be set > more efficiently in

Re: [PATCH 3/5] gpio: gpio-mm: Add set_multiple callback function support

2017-01-26 Thread Linus Walleij
On Thu, Jan 19, 2017 at 4:05 PM, William Breathitt Gray wrote: > The Diamond Systems GPIO-MM series provides registers where 8 lines of > GPIO may be set at a time. This patch add support for the set_multiple > callback function, thus allowing multiple GPIO output lines to be set > more

Re: [PATCH 04/11] clk: sunxi-ng: Support separately grouped PLL lock status register

2017-01-26 Thread Maxime Ripard
Hi, On Tue, Jan 24, 2017 at 10:32:23AM +0800, Chen-Yu Tsai wrote: > On the Allwinner A80 SoC, the PLL lock status indicators are grouped > together in a separate register, as opposed to being scattered in each > PLL's configuration register. > > Add a flag to support this. > > Signed-off-by:

Re: [PATCH 4/5] gpio: ws16c48: Add set_multiple callback function support

2017-01-26 Thread Linus Walleij
On Thu, Jan 19, 2017 at 4:05 PM, William Breathitt Gray wrote: > The WinSystems WS16C48 provides registers where 8 lines of GPIO may be > set at a time. This patch add support for the set_multiple callback > function, thus allowing multiple GPIO output lines to be set more > efficiently in

Re: [PATCH 2/5] mm: vmscan: kick flushers when we encounter dirty pages on the LRU

2017-01-26 Thread Mel Gorman
On Mon, Jan 23, 2017 at 01:16:38PM -0500, Johannes Weiner wrote: > Memory pressure can put dirty pages at the end of the LRU without > anybody running into dirty limits. Don't start writing individual > pages from kswapd while the flushers might be asleep. > > Signed-off-by: Johannes Weiner I

Re: [PATCH 0/6 v3] kvmalloc

2017-01-26 Thread Michal Hocko
On Thu 26-01-17 10:36:49, Daniel Borkmann wrote: > On 01/26/2017 08:43 AM, Michal Hocko wrote: > > On Wed 25-01-17 21:16:42, Daniel Borkmann wrote: [...] > > > I assume that kvzalloc() is still the same from [1], right? If so, then > > > it would unfortunately (partially) reintroduce the issue

Re: [linux-sunxi] [PATCH 1/2] drivers: pinctrl: add driver for Allwinner H5 SoC

2017-01-26 Thread Linus Walleij
On Thu, Jan 19, 2017 at 6:41 PM, Maxime Ripard wrote: > That's not true anymore. And while it's true that it reduces the > amount of maintainance on the kernel side and more on the DT side. And > from what you're constantly saying, the thing we can't plan on fixing > / upgrading is the DT, while

Re: [PATCH 4/5] mm: vmscan: only write dirty pages that the scanner has seen twice

2017-01-26 Thread Mel Gorman
On Mon, Jan 23, 2017 at 01:16:40PM -0500, Johannes Weiner wrote: > Dirty pages can easily reach the end of the LRU while there are still > clean pages to reclaim around. Don't let kswapd write them back just > because there are a lot of them. It costs more CPU to find the clean > pages, but that's

Re: [PATCH 3/5] mm: vmscan: remove old flusher wakeup from direct reclaim path

2017-01-26 Thread Mel Gorman
On Mon, Jan 23, 2017 at 01:16:39PM -0500, Johannes Weiner wrote: > Direct reclaim has been replaced by kswapd reclaim in pretty much all > common memory pressure situations, so this code most likely doesn't > accomplish the described effect anymore. The previous patch wakes up > flushers for all

Re: [RFC PATCH v2 0/2] block: fix backing_dev_info lifetime

2017-01-26 Thread Jan Kara
On Wed 25-01-17 13:43:58, Dan Williams wrote: > On Mon, Jan 23, 2017 at 1:17 PM, Thiago Jung Bauermann > wrote: > > Hello Dan, > > > > Am Freitag, 6. Januar 2017, 17:02:51 BRST schrieb Dan Williams: > >> v1 of these changes [1] was a one line change to bdev_get_queue() to > >> prevent a shutdown

Re: [sched/clock] 9881b024b7: WARNING:at_kernel/sched/clock.c:#set_sched_clock_stable

2017-01-26 Thread Peter Zijlstra
On Thu, Jan 26, 2017 at 05:14:06AM +0800, kernel test robot wrote: > > FYI, we noticed the following commit: > > commit: 9881b024b7d7671f6a014091bc96506b89081802 ("sched/clock: Delay > switching sched_clock to stable") > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master

Re: [PATCH] Drivers: hv: vmbus: finally fix hv_need_to_signal_on_read()

2017-01-26 Thread gre...@linuxfoundation.org
On Thu, Jan 26, 2017 at 09:31:32AM +, Dexuan Cui wrote: > > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > > > > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > > > > > > > It's interesting v4.4.44 is not impacted, but actually it needs > > > > >

Re: [PATCH v3 10/14] mmc: jz4740: Let the pinctrl driver configure the pins

2017-01-26 Thread Paul Cercueil
Hi Kbuild Test Robot, drivers/mmc/host/jz4740_mmc.c: In function 'jz4740_mmc_set_ios': drivers/mmc/host/jz4740_mmc.c:864:7: error: implicit declaration of function 'gpio_is_valid' [-Werror=implicit-function-declaration] if (gpio_is_valid(host->pdata->gpio_power)) ^ Uuh, I'm

Re: [PATCH v3] dt-bindings: power: supply: bq24735: reverse the polarity of ac-detect

2017-01-26 Thread Paul Kocialkowski
On 25/01/17 13:20, Peter Rosin wrote: > On 2017-01-24 17:24, Paul Kocialkowski wrote: > > Le jeudi 15 décembre 2016 à 18:50 +0100, Peter Rosin a écrit : > > > The bindings are fine. > > >  > > > The Tegra dts files are buggy, but the driver is also buggy, so those > > > two bugs cancel each other.

Re: [PATCH 10/11] arm64: dts: allwinner: Remove no longer used pinctrl/sun4i-a10.h header

2017-01-26 Thread Maxime Ripard
On Tue, Jan 24, 2017 at 10:32:29AM +0800, Chen-Yu Tsai wrote: > All dts files for the sunxi platform have been switched to the generic > pinconf bindings. As a result, the sunxi specific pinctrl macros are > no longer used. > > Remove the #include entry with the following command: > > sed -i

Re: [PATCH v10 1/3] gpio: exar: add gpio for exar cards

2017-01-26 Thread Linus Walleij
On Thu, Jan 19, 2017 at 11:23 PM, Sudip Mukherjee wrote: > From: Sudip Mukherjee > > Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which > can be controlled using gpio interface. > > Add the gpio specific code. > > Signed-off-by: Sudip Mukherjee Patch applied. I think

Re: [PATCH V11 2/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2017-01-26 Thread Lorenzo Pieralisi
On Thu, Jan 26, 2017 at 03:01:18AM +0200, Andy Shevchenko wrote: > On Fri, Jan 20, 2017 at 4:34 AM, Agustin Vega-Frias > wrote: > > ACPI extended IRQ resources may contain a ResourceSource to specify > > an alternate interrupt controller. Introduce acpi_irq_get and use it > > to implement

Re: [PATCH 06/11] clk: sunxi-ng: Add A80 USB CCU

2017-01-26 Thread Maxime Ripard
Hi, On Tue, Jan 24, 2017 at 10:32:25AM +0800, Chen-Yu Tsai wrote: > Add support for the USB clock controls found on the A80. > > Signed-off-by: Chen-Yu Tsai > --- > .../devicetree/bindings/clock/sun9i-usb.txt| 24 > drivers/clk/sunxi-ng/Makefile | 1 + >

[PATCH 0/5] GTP: Fine-tuning for some function implementations

2017-01-26 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 26 Jan 2017 11:10:01 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Use kmalloc_array() in gtp_hashtable_new() Improve another size determination in ipv4_pdp_add() Adjust 12 checks for null

Re: [RFC PATCH v1 2/6] kernel-doc: replace kernel-doc perl parser with a pure python one (WIP)

2017-01-26 Thread Jani Nikula
On Thu, 26 Jan 2017, Markus Heiser wrote: > Am 25.01.2017 um 21:59 schrieb Jani Nikula : > >>> But the problem I see here is, that the perl script generates a >>> reST output which I can't use. As an example we can take a look at >>> the man-page builder I shipped in the series. >> >> Sorry, I

Re: [PATCH 1/2] sched/cgroup: move sched_online_group() back into css_online()

2017-01-26 Thread Peter Zijlstra
On Thu, Jan 26, 2017 at 12:41:41PM +0300, Konstantin Khlebnikov wrote: > Commit 2f5177f0fd7e ("sched/cgroup: Fix/cleanup cgroup teardown/init") moved > sched_online_group() from css_online() to css_alloc(). It exposes half-baked > task group into global lists before initializing generic cgroup

Re: [PATCH v10 1/3] gpio: exar: add gpio for exar cards

2017-01-26 Thread Linus Walleij
On Sat, Jan 21, 2017 at 12:50 AM, Sudip Mukherjee wrote: > It looks like the patch 2/3 will have one more revision. Do you want me to > send this patch again as part of v11 series or will you take it in your tree > and I send a v11 series of the remaining 2 patches? I just applied 1/3, so just

Re: [PATCH/RFC] iommu/ipmmu-vmsa: Restrict IOMMU Domain Geometry to 32-bit address space

2017-01-26 Thread Magnus Damm
Hi Geert, On Thu, Jan 26, 2017 at 6:53 PM, Geert Uytterhoeven wrote: > Currently, the IPMMU/VMSA driver supports 32-bit I/O Virtual Addresses > only, and thus sets io_pgtable_cfg.ias = 32. However, it doesn't force > a 32-bit IOVA space through the IOMMU Domain Geometry. > > Hence if a device

[PATCH 1/5] gtp: Use kmalloc_array() in gtp_hashtable_new()

2017-01-26 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 25 Jan 2017 22:01:00 +0100 * Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle

Re: [PATCH 09/11] ARM: dts: sunxi: Remove no longer used pinctrl/sun4i-a10.h header

2017-01-26 Thread Maxime Ripard
On Tue, Jan 24, 2017 at 10:32:28AM +0800, Chen-Yu Tsai wrote: > All dts files for the sunxi platform have been switched to the generic > pinconf bindings. As a result, the sunxi specific pinctrl macros are > no longer used. > > Remove the #include entry with the following command: > > sed -i

Re: [PATCH 5/5] mm: vmscan: move dirty pages out of the way until they're flushed

2017-01-26 Thread Mel Gorman
On Mon, Jan 23, 2017 at 01:16:41PM -0500, Johannes Weiner wrote: > We noticed a performance regression when moving hadoop workloads from > 3.10 kernels to 4.0 and 4.6. This is accompanied by increased pageout > activity initiated by kswapd as well as frequent bursts of allocation > stalls and

[PATCH 4/5] gtp: Rename jump labels in gtp_encap_enable()

2017-01-26 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 26 Jan 2017 10:48:40 +0100 Adjust jump labels according to the Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/net/gtp.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/gtp.c

<    4   5   6   7   8   9   10   11   12   13   >