Re: [PATCH] video/console: Resolve several shadow warnings

2014-10-21 Thread Tomi Valkeinen
On 14/10/14 14:53, Jeff Kirsher wrote: > From: Mark Rustad > > Resolve shadow warnings that appear in W=2 builds by renaming > the "state" global to "vgastate". > > Signed-off-by: Mark Rustad > Signed-off-by: Jeff Kirsher > --- > drivers/video/console/vgacon.c | 24 >

Re: [PATCH 8/8] MAINTAINERS: add at91 power and memory entries

2014-10-21 Thread Ludovic Desroches
On Tue, Oct 21, 2014 at 11:55:40PM +0200, Alexandre Belloni wrote: > Signed-off-by: Alexandre Belloni > --- > MAINTAINERS | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index a20df9bf8ab0..e325c81ee2fa 100644 > --- a/MAINTAINERS > +++ b/

Re: [PATCH] kprobes: add kprobe_is_function_probed()

2014-10-21 Thread Masami Hiramatsu
(2014/10/22 15:02), Jiri Kosina wrote: > On Wed, 22 Oct 2014, Masami Hiramatsu wrote: > >>> Add a function that allows external users (such as live patching >>> mechanisms) to check whether a given function (identified by symbol name) >>> has a kprobe installed in it. >> >> Actually, we've alrea

Re: [PATCH] MAINTAINERS: Update Zynq maintainer record

2014-10-21 Thread Joe Perches
On Wed, 2014-10-22 at 08:29 +0200, Michal Simek wrote: > On 10/21/2014 11:31 PM, Soren Brinkmann wrote: > > - add myself as reviewer for Zynq > > - add entry to cover Zynq clock drivers > > - add entry to cover Xilinx DMA drivers > > > > Signed-off-by: Soren Brinkmann > > --- > > MAINTAINERS

Re: [PATCH] fbcon: Fix option parsing control flow in fb_console_setup

2014-10-21 Thread Tomi Valkeinen
On 09/10/14 12:48, Maarten ter Huurne wrote: > Since strsep is used to tokenize the options string, after each option > match the code should use "continue" to get the next token from strsep. > This patch applies this pattern consistently. > > Previously, for "scrollback:" and "map:" the parse cod

Re: Re: [PATCH] mips: add arch_trigger_all_cpu_backtrace() function

2014-10-21 Thread Eunbong Song
> Hi Eubong, > one small question inline ... >> +void arch_trigger_all_cpu_backtrace(bool); +#define >> arch_trigger_all_cpu_backtrace arch_trigger_all_cpu_backtrace > What is the purpose of this define ? is this maybe a leftover from > some regex/cleanups ? Hi John. Actually, I just follow th

Re: [patch 2/4] mm: memcontrol: don't pass a NULL memcg to mem_cgroup_end_move()

2014-10-21 Thread Vladimir Davydov
On Tue, Oct 21, 2014 at 04:21:34PM -0400, Johannes Weiner wrote: > mem_cgroup_end_move() checks if the passed memcg is NULL, along with a > lengthy comment to explain why this seemingly non-sensical situation > is even possible. > > Check in cancel_attach() itself whether can_attach() set up the m

Re: [patch 1/4] mm: memcontrol: inline memcg->move_lock locking

2014-10-21 Thread Vladimir Davydov
On Tue, Oct 21, 2014 at 04:21:33PM -0400, Johannes Weiner wrote: > The wrappers around taking and dropping the memcg->move_lock spinlock > add nothing of value. Inline the spinlock calls into the callsites. > > Signed-off-by: Johannes Weiner Acked-by: Vladimir Davydov > --- > mm/memcontrol.c

Re: [PATCH] mips: add arch_trigger_all_cpu_backtrace() function

2014-10-21 Thread John Crispin
Hi Eubong, one small question inline ... On 22/10/2014 08:39, Eunbong Song wrote: > > Currently, arch_trigger_all_cpu_backtrace() is defined in only x86 > and sparc which has nmi interrupt. But in case of softlockup not a > hardlockup, it could be possible to dump backtrace of all cpus. and > th

Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-21 Thread Masami Hiramatsu
Hi Hemant, (2014/10/10 19:59), Hemant Kumar wrote: > The SDT events are already stored in a cache file > (/var/cache/perf/perf-sdt-file.cache). Please describe what this patch does at first. > Although the file_hash table helps in addition or deletion of SDT events from > the > cache, its not

Re: [PATCH] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-21 Thread Namhyung Kim
Hi Wang, On Thu, 16 Oct 2014 11:08:43 +0800, Wang Nan wrote: > After kerne 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), > /proc/cpuinfo replcae 'Processor' to 'model name'. This patch makes > CPUINFO_PROC to an array and provides two choices for ARM, make it > compatible for different ke

Re: [PATCH] memcg: remove mem_cgroup_reclaimable check from soft reclaim

2014-10-21 Thread Vladimir Davydov
On Tue, Oct 21, 2014 at 02:22:39PM -0400, Johannes Weiner wrote: > On Tue, Oct 21, 2014 at 05:15:50PM +0400, Vladimir Davydov wrote: > > mem_cgroup_reclaimable() checks whether a cgroup has reclaimable pages > > on *any* NUMA node. However, the only place where it's called is > > mem_cgroup_soft_re

[PATCH] mips: add arch_trigger_all_cpu_backtrace() function

