[PATCH] reset: remove unnecessary local variable initialization from of_reset_control_get_by_index

2015-12-09 Thread Philipp Zabel
There is no need to initialize rstc, as it is unconditionally assigned the return value of a kzalloc call before use. Signed-off-by: Philipp Zabel --- drivers/reset/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/core.c b/drivers/reset/core.c index 873766

Re: [RESEND RFC PATCH 0/2] Expose the PIO_ISR register on SAMA5D3

2015-12-09 Thread Ludovic Desroches
Hi Peter, On Tue, Dec 08, 2015 at 04:20:06AM +0100, Peter Rosin wrote: > From: Peter Rosin > > Hi! > > I have a signal connected to a gpio pin which is the output of > a comparator. By changing the level of one of the inputs to the > comparator, I can detect the envelope of the other input to >

Re: [PATCH v2] usb: Use memdup_user to reuse the code

2015-12-09 Thread Pathak, Rahul (R.)
Hello Alan, Should I resend this patch version with the tear line correction? Regards Rahul Pathak From: Alan Stern Sent: Tuesday, December 8, 2015 8:53 PM To: Pathak, Rahul (R.) Cc: gre...@linuxfoundation.org; kbo...@gmail.com; dan.carpen...@oracle.c

Re: [PATCH v2 14/14] perf tools: Move subcommand framework and related utils to libapi

2015-12-09 Thread Ingo Molnar
* Josh Poimboeuf wrote: > > > wouldn't necessarily be a clean split. It would also possibly create > > > more > > > room for error for the users of libapi, since there would then be three > > > config interfaces instead of one. > > > > Humm, and now that you talk... libapi was supposed to b

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Jiri Olsa
On Wed, Dec 09, 2015 at 12:06:44PM +0800, Yunlong Song wrote: > Hi, Don, > I am interested in the perf c2c tool, which is introduced in: > http://lwn.net/Articles/588866/ > However, I found that this tool has not been applied to the mainline tree of > perf, Why? It was first > introduced in F

[PATCH v2 2/2] ARM: dts: exynos542x: add GSCL block parent clock management to pm domain

2015-12-09 Thread Marek Szyprowski
Add support for restoring GScaler parent clocks configuration when GSCL power domain is turned on. Signed-off-by: Marek Szyprowski --- arch/arm/boot/dts/exynos5420.dtsi | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dt

Re: [PATCH 1/2] null_blk: Remove null block from list in error path

2015-12-09 Thread Matias Bjørling
On 12/09/2015 06:21 AM, Minfei Huang wrote: Ping. Any comment is appreciate. Thanks Minfei That'll work. Thanks for fixing up my mistake. -- 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 h

Re: piping core dump to a program escapes container

2015-12-09 Thread Dongsheng Yang
On 12/09/2015 02:32 PM, Eric W. Biederman wrote: Dongsheng Yang writes: On 12/09/2015 11:29 AM, Eric W. Biederman wrote: Dongsheng Yang writes: [...] There has not yet been an obvious namespace in which to stick core_pattern, and even worse exactly how to appropriate launch a process in

Re: [PATCH v2 00/25] mtd: nand: refactor the NAND subsystem (part 1)

2015-12-09 Thread Boris Brezillon
Hi Brian, On Tue, 8 Dec 2015 16:36:24 -0800 Brian Norris wrote: > Hi, > > On Tue, Dec 01, 2015 at 12:02:57PM +0100, Boris Brezillon wrote: > > Hello, > > > > This huge series aims at clarifying the relationship between the mtd and > > nand_chip structures and hiding NAND framework internals to

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Wangnan (F)
On 2015/12/9 16:04, Jiri Olsa wrote: On Wed, Dec 09, 2015 at 12:06:44PM +0800, Yunlong Song wrote: Hi, Don, I am interested in the perf c2c tool, which is introduced in: http://lwn.net/Articles/588866/ However, I found that this tool has not been applied to the mainline tree of perf, Wh

[PATCH] ARM: dts: imx: Fix the assigned-clock mismatch issue on imx6q/dl

2015-12-09 Thread Bai Ping
The 'assigned-clock-parents' and 'assigned-clock-rates' list should corresponding to the 'assigned-clocks' property clock list. Signed-off-by: Bai Ping --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx6qdl

[PATCH for 4.4 1/2] dmaengine: edma: DT: Change memcpy channel array from 16bit to 32bit type

2015-12-09 Thread Peter Ujfalusi
This change makes the DT file to be easier to read since the memcpy channels array does not need the '/bits/ 16' to be specified, which might confuse some people. Signed-off-by: Peter Ujfalusi --- Documentation/devicetree/bindings/dma/ti-edma.txt | 5 ++--- drivers/dma/edma.c

[PATCH for 4.4 2/2] dmaengine: edma: DT: Change reserved slot array from 16bit to 32bit type

