Re: [PATCH v2 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-08-25 Thread Thierry Reding
On Mon, Aug 25, 2014 at 01:01:52PM -0600, Stephen Warren wrote: > On 08/18/2014 11:08 AM, Andrew Bresticker wrote: [...] > >+static int tegra_xusb_mbox_probe(struct platform_device *pdev) > > >+res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > >+if (!res) > >+return -ENOD

Re: [PATCH 2/2] perf Makefile: default WERROR to off.

2014-08-25 Thread Namhyung Kim
On Mon, 25 Aug 2014 21:37:08 +0200, John Spencer wrote: > From 4a72032828a6784d93f4becf723303a17d723544 Mon Sep 17 00:00:00 2001 > From: John Spencer > Date: Mon, 25 Aug 2014 21:25:43 +0200 > Subject: [PATCH 2/2] perf Makefile: default WERROR to off. > > Having WERROR on by default breaks build ev

Re: [PATCH 00/15] drm/exynos/ipp: image post processing fixes and improvements, part four

2014-08-25 Thread Joonyoung Shim
On 08/22/2014 04:52 PM, Andrzej Hajda wrote: > This set of patches contains various improvement and fixes > for exynos_drm ipp framework. > The patchset is based on exynos-drm-next branch. > > IPP framework was tested for regressions on exynos4210-trats target. > > Regards > Andrzej > > > Andrz

Re: [PATCH v5] mm: softdirty: enable write notifications on VMAs after VM_SOFTDIRTY cleared

2014-08-25 Thread Cyrill Gorcunov
On Mon, Aug 25, 2014 at 09:45:34PM -0700, Hugh Dickins wrote: > > +static int clear_refs(struct mm_struct *mm, enum clear_refs_types type, > > + int write) > > +{ ... > > + > > + if (write) > > + down_write(&mm->mmap_sem); > > + else > > + down_read(&mm-

RE: randconfig build error with next-20140825, in drivers/net/ethernet/broadcom/bnx2x

2014-08-25 Thread Yuval Mintz
nux/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3498: > > undefined reference to `ptp_clock_index' > > make: *** [vmlinux] Error 1 > > Hi,I tried to build next-20140825 with your configuration file , but I didn't > get any > error. > BUILD arch/x86/boot/bzIma

Re: [PATCH 15/15] drm/exynos/fimc: fix source buffer registers

2014-08-25 Thread Joonyoung Shim
On 08/26/2014 03:35 PM, Andrzej Hajda wrote: > On 08/26/2014 07:57 AM, Joonyoung Shim wrote: >> Hi Andrzej, >> >> On 08/22/2014 04:52 PM, Andrzej Hajda wrote: >>> FIMC in default mode of operation uses only one input buffer, >>> but the driver used also second buffer, as a result only the >>> first

[PATCH v2] fs: btrfs: fix potential overflow

2014-08-25 Thread Brian Norris
It looks like this intended to be 64-bit arithmetic, but it's actually performed as 32-bit. Fix that. (Note that 'increment' was being initialized twice, so this patch removes one of those.) Caught by Coverity Scan (CID 1201422). Signed-off-by: Brian Norris --- v2: remove useless multiplication-

Re: [PATCH 1/2] perf Makefile: fix GNU-only grep usage

2014-08-25 Thread Namhyung Kim
Hi John, You'd better to CC the lkml (linux-kernel@vger.kernel.org) for the perf patches to get reviewed by other developers. I'm copying to the list this time. On Mon, 25 Aug 2014 21:36:32 +0200, John Spencer wrote: > From efa79d5b7bc750369332a3a34442573af7b1b35c Mon Sep 17 00:00:00 2001 > Fro

Re: [PATCH] fs: btrfs: fix potential overflow

2014-08-25 Thread Brian Norris
On Sun, Aug 24, 2014 at 12:44:11PM +0300, Timofey Titovets wrote: > 2014-08-24 8:41 GMT+03:00 Brian Norris : > > --- a/fs/btrfs/scrub.c > > +++ b/fs/btrfs/scrub.c > > @@ -2320,26 +2320,26 @@ static noinline_for_stack int scrub_stripe(struct > > scrub_ctx *sctx, > > do_div(nstripes, map->st

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

2014-08-25 Thread Cyrill Gorcunov
On Tue, Aug 26, 2014 at 04:35:02PM +1000, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > ./usr/include/linux/prctl.h:132: found __[us]{8,16,32,64} type without > #include > In file included fro

RE: [f2fs-dev][PATCH 3/5] f2fs: add key function to handle inline dir

2014-08-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, August 22, 2014 4:45 AM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][PATCH 3/5] f2fs: add key function to

[PATCH] perf tools: Fix build-id matching on vmlinux

2014-08-25 Thread Namhyung Kim
There's a problem on finding correct kernel symbols when perf report runs on a different kernel. Although a part of the problem was solved by the prior commit 0a7e6d1b6844 ("perf tools: Check recorded kernel version when finding vmlinux"), there's a remaining problem still. When perf records samp

Re: linux-next: build warnings after merge of the crypto tree

2014-08-25 Thread Herbert Xu
On Tue, Aug 26, 2014 at 04:14:56PM +1000, Stephen Rothwell wrote: > Hi Herbert, > > After merging the crypto tree, today's linux-next build (powerpc > ppc44x_defconfig, i386 defconfig and sparc defconfig) produced these > warnings: > > In file included from crypto/testmgr.c:30:0: > include/crypto

Re: [PATCH 15/15] drm/exynos/fimc: fix source buffer registers

2014-08-25 Thread Andrzej Hajda
On 08/26/2014 07:57 AM, Joonyoung Shim wrote: > Hi Andrzej, > > On 08/22/2014 04:52 PM, Andrzej Hajda wrote: >> FIMC in default mode of operation uses only one input buffer, >> but the driver used also second buffer, as a result only the >> first frame was processed correctly. The patch fixes it. >

linux-next: build failure after merge of the akpm-current tree

2014-08-25 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: ./usr/include/linux/prctl.h:132: found __[us]{8,16,32,64} type without #include In file included from /usr/include/x86_64-linux-gnu/sys/prctl.h:23:0, from Documentat

Re: [PATCH 04/29] drivers: base: add notifier for failed driver bind

2014-08-25 Thread Marek Szyprowski
Hello, On 2014-08-25 23:18, Joerg Roedel wrote: On Tue, Aug 05, 2014 at 12:47:32PM +0200, Marek Szyprowski wrote: + if (failed && dev->bus) + blocking_notifier_call_chain(&dev->bus->p->bus_notifier, +BUS_NOTIFY_DRVBIND_FAILED, dev)

Re: [PATCH] sound: pci: ctxfi: ctatc.c: printk replacement

2014-08-25 Thread Takashi Iwai
At Mon, 25 Aug 2014 23:26:52 +0530, Sudip Mukherjee wrote: > > printk replaced ith corresponding pr_err > fixed three broken user-visible strings > fixed a checkpatch warning of space before new line Fixes are good, but is this the final patch for ctxfi? If you're going to post another one, pleas

Re: [PATCH 04/29] drivers: base: add notifier for failed driver bind

2014-08-25 Thread Marek Szyprowski
Hello, On 2014-08-25 22:05, Greg Kroah-Hartman wrote: On Tue, Aug 05, 2014 at 12:47:32PM +0200, Marek Szyprowski wrote: This patch adds support for getting a notify for failed device driver bind, so all the items done in BUS_NOTIFY_BIND_DRIVER event can be cleaned if the driver fails to bind.

Re: [PATCH 14/15] drm/exynos/fimc: simplify buffer queuing

2014-08-25 Thread Andrzej Hajda
On 08/26/2014 07:53 AM, Joonyoung Shim wrote: > Hi Andrzej, > > On 08/22/2014 04:52 PM, Andrzej Hajda wrote: >> The patch removes redundant checks, redundant HW reads >> and simplifies code. >> >> Signed-off-by: Andrzej Hajda >> --- >> drivers/gpu/drm/exynos/exynos_drm_fimc.c | 64 >> ---

[PATCH 2/3] x86: Enable PAT to use cache mode translation tables

2014-08-25 Thread Juergen Gross
Update the translation tables from cache mode to pgprot values according to the PAT settings. This enables changing the cache attributes of a PAT index in just one place without having to change at the users side. With this change it is possible to use the same kernel with different PAT configurat

[PATCH 3/3] Support Xen pv-domains using PAT

2014-08-25 Thread Juergen Gross
With the dynamical mapping between cache modes and pgprot values it is now possible to use all cache modes via the Xen hypervisor PAT settings in a pv domain. All to be done is to read the PAT configuration MSR and set up the translation tables accordingly. Signed-off-by: Juergen Gross --- arch

[PATCH 0/3] x86: Full support of PAT

2014-08-25 Thread Juergen Gross
The x86 architecture offers via the PAT (Page Attribute Table) a way to specify different caching modes in page table entries. The PAT MSR contains 8 entries each specifying one of 6 possible cache modes. A pte references one of those entries via 3 bits: _PAGE_PAT, _PAGE_PWT and _PAGE_PCD. The Lin

Re: [PATCH 03/15] drm/exynos/ipp: move file reference from memory to command node

2014-08-25 Thread Andrzej Hajda
Hi Joonyoung, Thanks for review. On 08/26/2014 04:59 AM, Joonyoung Shim wrote: > On 08/26/2014 11:55 AM, Joonyoung Shim wrote: >> Hi Andrzej, >> >> On 08/22/2014 04:52 PM, Andrzej Hajda wrote: >>> Command node should contain file reference to distinguish commands >>> created by different processe

[PATCH 1/3] x86: Make page cache mode a real type

2014-08-25 Thread Juergen Gross
At the moment there are a lot of places that handle setting or getting the page cache mode by treating the pgprot bits equal to the cache mode. This is only true because there are a lot of assumptions about the setup of the PAT MSR. Otherwise the cache type needs to get translated into pgprot bits

[PATCH 0/3] x86: Full support of PAT

2014-08-25 Thread Juergen Gross
The x86 architecture offers via the PAT (Page Attribute Table) a way to specify different caching modes in page table entries. The PAT MSR contains 8 entries each specifying one of 6 possible cache modes. A pte references one of those entries via 3 bits: _PAGE_PAT, _PAGE_PWT and _PAGE_PCD. The Lin

linux-next: build warnings after merge of the crypto tree

2014-08-25 Thread Stephen Rothwell
Hi Herbert, After merging the crypto tree, today's linux-next build (powerpc ppc44x_defconfig, i386 defconfig and sparc defconfig) produced these warnings: In file included from crypto/testmgr.c:30:0: include/crypto/drbg.h: In function 'drbg_max_addtl': include/crypto/drbg.h:157:2: warning: left

Re: randconfig build error with next-20140825, in drivers/net/ethernet/broadcom/bnx2x

2014-08-25 Thread Sudip Mukherjee
rivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c:3498: > undefined reference to `ptp_clock_index' > make: *** [vmlinux] Error 1 Hi,I tried to build next-20140825 with your configuration file , but I didn't get any error. BUILD arch/x86/boot/bzImage Setup is 17068 bytes (padd

Re: [PATCH 15/15] drm/exynos/fimc: fix source buffer registers

2014-08-25 Thread Joonyoung Shim
Hi Andrzej, On 08/22/2014 04:52 PM, Andrzej Hajda wrote: > FIMC in default mode of operation uses only one input buffer, > but the driver used also second buffer, as a result only the > first frame was processed correctly. The patch fixes it. I can't understand well, then we don't need to disting

Re: [PATCH 14/15] drm/exynos/fimc: simplify buffer queuing

2014-08-25 Thread Joonyoung Shim
Hi Andrzej, On 08/22/2014 04:52 PM, Andrzej Hajda wrote: > The patch removes redundant checks, redundant HW reads > and simplifies code. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos_drm_fimc.c | 64 > > 1 file changed, 15 insertions(+)

[PATCH 3/5] Clocksource: Flextimer: Remove the useless code.

2014-08-25 Thread Xiubo Li
The clock envnt counter will be enabled in proper time and proper place when needed. Signed-off-by: Xiubo Li Signed-off-by: Jingchang Lu --- drivers/clocksource/fsl_ftm_timer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/clocksource/fsl_ftm_timer.c b/drivers/clocksource/fsl_ft

[PATCH 2/5] Clocksource: Flextimer: Use internal clocksource read API.

2014-08-25 Thread Xiubo Li
Since the Flextimer device will be implemented in BE mode on LS1 SoC, and in LE mode on Vybrid, LS2 SoCs, so here we need the endianness judgment before doing the mmio. Signed-off-by: Xiubo Li Signed-off-by: Jingchang Lu --- drivers/clocksource/fsl_ftm_timer.c | 7 ++- 1 file changed, 6 ins

[PATCH 0/5] Clocksource: Flextimer: Merged to LS1

2014-08-25 Thread Xiubo Li
Xiubo Li (5): Clocksource: Flextimer: Set cpumask to cpu_possible_mask Clocksource: Flextimer: Use internal clocksource read API. Clocksource: Flextimer: Remove the useless code. Clocksource: Flextimer: Fix counter clock prescaler calculation. Clocksource: Flextimer: Use Macro for clock

[PATCH 5/5] Clocksource: Flextimer: Use Macro for clock source selection.

2014-08-25 Thread Xiubo Li
FTM source clock is selectable: Source clock can be the system clock, the fixed frequency clock, or an external clock. Fixed frequency clock is an additional clock input to allow the selection of an on chip clock source other than the system clock. Selecting external clock connects FTM clock to a c

[PATCH 1/5] Clocksource: Flextimer: Set cpumask to cpu_possible_mask

2014-08-25 Thread Xiubo Li
The Flextimer is not tied to CPU0, make it usable on any CPU. For Vybrid there is only one CPU, while for LS1+ there are more than one. Signed-off-by: Xiubo Li Signed-off-by: Jingchang Lu --- drivers/clocksource/fsl_ftm_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 4/5] Clocksource: Flextimer: Fix counter clock prescaler calculation.

2014-08-25 Thread Xiubo Li
We should minus one after calculating the counter input clock's prescaler. Signed-off-by: Xiubo Li Signed-off-by: Jingchang Lu --- drivers/clocksource/fsl_ftm_timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksource/fsl_ftm_timer.c b/drivers/clocksource/f

linux-next: manual merge of the rd-docs tree with the trivial tree

2014-08-25 Thread Stephen Rothwell
Hi Randy, Today's linux-next merge of the rd-docs tree got a conflict in Documentation/this_cpu_ops.txt between commit 0c3ed93c1c2c ("doc: fix acronym for read-modify-write") from the trivial tree and commit 1a62db155b94 ("doc: this_cpu_ops.txt: Update description of this_cpu_ops") from the rd-doc

Documentation for init

2014-08-25 Thread Shea Levy
Hi all, Is there any official documentation of the init process? I'm specifically interested in the process state at kernel handoff (argv, envp, open fds, etc.) as well as any special properties pid 1 has (parent of all orphans, anything else?). Thanks, Shea Levy P.S. I am not subscribed to LKML

Re: [PATCH] net: stmmac: add dcrs parameter

2014-08-25 Thread Giuseppe CAVALLARO
On 8/25/2014 5:10 PM, Vince Bridgers wrote: Hi, On Mon, Aug 25, 2014 at 7:51 AM, Giuseppe CAVALLARO wrote: On 8/25/2014 2:34 PM, Chen-Yu Tsai wrote: Hi, On Mon, Aug 25, 2014 at 7:50 PM, Ley Foon Tan wrote: This patch add the option to enable DCRS bit in GMAC control register. Default is

Skrzynka pocztowa zostala tymczasowo zawieszona!!!

2014-08-25 Thread System Admin
-- Szanowny konto uzytkownika e-mail, Niedawno wykryto nietypowe dzialania z konta e-mail, wiec skrzynka pocztowa zostala czasowo zawieszona przez administratora systemu, nalezy odzyskac swoje konto, klikajac na ponizszy link lub skopiuj do przegladarki: http://systemadminipocztahel

Re: [PATCH v4 3/4] zram: zram memory size limitation

2014-08-25 Thread David Horner
On Tue, Aug 26, 2014 at 12:39 AM, Minchan Kim wrote: > Hi Dan and David, > > On Mon, Aug 25, 2014 at 09:54:57PM -0400, David Horner wrote: >> On Mon, Aug 25, 2014 at 2:12 PM, Dan Streetman wrote: >> > On Mon, Aug 25, 2014 at 4:22 AM, David Horner wrote: >> >> On Mon, Aug 25, 2014 at 12:37 AM, Mi

[PATCH] hwmon: ntc_thermistor: Add ntc thermistor to thermal subsystem as a sensor.

2014-08-25 Thread Jonghwa Lee
To get more comprehensive and integrated thermal management, it adds ntc thermistor to thermal framework as a thermal sensor. It's governed thermal susbsystem only if it is described in DT node. Otherwise, it just notifies temperature to userspace via sysfs as it used to be. Signed-off-by: Jonghwa

Re: [ANNOUNCE] (Resend) Tools to analyse PM and scheduling behaviour

2014-08-25 Thread Amit Kucheria
On Sat, 23 Aug 2014 at 07:44 +0530, Sundar wrote: > Hi Amit, > > On Tue, Aug 19, 2014 at 11:11 AM, Amit Kucheria > wrote: >> >> We’re soliciting early feedback from community on the direction of idlestat > > Nice :) > >> Idlestat Details >> >> Idlestat uses FTRACE to capture trac

Re: [PATCH] new page link in SubmittingPatches

2014-08-25 Thread Greg Kroah-Hartman
On Mon, Aug 25, 2014 at 05:16:51PM -0700, Randy Dunlap wrote: > On 08/25/14 11:06, Sudip Mukherjee wrote: > > new link for - How to piss off a Linux kernel subsystem maintainer > > > > Signed-off-by: Sudip Mukherjee > > Hi, > > I'll apply this patch, but it would really be nice if Greg would m

Re: [RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-25 Thread Lucas De Marchi
On Mon, Aug 25, 2014 at 10:55:48AM +, Masami Hiramatsu wrote: > Lock-up a module in kernel so that it is not removed unless > forcibly unload. This is done by loading a module with > MODULE_INIT_LOCKUP_MODULE flag (via finit_module). > This speeds up try_module_get by skipping refcount inc/dec

[PATCH] arm: exynos: Allow rtc alarm and tick wakeup irq for exynos3250.

2014-08-25 Thread Jonghwa Lee
Add rtc alarm and tick irq to wakeup sources in exynos3250. Signed-off-by: Jonghwa Lee Acked-by : Chanwoo choi --- arch/arm/mach-exynos/pm.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index fa7218a..d78dcf

RE: [PATCH] ecryptfs: avoid to access NULL pointer when write metadata in xattr

2014-08-25 Thread Chao Yu
Hi Tyler, Sorry to bother you! I didn't see any progress of this patch, is there anything wrong with this patch? If there is, please let me know. Regards, Yu > -Original Message- > From: Tyler Hicks [mailto:tyhi...@canonical.com] > Sent: Friday, July 25, 2014 11:34 AM > To: Chao Yu > Cc

Re: [PATCH v3] zram: add num_discards for discarded pages stat

2014-08-25 Thread Minchan Kim
On Tue, Aug 26, 2014 at 11:05:47AM +0800, Chao Yu wrote: > Hi Minchan, > > > -Original Message- > > From: Minchan Kim [mailto:minc...@kernel.org] > > Sent: Monday, August 25, 2014 8:36 AM > > To: Chao Yu > > Cc: linux-kernel@vger.kernel.org; linux...@kvack.org; ngu...@vflare.org; > > 'Jer

Re: [PATCH] new page link in SubmittingPatches

2014-08-25 Thread Sudip Mukherjee
On Mon, Aug 25, 2014 at 05:16:51PM -0700, Randy Dunlap wrote: > On 08/25/14 11:06, Sudip Mukherjee wrote: > > new link for - How to piss off a Linux kernel subsystem maintainer > > > > Signed-off-by: Sudip Mukherjee > > Hi, > > I'll apply this patch, but it would really be nice if Greg would m

Re: [PATCH v3] zram: add num_discards for discarded pages stat

2014-08-25 Thread Minchan Kim
Hi, On Mon, Aug 25, 2014 at 08:01:18PM +0900, Sergey Senozhatsky wrote: > Hello, > > On (08/25/14 09:36), Minchan Kim wrote: > > Hello Chao, > > > > On Fri, Aug 22, 2014 at 04:21:01PM +0800, Chao Yu wrote: > > > Since we have supported handling discard request in this commit > > > f4659d8e620d08

Re: [PATCH 06/15] drm/exynos/ipp: free partially allocated resources on error

2014-08-25 Thread Joonyoung Shim
Hi Andrzej, On 08/22/2014 04:52 PM, Andrzej Hajda wrote: > In case of allocation errors some already allocated buffers > were not freed. The patch fixes it. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos_drm_ipp.c | 68 > - > 1 file chang

[PATCH v6 2/3] mfd: qcom-rpm: Driver for the Qualcomm RPM

2014-08-25 Thread Bjorn Andersson
Driver for the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and 8064 based devices. The driver exposes resources that child drivers can operate on; to implementing regulator, clock and bus frequency drivers. Signed-off-by: Bjorn Andersson --- drivers/mfd/Kconfig | 14 + d

[PATCH v6 3/3] regulator: qcom-rpm: Regulator driver for the Qualcomm RPM

2014-08-25 Thread Bjorn Andersson
Driver for regulators exposed by the Resource Power Manager (RPM) found in Qualcomm 8660, 8960 and 8064 based devices. Signed-off-by: Bjorn Andersson --- drivers/regulator/Kconfig | 12 + drivers/regulator/Makefile |1 + drivers/regulator/qcom_rpm-regulator.c | 79

[PATCH v6 0/3] Qualcomm Resource Power Manager driver

2014-08-25 Thread Bjorn Andersson
This series adds a regulator driver for the Resource Power Manager found in Qualcomm 8660, 8960 and 8064 based devices. The RPM driver exposes resources to its child devices, that can be accessed to implement drivers for the regulators, clocks and bus frequency control that's owned by the RPM in t

[PATCH v6 1/3] mfd: devicetree: bindings: Add Qualcomm RPM DT binding

2014-08-25 Thread Bjorn Andersson
Add binding for the Qualcomm Resource Power Manager (RPM) found in 8660, 8960 and 8064 based devices. The binding currently describes the rpm itself and the regulator subnodes. Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/mfd/qcom,rpm.txt | 246 incl

Re: [PATCH 00/12] clk: mmp: clock device tree support

2014-08-25 Thread Haojian Zhuang
On 26 August 2014 12:38, Chao Xie wrote: > From: Chao Xie > > The patch set focuses at support device tree for clock. > > The first part of the patches > clk: mmp: add prefix "mmp" for structures defined for clk-frac > clk: mmp: add spin lock for clk-frac > clk: mmp: add init callback for c

Re: [PATCH v5 3/4] zram: zram memory size limitation

2014-08-25 Thread Minchan Kim
Hey Sergey, On Mon, Aug 25, 2014 at 08:09:27PM +0900, Sergey Senozhatsky wrote: > On (08/25/14 09:05), Minchan Kim wrote: > > Since zram has no control feature to limit memory usage, > > it makes hard to manage system memrory. > > > > This patch adds new knob "mem_limit" via sysfs to set up the >

Re: [PATCH v4 3/4] zram: zram memory size limitation

2014-08-25 Thread Minchan Kim
Hello, On Mon, Aug 25, 2014 at 04:25:31PM +0800, Dongsheng Song wrote: > > +What: /sys/block/zram/mem_limit > > +Date: August 2014 > > +Contact: Minchan Kim > > +Description: > > + The mem_limit file is read/write and specifies the amount > > +

Re: [PATCH v5] mm: softdirty: enable write notifications on VMAs after VM_SOFTDIRTY cleared

2014-08-25 Thread Hugh Dickins
On Sun, 24 Aug 2014, Peter Feiner wrote: > For VMAs that don't want write notifications, PTEs created for read > faults have their write bit set. If the read fault happens after > VM_SOFTDIRTY is cleared, then the PTE's softdirty bit will remain > clear after subsequent writes. Good catch. Worry

Re: [PATCH 1/1] do_exit(): Solve possibility of BUG() due to race with try_to_wake_up()

2014-08-25 Thread Kautuk Consul
Sorry folks, I got one thing wrong: >From some more code review, both __down_common() and do_wait_for_common() inspect the signal_pending() only while in TASK_RUNNING. So I think that it cannot be possible that this happened on my system due to __down_common() and/or wait_for_common(). Which onl

[PATCH 2/2] power: charger-manager: Check charging state right after completed initialization

2014-08-25 Thread Chanwoo Choi
This patch check the charging state after completed initialization of charger- manager and update current charging state. If charger-manager never check and update current charging state, charger-manager would have the mismatch issue between real state of cable connection and the charging state of

[PATCHv2 0/2] power: charger-manager: Fix bug and resolve mismatch issue

2014-08-25 Thread Chanwoo Choi
This patchset fix bug about checking wrong return type of of_cm_parse_desc() and check the charging state after completed initialization of charger-manager because existing charger-manger has the mismatch issue between real state of cable connection and the charging state of charger-manager until f

[PATCH 05/12] clk: mmp: add clock type mix

2014-08-25 Thread Chao Xie
From: Chao Xie The clock type mix is a kind of clock combines "div" and "mux". This kind of clock can not allow to change div first then mux or change mux first or div. The reason is 1. Some clock has frequency change bit. Each time want to change the frequency, there are some operations based

[PATCH 1/2] power: charger-manager: Fix checking of wrong return type

2014-08-25 Thread Chanwoo Choi
This patch fix minor issue about checking wrong return type. The of_cm_parse_desc() return ERR_PTR(errnor number) when some error happen in this function. But, charger_manager_probe() has only checked whether desc is NULL or not. If of_cm_parse_desc() returns ERR_PTR(-ENOMEM), desc isn't NULL but

[PATCH 00/12] clk: mmp: clock device tree support

2014-08-25 Thread Chao Xie
From: Chao Xie The patch set focuses at support device tree for clock. The first part of the patches clk: mmp: add prefix "mmp" for structures defined for clk-frac clk: mmp: add spin lock for clk-frac clk: mmp: add init callback for clk-frac clk: mmp: move definiton of mmp_clk_frac to cl

[PATCH 01/12] clk: mmp: add prefix "mmp" for structures defined for clk-frac

2014-08-25 Thread Chao Xie
From: Chao Xie The structures defined for clk-frac will be used out side of clk-frac.c. To avoid conflicts, add prefix "mmp" for these structures' name. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 23 --- drivers/clk/mmp/clk-mmp2.c | 4 ++-- drivers/clk/mm

[PATCH 03/12] clk: mmp: add init callback for clk-frac

2014-08-25 Thread Chao Xie
From: Chao Xie For the clk-frac, we need to make sure that the initial clock rate is one item of the table. If it is not, we use the first item in the table by default. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 40 1 file changed, 40 inse

[PATCH 08/12] clk: mmp: add pxa168 DT support for clock driver

2014-08-25 Thread Chao Xie
From: Chao Xie It adds the DT support for pxa168 clock subsystem. Signed-off-by: Chao Xie --- .../bindings/clock/marvell-pxa168-clock.txt| 20 ++ drivers/clk/mmp/Makefile | 2 + drivers/clk/mmp/clk-of-pxa168.c| 251 +

[PATCH 06/12] clk: mmp: add mmp private gate clock

2014-08-25 Thread Chao Xie
From: Chao Xie Some SOCes have this kind of the gate clock 1. There are some bits to control the gate not only one bit. 2. Some clocks has operations of "out of reset" and "enable". To enable clock, we need do "out of reset" and "enable". To disable clock, we may not need "set to reset". It

[PATCH 04/12] clk: mmp: move definiton of mmp_clk_frac to clk.h

2014-08-25 Thread Chao Xie
From: Chao Xie Move the definition of structure of mmp_clk_frac to clk.h. So device tree support can use this structure. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 8 drivers/clk/mmp/clk.h | 32 ++-- 2 files changed, 22 insertions(+), 18

[PATCH 07/12] clk: mmp: add basic support functions for DT support

2014-08-25 Thread Chao Xie
From: Chao Xie In order to support DT for mmp SOC clocks, it defines some basic APIs which are shared by all mmp SOC clock units. Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile | 2 +- drivers/clk/mmp/clk.c| 192 +++ drivers/clk/mmp/clk.h

Re: [PATCH v4 3/4] zram: zram memory size limitation

2014-08-25 Thread Minchan Kim
Hi Dan and David, On Mon, Aug 25, 2014 at 09:54:57PM -0400, David Horner wrote: > On Mon, Aug 25, 2014 at 2:12 PM, Dan Streetman wrote: > > On Mon, Aug 25, 2014 at 4:22 AM, David Horner wrote: > >> On Mon, Aug 25, 2014 at 12:37 AM, Minchan Kim wrote: > >>> On Sun, Aug 24, 2014 at 11:40:50PM -04

[PATCH 12/12] arm: mmp: Make use of the DT supported clock

2014-08-25 Thread Chao Xie
From: Chao Xie Change the dtsi and dts file, soc initialization code to make use of DT support clock. So now in the code we do only need call of_clk_init to initialize the clocks. Signed-off-by: Chao Xie --- arch/arm/boot/dts/mmp2.dtsi | 18 ++ arch/arm/boot/dts/pxa168.dtsi | 17

[PATCH 09/12] clk: mmp: add pxa910 DT support for clock driver

2014-08-25 Thread Chao Xie
From: Chao Xie It adds the DT support for pxa910 clock subsystem. Signed-off-by: Chao Xie --- .../bindings/clock/marvell-pxa910-clock.txt| 20 ++ drivers/clk/mmp/Makefile | 2 +- drivers/clk/mmp/clk-of-pxa910.c| 260 +

[PATCH 11/12] arm: mmp: Make all the dts file to be compiled by Makefile

2014-08-25 Thread Chao Xie
From: Chao Xie Add items in arch/arm/boot/dt/Makefile to compile the dtb for mach-mmp. Change the dts and dtsi file to use #include instead of \include\ Signed-off-by: Chao Xie --- arch/arm/boot/dts/Makefile| 3 +++ arch/arm/boot/dts/mmp2-brownstone.dts | 2 +- arch/arm/boot/dts/mm

[RFC] ARM: Refactoring of Low-level debug

2014-08-25 Thread Masahiro Yamada
Hi ARM Linux developers, I was thinking about refactoing low level debug functions. Before I start to write a patch, I'd like to know experts' option. In the current implementation, "addruart" gets both phys addr and virt addr (if CONFIG_MMU=y), but do we really need both? We always pick up on

[PATCH 10/12] clk: mmp: add mmp2 DT support for clock driver

2014-08-25 Thread Chao Xie
From: Chao Xie It adds the DT support for mmp2 clock subsystem. Signed-off-by: Chao Xie --- .../bindings/clock/marvell-mmp2-clock.txt | 20 ++ drivers/clk/mmp/Makefile | 1 + drivers/clk/mmp/clk-of-mmp2.c | 307 + i

[PATCH 02/12] clk: mmp: add spin lock for clk-frac

2014-08-25 Thread Chao Xie
From: Chao Xie The register used by clk-frac may be shared with other clocks. So it needs to use spin lock to protect the register access. Signed-off-by: Chao Xie --- drivers/clk/mmp/clk-frac.c | 11 ++- drivers/clk/mmp/clk-mmp2.c | 2 +- drivers/clk/mmp/clk-pxa168.c | 2 +- driv

linux-next: manual merge of the trivial tree with Linus' tree

2014-08-25 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in mm/memcontrol.c between commit 747db954cab6 ("mm: memcontrol: use page lists for uncharge batching") from Linus' tree and commit cc5ac3e15fa5 ("mm: memcontrol: fix comment") from the trivial tree. I fixed it up (the former re

Re: [PATCH v4 3/4] zram: zram memory size limitation

2014-08-25 Thread David Horner
On Mon, Aug 25, 2014 at 2:12 PM, Dan Streetman wrote: > On Mon, Aug 25, 2014 at 4:22 AM, David Horner wrote: >> On Mon, Aug 25, 2014 at 12:37 AM, Minchan Kim wrote: >>> On Sun, Aug 24, 2014 at 11:40:50PM -0400, David Horner wrote: On Sun, Aug 24, 2014 at 7:56 PM, Minchan Kim wrote: >

Re: [PATCH v6 net-next 4/6] bpf: enable bpf syscall on x64 and i386

2014-08-25 Thread Alexei Starovoitov
On Mon, Aug 25, 2014 at 8:52 PM, Stephen Hemminger wrote: > Per discussion at Kernel Summit. Every new syscall requires > a manual page and test programs. We have had too many new syscalls > that are DOA. There is verifier testsuite that is testing eBPF verifier from userspace via bpf syscall. Al

Re: [PATCH] 8250: serial device file is out of order

2014-08-25 Thread Greg KH
On Tue, Aug 26, 2014 at 11:04:57AM +0800, Scott Yuan wrote: > On x86 architecture, the configuration of serial device maybe get from ACPI > DSDT, but the order of DSDT is not mandatory, result as array serial8250_ports > is out of order. This situation is more obvious in multiple serial port > main

Re: [PATCH v6 net-next 1/6] net: filter: add "load 64-bit immediate" eBPF instruction

2014-08-25 Thread Alexei Starovoitov
On Mon, Aug 25, 2014 at 6:06 PM, David Miller wrote: > > Instead I would rather you look into a model like what the quake > engine uses for it's VM. Thanks for the tip! I wasn't aware of quake vm. I've looked through several papers and slides. I'm surely missing something in what they're doing, b

Re: [REGRESSION] pci: power off broken by commit 4fc9bbf98 / stable 2ab0ff9b

2014-08-25 Thread Bjorn Helgaas
[+cc linux-kernel, linux-pci] On Mon, Aug 25, 2014 at 04:43:50PM -0600, Khalid Aziz wrote: > On 08/25/2014 03:23 PM, Knut Petersen wrote: > >On 25.08.2014 18:36, Linus Torvalds wrote: > >>On Mon, Aug 25, 2014 at 12:19 AM, Knut Petersen > >> wrote: > >>>Testing some other kernels lurking around on

Re: [PATCH] KVM: x86: fix xen guest panic due to lack of KVM_REQ_EVENT

2014-08-25 Thread Wanpeng Li
On Mon, Aug 25, 2014 at 11:16:16AM +0200, Paolo Bonzini wrote: >Il 25/08/2014 11:08, Wanpeng Li ha scritto: >> Hi Paolo, >> On Mon, Aug 25, 2014 at 11:01:07AM +0200, Paolo Bonzini wrote: >>> Il 25/08/2014 09:58, Wanpeng Li ha scritto: diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c i

[PATCH resend v5 0/2] ARM: sunxi: RTC support for A31/A23

2014-08-25 Thread Chen-Yu Tsai
Hi everyone, Resending the sun6i RTC series, rebased onto 3.17-rc1. The DT/defconfig patches have been queued for 3.18, and therefore dropped from this series. Hope we can get the driver parts in as well. The A31 has a new RTC block that is separate from the timer block. It has separate interrupt

[PATCH resend v5 2/2] rtc: sunxi: Depend on platforms sun4i/sun7i that actually have the rtc

2014-08-25 Thread Chen-Yu Tsai
Now that we have Kconfig options for individual sunxi platforms, let the rtc-sunxi driver depend on the platforms that actually have this hardware, sun4i and sun7i. Signed-off-by: Chen-Yu Tsai Acked-by: Maxime Ripard --- drivers/rtc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH resend v5 1/2] rtc: sun6i: Add sun6i RTC driver

2014-08-25 Thread Chen-Yu Tsai
This patch introduces the driver for the RTC in the Allwinner A31 and A23 SoCs. Unlike the RTC found in A10/A20 SoCs, which was part of the timer, the RTC in A31/A23 are a separate hardware block, which also contain a few controls for the RTC block hardware (a regulator and RTC block GPIO pin latc

Re: [PATCH v6 net-next 4/6] bpf: enable bpf syscall on x64 and i386

2014-08-25 Thread Stephen Hemminger
Per discussion at Kernel Summit. Every new syscall requires a manual page and test programs. We have had too many new syscalls that are DOA. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at htt

Re: [3.17 REGRESSION FIX] Revert "ideapad-laptop: Disable touchpad interface on Yoga models"

2014-08-25 Thread Darren Hart
On Mon, Aug 25, 2014 at 6:44 AM, Josh Boyer wrote: > On Mon, Aug 25, 2014 at 6:00 AM, Hans de Goede >wrote: >> I've received a bug report from a user that the touchpad control part >> of the ideapad-laptop ACPI interface does work for him on his >> "Lenovo Yoga 2 13", and that this patch causes a

[PATCH v4] sched/deadline: Fix the precision problem in the microsecond range

2014-08-25 Thread xiaofeng.yan
The overrun could happen in function start_hrtick_dl() when a task with SCHED_DEADLINE runs in the microsecond range. For example, a task with SCHED_DEADLINE has the following parameters Task runtime deadline period P1 200us 500us500us The deadline and period from task P1 are less th

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

2014-08-25 Thread Stephen Rothwell
Hi Dave, On Mon, 25 Aug 2014 20:22:22 -0700 (PDT) David Miller wrote: > > Sorry about that, I just pushed the following to fix it: > > > [PATCH] mvneta: Add missing if_vlan.h include. Thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au signatur

Re: [PATCH v5 3/5] RTC: RK808: add RTC driver for RK808

2014-08-25 Thread Doug Anderson
Chris, On Mon, Aug 25, 2014 at 6:34 AM, Chris Zhong wrote: > Adding RTC driver for supporting RTC device present inside RK808 PMIC. > > Signed-off-by: Chris Zhong Add Signed-off-by: Zhang Qing > --- > > Changes in v5: > - fixed a bug about set_time failed > > Changes in v4: > - use &client->

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

2014-08-25 Thread David Miller
From: Stephen Rothwell Date: Tue, 26 Aug 2014 12:05:11 +1000 > Hi all, > > After merging the net tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/net/ethernet/marvell/mvneta.c: In function 'mvneta_skb_tx_csum': > drivers/net/ethernet/marvell/mvneta.c:1374:

RE: [PATCH v3] zram: add num_discards for discarded pages stat

2014-08-25 Thread Chao Yu
Hi Minchan, > -Original Message- > From: Minchan Kim [mailto:minc...@kernel.org] > Sent: Monday, August 25, 2014 8:36 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux...@kvack.org; ngu...@vflare.org; > 'Jerome Marchand'; > 'Sergey Senozhatsky'; 'Andrew Morton' > Subject: Re: [PA

[PATCH] 8250: serial device file is out of order

2014-08-25 Thread Scott Yuan
On x86 architecture, the configuration of serial device maybe get from ACPI DSDT, but the order of DSDT is not mandatory, result as array serial8250_ports is out of order. This situation is more obvious in multiple serial port mainboard. Sort it by unique id that in DSDT will fix it. Signed-off-by

Re: [PATCH v3 3/4] thermal: add more description for thermal-zones

2014-08-25 Thread Wei Ni
On 08/25/2014 07:07 PM, Eduardo Valentin wrote: > Hello Wei Ni, > > On Mon, Aug 25, 2014 at 02:29:47PM +0800, Wei Ni wrote: >> Add more description for the "polling-delay" property. >> Set "trips" and "cooling maps" as optional property, because >> if missing these two sub-nodes, the thermal zone

Re: [PATCH 03/15] drm/exynos/ipp: move file reference from memory to command node

2014-08-25 Thread Joonyoung Shim
On 08/26/2014 11:55 AM, Joonyoung Shim wrote: > Hi Andrzej, > > On 08/22/2014 04:52 PM, Andrzej Hajda wrote: >> Command node should contain file reference to distinguish commands >> created by different processes. >> >> Signed-off-by: Andrzej Hajda >> --- >> drivers/gpu/drm/exynos/exynos_drm_ipp

Re: [PATCH 03/15] drm/exynos/ipp: move file reference from memory to command node

2014-08-25 Thread Joonyoung Shim
Hi Andrzej, On 08/22/2014 04:52 PM, Andrzej Hajda wrote: > Command node should contain file reference to distinguish commands > created by different processes. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos_drm_ipp.c | 5 ++--- > drivers/gpu/drm/exynos/exynos_drm_ipp.h |

Re: [PATCH v5 2/5] MFD: RK808: Add new mfd driver for RK808

2014-08-25 Thread Chris Zhong
On 08/26/2014 04:44 AM, Doug Anderson wrote: Chris, On Mon, Aug 25, 2014 at 6:31 AM, Chris Zhong wrote: The RK808 chip is a power management IC for multimedia and handheld devices. It contains the following components: - Regulators - RTC The RK808 core driver is registered as a platform dri

RE: [PATCH] zram: add num_discards for discarded pages stat

2014-08-25 Thread Chao Yu
Hi Sergey, > -Original Message- > From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On Behalf Of > Sergey > Senozhatsky > Sent: Thursday, August 21, 2014 9:05 PM > To: Chao Yu > Cc: 'Minchan Kim'; 'Sergey Senozhatsky'; linux-kernel@vger.kernel.org; > linux...@kvack.org; >

  1   2   3   4   5   6   7   >