2014-10-21 Thread Eunbong Song
Currently, arch_trigger_all_cpu_backtrace() is defined in only x86 and sparc which has nmi interrupt. But in case of softlockup not a hardlockup, it could be possible to dump backtrace of all cpus. and this could be helpful for debugging. for example, if system has 2 cpus. CPU 0

Re: [PATCH 1/1 net-next] mac80211: remove unnecessary null test before debugfs_remove

2014-10-21 Thread Johannes Berg
On Tue, 2014-10-21 at 22:05 +0200, Fabian Frederick wrote: > I can also resubmit patch if necessary. No worries, I've already applied the patch (with a modified commit message). johannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to major

Re: [PATCH RFC 4/7] cpufreq: add per-governor private data

2014-10-21 Thread Mike Turquette
On Tue, Oct 21, 2014 at 11:26 PM, Viresh Kumar wrote: > On 22 October 2014 11:37, Mike Turquette wrote: >> Cc: Viresh Kumar >> Cc: Rafael J. Wysocki >> Signed-off-by: Mike Turquette >> --- >> include/linux/cpufreq.h | 3 +++ >> 1 file changed, 3 insertions(+) >> >> diff --git a/include/linux/

Re: [PATCH] MAINTAINERS: Update Zynq maintainer record

2014-10-21 Thread Michal Simek
On 10/21/2014 11:31 PM, Soren Brinkmann wrote: > - add myself as reviewer for Zynq > - add entry to cover Zynq clock drivers > - add entry to cover Xilinx DMA drivers > > Signed-off-by: Soren Brinkmann > --- > MAINTAINERS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/MAINTAINER

Re: [PATCH RFC 4/7] cpufreq: add per-governor private data

2014-10-21 Thread Viresh Kumar
On 22 October 2014 11:37, Mike Turquette wrote: > Cc: Viresh Kumar > Cc: Rafael J. Wysocki > Signed-off-by: Mike Turquette > --- > include/linux/cpufreq.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h > index 138336b..91d173c 1006

Re: [PATCH] netlink: don't copy over empty attribute data

2014-10-21 Thread David Miller
From: Sasha Levin Date: Tue, 21 Oct 2014 22:19:36 -0400 > On 10/21/2014 09:39 PM, David Miller wrote: >> From: Sasha Levin >> Date: Tue, 21 Oct 2014 16:51:09 -0400 >> >>> > netlink uses empty data to seperate different levels. However, we still >>> > try to copy that data from a NULL ptr using

Re: [RFC PATCH V3 0/3] PM/CPU: Parallel enalbing nonboot cpus with resume devices

2014-10-21 Thread Lan Tianyu
On 2014年10月09日 09:18, Lan Tianyu wrote: > On 2014年10月09日 04:54, Peter Zijlstra wrote: >> On Thu, Sep 25, 2014 at 04:32:02PM +0800, Lan Tianyu wrote: >>> This patchset is to parallel enabling nonboot cpus with resuming devices >>> during system resume in order to accelerate S2RAM. From test result o

[PATCH RFC 1/7] sched: Make energy awareness a sched feature

2014-10-21 Thread Mike Turquette
From: Morten Rasmussen This patch introduces the ENERGY_AWARE sched feature, which is implemented using jump labels when SCHED_DEBUG is defined. It is statically set false when SCHED_DEBUG is not defined. Hence this doesn't allow energy awareness to be enabled without SCHED_DEBUG. This sched_feat

[PATCH RFC 5/7] sched: cfs: cpu frequency scaling arch functions

2014-10-21 Thread Mike Turquette
arch_eval_cpu_freq and arch_scale_cpu_freq are added to allow the scheduler to evaluate if cpu frequency should change and to invoke that change from a safe context. They are weakly defined arch functions that do nothing by default. A CPUfreq governor could use these functions to implement a frequ

[PATCH RFC 4/7] cpufreq: add per-governor private data

2014-10-21 Thread Mike Turquette
Cc: Viresh Kumar Cc: Rafael J. Wysocki Signed-off-by: Mike Turquette --- include/linux/cpufreq.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 138336b..91d173c 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h @@

[PATCH RFC 2/7] sched: cfs: declare capacity_of in sched.h

2014-10-21 Thread Mike Turquette
capacity_of is useful for cpu frequency scaling policies. Share it via sched.h so that selectable cpu frequency scaling policies can make use of it. Signed-off-by: Mike Turquette --- kernel/sched/fair.c | 7 +-- kernel/sched/sched.h | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-)

[PATCH RFC 3/7] sched: fair: add usage_util_of helper

2014-10-21 Thread Mike Turquette
Signed-off-by: Mike Turquette --- kernel/sched/fair.c | 6 ++ kernel/sched/sched.h | 1 + 2 files changed, 7 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 15f5638..0930ad8 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -2057,6 +2057,7 @@ static in

[PATCH RFC 6/7] sched: cfs: cpu frequency scaling based on task placement

2014-10-21 Thread Mike Turquette
{en,de}queue_task_fair are updated to track which cpus will have changed utilization values as function of task queueing. The affected cpus are passed on to arch_eval_cpu_freq for further machine-specific processing based on a selectable policy. arch_scale_cpu_freq is called from run_rebalance_dom

[PATCH RFC 7/7] sched: energy_model: simple cpu frequency scaling policy

2014-10-21 Thread Mike Turquette
Building on top of the scale invariant capacity patches and earlier patches in this series that prepare CFS for scaling cpu frequency, this patch implements a simple, naive ondemand-like cpu frequency scaling policy that is driven by enqueue_task_fair and dequeue_tassk_fair. This new policy is name