2015-12-09 Thread Peter Ujfalusi
This change makes the DT file to be easier to read since the reserved slots array does not need the '/bits/ 16' to be specified, which might confuse some people. Signed-off-by: Peter Ujfalusi --- Documentation/devicetree/bindings/dma/ti-edma.txt | 5 ++-- drivers/dma/edma.c

[PATCH for 4.4 0/2] DT/dmaengine: edma: Convert 16bit arrays to 32bit

2015-12-09 Thread Peter Ujfalusi
Hi, Based on the discussion regarding to (convert am33xx to use the new eDMA bindings): https://www.mail-archive.com/linux-omap@vger.kernel.org/msg122117.html This two patch will convert the new eDMA binding to not use 16bit arrays for memcpy channel selection and for marking slots reserved. The

Re: [PATCH 1/2] video:omap2:dss: fix timings for VENC to match what omapdrm expects

2015-12-09 Thread Tomi Valkeinen
On 13/11/15 12:29, H. Nikolaus Schaller wrote: > Otherwise check_timings fails and we get a "has no modes" message > from xrandr. > > This fix makes the venc assume PAL and NTSC timings that match the > timings synthetized by copy_timings_drm_to_omap() from omapdrm > mode settings so that check_t

RE: [PATCH] KVM: x86: Add lowest-priority support for vt-d posted-interrupts

2015-12-09 Thread Wu, Feng
Hi Radim, > -Original Message- > From: Radim Krčmář [mailto:rkrc...@redhat.com] > Sent: Tuesday, November 17, 2015 3:03 AM > To: Wu, Feng > Cc: pbonz...@redhat.com; k...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] KVM: x86: Add lowest-priority support for vt-d pos

[PATCH V2] ACPI: Support D3 COLD device in old BIOS for ZPODD

2015-12-09 Thread Ken Xue
D3cold is only regarded as valid if the "_PR3" object is present for the given device after the commit 20dacb71ad28 ("ACPI/PM: Rework device power management to follow ACPI 6"). But some old BIOS only defined "_PS3" for the D3COLD device, such as ZPODD device. And old kernel also believes the devi

Re: [PATCH] sh64: fix __NR_fgetxattr

2015-12-09 Thread Geert Uytterhoeven
CC akpm On Wed, Dec 9, 2015 at 4:16 AM, Dmitry V. Levin wrote: > According to arch/sh/kernel/syscalls_64.S and common sense, > __NR_fgetxattr has to be defined to 259, but it doesn't. > Instead, it's defined to 269, which is of course used > by another syscall, __NR_sched_setaffinity in this case

Re: [PATCH v2 0/3] dmaengine: Add supports for APM X-Gene SoC CRC32C accerlerator driver

2015-12-09 Thread Rameshwar Sahu
Hi, On Mon, Nov 16, 2015 at 2:42 PM, wrote: > From: Rameshwar Prasad Sahu > > This patch implements support for APM X-Gene SoC CRC32C h/w accelerator driver > and adds CRC32C computations support in dmaengine framework. APM X-Gene SoC > has > DMA engine capable of performing CRC32C computation

Re: [PATCH v2] clear file privilege bits when mmap writing

2015-12-09 Thread Jan Kara
On Mon 07-12-15 16:40:14, Kees Cook wrote: > On Mon, Dec 7, 2015 at 2:42 PM, Kees Cook wrote: > > On Thu, Dec 3, 2015 at 5:45 PM, yalin wang wrote: > >> > >>> On Dec 2, 2015, at 16:03, Kees Cook wrote: > >>> > >>> Normally, when a user can modify a file that has setuid or setgid bits, > >>> thos

Re: [PATCH v2 0/3] dmaengine: Add supports for APM X-Gene SoC CRC32C accerlerator driver

2015-12-09 Thread Herbert Xu
On Wed, Dec 09, 2015 at 01:55:55PM +0530, Rameshwar Sahu wrote: > > Any comments on above patch ?? My concern that there aren't going to be any in-kernel users remains. Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubk

Re: [tip:perf/core] perf/x86: Use INST_RETIRED.PREC_DIST for cycles: ppp

2015-12-09 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Dec 08, 2015 at 09:57:07AM +0100, Peter Zijlstra wrote: > > On Tue, Dec 08, 2015 at 09:50:26AM +0100, Peter Zijlstra wrote: > > > On Tue, Dec 08, 2015 at 06:36:04AM +0100, Ingo Molnar wrote: > > > > > > > So I checked my NHM box with your latest queue and it no

Re: x86 fpu: command-line parameters broken post-FPU-rewrite

2015-12-09 Thread Ingo Molnar
* Dave Hansen wrote: > Hey Ingo, > > We were starting to look at reenabling XSAVES support and tried to use the > 'noxsave' and 'noxsaves' kernel command-line options. The rewrite moved the > FPU > initialization to before we even are parsing command-line options, even the > early_param()s

Re: [tip:perf/core] perf: Add pmu specific data for perf task context

