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

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

[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

[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

[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

[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

[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

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

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

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:

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,

[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:

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

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

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

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 >

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; > >

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

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 > > >

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

[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 +

[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 |

[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

[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

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

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.

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

[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

[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

[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

[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 ++--

[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

[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".

[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(+),

[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 +++

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

[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 +-

[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

[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 +

[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 +-

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: [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.

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 >

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,

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

[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

[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

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

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

[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

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

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 >dev

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': >

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:

[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.

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 >> --- >>

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

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; >

Re: [PATCH v4 0/2] mm/highmem: make kmap cache coloring aware

2014-08-25 Thread Joshua Kinard
On 08/25/2014 20:36, David Daney wrote: > On 08/25/2014 04:55 PM, Joshua Kinard wrote: >> On 08/25/2014 13:16, Ralf Baechle wrote: >>> On Sat, Aug 02, 2014 at 05:11:37AM +0400, Max Filippov wrote: >>> this series adds mapping color control to the generic kmap code, allowing architectures

Re: [PATCH v2] intel_idle: add idle values for Cherrytrail/Braswell

2014-08-25 Thread Li, Aubrey
On 2014/8/25 18:12, Mika Westerberg wrote: > On Fri, Aug 22, 2014 at 10:06:21PM +0800, Li, Aubrey wrote: >> On 2014/8/22 19:39, Mika Westerberg wrote: >>> From: Mahesh Kumar P >>> >>> Cherrytrail/Braswell is a successor of Intel Baytrail but has slighly >>> different CPU idle values and

Re: [PATCH] KVM-Use value reading from MSR when construct the eptp in VMX mode

2014-08-25 Thread Dennis Chen
On Mon, Aug 25, 2014 at 10:04 PM, Gleb Natapov wrote: > On Mon, Aug 25, 2014 at 11:16:34AM +0800, Dennis Chen wrote: >> On Sun, Aug 24, 2014 at 5:38 PM, Gleb Natapov wrote: >> > On Sun, Aug 24, 2014 at 11:54:32AM +0800, Dennis Chen wrote: >> >> This patch is used to construct the eptp in vmx

Re: [PATCH v3 1/4] hwmon: (lm90) split set temp as common codes

2014-08-25 Thread Wei Ni
On 08/25/2014 08:23 PM, Mikko Perttunen wrote: > FWIW, please fix the authorship information for next version. Sorry, I didn't get your point, did you mean I should remove the line "From: lightning314 " ? Yes I made a mistake on it, I will remove it in next version. Thanks. Wei. > > Cheers, >

Re: [PATCH 3/3] mm/slab: support slab merge

2014-08-25 Thread Joonsoo Kim
On Mon, Aug 25, 2014 at 10:29:19AM -0500, Christoph Lameter wrote: > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > diff --git a/mm/slab.c b/mm/slab.c > > index 09b060e..a1cc1c9 100644 > > --- a/mm/slab.c > > +++ b/mm/slab.c > > @@ -2052,6 +2052,26 @@ static int __init_refok setup_cpu_cache(struct

Re: [PATCH v3 4/4] ARM: tegra: dalmore: add thermal zones for nct1008

2014-08-25 Thread Wei Ni
On 08/25/2014 07:10 PM, Eduardo Valentin wrote: > On Mon, Aug 25, 2014 at 02:29:48PM +0800, Wei Ni wrote: >> From: lightning314 >> >> Add dt node to describe the thermal zone for the nct1008. >> >> Signed-off-by: Wei Ni >> --- >> arch/arm/boot/dts/tegra114-dalmore.dts | 20 +++-

Re: [PATCH 2/3] mm/slab_common: commonize slab merge logic

2014-08-25 Thread Joonsoo Kim
On Mon, Aug 25, 2014 at 10:27:58AM -0500, Christoph Lameter wrote: > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > +static int __init setup_slab_nomerge(char *str) > > +{ > > + slab_nomerge = 1; > > + return 1; > > +} > > +__setup("slub_nomerge", setup_slab_nomerge); > > Uhh.. You would have

RE: [PATCH V2] cgroup: Introduce cgroup_detach_task().

2014-08-25 Thread Ni, Xun
Maybe your point can be added to the README or FAQ for cgroup. Try to shoot a patch for that, it will be more effective... Thanks, Xun -Original Message- From: cgroups-ow...@vger.kernel.org [mailto:cgroups-ow...@vger.kernel.org] On Behalf Of Dongsheng Yang Sent: Tuesday, August 26,

Re: [PATCH v3 4/4] ARM: tegra: dalmore: add thermal zones for nct1008

2014-08-25 Thread Wei Ni
On 08/25/2014 07:08 PM, Eduardo Valentin wrote: > On Mon, Aug 25, 2014 at 02:29:48PM +0800, Wei Ni wrote: >> From: lightning314 >> >> Add dt node to describe the thermal zone for the nct1008. >> >> Signed-off-by: Wei Ni >> --- >> arch/arm/boot/dts/tegra114-dalmore.dts | 20 +++-

Re: [PATCH 1/3] mm/slab: use percpu allocator for cpu cache

2014-08-25 Thread Joonsoo Kim
On Mon, Aug 25, 2014 at 08:13:58AM -0500, Christoph Lameter wrote: > On Mon, 25 Aug 2014, Joonsoo Kim wrote: > > > On Thu, Aug 21, 2014 at 09:21:30AM -0500, Christoph Lameter wrote: > > > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > > > > > So, this patch try to use percpu allocator in SLAB.

Re: [PATCH v5 1/5] dt-bindings: Add RK808 device tree bindings document

2014-08-25 Thread Chris Zhong
On 08/26/2014 04:14 AM, Doug Anderson wrote: Chris, On Mon, Aug 25, 2014 at 6:29 AM, Chris Zhong wrote: Add device tree bindings documentation and a header file for rockchip's RK808 pmic. Signed-off-by: Chris Zhong --- Changes in v5: Adviced by doug - add some error checking in probe -

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 v4 4/8] qcom: spm-devices: Add SPM device manager for the SoC

2014-08-25 Thread Stephen Boyd
On 08/25/14 17:31, Lina Iyer wrote: > On Mon, Aug 25, 2014 at 04:40:33PM -0700, Stephen Boyd wrote: >> On 08/19/14 15:15, Lina Iyer wrote: >>> diff --git a/Documentation/devicetree/bindings/arm/msm/spm.txt >>> b/Documentation/devicetree/bindings/arm/msm/spm.txt >>> new file mode 100644 >>> index

Re: [PATCH V2] cgroup: Introduce cgroup_detach_task().

2014-08-25 Thread Dongsheng Yang
On Tue, Aug 26, 2014 at 9:35 AM, Li Zefan wrote: > On 2014/8/25 23:00, Dongsheng Yang wrote: >> On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo wrote: >>> On Mon, Aug 25, 2014 at 10:46:03PM +0800, Dongsheng Yang wrote: My point here is that attaching and detaching are a pair of operations. >>>

[PATCH net-next] r8152: replace strncpy with strlcpy

2014-08-25 Thread Hayes Wang
Replace the strncpy with strlcpy, and use sizeof to determine the length. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 2470d9c..33dcc97 100644 ---

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

2014-08-25 Thread Stephen Rothwell
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:3: error: implicit declaration of function 'vlan_get_protocol'

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:54 PM, Andy Lutomirski wrote: > On Mon, Aug 25, 2014 at 6:53 PM, Alexei Starovoitov wrote: >> On Mon, Aug 25, 2014 at 6:38 PM, Andy Lutomirski wrote: >>> On Mon, Aug 25, 2014 at 6:35 PM, Alexei Starovoitov >>> wrote: On Mon, Aug 25, 2014 at 6:06 PM, David Miller

[PATCH][input-led] Defer input led work to workqueue

2014-08-25 Thread Samuel Thibault
When the kbd changes its led state (e.g. caps lock), this triggers (led_trigger_event) the kbd-capsl trigger, which is by default used by the vt::capsl LED, which triggers (led_trigger_event) the vt-capsl trigger. These two nested led_trigger_event calls take a trig->leddev_list_lock lock and thus

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 1/6] net: filter: add "load 64-bit immediate" eBPF instruction

2014-08-25 Thread Andy Lutomirski
On Mon, Aug 25, 2014 at 6:53 PM, Alexei Starovoitov wrote: > On Mon, Aug 25, 2014 at 6:38 PM, Andy Lutomirski wrote: >> On Mon, Aug 25, 2014 at 6:35 PM, Alexei Starovoitov >> wrote: >>> On Mon, Aug 25, 2014 at 6:06 PM, David Miller wrote: From: Alexei Starovoitov Date: Mon, 25 Aug

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:38 PM, Andy Lutomirski wrote: > On Mon, Aug 25, 2014 at 6:35 PM, Alexei Starovoitov wrote: >> On Mon, Aug 25, 2014 at 6:06 PM, David Miller wrote: >>> From: Alexei Starovoitov >>> Date: Mon, 25 Aug 2014 18:00:53 -0700 >>> add BPF_LD_IMM64 instruction to load

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 6:07 PM, David Miller wrote: > From: Alexei Starovoitov > Date: Mon, 25 Aug 2014 18:00:56 -0700 > >> - >> +asmlinkage long sys_bpf(int cmd, unsigned long arg2, unsigned long arg3, >> + unsigned long arg4, unsigned long arg5); > > Please do not add

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

2014-08-25 Thread Andy Lutomirski
On Mon, Aug 25, 2014 at 6:35 PM, Alexei Starovoitov wrote: > On Mon, Aug 25, 2014 at 6:06 PM, David Miller wrote: >> From: Alexei Starovoitov >> Date: Mon, 25 Aug 2014 18:00:53 -0700 >> >>> add BPF_LD_IMM64 instruction to load 64-bit immediate value into a register. >> >> I think you need to

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: > From: Alexei Starovoitov > Date: Mon, 25 Aug 2014 18:00:53 -0700 > >> add BPF_LD_IMM64 instruction to load 64-bit immediate value into a register. > > I think you need to rethink this. > > I understand that you want to be able to compile

Re: [PATCH V2] cgroup: Introduce cgroup_detach_task().

2014-08-25 Thread Li Zefan
On 2014/8/25 23:00, Dongsheng Yang wrote: > On Mon, Aug 25, 2014 at 10:47 PM, Tejun Heo wrote: >> On Mon, Aug 25, 2014 at 10:46:03PM +0800, Dongsheng Yang wrote: >>> My point here is that attaching and detaching are a pair of operations. >> >> There is no detaching from a cgroup. A task is

[PATCHv5 1/4] thermal: samsung: Exynos5260 and Exynos5420 should not use TRIM_RELOAD flag

2014-08-25 Thread Chanwoo Choi
From: Bartlomiej Zolnierkiewicz Currently these SoCs claim TRIM_RELOAD support but don't have triminfo_ctrl register address defined in their struct exynos_tmu_registers entries. This causes incorrect write of value "1" to data->base + 0x00 address (which happens to be TRIMINFO register).

[PATCHv5 0/4] thermal: exynos: Add support for TRIMINFO feature of Exynos3250

2014-08-25 Thread Chanwoo Choi
This patchset add the support of TRIMINFO_RELOAD feature for Exynos3250. But Exynos3250 has two TRIMINFO_CTRL register instead other Exynos has only one TRIMINFO_CTRL register. So, this patchset support the some Exynos SoC which has more than one TRIMINF_CTRL. Also, this patchset fix wrong value

  1   2   3   4   5   6   7   8   9   10   >