Re: [PATCH V5] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-10-21 Thread hujianyang
It seems useful~! I'd like to do some test with it~ -- 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.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH RFC 0/7] scheduler-driven cpu frequency scaling

2014-10-21 Thread Mike Turquette
This series demonstrates cpu frequency scaling via a simple policy driven by the scheduler. Specifically the policy evaluates cpu frequency when cpu utilization is updated from enqueue_task_fair and dequeue_task_fair. The policy itself uses a simple up/down threshold scheme using the same 80%/20% c

Re: [PATCH] kprobes: add kprobe_is_function_probed()

2014-10-21 Thread Jiri Kosina
On Wed, 22 Oct 2014, Masami Hiramatsu wrote: > > Add a function that allows external users (such as live patching > > mechanisms) to check whether a given function (identified by symbol name) > > has a kprobe installed in it. > > Actually, we've already exported the list of kprobes with probe p

Re: [PATCH] x86, MCE: support memory error recovery for both UCNA and Deferred error in machine_check_poll

2014-10-21 Thread Chen Yucong
On Fri, 2014-10-10 at 14:03 +0800, Chen Yucong wrote: > From: Chen Yucong > > dram_ce_error() stems from Boris's patch set. Thanks! > Link: http://lkml.org/lkml/2014/7/1/545 > > Uncorrected no action required (UCNA) - is a UCR error that is not > signaled via a machine check exception and, inste

Re: [PATCH 1/4] (CMA_AGGRESSIVE) Add CMA_AGGRESSIVE to Kconfig

2014-10-21 Thread 朱辉
On 10/22/14 09:27, Pavel Machek wrote: > Hi! > >> Add CMA_AGGRESSIVE config that depend on CMA to Linux kernel config. >> Add CMA_AGGRESSIVE_PHY_MAX, CMA_AGGRESSIVE_FREE_MIN and CMA_AGGRESSIVE_SHRINK >> that depend on CMA_AGGRESSIVE. >> >> If physical memory size (not include CMA memory) in byte

Re: [PATCH] mm, hugetlb: correct bit shift in hstate_sizelog

2014-10-21 Thread Andrey Ryabinin
On 10/21/2014 10:15 PM, Sasha Levin wrote: > hstate_sizelog() would shift left an int rather than long, triggering > undefined behaviour and passing an incorrect value when the requested > page size was more than 4GB, thus breaking >4GB pages. > > Signed-off-by: Sasha Levin > --- > include/linu

Re: [PATCH v2] sched/fair: Care divide error in update_task_scan_period()