2015-12-09 Thread Peter Zijlstra
On Wed, Feb 18, 2015 at 09:15:06AM -0800, tip-bot for Yan, Zheng wrote: > +find_get_context(struct pmu *pmu, struct task_struct *task, > + struct perf_event *event) > { > struct perf_event_context *ctx, *clone_ctx = NULL; > struct perf_cpu_context *cpuctx; > + void *tas

Re: [PATCH v3 bis 12/25] mtd: nand: use the mtd instance embedded in struct nand_chip

2015-12-09 Thread Boris Brezillon
Hi Brian, On Tue, 8 Dec 2015 16:17:41 -0800 Brian Norris wrote: > > > diff --git a/drivers/mtd/nand/cmx270_nand.c b/drivers/mtd/nand/cmx270_nand.c > > index 43bded6..84d027e 100644 > > --- a/drivers/mtd/nand/cmx270_nand.c > > +++ b/drivers/mtd/nand/cmx270_nand.c > > @@ -160,10 +160,8 @@ static

RE: [PATCH] ARM: multi_v7_defconfig: Enable some drivers for LS1021A

2015-12-09 Thread Huan Wang
> On Tuesday 08 December 2015 16:38:03 Alison Wang wrote: > > This patch enables some drivers for LS1021A, such as GIANFAR, > > WATCHDOG, AUDIO, QSPI, I2C, ESDHC, EDMA, FTM. > > QorIQ Clock Framework and Ramdisk support is also enabled. > > > > Signed-off-by: Alison Wang > > --- > > I think most

Re: [PATCH v2 0/3] dmaengine: Add supports for APM X-Gene SoC CRC32C accerlerator driver

2015-12-09 Thread Rameshwar Sahu
On Wed, Dec 9, 2015 at 1:57 PM, Herbert Xu wrote: > On Wed, Dec 09, 2015 at 01:55:55PM +0530, Rameshwar Sahu wrote: >> >> Any comments on above patch ?? > > My concern that there aren't going to be any in-kernel users remains. Yes, we are not upstream in-kernel users right now, but later client ma

Re: piping core dump to a program escapes container

2015-12-09 Thread Bruno Prémont
On Tue, 08 Dec 2015 21:29:13 -0600 Eric W. Biederman wrote: > Dongsheng Yang writes: > > > On 12/09/2015 10:26 AM, Dongsheng Yang wrote: > >> On 10/25/2015 05:54 AM, Shayan Pooya wrote: > >>> I noticed the following core_pattern behavior in my linux box while > >>> running docker containers.

Re: [GIT PULL] UML fixes for 4.4-rc5

2015-12-09 Thread Richard Weinberger
Linus, Am 09.12.2015 um 02:35 schrieb Linus Torvalds: > On Tue, Dec 8, 2015 at 1:39 PM, Richard Weinberger wrote: >> >> This pull request contains various bug fixes, most of them are >> fall out from the merge window. >> >> Richard Weinberger (2): >> um: Fix fpstate handling > > Ugh. This

Re: [PATCH v2 0/3] dmaengine: Add supports for APM X-Gene SoC CRC32C accerlerator driver

2015-12-09 Thread Herbert Xu
On Wed, Dec 09, 2015 at 02:13:32PM +0530, Rameshwar Sahu wrote: > > Yes, we are not upstream in-kernel users right now, but later client > ma upstream there patches. Well I'd prefer to not take any crypto drivers that don't have in-kernel users. Cheers, -- Email: Herbert Xu Home Page: http://go

Re: [PATCH 2/3] regmap: add 64-bit mode support

2015-12-09 Thread Arnd Bergmann
On Thursday 03 December 2015 17:31:52 Xiubo Li wrote: > @@ -2488,11 +2581,17 @@ int regmap_bulk_read(struct regmap *map, unsigned int > reg, void *val, > * we assume that the values are native > * endian. >

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread Sascha Hauer
On Tue, Dec 08, 2015 at 04:13:35PM -0800, John Stultz wrote: > On Tue, Dec 8, 2015 at 1:52 PM, Arnd Bergmann wrote: > > > > On Tuesday 08 December 2015 13:29:22 John Stultz wrote: > > > > > diff --git a/arch/arm/boot/dts/qcom-apq8064-nexus7-flo.dts > > > b/arch/arm/boot/dts/qcom-apq8064-nexus7-fl

Re: [PATCH] mfd: wm831x: fix broken wm831x_unique_id_show

2015-12-09 Thread Lee Jones
On Sun, 06 Dec 2015, Rasmus Villemoes wrote: > wm831x_unique_id_show currently displays an interesting pattern of '0' > and '3' characters which isn't very useful (figuring out why is left > as an exercise for the reader). Presumably "buf[i]" should have been > "id[i] & 0xff". > > But while there

Re: [RFCv6 PATCH 09/10] sched: deadline: use deadline bandwidth in scale_rt_capacity

2015-12-09 Thread Vincent Guittot
adding Lucas On 9 December 2015 at 07:19, Steve Muckle wrote: > From: Vincent Guittot > > Instead of monitoring the exec time of deadline tasks to evaluate the > CPU capacity consumed by deadline scheduler class, we can directly > calculate it thanks to the sum of utilization of deadline tasks o

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread Sascha Hauer
Hi John, Only a small comment On Tue, Dec 08, 2015 at 01:29:22PM -0800, John Stultz wrote: > +static int reboot_reason_probe(struct platform_device *pdev) > +{ > + struct resource *res; > + u32 val; > + int i; > + > + /* initialize the reasons */ > + for (i = 0; i < MAX_REASON

Re: [RESEND RFC PATCH 0/2] Expose the PIO_ISR register on SAMA5D3

2015-12-09 Thread Peter Rosin
Hi! On 2015-12-09 09:01, Ludovic Desroches wrote: > Hi Peter, > > On Tue, Dec 08, 2015 at 04:20:06AM +0100, Peter Rosin wrote: >> From: Peter Rosin >> >> Hi! >> >> I have a signal connected to a gpio pin which is the output of >> a comparator. By changing the level of one of the inputs to the >>

Re: linux-next: Tree for Dec 9

2015-12-09 Thread Sergey Senozhatsky
Hello, On (12/09/15 18:19), Stephen Rothwell wrote: > > Changes since 20151208: > corrupts low memory: [ 60.459441] Corrupted low memory at 88001000 (1000 phys) = 0001 [ 60.459445] Corrupted low memory at 88001008 (1008 phys) = 81a816b8 [ 60.459446] Corrupted

Re: Ques: [kernel/time/*] Is there any disadvantage in using sleep_range for more than 20ms delay ?

2015-12-09 Thread Aniroop Mathur
On Dec 9, 2015 2:18 AM, "Thomas Gleixner" wrote: > > On Tue, 8 Dec 2015, Aniroop Mathur wrote: > > On Tue, Dec 8, 2015 at 4:18 PM, Thomas Gleixner wrote: > > > The initialization process is hardly something critical, so why would > > > the delay need to be precise? What's the point of having data

Re: [PATCH for 4.4 0/2] DT/dmaengine: edma: Convert 16bit arrays to 32bit

2015-12-09 Thread Arnd Bergmann
On Wednesday 09 December 2015 10:18:09 Peter Ujfalusi wrote: > Hi, > > Based on the discussion regarding to (convert am33xx to use the new eDMA > bindings): > https://www.mail-archive.com/linux-omap@vger.kernel.org/msg122117.html > > This two patch will convert the new eDMA binding to not use 16b

Re: [RFC][PATCH] misc: Introduce reboot_reason driver

2015-12-09 Thread Sascha Hauer
Hi John, On Tue, Dec 08, 2015 at 01:29:22PM -0800, John Stultz wrote: > This patch adds a basic driver to allow for commands like > "reboot bootloader" and "reboot recovery" to communicate this > reboot-reason to the bootloader. > > This is commonly done on Android devices, in order to reboot > t

Re: [PATCH 1/8] mm: memcontrol: drop unused @css argument in memcg_init_kmem

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:18PM -0500, Johannes Weiner wrote: > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov -- 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 http://vger.kernel

Re: [PATCH 2/3] regmap: add 64-bit mode support

2015-12-09 Thread Xiubo Li
On 09/12/2015 16:45, Arnd Bergmann wrote: On Thursday 03 December 2015 17:31:52 Xiubo Li wrote: @@ -2488,11 +2581,17 @@ int regmap_bulk_read(struct regmap *map, unsigned int reg, void *val, * we assume that the values are native

[PATCH v1 0/8] This serial of patches add dts/pinctrl/clock-tree/doc for rk3228

2015-12-09 Thread Jeffy Chen
platform, with these patches, my evb board could boot into initramfs. Jeffy Chen (8): pinctrl: rockchip: add support for the rk3228 clk: rockchip: add dt-binding header for rk3228 rockchip: add clock controller for rk3228 dt-bindings: add documentation of rk3228 clock controller clk: ro

[PATCH v1 2/8] clk: rockchip: add dt-binding header for rk3228

2015-12-09 Thread Jeffy Chen
Add the dt-bindings header for the rk3228, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Jeffy Chen --- include/dt-bindings/clock/rk3228-cru.h | 220 + 1 file changed, 220 insertions(+) create mode 100644 inclu

Re: [PATCH 2/8] mm: memcontrol: remove double kmem page_counter init

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:19PM -0500, Johannes Weiner wrote: > The kmem page_counter's limit is initialized to PAGE_COUNTER_MAX > inside mem_cgroup_css_online(). There is no need to repeat this > from memcg_propagate_kmem(). > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov -- T

Re: use-after-free in __perf_install_in_context

2015-12-09 Thread Peter Zijlstra
On Tue, Dec 08, 2015 at 07:57:38PM +0100, Ingo Molnar wrote: > Btw., could we add more redundancy / debug code to the refcounting code? It > seems > to be a frequent source of very hard to find/fix races/bugs - so it should be > ripe > for some extra debug infrastructure ... I'll try, but its

[PATCH v1 6/8] ARM: rockchip: enable support for RK3228 SoCs

2015-12-09 Thread Jeffy Chen
Add a rockchip,rk3228 compatible. Signed-off-by: Jeffy Chen --- arch/arm/mach-rockchip/rockchip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c index 608b31c..0cd4313 100644 --- a/arch/arm/mach-rockchip/rockchip.c +++

[PATCH v1 7/8] ARM: dts: rockchip: add core rk3228 dtsi

2015-12-09 Thread Jeffy Chen
Initial release for rk3228 shared dtsi. Signed-off-by: Jeffy Chen --- arch/arm/boot/dts/rk3228.dtsi | 478 ++ 1 file changed, 478 insertions(+) create mode 100644 arch/arm/boot/dts/rk3228.dtsi diff --git a/arch/arm/boot/dts/rk3228.dtsi b/arch/arm/boot/d

[PATCH v1 8/8] ARM: dts: rockchip: add rk3228-evb board

2015-12-09 Thread Jeffy Chen
Initial release for rk3228 sdk board. Signed-off-by: Jeffy Chen --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3228-evb.dts | 56 2 files changed, 57 insertions(+) create mode 100644 arch/arm/boot/dts/rk3228-evb.dts diff --git a/arch/

Re: [PATCH mmotm] memcg: Ignore partial THP when moving task

2015-12-09 Thread Michal Hocko
Dohh, forgot to git add after s@PageCoumpound@PageTransCompound@ Updated patch is below: --- >From efff9d4696cbce6710827a8422a5b285bf9b8052 Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Fri, 4 Dec 2015 08:30:22 +0100 Subject: [PATCH] memcg: Ignore partial THP when moving task After "mm: rewor

[PATCH v1 5/8] clk: rockchip: allow more than 2 parents for cpuclk

2015-12-09 Thread Jeffy Chen
RK3228's armclk has 3 parents, so allow cpuclk to have more than 2 parents. Signed-off-by: Jeffy Chen --- drivers/clk/rockchip/clk-cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-cpu.c b/drivers/clk/rockchip/clk-cpu.c index 330870a..d07374f

[PATCH v1 1/8] pinctrl: rockchip: add support for the rk3228

2015-12-09 Thread Jeffy Chen
The pinctrl of rk3228 is much the same as rk3288's, but without pmu. Signed-off-by: Jeffy Chen --- .../bindings/pinctrl/rockchip,pinctrl.txt | 3 +- drivers/pinctrl/pinctrl-rockchip.c | 53 ++ 2 files changed, 55 insertions(+), 1 deletion(-) diff

[PATCH v1 3/8] rockchip: add clock controller for rk3228

2015-12-09 Thread Jeffy Chen
Add the clock tree definition for the new rk3228 SoC. Signed-off-by: Jeffy Chen --- drivers/clk/rockchip/Makefile | 1 + drivers/clk/rockchip/clk-rk3228.c | 762 ++ drivers/clk/rockchip/clk.h| 11 +- 3 files changed, 773 insertions(+), 1 deleti

[PATCH v1 4/8] dt-bindings: add documentation of rk3228 clock controller

2015-12-09 Thread Jeffy Chen
Add the devicetree binding for the cru on the rk3228 which quite similar structured as previous clock controllers. Signed-off-by: Jeffy Chen --- .../bindings/clock/rockchip,rk3228-cru.txt | 58 ++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/de

Re: [PATCH 3/8] mm: memcontrol: give the kmem states more descriptive names

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:20PM -0500, Johannes Weiner wrote: > On any given memcg, the kmem accounting feature has three separate > states: not initialized, structures allocated, and actively accounting > slab memory. These are represented through a combination of the > kmem_acct_activated and

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Jiri Olsa
On Wed, Dec 09, 2015 at 04:12:36PM +0800, Wangnan (F) wrote: > > > On 2015/12/9 16:04, Jiri Olsa wrote: > >On Wed, Dec 09, 2015 at 12:06:44PM +0800, Yunlong Song wrote: > >>Hi, Don, > >> I am interested in the perf c2c tool, which is introduced in: > >> http://lwn.net/Articles/588866/ > >>Ho

Re: [PATCH 4/8] mm: memcontrol: group kmem init and exit functions together

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:21PM -0500, Johannes Weiner wrote: > Put all the related code to setup and teardown the kmem accounting > state into the same location. No functional change intended. > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov -- To unsubscribe from this list: se

Re: [PATCH v5 08/11] ARM: STi: Register CPUFreq device

2015-12-09 Thread Arnd Bergmann
On Tuesday 08 December 2015 14:32:01 Lee Jones wrote: > @@ -161,3 +166,11 @@ struct smp_operations __initdata sti_smp_ops = { > .smp_secondary_init = sti_secondary_init, > .smp_boot_secondary = sti_boot_secondary, > }; > + > +/** > + * CPUFreq Registration > + */ > +void in

Re: use-after-free in __perf_install_in_context

2015-12-09 Thread Dmitry Vyukov
On Tue, Dec 8, 2015 at 8:56 PM, Alexei Starovoitov wrote: > On Tue, Dec 08, 2015 at 07:35:20PM +0100, Dmitry Vyukov wrote: >> On Tue, Dec 8, 2015 at 7:05 PM, Alexei Starovoitov >> wrote: >> > On Tue, Dec 08, 2015 at 06:56:23PM +0100, Dmitry Vyukov wrote: >> >> On Tue, Dec 8, 2015 at 6:54 PM, Alex

Re: [PATCH v5 08/11] ARM: STi: Register CPUFreq device

2015-12-09 Thread Viresh Kumar
On 09-12-15, 10:15, Arnd Bergmann wrote: > On Tuesday 08 December 2015 14:32:01 Lee Jones wrote: > > @@ -161,3 +166,11 @@ struct smp_operations __initdata sti_smp_ops = { > > .smp_secondary_init = sti_secondary_init, > > .smp_boot_secondary = sti_boot_secondary, > > }; > >

Re: [PATCH v5] clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver

2015-12-09 Thread Maxime Ripard
On Mon, Dec 07, 2015 at 09:46:24PM +0800, Chen-Yu Tsai wrote: > On Mon, Dec 7, 2015 at 5:36 PM, Maxime Ripard > wrote: > > Hi, > > > > On Thu, Dec 03, 2015 at 03:05:30PM +0800, Chen-Yu Tsai wrote: > >> The APBS clock on sun9i is the same as the APB0 clock on sun8i. With > >> sun9i we are supportin

[PATCH] regmap: fix the warning about unused variable

2015-12-09 Thread Xiubo Li
The variable 'u64 *u64' should be only visible on 64-BIT platform. Signed-off-by: Xiubo Li --- drivers/base/regmap/regmap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 1791180..a0d30a0 100644 --- a/drivers/base/regmap/re

Re: [PATCH v5] clk: sunxi: Add CLK_OF_DECLARE support for sun8i-a23-apb0-clk driver

2015-12-09 Thread Maxime Ripard
On Thu, Dec 03, 2015 at 03:05:30PM +0800, Chen-Yu Tsai wrote: > The APBS clock on sun9i is the same as the APB0 clock on sun8i. With > sun9i we are supporting the PRCM clocks by using CLK_OF_DECLARE, > instead of through a PRCM mfd device and subdevices for each clock > and reset control. As such w

Re: [PATCH 5/8] mm: memcontrol: separate kmem code from legacy tcp accounting code

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:22PM -0500, Johannes Weiner wrote: > The cgroup2 memory controller will include important in-kernel memory > consumers per default, including socket memory, but it will no longer > carry the historic tcp control interface. > > Separate the kmem state init from the tcp

Re: arRe: [PATCH net-next 2/2] net: hns: enet specisies a reference to dsaf (config and documents)

2015-12-09 Thread Yankejian (Hackim Yim)
On 2015/12/7 17:40, Arnd Bergmann wrote: > On Monday 07 December 2015 15:14:13 Yankejian wrote: >> On 2015/12/6 6:19, Arnd Bergmann wrote: >>> On Saturday 05 December 2015 14:10:56 yankejian wrote: diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt b/Documentatio

Re: [RFC PATCH V2 0/3] IXGBE/VFIO: Add live migration support for SRIOV NIC

2015-12-09 Thread Lan, Tianyu
On 12/8/2015 1:12 AM, Alexander Duyck wrote: On Mon, Dec 7, 2015 at 7:40 AM, Lan, Tianyu wrote: On 12/5/2015 1:07 AM, Alexander Duyck wrote: We still need to support Windows guest for migration and this is why our patches keep all changes in the driver since it's impossible to change Windo

[PATCH 1/1] iio:adc128s052: add support for adc124s021

2015-12-09 Thread Oliver Stäbler
Signed-off-by: Oliver Stäbler --- Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt | 4 ++-- drivers/iio/adc/Kconfig | 6 +++--- drivers/iio/adc/ti-adc128s052.c | 13 - 3 files changed, 17 insertions(+), 6 de

[PATCH 0/1] iio:adc128s052: add support for adc124s021

2015-12-09 Thread Oliver Stäbler
This trivial patch adds support for adc124s021, which is a 4-channel version of the already supported ADC chips. Built against v4.4-rc4 Oliver Stäbler (1): iio:adc128s052: add support for adc124s021 Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt | 4 ++-- drivers/iio/adc/Kconfig

Re: [PATCH 6/8] mm: memcontrol: move kmem accounting code to CONFIG_MEMCG

2015-12-09 Thread Vladimir Davydov
On Tue, Dec 08, 2015 at 01:34:23PM -0500, Johannes Weiner wrote: > The cgroup2 memory controller will account important in-kernel memory > consumers per default. Move all necessary components to CONFIG_MEMCG. > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov -- To unsubscribe from t

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Peter Zijlstra
On Wed, Dec 09, 2015 at 09:04:40AM +0100, Jiri Olsa wrote: > On Wed, Dec 09, 2015 at 12:06:44PM +0800, Yunlong Song wrote: > > Hi, Don, > > I am interested in the perf c2c tool, which is introduced in: > > http://lwn.net/Articles/588866/ > > However, I found that this tool has not been applied

Re: [PATCH v3 2/9] Documentation: dt-bindings: Document STM32 pinctrl driver DT bindings

2015-12-09 Thread Maxime Coquelin
Hi Rob, 2015-12-09 4:41 GMT+01:00 Rob Herring : > On Tue, Dec 08, 2015 at 01:45:04PM +0100, Maxime Coquelin wrote: >> Signed-off-by: Maxime Coquelin >> --- >> .../bindings/pinctrl/st,stm32-pinctrl.txt | 126 >> + >> 1 file changed, 126 insertions(+) >> create mode

[PATCH 3.16.y-ckt 001/126] irda: precedence bug in irlmp_seq_hb_idx()

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 50010c20597d14667eff0fdb628309986f195230 upstream. This is decrementing the pointer, instead of the value stored in the pointer. KASan detects it as an out of b

[PATCH 3.16.y-ckt 005/126] stmmac: Correctly report PTP capabilities.

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Phil Reid commit e6dbe1eb2db0d7a14991c06278dd3030c45fb825 upstream. priv->hwts_*_en indicate if timestamping is enabled/disabled at run time. But priv->dma_cap.time_stamp and priv-

[PATCH 3.16.y-ckt 012/126] net: fix a race in dst_release()

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit d69bbf88c8d0b367cf3e3a052f6daadf630ee566 upstream. Only cpu seeing dst refcount going to 0 can safely dereference dst->flags. Otherwise an other cpu might alread

[PATCH 3.16.y-ckt 019/126] ARM: 8426/1: dma-mapping: add missing range check in dma_mmap()

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 371f0f085f629fc0f66695f572373ca4445a67ad upstream. dma_mmap() function in IOMMU-based dma-mapping implementation lacked a check for valid range of mmap parame

[PATCH 3.16.y-ckt 009/126] sit: fix sit0 percpu double allocations

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 4ece9009774596ee3df0acba65a324b7ea79387c upstream. sit0 device allocates its percpu storage twice : - One time in ipip6_tunnel_init() - One time in ipip6_fb_tunne

[PATCH 3.16.y-ckt 013/126] Failing to send a CLOSE if file is opened WRONLY and server reboots on a 4.x mount

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Olga Kornievskaia commit a41cbe86df3afbc82311a1640e20858c0cd7e065 upstream. A test case is as the description says: open(foobar, O_WRONLY); sleep() --> reboot the server close(fooba

[PATCH 3.16.y-ckt 045/126] KVM: s390: SCA must not cross page boundaries

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit c5c2c393468576bad6d10b2b5fefff8cd25df3f4 upstream. We seemed to have missed a few corner cases in commit f6c137ff00a4 ("KVM: s390: randomize sca address").

[PATCH 3.16.y-ckt 033/126] spi: dw: explicitly free IRQ handler in dw_spi_remove_host()

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 02f20387e1bca550639c37b1945f20cd32ddfcce upstream. The following warning occurs when DW SPI is compiled as a module and it's a PCI device. On the removal stage

[PATCH 3.16.y-ckt 053/126] megaraid_sas : SMAP restriction--do not access user memory from IOCTL code

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@avagotech.com" commit 323c4a02c631d00851d8edc4213c4d184ef83647 upstream. This is an issue on SMAP enabled CPUs and 32 bit apps running on 64 bit OS. Do not access user

[PATCH 3.16.y-ckt 051/126] crypto: algif_hash - Only export and import on sockets with data

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 4afa5f9617927453ac04b24b584f6c718dfb4f45 upstream. The hash_accept call fails to work on sockets that have not received any data. For some algorithm implementation

[PATCH 3.16.y-ckt 041/126] ACPI: Use correct IRQ when uninstalling ACPI interrupt handler

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Chen Yu commit 49e4b84333f338d4f183f28f1f3c1131b9fb2b5a upstream. Currently when the system is trying to uninstall the ACPI interrupt handler, it uses acpi_gbl_FADT.sci_interrupt as

[PATCH 3.16.y-ckt 075/126] ideapad-laptop: Add Lenovo Yoga 900 to no_hw_rfkill dmi list

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit f71c882dd4cfe4aa88ea07b1402ddd43605d4aef upstream. Like some of the other Yoga models the Lenovo Yoga 900 does not have a hw rfkill switch, and trying to read th

[PATCH 3.16.y-ckt 064/126] mm: slab: only move management objects off-slab for sizes larger than KMALLOC_MIN_SIZE

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit d4322d88f5fdf92729dd40f923013414fbb2184d upstream. On systems with a KMALLOC_MIN_SIZE of 128 (arm64, some mips and powerpc configurations defining ARCH_DMA_MIN

[PATCH 3.16.y-ckt 088/126] wm831x_power: Use IRQF_ONESHOT to request threaded IRQs

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Valentin Rothberg commit 90adf98d9530054b8e665ba5a928de4307231d84 upstream. Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary h

[PATCH 3.16.y-ckt 081/126] drm/ast: Initialized data needed to map fbdev memory

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Egbert Eich commit 28fb4cb7fa6f63dc2fbdb5f2564dcbead8e3eee0 upstream. Due to a missing initialization there was no way to map fbdev memory. Thus for example using the Xserver with th

[PATCH 3.16.y-ckt 063/126] scsi: restart list search after unlock in scsi_remove_target

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 40998193560dab6c3ce8d25f4fa58a23e252ef38 upstream. When dropping a lock while iterating a list we must restart the search as other threads could have manipul

[PATCH 3.16.y-ckt 093/126] netfilter: remove dead code

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Flavio Leitner commit 0647e708344f4bf8b9e3f1855361c597f93d084d upstream. Remove __nf_conntrack_find() from headers. Fixes: dcd93ed4cd1 ("netfilter: nf_conntrack: remove dead code")

[PATCH 3.16.y-ckt 098/126] ARM: pxa: remove incorrect __init annotation on pxa27x_set_pwrmode

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 54c09889bff6d99c8733eed4a26c9391b177c88b upstream. The z2 machine calls pxa27x_set_pwrmode() in order to power off the machine, but this function gets discarded

[PATCH 3.16.y-ckt 095/126] packet: fix match_fanout_group()

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 161642e24fee40fba2c5bc2ceacc00d118a22d65 upstream. Recent TCP listener patches exposed a prior af_packet bug : match_fanout_group() blindly assumes it is always s

[PATCH 3.16.y-ckt 116/126] xtensa: nommu: provide _PAGE_CHG_MASK definition

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 972c55bf70c04b3deeecec022c8ca64136350655 upstream. Signed-off-by: Max Filippov Signed-off-by: Luis Henriques --- arch/xtensa/include/asm/pgtable.h | 1 + 1 fil

[PATCH 3.16.y-ckt 124/126] ALSA: hda - Disable 64bit address for Creative HDA controllers

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit cadd16ea33a938d49aee99edd4758cc76048b399 upstream. We've had many reports that some Creative sound cards with CA0132 don't work well. Some reported that it start

[PATCH 3.16.y-ckt 125/126] printk: prevent userland from spoofing kernel messages

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause commit 3824657c522f19f85a76bd932821174a5557a382 upstream. The following statement of ABI/testing/dev-kmsg is not quite right: It is not possible to inject messages

[PATCH 3.16.y-ckt 112/126] perf trace: Fix documentation for -i

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Feiner commit 956959f6b7a982b2e789a7a8fa1de437074a5eb9 upstream. The -i flag was incorrectly listed as a short flag for --no-inherit. It should have only been listed as a shor

[PATCH 3.16.y-ckt 103/126] tcp: apply Kern's check on RTTs used for congestion control

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Yuchung Cheng commit 9e45a3e36b363cc4c79c70f2b4f994e66543a219 upstream. Currently ca_seq_rtt_us does not use Kern's check. Fix that by checking if any packet acked is a retransmit, f

[PATCH 3.16.y-ckt 126/126] FS-Cache: Handle a write to the page immediately beyond the EOF marker

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit 102f4d900c9c8f5ed89ae4746d493fe3ebd7ba64 upstream. Handle a write being requested to the page immediately beyond the EOF marker on a cache object. Currently thi

[PATCH 3.16.y-ckt 123/126] fs/proc, core/debug: Don't expose absolute kernel addresses via wchan

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Ingo Molnar commit b2f73922d119686323f14fbbe46587f863852328 upstream. So the /proc/PID/stat 'wchan' field (the 30th field, which contains the absolute kernel address of the kernel fu

[PATCH 3.16.y-ckt 119/126] drm/radeon: add quirk for MSI R7 370

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Maxim Sheviakov commit e78654799135a788a941bacad3452fbd7083e518 upstream. Just adds the quirk for MSI R7 370 Armor 2X Bug: https://bugs.freedesktop.org/show_bug.cgi?id=91294 Signed-

[PATCH 3.16.y-ckt 122/126] tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Kosuke Tatsukawa commit e81107d4c6bd098878af9796b24edc8d4a9524fd upstream. My colleague ran into a program stall on a x86_64 server, where n_tty_read() was waiting for data even if t

[PATCH 3.16.y-ckt 120/126] drm/radeon: add quirk for ASUS R7 370

2015-12-09 Thread Luis Henriques
3.16.7-ckt21 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 2b02ec79004388a8c65e227bc289ed891b5ac8c6 upstream. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92260 Signed-off-by: Alex Deucher Signed-off-by: Luis Henri

  1   2   3   4   5   6   7   8   9   10   >