[PATCH v4 02/12] mm: migrate: support non-lru movable page migration

2016-04-27 Thread Minchan Kim
We have allowed migration for only LRU pages until now and it was enough to make high-order pages. But recently, embedded system(e.g., webOS, android) uses lots of non-movable pages(e.g., zram, GPU memory) so we have seen several reports about troubles of small high-order allocation. For fixing the

Re: [PATCH] i2c: designware: do not disable adapter after transfer

2016-04-27 Thread Jarkko Nikula
On 04/25/2016 06:04 PM, Lucas De Marchi wrote: On 04/25/2016 08:51 AM, Jarkko Nikula wrote: [ ... ] @@ -413,8 +416,16 @@ static void i2c_dw_xfer_init(struct dw_i2c_dev *dev) struct i2c_msg *msgs = dev->msgs; u32 ic_con, ic_tar = 0; -/* Disable the adapter */ -__i2c_dw_en

Re: zram: per-cpu compression streams

2016-04-27 Thread Sergey Senozhatsky
Hello, On (04/27/16 16:29), Minchan Kim wrote: [..] > > the test: > > > > -- 4 GB x86_64 box > > -- zram 3GB, lzo > > -- mem-hogger pre-faults 3GB of pages before the fio test > > -- fio test has been modified to have 11% compression ratio (to increase the > >

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-04-27 Thread Stefan Agner
On 2016-04-26 19:57, Dong Aisheng wrote: > On Wed, Apr 27, 2016 at 9:58 AM, Shawn Guo wrote: >> On Tue, Apr 26, 2016 at 07:27:03PM +0800, Dong Aisheng wrote: >>> Shawn, >>> What's your suggestion? >> >> I think this needs more discussion, and I just dropped Stefan's patch >> from my tree. >> >> We

Re: [lkp] [mm, oom] faad2185f4: vm-scalability.throughput -11.8% regression

2016-04-27 Thread Michal Hocko
On Wed 27-04-16 11:15:56, kernel test robot wrote: > FYI, we noticed vm-scalability.throughput -11.8% regression with the > following commit: Could you be more specific what the test does please? -- Michal Hocko SUSE Labs

RE: [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-04-27 Thread Appana Durga Kedareswara Rao
Hi Lars, > -Original Message- > From: Lars-Peter Clausen [mailto:l...@metafoo.de] > Sent: Wednesday, April 27, 2016 12:42 PM > To: Appana Durga Kedareswara Rao ; > robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; Michal Si

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-04-27 Thread Pavel Machek
Hi! > > > Preventing cold boot attacks is really just icing on the cake. The > > > real point of this is to allow you to run an "enclave". An SGX > > > enclave has unencrypted code but gets access to a key that only it can > > > access. It could use that key to unwrap your ssh private key and s

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-04-27 Thread Stefan Agner
On 2016-04-26 19:56, Fabio Estevam wrote: > On Tue, Apr 26, 2016 at 11:45 PM, Dong Aisheng wrote: > >>> We need to firstly understand why this is happening. The .prepare hook >>> is defined to be non-atomic context, and so that we call sleep function >>> in there. We did everything right. Why

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-04-27 Thread Stefan Agner
On 2016-04-27 00:24, Shawn Guo wrote: > On Wed, Apr 27, 2016 at 10:57:21AM +0800, Dong Aisheng wrote: >> On Wed, Apr 27, 2016 at 9:58 AM, Shawn Guo wrote: >> > On Tue, Apr 26, 2016 at 07:27:03PM +0800, Dong Aisheng wrote: >> >> Shawn, >> >> What's your suggestion? >> > >> > I think this needs more

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64 - LTP results

2016-04-27 Thread Andrew Pinski
On Fri, Apr 22, 2016 at 8:37 PM, Zhangjian (Bamvor) wrote: > Hi, Yury > > > On 2016/4/6 6:44, Yury Norov wrote: >> >> There are about 20 failing tests of 782 in lite scenario. >> float_bessel >> float_exp_log >> float_iperb >> float_power >> float_trigo >> pipeio_1 >> pipeio_3 >> pipeio_5 >> pipei

Re: linux-next: Tree for Apr 27

2016-04-27 Thread Sergey Senozhatsky
Hello, commit 2f7600bc981cb0fd7ea0b92618bae32dcc778317 Author: Thierry Reding Date: Tue Apr 5 17:17:34 2016 +0200 phy: core: Allow children node to be overridden In order to more flexibly support device tree bindings, allow drivers to override the container of the child nodes.

Re: [PATCH net-next 9/9] taskstats: use the libnl API to align nlattr on 64-bit

2016-04-27 Thread Nicolas Dichtel
Le 27/04/2016 03:14, Balbir Singh a écrit : > > > On 23/04/16 01:31, Nicolas Dichtel wrote: >> Goal of this patch is to use the new libnl API to align netlink attribute >> when needed. >> The layout of the netlink message will be a bit different after the patch, >> because the padattr (TASKSTATS_

Re: zram: per-cpu compression streams

2016-04-27 Thread Minchan Kim
Hello Sergey, On Tue, Apr 26, 2016 at 08:23:05PM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (04/19/16 17:00), Minchan Kim wrote: > [..] > > I'm convinced now with your data. Super thanks! > > However, as you know, we need data how bad it is in heavy memory pressure. > > Maybe, you c

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-04-27 Thread Shawn Guo
On Wed, Apr 27, 2016 at 10:57:21AM +0800, Dong Aisheng wrote: > On Wed, Apr 27, 2016 at 9:58 AM, Shawn Guo wrote: > > On Tue, Apr 26, 2016 at 07:27:03PM +0800, Dong Aisheng wrote: > >> Shawn, > >> What's your suggestion? > > > > I think this needs more discussion, and I just dropped Stefan's patch

Re: [RESEND PATCH v2 6/7] usb: xhci: plat: add generic PHY support

2016-04-27 Thread Felipe Balbi
Hi, Jisheng Zhang writes: >> > +static void xhci_plat_phy_exit(struct usb_hcd *hcd) >> > +{ >> > + if (hcd->phy) { >> > + phy_power_off(hcd->phy); >> > + phy_exit(hcd->phy); >> > + } else { >> > + usb_phy_shutdown(hcd->usb_phy); >> > + } >> > +} >> > + >> > static

Re: [PATCH v4 17/21] capabilities: Allow privileged user in s_user_ns to set security.* xattrs

2016-04-27 Thread James Morris
On Tue, 26 Apr 2016, Seth Forshee wrote: > A privileged user in s_user_ns will generally have the ability to > manipulate the backing store and insert security.* xattrs into > the filesystem directly. Therefore the kernel must be prepared to > handle these xattrs from unprivileged mounts, and it m

Re: [RESEND PATCH v2 5/7] usb: xhci: plat: Remove checks for optional clock in error/remove path

2016-04-27 Thread Felipe Balbi
Hi, Jisheng Zhang writes: > Dear Felipe, > > On Wed, 27 Apr 2016 08:33:52 +0300 Felipe Balbi wrote: > >> Jisheng Zhang writes: >> > Commit 63589e92c2d9 ("clk: Ignore error and NULL pointers passed to >> > clk_{unprepare, disable}()") allows NULL or error pointer to be passed >> > unconditionall

Re: [PATCH] ARM: dts: at91: VInCo: fix phy reset gpio flag

2016-04-27 Thread Nicolas Ferre
Le 26/04/2016 20:27, Sergei Shtylyov a écrit : > On 04/26/2016 08:17 PM, David Miller wrote: > >>> I plan to queue this patch through arm-soc for 4.7. >> >> Ok. > > How about this patch going thru your net-next repo instead? > I'd like to keep the kernel bisectable... if my phylib/macb patche

Re: [PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-04-27 Thread Lars-Peter Clausen
On 04/27/2016 09:05 AM, Kedareswara rao Appana wrote: [...] > +- xlnx,include-sg: Indicates the controller to operate in simple or > + scatter gather dma mode > +- xlnx,ratectrl : Scheduling interval in terms of clock cycles > for > + so

Re: linux-next: Tree for Apr 27

2016-04-27 Thread Stephen Rothwell
Hi all, On Wed, 27 Apr 2016 17:03:54 +1000 Stephen Rothwell wrote: > > WARNING: I stuffed up when pushing this release out but have reuploaded > it ... sorry about that. Just to be clear the correct SHA1s for the master branch and the next-20160427 tag are 29fab3a5a2a1 and 7a1

[patch] sched: Fix smp nice induced group scheduling load distribution woes

2016-04-27 Thread Mike Galbraith
On Mon, 2016-04-25 at 11:18 +0200, Mike Galbraith wrote: > On Sun, 2016-04-24 at 09:05 +0200, Mike Galbraith wrote: > > On Sat, 2016-04-23 at 18:38 -0700, Brendan Gregg wrote: > > > > > The bugs they found seem real, and their analysis is great > > > (although > > > using visualizations to find an

Re: [PATCH] fs: fix over-zealous use of "const"

2016-04-27 Thread James Morris
On Thu, 21 Apr 2016, Kees Cook wrote: > When I was fixing up const recommendations from checkpatch.pl, I went > overboard. This fixes the warning (during a W=1 build): > > include/linux/fs.h:2627:74: warning: type qualifiers ignored on function > return type [-Wignored-qualifiers] > static inlin

[PATCH] media: tuner: mt2063: use lib gcd

2016-04-27 Thread zengzhaoxiu
From: Zhaoxiu Zeng This patch removes the local MT2063_gcd function, uses lib gcd instead Signed-off-by: Zhaoxiu Zeng --- drivers/media/tuners/mt2063.c | 30 +- 1 file changed, 5 insertions(+), 25 deletions(-) diff --git a/drivers/media/tuners/mt2063.c b/drivers/me

[PATCH] ASoC: atmel_ssc_dai: read DSP mode A data on rising edges of bclk

2016-04-27 Thread Peter Rosin
Signed-off-by: Peter Rosin --- sound/soc/atmel/atmel_ssc_dai.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c index 6dca95aa8a82..4ab1e2013238 100644 --- a/sound/soc/atmel/atmel_ssc_dai.c +++ b/sound/soc/at

[PATCH v7 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-04-27 Thread Kedareswara rao Appana
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes in v7: - None. Changes in v6: - Removed desc-axi-cache/dst-axi-cache/src-axi-cache properties from the bindi

[PATCH] ARM: BCM5301X: Enable SPI-NOR on dual flash devices

2016-04-27 Thread Rafał Miłecki
Commit 1b47b98acce2 ("ARM: BCM5301X: Add DT entry for SPI controller and NOR flash") enabled SPI-NOR device on routers using serial flash only. However there are also devices with two flash memories: 1) Small SPI attached flash used mostly for booting 2) Bigger NAND used mostly for storing firmware

[PATCH v7 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-04-27 Thread Kedareswara rao Appana
Added the driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. This dma controller supports memory to memory and memory to I/O buffer transfers. Signed-off-by: Punnaiah Choudary Kalluri Signed-off-by: Kedareswara rao Appana --- Changes for v7: - Fixed kbuild compilation warnings. - Fixed

linux-next: Tree for Apr 27

2016-04-27 Thread Stephen Rothwell
Hi all, WARNING: I stuffed up when pushing this release out but have reuploaded it ... sorry about that. Changes since 20160426: Removed tree: kbuild-pitre (commits were picked up in the kbuild tree) The arm-soc tree lost its build failure. The net-next tree gained conflicts against the net tr

Re: [PATCH 6/6] intel_sgx: TODO file for the staging area

2016-04-27 Thread Jethro Beekman
On 26-04-16 04:23, Jarkko Sakkinen wrote: > In order to write test code I would need to use the SDK at minimum to > generate EINITTOKEN for the test enclave. You could do this right now with the Rust tools for SGX [1] [1] https://github.com/jethrogb/sgx-utils/ > /Jarkko Jethro

<    7   8   9   10   11   12