2014-10-21 Thread Yasuaki Ishimatsu
(2014/10/21 18:21), Peter Zijlstra wrote: On Thu, Oct 16, 2014 at 06:48:15PM +0900, Yasuaki Ishimatsu wrote: +++ b/kernel/sched/fair.c @@ -1466,6 +1466,7 @@ static void update_task_scan_period(struct task_struct *p, unsigned long remote = p->numa_faults_locality[0]; unsigned lon

Re: [PATCH v4 3/3] dma: imx-sdma: reorg code to make code clean

2014-10-21 Thread Robin Gong
Thanks for your comments, I'll send the next verison. On Tue, Oct 21, 2014 at 12:39:35PM +0300, Andy Shevchenko wrote: > On Tue, 2014-10-21 at 09:09 +0800, Robin Gong wrote: > > code reorg for transfer prepare and bus width check. > > Fix style of commit message. > > > > > Signed-off-by: Robin G

Re: [PATCH] Update help of CONFIG_MTD_OF_PARTS

2014-10-21 Thread Brian Norris
On Fri, Oct 10, 2014 at 03:06:17PM +0200, Michal Sojka wrote: > The help text of CONFIG_MTD_OF_PARTS refers to additional documentation > in booting-without-of.txt but this documentation was moved to another > file in commit efcc2da3fd148c9acb7d7cf1d9800e0649f950fc (Stefan Roese: > Factor MTD physm

Re: [PATCH] memory-hotplug: Clear pgdat which is allocated by bootmem in try_offline_node()

2014-10-21 Thread Yasuaki Ishimatsu
(2014/10/22 1:56), Toshi Kani wrote: On Mon, 2014-10-20 at 19:05 +0900, Yasuaki Ishimatsu wrote: : When hot removing memory, pgdat is set to 0 in try_offline_node(). But if the pgdat is allocated by bootmem allocator, the clearing step is skipped. And when hot adding the same memory, the unini

Re: [PATCH v3 2/8] phy: miphy28lp: Add MiPHY28lp header file for DT x Driver defines

2014-10-21 Thread Kishon Vijay Abraham I
On Tuesday 21 October 2014 09:19 PM, Gabriel Fernandez wrote: > Hi Kishon, > > To be sure, if i rename MIPHY_TYPE_SATA into PHY_TYPE_SATA, i have to > rename the filename also ? > > include/dt-bindings/phy/phy-miphy.h into include/dt-bindings/phy/phy.h > > am I right? That's right.. Cheers K

Re: [PATCH v4 4/6] ARM: rockchip: add suspend and resume for RK3288

2014-10-21 Thread Doug Anderson
Chris, On Tue, Oct 21, 2014 at 4:25 PM, Chris Zhong wrote: > @@ -34,7 +40,8 @@ static const char * const rockchip_board_dt_compat[] = { > }; > > DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)") > - .l2c_aux_val= 0, > - .l2c_aux_mask = ~0, > + .l2c_aux_va

Re: [fuse-devel] [PATCH v4 4/5] fuse: Support privileged xattrs only with a mount option

2014-10-21 Thread Seth Forshee
On Tue, Oct 21, 2014 at 02:27:13PM -0700, Andy Lutomirski wrote: > On Tue, Oct 21, 2014 at 2:21 PM, Seth Forshee > wrote: > > On Wed, Oct 15, 2014 at 07:37:36AM -0700, Andy Lutomirski wrote: > >> On Wed, Oct 15, 2014 at 12:39 AM, Seth Forshee > >> wrote: > >> > On Tue, Oct 14, 2014 at 02:19:19PM

Re: [PATCH v4 3/6] clk: rockchip: RK3288: add suspend and resume

2014-10-21 Thread Doug Anderson
Chris, On Tue, Oct 21, 2014 at 4:25 PM, Chris Zhong wrote: > +#ifdef CONFIG_PM_SLEEP > +static void __iomem *rk3288_cru_base; > +static const int rk3288_saved_cru_reg_ids[] = { > + RK3288_MODE_CON, > + RK3288_CLKSEL_CON(0), > + RK3288_CLKSEL_CON(1), > + RK3288_CLKSEL_CON(1

RE: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-21 Thread Peter Rosin
Hi! > Hi Peter, > > On 10/21/2014 09:05 PM, Peter Rosin wrote: > > I did some further tests, and the following program fails without the patch: > > With the patch, it is OK? Yes. > > #include > > #include > > #include > > #include > > > > int > > main(void) > > { > > int fd; > > in

Re: [PATCH v3 3/5] perf/sdt: Show SDT cache contents

2014-10-21 Thread Namhyung Kim
On Fri, 10 Oct 2014 16:28:43 +0530, Hemant Kumar wrote: > This patch adds support to dump the SDT cache onto sdtout. > The cache data is read into a hash_list and then, it iterates through > the hash_list to dump the data onto stdout. > > # ./perf sdt-cache --dump > > /usr/lib64/libc-2.16.so : > %l

Re: [PATCH v3 2/5] perf/sdt: Add SDT events into a cache

2014-10-21 Thread Namhyung Kim
On Fri, 10 Oct 2014 16:28:24 +0530, Hemant Kumar wrote: > This patch adds a new sub-command to perf : sdt-cache. > sdt-cache command can be used to add SDT events. > When user invokes "perf sdt-cache add ", a hash table/list is > created named as file_hash list. A typical entry in a file_hash table

Re: Re: [RFC PATCH 5/5] module: Remove stop_machine from module unloading

2014-10-21 Thread Rusty Russell
Masami Hiramatsu writes: >>> +/* >>> + * MODULE_REF_BASE must be 1, since we use atomic_inc_not_zero() for >>> + * recovering refcnt (see try_release_module_ref() ). >>> + */ >>> +#define MODULE_REF_BASE1 >> >> True, but we could use atomic_add_unless() instead, and make this >> completely ge

Re: [PATCH V2] kernel, add bug_on_warn

2014-10-21 Thread Rusty Russell
Prarit Bhargava writes: > There have been several times where I have had to rebuild a kernel to > cause a panic when hitting a WARN() in the code in order to get a crash > dump from a system. Sometimes this is easy to do, other times (such as > in the case of a remote admin) it is not trivial to

Re: [PATCH v4 2/6] pinctrl: rockchip: save and restore gpio6_c6 pinmux in suspend/resume

2014-10-21 Thread Doug Anderson
Chris, On Tue, Oct 21, 2014 at 4:19 PM, Chris Zhong wrote: > +static u32 rk3288_grf_gpio6c_iomux; Somehow my instinct says that this should be in the "info" structure, but I can't say exactly why (since by definition there can be only one gpio6_c6). ...no need to change this in my opinion. >

Re: [PATCH v2] Staging: iio: adc: fix line over 80 characters

2014-10-21 Thread Sudip Mukherjee
On Tue, Oct 21, 2014 at 05:56:47PM -0500, Brian Vandre wrote: > This fixes the 2 checkpatch.pl warnings: > WARNING: line over 80 characters > please check your patch with --strict option of checkpatch.pl , and you will get : "Alignment should match open parenthesis" . thanks sudip > Signed-off-

Re: [PATCH v4 1/6] pinctrl: rockchip: add suspend/resume functions

2014-10-21 Thread Doug Anderson
Chris, On Tue, Oct 21, 2014 at 4:19 PM, Chris Zhong wrote: > From: Chris I think your git is misconfigured. The above "From" line will make the author end up without your last name. Heiko mentioned this in v4. > diff --git a/drivers/pinctrl/pinctrl-rockchip.c > b/drivers/pinctrl/pinctrl-roc

Re: [PATCH v2 04/47] m68k: Replace mach_power_off with pm_power_off

2014-10-21 Thread Greg Ungerer
Hi Guenter, On 21/10/14 14:12, Guenter Roeck wrote: > Replace mach_power_off with pm_power_off to simplify the subsequent > move of pm_power_off to generic code. > > Cc: Geert Uytterhoeven > Cc: Greg Ungerer > Cc: Joshua Thompson > Acked-by: Geert Uytterhoeven > Signed-off-by: Guenter Roeck

linux-next: Tree for Oct 22

2014-10-21 Thread Stephen Rothwell
Hi all, Changes since 20141021: The sound-asoc tree still had its build failure so I used the version from next-20141020. Non-merge commits (relative to Linus' tree): 901 894 files changed, 17829 insertions(+), 34057 dele

Re: [PATCH v4 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-21 Thread Hong jinkun
在 2014/10/21 5:31, Kevin Hilman 写道: "jinkun.hong" writes: From: "jinkun.hong" Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Signed-off-by: Jack Dai Signed-off-by: jinkun.hong [...] +static int rockchip_pmu_set_idle_request(struct roc

Re: [PATCH v5 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-21 Thread Hong jinkun
On 2014/10/22 3:58, Dmitry Torokhov wrote: Hi Jinkun, On Tue, Oct 21, 2014 at 02:13:26AM -0700, jinkun.hong wrote: From: "jinkun.hong" Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Signed-off-by: Jack Dai Signed-off-by: jinkun.hong ---

Re: [PATCH 0/8] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-21 Thread Li, ZhenHua
Need more time to read and think about these mails. I just want to clarify one thing: Bill has left HP, and now I inherited his works. That's why I sent an update of his patch https://lkml.org/lkml/2014/10/21/134 On 10/22/2014 10:47 AM, Eric W. Biederman wrote: Bjorn Helgaas writes:

Re: [PATCH] staging: android: binder: move to the "real" part of the kernel

2014-10-21 Thread Joe Perches
On Tue, 2014-10-21 at 20:10 -0700, Rom Lemarchand wrote: > On the topic of maintainers for binder: both Arve Hjønnevåg > (a...@android.com) and Riley Andrews (riandr...@android.com) have > volunteered to be co-maintainers with Greg. > > We would also like to make kernel-t...@android.com the mainta

Re: [PATCH v2] x86, e820: panic on sanitizing invalid memory map

2014-10-21 Thread Martin Kelly
On 10/21/2014 12:44 PM, Thomas Gleixner wrote: > On Tue, 21 Oct 2014, Martin Kelly wrote: >> On 10/21/2014 01:56 AM, Thomas Gleixner wrote: >> Thomas, do you see any issues with a revision that separates out the >> return values (0 for a map with 1 entry, -1 for a map with invalid >> entries) and a

Re: [PATCH] staging: android: binder: move to the "real" part of the kernel

2014-10-21 Thread Rom Lemarchand
On the topic of maintainers for binder: both Arve Hjønnevåg (a...@android.com) and Riley Andrews (riandr...@android.com) have volunteered to be co-maintainers with Greg. We would also like to make kernel-t...@android.com the maintainer of the whole android directory. -- To unsubscribe from this li

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-21 Thread Li, ZhenHua
On 10/22/2014 10:47 AM, Bjorn Helgaas wrote: [+cc Joerg, Eric, Tom, David, iommu list] On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh wrote: (2014/10/14 18:34), Li, ZhenHua wrote: I tested on the latest stable version 3.17, it works well. On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: On a HP sy

[PATCH v3] ASoC: rockchip-i2s: add MAX98090 support to Kconfig

2014-10-21 Thread Jianqun
Add SND_SOC_MAX98090 to Kconfig of rockchip ASoC, to support rockchip board using a max98090 codec. Tested on rockchip board based on rk3288. Signed-off-by: Jianqun --- changes since v1: --make the max98090 driver directly selectable, suggested by Lars changes since v2: --modify tristate infoma

Re: [PATCH v3 4/4] ARM: dts: exynos4412-trats: Add suspend configuration for max77686 regulators

2014-10-21 Thread Chanwoo Choi
Hi Krzysztof, On 10/21/2014 10:19 PM, Krzysztof Kozlowski wrote: > Add suspend to RAM configuration for max77686 regulators. Some LDOs and > bucks are disabled. This reduces energy consumption during S2R, > approximately from 17 mA to 9 mA. > > Additionally remove old and not supported bindings:

Re: A desktop environment[1] kernel wishlist

2014-10-21 Thread Minchan Kim
Hello, About zram, pre-3.10 is really old. At that time, there were some trouble in zram but I belive most of known bugs should fix since 3.14 merged from staging and enhanced much so I suggest you try it with recent zram. If you find a problem, let me know it. Thanks. On Tue, Oct 21, 2014 at 01

[PATCH] mmc:core: fix hs400 timing selection

2014-10-21 Thread Chanho Min
According to JEDEC v5.01 spec (6.6.5), In order to switch to HS400 mode, host should perform the following steps. 1. HS200 mode selection completed 2. Set HS_TIMING to 0x01(High Speed) 3. Host changes frequency to =< 52MHz 4. Set the bus width to DDR 8bit (CMD6) 5. Host may read Driver Streng

Re: [PATCH 0/8] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-21 Thread Eric W. Biederman
Bjorn Helgaas writes: > [-cc Bill, +cc Zhen-Hua, Eric, Tom, Jerry] > > Hi Joerg, > > I was looking at Zhen-Hua's recent patches, trying to figure out if I > need to do anything with them. Resetting devices in the old kernel > seems like a non-starter. Resetting devices in the new kernel, ..., >

Re: [PATCH 1/1] pci: fix dmar fault for kdump kernel

2014-10-21 Thread Bjorn Helgaas
[+cc Joerg, Eric, Tom, David, iommu list] On Wed, Oct 15, 2014 at 2:14 AM, Takao Indoh wrote: > (2014/10/14 18:34), Li, ZhenHua wrote: >> I tested on the latest stable version 3.17, it works well. >> >> On 10/10/2014 03:13 PM, Li, Zhen-Hua wrote: >>> On a HP system with Intel vt-d supported and m

Re: [PATCH] kprobes: add kprobe_is_function_probed()

2014-10-21 Thread Josh Poimboeuf
On Tue, Oct 21, 2014 at 11:25:56PM +0200, Jiri Kosina wrote: > On Tue, 21 Oct 2014, Josh Poimboeuf wrote: > > > > This is a rather difficult call actually. I am of course aware of the > > > fact > > > that kernel fucntions can't be uniquely identified by name, but when > > > thinking about this

Re: [PATCH v3 1/5] perf/sdt: ELF support for SDT

2014-10-21 Thread Namhyung Kim
Hi Hemant, On Fri, 10 Oct 2014 16:27:53 +0530, Hemant Kumar wrote: > This patch serves the initial support to identify and list SDT events in > binaries. > When programs containing SDT markers are compiled, gcc with the help of > assembler > directives identifies them and places them in the sect

Re: [PATCH] kprobes: add kprobe_is_function_probed()

2014-10-21 Thread Masami Hiramatsu
(2014/10/22 0:48), Jiri Kosina wrote: > Add a function that allows external users (such as live patching > mechanisms) to check whether a given function (identified by symbol name) > has a kprobe installed in it. Actually, we've already exported the list of kprobes with probe points (symbols) vi

Re: [PATCH] netlink: don't copy over empty attribute data

2014-10-21 Thread Sasha Levin
On 10/21/2014 09:39 PM, David Miller wrote: > From: Sasha Levin > Date: Tue, 21 Oct 2014 16:51:09 -0400 > >> > netlink uses empty data to seperate different levels. However, we still >> > try to copy that data from a NULL ptr using memcpy, which is an undefined >> > behaviour. >> > >> > Signed-o

Re: [PATCH 0/8] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-21 Thread Bjorn Helgaas
[-cc Bill, +cc Zhen-Hua, Eric, Tom, Jerry] Hi Joerg, I was looking at Zhen-Hua's recent patches, trying to figure out if I need to do anything with them. Resetting devices in the old kernel seems like a non-starter. Resetting devices in the new kernel, ..., well, maybe. It seems ugly, and it s

[PATCH v6 1/6] ARM: cygnus: Initial support for Broadcom Cygnus SoC

2014-10-21 Thread Scott Branden
From: Jonathan Richardson Adds initial support for the Cygnus SoC based on Broadcom’s iProc series. Move ARCH_BCM_5301x under the ARCH_BCM_IPROC architecture. Reviewed-by: Ray Jui Reviewed-by: Desmond Liu Reviewed-by: JD (Jiandong) Zheng Tested-by: Jonathan Richardson Signed-off-by: Scott Br

[PATCH v6 3/6] ARM: cygnus defconfig : Initial defconfig for Broadcom Cygnus SoC

2014-10-21 Thread Scott Branden
From: Jonathan Richardson This defconfig is utilized so a customer or developer can understand what kernel drivers are utilized by the Cygnus SoC. It also enables debug configs which should be disabled if optimal performance is desired. Tested-by: Jonathan Richardson Reviewed-by: JD (Jiandong)

[PATCH v6 6/6] ARM: mach-bcm: Consolidate currently supported IPROC SoCs

2014-10-21 Thread Scott Branden
Move ARCH_BCM_5301X subarch under ARCH_IPROC architecture. Additional IPROC chipsets that share a lot of commonality should be added under ARCH_IPROC as well. Signed-off-by: Scott Branden --- arch/arm/mach-bcm/Kconfig | 37 - 1 file changed, 16 insertions(+)

[PATCH v6 4/6] ARM: dts: Enable Broadcom Cygnus SoC

2014-10-21 Thread Scott Branden
DT files to enable cygnus consisting on reference designs and cygnus core configuration. Reviewed-by: Ray Jui Reviewed-by: Arun Parameswaran Tested-by: Jonathan Richardson Reviewed-by: JD (Jiandong) Zheng Signed-off-by: Scott Branden --- arch/arm/boot/dts/Makefile |4 ++ arc

[PATCH v6 0/6] Add initial support for Broadcom Cygnus SoC

2014-10-21 Thread Scott Branden
This patchset contains initial support for Broadcom's Cygnus SoC based on our iProc architecture. Initial support is minimal and includes just the mach platform code, clock driver, and a basic device tree configuration. Peripheral drivers will be submitted soon, as will device tree configurations f

[PATCH v6 5/6] MAINTAINERS: Entry for Cygnus/iproc arm architecture

2014-10-21 Thread Scott Branden
Acked-by: Jonathan Richardson Signed-off-by: Scott Branden --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b0f17d5..dfe255f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2125,6 +2125,20 @@ L: linux-s...@vger.kernel.org

[PATCH v6 2/6] dt-bindings: Document Broadcom Cygnus SoC and clocks

2014-10-21 Thread Scott Branden
From: Jonathan Richardson Reviewed-by: Arun Parameswaran Tested-by: Jonathan Richardson Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Ray Jui Signed-off-by: Scott Branden --- .../devicetree/bindings/arm/bcm/cygnus.txt | 31 ++ .../devicetree/bindings/clock/bcm-cygn

Re: [3.18rc1] btrfs triggering vm bug_on

2014-10-21 Thread Robert White
It _looks_ like a hard out-of-ram event and not necessarily a filesystem implementation problem. One of the systems I work with has zero swap but still allows overcommit in the VM. It would do things like this all the time back in development (and I suspect it still does but the developers got

Re: [3.18rc1] btrfs triggering vm bug_on

2014-10-21 Thread Robert White
Pre-Script :: this is not an 3.18 problem. I traced it out in 3.16. On 10/21/2014 06:55 PM, Robert White wrote: It _looks_ like a hard out-of-ram event and not necessarily a filesystem implementation problem. One of the systems I work with has zero swap but still allows overcommit in the VM. It

Re: [patch 4/4] mm: memcontrol: remove unnecessary PCG_USED pc->mem_cgroup valid flag

2014-10-21 Thread Kamezawa Hiroyuki
(2014/10/21 0:22), Johannes Weiner wrote: > pc->mem_cgroup had to be left intact after uncharge for the final LRU > removal, and !PCG_USED indicated whether the page was uncharged. But > since 0a31bc97c80c ("mm: memcontrol: rewrite uncharge API") pages are > uncharged after the final LRU removal.

Re: [patch 3/4] mm: memcontrol: remove unnecessary PCG_MEM memory charge flag

2014-10-21 Thread Kamezawa Hiroyuki
(2014/10/21 0:22), Johannes Weiner wrote: > PCG_MEM is a remnant from an earlier version of 0a31bc97c80c ("mm: > memcontrol: rewrite uncharge API"), used to tell whether migration > cleared a charge while leaving pc->mem_cgroup valid and PCG_USED set. > But in the final version, mem_cgroup_migrate(

Re: Fwd: [PATCH] x86, MCE, AMD: save IA32_MCi_STATUS before machine_check_poll() resets it

2014-10-21 Thread Chen Yucong
On Tue, 2014-10-21 at 22:28 +0200, Borislav Petkov wrote: > On Thu, Oct 09, 2014 at 02:01:06PM -0500, Aravind Gopalakrishnan wrote: > > I actually agree with this approach. So no argument:) > > Ok, thanks, here's a patch. > > Btw, I'm pushing the whole queue to a ras-for-3.19 branch at > https://

Re: [patch 2/4] mm: memcontrol: remove unnecessary PCG_MEMSW memory+swap charge flag

2014-10-21 Thread Kamezawa Hiroyuki
(2014/10/21 0:22), Johannes Weiner wrote: > Now that mem_cgroup_swapout() fully uncharges the page, every page > that is still in use when reaching mem_cgroup_uncharge() is known to > carry both the memory and the memory+swap charge. Simplify the > uncharge path and remove the PCG_MEMSW page flag

Re: [PATCHSET 0/5] perf tools: Speed up dwarf callchain post-unwinding for libunwind (v4)

2014-10-21 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 22, 2014 at 10:34:27AM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > On Wed, 15 Oct 2014 17:06:30 -0300, Arnaldo Carvalho de Melo wrote: > > Next time please run: (I'm fixing this up this time) > > > > [acme@zoo linux]$ time make -C tools/perf build-test > ... > > In file included fr

Re: [PATCH net] bpf: fix bug in eBPF verifier

2014-10-21 Thread David Miller
From: Alexei Starovoitov Date: Mon, 20 Oct 2014 14:54:57 -0700 > while comparing for verifier state equivalency the comparison > was missing a check for uninitialized register. > Make sure it does so and add a testcase. > > Fixes: f1bca824dabb ("bpf: add search pruning optimization to verifier")

Re: [PATCH] drivers: net: xgene: Add missing initialization in xgene_enet_ecc_init()

2014-10-21 Thread David Miller
From: Geert Uytterhoeven Date: Mon, 20 Oct 2014 10:08:16 +0200 > drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c: In function > ‘xgene_enet_ecc_init’: > drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:126: warning: ‘data’ may be > used uninitialized in this function > > Depending on the ar

Re: [PATCH] netlink: don't copy over empty attribute data

2014-10-21 Thread David Miller
From: Sasha Levin Date: Tue, 21 Oct 2014 16:51:09 -0400 > netlink uses empty data to seperate different levels. However, we still > try to copy that data from a NULL ptr using memcpy, which is an undefined > behaviour. > > Signed-off-by: Sasha Levin This isn't a POSIX C library, this it the Li

Re: [PATCH] netlink: Re-add locking to netlink_lookup() and seq walker

2014-10-21 Thread David Miller
From: Thomas Graf Date: Tue, 21 Oct 2014 22:05:38 +0200 > The synchronize_rcu() in netlink_release() introduces unacceptable > latency. Reintroduce minimal lookup so we can drop the > synchronize_rcu() until socket destruction has been RCUfied. > > Cc: David S. Miller > Cc: Eric Dumazet > Repo

Re: [PATCHv2 0/7] perf tools: Fix branch report segfaults

2014-10-21 Thread Namhyung Kim
Hi Jiri, On Thu, 16 Oct 2014 16:07:00 +0200, Jiri Olsa wrote: > hi, > adding some branch_info checks to prevent segfaults > on data without branch info. > > v2: using cmp_null as suggested by Namhyung For the series, Acked-by: Namhyung Kim Thanks, Namhyung > > available at: > git://git.ker

Re: [PATCHSET 0/5] perf tools: Speed up dwarf callchain post-unwinding for libunwind (v4)

2014-10-21 Thread Namhyung Kim
Hi Arnaldo, On Wed, 15 Oct 2014 17:06:30 -0300, Arnaldo Carvalho de Melo wrote: > Next time please run: (I'm fixing this up this time) > > [acme@zoo linux]$ time make -C tools/perf build-test ... > In file included from util/machine.c:14:0: > util/unwind.h: In function ‘unwind__prepare_access’: >

RE: [PATCH] drivers: base: update cpu offline info when do hotplug

2014-10-21 Thread Neil Zhang
Dan, > -Original Message- > From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan > Streetman > Sent: 2014年10月21日 21:03 > To: Neil Zhang > Cc: linux-kernel; Greg Kroah-Hartman > Subject: Re: [PATCH] drivers: base: update cpu offline info when do hotplug > > On Sun, Oct 19,

Re: [PATCH v3 3/3] zram: implement rw_page operation of zram

2014-10-21 Thread karam.lee
On Tue, Oct 21, 2014 at 03:57:29PM +0200, Jerome Marchand wrote: > On 10/21/2014 09:27 AM, karam@lge.com wrote: > > From: "karam.lee" > > > > This patch implements rw_page operation for zram block device. > > > > I implemented the feature in zram and tested it. > > Test bed was the G2, LG el

Re: [PATCH] kernel/sysctl: Resolve missing-field-initializers warnings

2014-10-21 Thread Rustad, Mark D
On Oct 21, 2014, at 12:07 PM, Andrew Morton wrote: > On Sat, 18 Oct 2014 17:39:10 -0700 ebied...@xmission.com (Eric W. Biederman) > wrote: > >> Jeff Kirsher writes: >> >>> From: Mark Rustad >>> >>> Resolve missing-field-initializers warnings in W=2 builds by >>> using designated initializat

Re: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-21 Thread Bo Shen
Hi Peter, On 10/21/2014 09:05 PM, Peter Rosin wrote: I did some further tests, and the following program fails without the patch: With the patch, it is OK? #include #include #include #include int main(void) { int fd; int format; int channels; if ((fd = o

Re: [PATCH 2/8] perf, tools: Add --branch-history option to report

2014-10-21 Thread Namhyung Kim
On Fri, 26 Sep 2014 16:37:10 -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a --branch-history option to perf report that changes all > the settings necessary for using the branches in callstacks. > > This is just a short cut to make this nicer to use, it does > not enable any functionality b

Re: [RFC][PATCH] audit: log join and part events to the read-only multicast log socket

2014-10-21 Thread Richard Guy Briggs
On 14/10/21, Paul Moore wrote: > On Tuesday, October 21, 2014 03:56:10 PM Steve Grubb wrote: > > audit_log_task_info logs too much information for typical use. There are > > times when you might want to know everything about what's connecting. But > > in this case, we don't need anything about grou

Re: [RFC][PATCH] audit: log join and part events to the read-only multicast log socket

2014-10-21 Thread Richard Guy Briggs
On 14/10/21, Eric Paris wrote: > On Tue, 2014-10-21 at 17:08 -0400, Richard Guy Briggs wrote: > > On 14/10/21, Steve Grubb wrote: > > > On Tuesday, October 07, 2014 03:03:14 PM Eric Paris wrote: > > > > On Tue, 2014-10-07 at 14:23 -0400, Richard Guy Briggs wrote: > > > > > Log the event when a clie

[PATCH] bq27x00_battery: Call power_supply_changed only when capacity changed

2014-10-21 Thread Puthikorn Voravootivat
In current driver, power_supply_changed() is called whenever any of the battery attribute changed. This causes kernel to increases the '/sys/power/wakeup_count' and make suspend not working correctly. This patch change this behavior to call power_supply_changed() only when the battery capacity cha

[git pull] drm fixes

2014-10-21 Thread Dave Airlie
Hi Linus, intel, nouveau, radeon and qxl, mostly for bugs introduced in the merge window, nothing too shocking. Dave. The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014-10-19 18:08:38 -0700) are available in the git repository at: git://peo

Re: [patch] MAP_HUGETLB munmap fails with size not 2MB aligned

2014-10-21 Thread Davide Libenzi
On Tue, 21 Oct 2014, Davide Libenzi wrote: > Calling mmap with MAP_HUGETLB and a size which is not 2MB aligned, causes > mmap to fail. Tested on 3.13.x but tracking back to 3.2.x. A couple of "un" were found under my desk, as it's clearly munmap which is failing. - Davide -- To unsubscribe

Re: [PATCH 1/8] perf, tools: Support handling complete branch stacks as histograms

2014-10-21 Thread Namhyung Kim
Hi Andi, On Fri, 26 Sep 2014 16:37:09 -0700, Andi Kleen wrote: > From: Andi Kleen > > Currently branch stacks can be only shown as edge histograms for > individual branches. I never found this display particularly useful. > > This implements an alternative mode that creates histograms over comple

Re: [PATCHv1 7/8] cgroup: cgroup namespace setns support

2014-10-21 Thread Andy Lutomirski
On Tue, Oct 21, 2014 at 5:46 PM, Aditya Kali wrote: > On Tue, Oct 21, 2014 at 3:42 PM, Andy Lutomirski wrote: >> On Tue, Oct 21, 2014 at 3:33 PM, Aditya Kali wrote: >>> On Tue, Oct 21, 2014 at 12:02 PM, Andy Lutomirski >>> wrote: On Tue, Oct 21, 2014 at 11:49 AM, Aditya Kali wrote:

  1   2   3   4   5   6   7   8   9   >