Re: [RFC PATCH v1 1/2] perf/sdt : Listing of SDT markers by perf

2014-02-25 Thread Namhyung Kim
Hi Hemant, On Tue, 25 Feb 2014 14:33:37 +0530, Hemant Kumar wrote: > On 02/25/2014 12:26 PM, Namhyung Kim wrote: >>> + /* Translation from file representation to memory representation */ >>> + if (gelf_xlatetom(*elf, , , >>> + elf_getident(*elf, NULL)[EI_DATA]) == NULL) >>

[PATCH] tools/vm/page-types.c: page-cache sniffing feature

2014-02-25 Thread Konstantin Khlebnikov
After this patch 'page-types' can walk on filesystem mappings and analize populated page cache pages mostly without disturbing its state. It maps chunk of file, marks VMA as MADV_RANDOM to turn off readahead, pokes VMA via mincore() to determine cached pages, triggers page-fault only for them,

Re: [PATCH v2] mm: per-thread vma caching

2014-02-25 Thread Michel Lespinasse
On Tue, Feb 25, 2014 at 8:04 PM, Davidlohr Bueso wrote: > On Tue, 2014-02-25 at 18:04 -0800, Michel Lespinasse wrote: >> On Tue, Feb 25, 2014 at 10:16 AM, Davidlohr Bueso wrote: >> > This patch is a continuation of efforts trying to optimize find_vma(), >> > avoiding potentially expensive rbtree

linux-next: manual merge of the akpm-current tree with the cgroup tree

2014-02-25 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in mm/memcontrol.c between commits e61734c55c24 ("cgroup: remove cgroup->name") from the cgroup tree and commits a89db06ab1b4 ("memcg: change oom_info_lock to mutex") and c78e84121972 ("memcg, slab: cleanup memcg cache

Re: [PATCHv1 0/2] Convert rx51-battery to IIO API and add DT support

2014-02-25 Thread Pali Rohár
Hi! 2014-02-26 1:46 GMT+01:00 Sebastian Reichel : > Hi, > > This is PATCHv1 for converting rx51-battery to the IIO API > and adding DT support. The patchset compiles and has been > tested on my Nokia N900. It depends on another patchset > converting twl4030-madc to the IIO API: > >

Re: [PATCH 0/7] DMA: Freescale: driver cleanups and enhancements

2014-02-25 Thread Hongbo Zhang
Hi Vinod, How about these patches? Thanks. On 01/16/2014 01:47 PM, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang Hi Vinod Koul and Dan Williams, Please have a look at these patches. Note that patch 2~6 had beed sent out for upstream before, but were together with other storage

linux-next: manual merge of the akpm-current tree with the ext3 tree

2014-02-25 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in fs/notify/fanotify/fanotify_user.c between commit ff57cd5863cf ("fsnotify: Allocate overflow events with proper type") from the ext3 tree and commit c40e3490382b ("fanotify: convert access_mutex to spinlock") from the

Re: [PATCH 2/8] security: apparmor: Use a more current logging style

2014-02-25 Thread John Johansen
On 02/24/2014 01:59 PM, Joe Perches wrote: > Convert printks to pr_. > Add pr_fmt. > Coalesce formats. > Remove embedded prefixes from logging. > you missed one place, --- a/security/apparmor/include/apparmor.h +++ b/security/apparmor/include/apparmor.h @@ -50,7 +50,7 @@ extern unsigned int

Re: linux-next: manual merge of the clk tree with the keystone tree

2014-02-25 Thread Mike Turquette
On Tue, Feb 25, 2014 at 11:15 PM, Stephen Rothwell wrote: > Hi Mike, > > Today's linux-next merge of the clk tree got a conflict in > arch/arm/boot/dts/keystone-clocks.dtsi between commit 0cfc9ccec2a8 ("ARM: > dts: keystone: preparatory patch to support K2L and K2E SOCs") from the > keystone

Re: Quality plastic raw materials

2014-02-25 Thread Iris
Dear Sir, Glad to hear that you're on the market for HDPE/LDPE/LLDPE/PET. We specialize in this field for several years, with the Blow moulding ,injection moulding ,film industry, with good quality and pretty competitive price. Should you have any questions, pls do not hesitate to contact me.

Re: mm: NULL ptr deref in balance_dirty_pages_ratelimited

2014-02-25 Thread Bob Liu
odules linked in: > [ 232.870230] CPU: 36 PID: 9707 Comm: trinity-c36 Tainted: GW > 3.14.0-rc4-next-20140225-sasha-00010-ga117461 #42 > [ 232.870230] task: 880586dfb000 ti: 880586e34000 task.ti: > 880586e34000 > [ 232.870230] RIP: 0010:[] > [] balance_d

linux-next: manual merge of the clk tree with the keystone tree

2014-02-25 Thread Stephen Rothwell
Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/boot/dts/keystone-clocks.dtsi between commit 0cfc9ccec2a8 ("ARM: dts: keystone: preparatory patch to support K2L and K2E SOCs") from the keystone tree and commit 565bbdcd3b91 ("ARM: keystone: dts: fix clkvcp3 control

Re: [PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-02-25 Thread Jason Wang
On 02/26/2014 02:32 PM, Qin Chuanyu wrote: On 2014/2/26 13:53, Jason Wang wrote: On 02/25/2014 09:57 PM, Michael S. Tsirkin wrote: On Tue, Feb 25, 2014 at 02:53:58PM +0800, Jason Wang wrote: We used to stop the handling of tx when the number of pending DMAs exceeds VHOST_MAX_PEND. This is

[PATCH] drivercore: deferral race condition fix

2014-02-25 Thread Peter Ujfalusi
When the kernel is built with CONFIG_PREEMPT it is possible to reach a state when all modules are loaded but some driver still stuck in the deferred list and there is a need for external event to kick the deferred queue to probe these drivers. The issue has been observed on embedded systems with

Re: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support

2014-02-25 Thread Stephane Eranian
On Wed, Feb 26, 2014 at 3:39 AM, Andy Lutomirski wrote: > On 02/17/2014 10:07 PM, Yan, Zheng wrote: >> >> This patch series adds LBR call stack support. User can enabled/disable >> this through an sysfs attribute file in the CPU PMU directory: >> echo 1 >

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-25 Thread Stephane Eranian
Hi, On Tue, Feb 25, 2014 at 11:10 PM, Borislav Petkov wrote: > On Tue, Feb 25, 2014 at 07:54:53PM +0100, Stephane Eranian wrote: > >> I am on tip.git at cfbf8d4 Linux 3.14-rc4. >> and I don't see the problem (using Ubuntu Saucy). > > Also IVB, model 58? > Yes. >> Given what you commented out,

Re: [PATCH] Staging: comedi: addi-data: clean-up variable use in hwdrv_apci035.c

2014-02-25 Thread Chase Southwood
>On Tuesday, February 25, 2014 3:56 AM, Ian Abbott wrote: >>On 2014-02-25 08:15, Chase Southwood wrote: >> The static variable ui_Command is as of right now being cleared to a >> value of zero between everytime that it writes to a port and then takes a >> new value from a port.  Seems like this

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

2014-02-25 Thread Stephen Rothwell
Hi Greg, On Fri, 21 Feb 2014 16:47:11 +1100 Stephen Rothwell wrote: > > After merging the char-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from drivers/misc/mei/hw-txe.c:25:0: > drivers/misc/mei/hw-txe.h:63:1: error: unknown type name

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

2014-02-25 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: kernel/cgroup.c: In function 'cgroup_mount': kernel/cgroup.c:1572:2: error: too few arguments to function 'kernfs_mount' dentry = kernfs_mount(fs_type, flags, root->kf_root); ^

Re: [PATCH v5 0/10] fs: Introduce new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2014-02-25 Thread Dave Chinner
On Tue, Feb 25, 2014 at 08:45:15PM -0800, Hugh Dickins wrote: > On Wed, 26 Feb 2014, Dave Chinner wrote: > > On Tue, Feb 25, 2014 at 03:23:35PM -0800, Hugh Dickins wrote: > > > Of course I'm interested in the possibility of extending it to tmpfs; > > > which may not be a worthwhile exercise in

Re: [PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-02-25 Thread Qin Chuanyu
On 2014/2/26 13:53, Jason Wang wrote: On 02/25/2014 09:57 PM, Michael S. Tsirkin wrote: On Tue, Feb 25, 2014 at 02:53:58PM +0800, Jason Wang wrote: We used to stop the handling of tx when the number of pending DMAs exceeds VHOST_MAX_PEND. This is used to reduce the memory occupation of both

Re: [PATCH] kallsyms: fix absolute addresses for kASLR

2014-02-25 Thread Kees Cook
On Mon, Feb 24, 2014 at 5:29 PM, Rusty Russell wrote: > Kees Cook writes: >> From: Andy Honig >> >> Currently symbols that are absolute addresses are incorrectly >> displayed in /proc/kallsyms if the kernel is loaded with kASLR. >> >> The problem was that the scripts/kallsyms.c file which

Re: [PATCH 3/3] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-25 Thread Viresh Kumar
On 26 February 2014 09:08, Saravana Kannan wrote: > The existing code sets the per CPU policy to a non-NULL value before all > the steps performed during the hotplug online path is done. Specifically, > this is done before the policy min/max, governors, etc are initialized for > the policy. This

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-25 Thread Viresh Kumar
On 26 February 2014 07:18, Saravana Kannan wrote: > On 02/25/2014 02:41 PM, Rafael J. Wysocki wrote: >> And is "fully initialized" actually well defined? > > The point in add dev/hot plug path after which we will no longer change > policy fields without sending further CPUFREQ_UPDATE_POLICY_CPU

Re: x86_pmu_start WARN_ON.

2014-02-25 Thread Vince Weaver
On Mon, 24 Feb 2014, Peter Zijlstra wrote: > On Fri, Feb 21, 2014 at 03:18:38PM -0500, Vince Weaver wrote: > > I've applied the patch and have been unable to trigger the warning with > > either my testcase or a few hours of fuzzing. > > Yay. > > > My only comment on the patch is it could

Re: [PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-02-25 Thread Jason Wang
On 02/25/2014 09:57 PM, Michael S. Tsirkin wrote: On Tue, Feb 25, 2014 at 02:53:58PM +0800, Jason Wang wrote: We used to stop the handling of tx when the number of pending DMAs exceeds VHOST_MAX_PEND. This is used to reduce the memory occupation of both host and guest. But it was too aggressive

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-25 Thread Rob Herring
On Wed, Feb 12, 2014 at 2:56 PM, Mark Salter wrote: > This patch uses the generic early_ioremap code to implement > early_ioremap for ARM. The ARM-specific bits come mostly from > an earlier patch from Leif Lindholm > here: This doesn't actually work for me. The PTE flags are not correct and

Re: [RFC PATCH] Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE

2014-02-25 Thread Rusty Russell
Steven Rostedt writes: > On Mon, 24 Feb 2014 16:55:36 + (UTC) > Mathieu Desnoyers wrote: > >> - Original Message - >> > From: "Steven Rostedt" >> > To: "Mathieu Desnoyers" >> > Cc: "Ingo Molnar" , linux-kernel@vger.kernel.org, "Ingo >> > Molnar" , "Thomas >> > Gleixner" , "Rusty

Re: [RFC PATCH] Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULE

2014-02-25 Thread Rusty Russell
Johannes Berg writes: > Going on a tangent here - our use case is using backported upstream > kernel modules (https://backports.wiki.kernel.org/) for delivering a > driver to people who decided that they absolutely need to run with some > random kernel (e.g. 3.10) but we don't yet support all the

Re: [PATCH v5 1/10] fs: Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2014-02-25 Thread Hugh Dickins
On Wed, 26 Feb 2014, Dave Chinner wrote: > On Tue, Feb 25, 2014 at 03:41:20PM -0800, Hugh Dickins wrote: > > On Mon, 24 Feb 2014, Dave Chinner wrote: > > > On Sat, Feb 22, 2014 at 09:06:25AM -0500, Theodore Ts'o wrote: > > > > On Wed, Feb 19, 2014 at 01:37:43AM +0900, Namjae Jeon wrote: > > > > >

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-25 Thread Paul E. McKenney
On Tue, Feb 25, 2014 at 08:32:38PM -0700, Jeff Law wrote: > On 02/25/14 17:15, Paul E. McKenney wrote: > >>I have for the last several years been 100% convinced that the Intel > >>memory ordering is the right thing, and that people who like weak > >>memory ordering are wrong and should try to

[PATCH v2] zram: support REQ_DISCARD

2014-02-25 Thread Joonsoo Kim
zram is ram based block device and can be used by backend of filesystem. When filesystem deletes a file, it normally doesn't do anything on data block of that file. It just marks on metadata of that file. This behavior has no problem on disk based block device, but has problems on ram based block

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-25 Thread Paul E. McKenney
On Tue, Feb 25, 2014 at 10:06:53PM -0500, George Spelvin wrote: > wrote: > > wrote: > >> I have for the last several years been 100% convinced that the Intel > >> memory ordering is the right thing, and that people who like weak > >> memory ordering are wrong and should try to avoid reproducing

Re: [PATCH] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-25 Thread Viresh Kumar
On 26 February 2014 02:41, Saravana Kannan wrote: > On 02/25/2014 05:04 AM, Rafael J. Wysocki wrote: >> On Tuesday, February 25, 2014 02:20:57 PM Viresh Kumar wrote: > I think there's been a misunderstanding of what I'm proposing. The reference > to policy->clk is only to get rid of the

Re: [PATCH 1/2] cpufreq: Return error if ->get() failed in cpufreq_update_policy()

2014-02-25 Thread Viresh Kumar
On 26 February 2014 03:59, Rafael J. Wysocki wrote: > Yes, what exactly do we need it for in the core? Its probably there to make things faster. We cache the value so that we don't go to the hardware to read/calculate that again. Isn't it? And we need to know current freq on many occasions. One

[PATCH 07/10] ASoC: blackfin: bf5xx-ad1836: Use snd_soc_dai_set_tdm_slot_xlate()

2014-02-25 Thread Xiubo Li
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot. This will use the default snd_soc_of_xlate_tdm_slot_mask to generate the TDM slot TX/RX mask using the slot parameter. Signed-off-by: Xiubo Li --- sound/soc/blackfin/bf5xx-ad1836.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-25 Thread Paul E. McKenney
On Tue, Feb 25, 2014 at 05:47:03PM -0800, Linus Torvalds wrote: > On Mon, Feb 24, 2014 at 10:00 PM, Paul E. McKenney > wrote: > > > > So let me see if I understand your reasoning. My best guess is that it > > goes something like this: > > > > 1. The Linux kernel contains code that passes

Re: [PATCH] ARM: tegra: add device tree for SHIELD

2014-02-25 Thread Alexandre Courbot
On 02/26/2014 02:02 PM, Stephen Warren wrote: On 02/25/2014 09:58 PM, Alexandre Courbot wrote: On 02/26/2014 07:38 AM, Stephen Warren wrote: On 02/24/2014 07:13 PM, Alexandre Courbot wrote: On 02/25/2014 03:53 AM, Stephen Warren wrote: On 02/24/2014 03:26 AM, Alexandre Courbot wrote: Add a

[PATCH 09/10] ASoC: fsl: eukrea-tlv320: Use snd_soc_dai_set_tdm_slot_xlate()

2014-02-25 Thread Xiubo Li
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot. This will use the default snd_soc_of_xlate_tdm_slot_mask to generate the TDM slot TX/RX mask using the slot parameter. Signed-off-by: Xiubo Li --- sound/soc/fsl/eukrea-tlv320.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: Re: [PATCH] PM / devfreq: Fix out of bounds access of transition table array

2014-02-25 Thread 함명주
> On 02/23/2014 11:15 PM, Saravana Kannan wrote: > > The previous_freq value for a device could be an invalid frequency that > > results in a error value being returned from devfreq_get_freq_level(). > > Check for an error value before using that to index into the transition > > table. > > > > Not

Re: [PATCH] tty: Fix low_latency BUG

2014-02-25 Thread Feng Tang
Hi Peter, 2014-02-22 20:31 GMT+08:00 Peter Hurley : > The user-settable knob, low_latency, has been the source of > several BUG reports which stem from flush_to_ldisc() running > in interrupt context. Since 3.12, which added several sleeping > locks (termios_rwsem and buf->lock) to the input

Re: [PATCH 2/3] cpufreq: stats: Fix error handling in __cpufreq_stats_create_table()

2014-02-25 Thread Viresh Kumar
On 26 February 2014 09:08, Saravana Kannan wrote: > Remove sysfs group if __cpufreq_stats_create_table() fails after creating > one. > > Change-Id: Icb0b44424cc4eb6c88be255e2839ef51c3f8779c > Signed-off-by: Saravana Kannan > --- > drivers/cpufreq/cpufreq_stats.c | 4 +++- > 1 file changed, 3

[PATCH 10/10] ASoC: fsl: wm1133-ev1: Use snd_soc_dai_set_tdm_slot_xlate()

2014-02-25 Thread Xiubo Li
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot. This will use the default snd_soc_of_xlate_tdm_slot_mask to generate the TDM slot TX/RX mask using the slot parameter. Signed-off-by: Xiubo Li --- sound/soc/fsl/wm1133-ev1.c | 11 +-- 1 file changed, 1 insertion(+),

[PATCH 05/10] ASoC: imx-ssi: Add .of_xlate_tdm_slot_mask() support.

2014-02-25 Thread Xiubo Li
This patch add .of_xlate_tdm_slot_mask support for IMX SSI, and this will generate the TDM slot TX and RX masks. Signed-off-by: Xiubo Li --- sound/soc/fsl/Kconfig | 1 + sound/soc/fsl/imx-ssi.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sound/soc/fsl/Kconfig

[PATCH 06/10] ASoC: simple-card: Use snd_soc_dai_set_tdm_slot_xlate()

2014-02-25 Thread Xiubo Li
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot. This will use the DAI driver specified .of_xlate_tdm_slot_mask to generate the TDM slot TX/RX mask, or the default snd_soc_of_xlate_tdm_slot_mask will be used instead if it's absent. Signed-off-by: Xiubo Li ---

[PATCH 04/10] ASoC: fsl-ssi: Add .of_xlate_tdm_slot_mask() support.

2014-02-25 Thread Xiubo Li
This patch add .of_xlate_tdm_slot_mask support for SSI, and this will generate the TDM slot TX and RX masks. Signed-off-by: Xiubo Li --- sound/soc/fsl/Kconfig | 1 + sound/soc/fsl/fsl_ssi.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig

[PATCH 08/10] ASoC: blackfin: bf5xx-ad193x: Use snd_soc_dai_set_tdm_slot_xlate()

2014-02-25 Thread Xiubo Li
Use snd_soc_dai_set_tdm_slot_xlate instead of snd_soc_dai_set_tdm_slot. This will use the default snd_soc_of_xlate_tdm_slot_mask to generate the TDM slot TX/RX mask using the slot parameter. Signed-off-by: Xiubo Li --- sound/soc/blackfin/bf5xx-ad193x.c | 4 ++-- 1 file changed, 2 insertions(+),

[PATCH 1/3] drivers: clk: add samsung common clock config option

2014-02-25 Thread Pankaj Dubey
add samsung common clock config option and let ARCH_EXYNOS or ARCH_S3C select this if they want to use samsung common clock infrastructure. CC: Mike Turquette Signed-off-by: Pankaj Dubey --- drivers/clk/Kconfig | 10 ++ drivers/clk/Makefile |2 +- 2 files changed, 11

[PATCH 03/10] ASoC: fsl-esai: Add .of_xlate_tdm_slot_mask() support.

2014-02-25 Thread Xiubo Li
This patch add .of_xlate_tdm_slot_mask support for ESAI, and this will generate the TDM slot TX and RX masks. Signed-off-by: Xiubo Li --- sound/soc/fsl/Kconfig| 1 + sound/soc/fsl/fsl_esai.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig

[PATCH 02/10] ASoC: fsl-utils: Add fsl_asoc_of_xlate_tdm_slot_mask() support.

2014-02-25 Thread Xiubo Li
This patch add fsl_asoc_of_xlate_tdm_slot_mask() support for utils. For the some spcified DAI driver, this will be used to generate the TDM slot TX/RX mask. And the TX/RX mask will use a 0 bit for an active slot as default, and the default active bits are at the LSB of the masks. Signed-off-by:

[PATCH 01/10] ASoC: core: Add snd_soc_dai_set_tdm_slot_xlate().

2014-02-25 Thread Xiubo Li
For most cases the rx_mask and tx_mask params have no use for snd_soc_dai_set_tdm_slot(), because they could be generated by {XXX_ .}of_xlate_tdm_slot_mask(). This patch add snd_soc_dai_set_tdm_slot_xlate() which will replace the snd_soc_dai_set_tdm_slot() in some use cases to simplify the code.

[PATCH 2/3] ARM: select COMMON_CLK_SAMSUNG for ARCH_EXYNOS and ARCH_S3C64XX

2014-02-25 Thread Pankaj Dubey
CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/Kconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e254198..cc8868d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -756,6 +756,7 @@ config ARCH_S3C64XX select

[PATCH 3/3] ARM: S3C24XX: select COMMON_CLK_SAMSUNG for S3C24XX

2014-02-25 Thread Pankaj Dubey
CC: Ben Dooks CC: Kukjin Kim CC: Russell King Signed-off-by: Pankaj Dubey --- arch/arm/mach-s3c24xx/Kconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index 80373da..5cf82a1 100644 --- a/arch/arm/mach-s3c24xx/Kconfig

[PATCH 0/3] introduce new config option for samsung common clock

2014-02-25 Thread Pankaj Dubey
This patchset introduces a new config option for Samsung common clock infrastructure as COMMON_CLK_SAMSUNG. As current samsung common clock gets compiled based on PLAT_SAMSUNG, but moving ahead with ARM64 we can not have any more such config options, so better we introduce new COMMON_CLK_SAMSUNG

[PATCH 00/10] Simplify the code of TDM slot setting

2014-02-25 Thread Xiubo Li
Xiubo Li (10): ASoC: core: Add snd_soc_dai_set_tdm_slot_xlate(). ASoC: fsl-utils: Add fsl_asoc_of_xlate_tdm_slot_mask() support. ASoC: fsl-esai: Add .of_xlate_tdm_slot_mask() support. ASoC: fsl-ssi: Add .of_xlate_tdm_slot_mask() support. ASoC: imx-ssi: Add .of_xlate_tdm_slot_mask()

Re: [PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-25 Thread Viresh Kumar
On 26 February 2014 09:08, Saravana Kannan wrote: > __cpufreq_stats_create_table always gets pass the valid and real policy > struct. So, there's no need to call cpufreq_cpu_get() to get the policy > again. > > Change-Id: I0136b3e67018ee3af2335906407f55d8c6219f71 ?? > Signed-off-by: Saravana

Re: [PATCH] ARM: tegra: add device tree for SHIELD

2014-02-25 Thread Stephen Warren
On 02/25/2014 09:58 PM, Alexandre Courbot wrote: > On 02/26/2014 07:38 AM, Stephen Warren wrote: >> On 02/24/2014 07:13 PM, Alexandre Courbot wrote: >>> On 02/25/2014 03:53 AM, Stephen Warren wrote: On 02/24/2014 03:26 AM, Alexandre Courbot wrote: > Add a device tree for NVIDIA SHIELD.

Re: [PATCH] ARM: tegra: add device tree for SHIELD

2014-02-25 Thread Alexandre Courbot
On 02/26/2014 07:38 AM, Stephen Warren wrote: On 02/24/2014 07:13 PM, Alexandre Courbot wrote: On 02/25/2014 03:53 AM, Stephen Warren wrote: On 02/24/2014 03:26 AM, Alexandre Courbot wrote: Add a device tree for NVIDIA SHIELD. The set of enabled features is still minimal with no display

Re: [PATCH] clk: samsung: remove parentheses from return statements

2014-02-25 Thread Pankaj Dubey
Hi Sachin, On 02/26/2014 01:12 PM, Sachin Kamat wrote: Hi Pankaj, On 26 February 2014 08:14, Pankaj Dubey wrote: fixed following checkpatch warning message "return is not a function, parentheses are not required" Signed-off-by: Pankaj Dubey Similar patch has already been submitted:

Re: [PATCH V5 2/4] DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP

2014-02-25 Thread Sricharan R
Hi Tony, On Wednesday 05 February 2014 07:41 PM, Sricharan R wrote: > Tony, > > On Wednesday 05 February 2014 06:41 PM, Sricharan R wrote: >> On Tuesday 04 February 2014 09:44 PM, Thomas Gleixner wrote: >>> On Mon, 3 Feb 2014, Sricharan R wrote: > I already have your reviewed-by tag for the

Re: [PATCH] ARM: tegra: add device tree for SHIELD

2014-02-25 Thread Alexandre Courbot
On 02/25/2014 06:52 PM, Arend van Spriel wrote: On 02/25/2014 03:13 AM, Alexandre Courbot wrote: +/* Wifi */ +sdhci@7800 { +status = "okay"; +bus-width = <4>; +broken-cd; +keep-power-in-suspend; +cap-sdio-irq; Is non-removable better than

Re: [PATCH v5 0/10] fs: Introduce new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2014-02-25 Thread Hugh Dickins
On Wed, 26 Feb 2014, Dave Chinner wrote: > On Tue, Feb 25, 2014 at 03:23:35PM -0800, Hugh Dickins wrote: > > On Tue, 25 Feb 2014, Dave Chinner wrote: > > > On Tue, Feb 25, 2014 at 02:16:01PM +1100, Stephen Rothwell wrote: > > > > On Mon, 24 Feb 2014 11:57:10 +1100 Dave Chinner > > > > wrote: > >

Re: [PATCHv7 6/7] zram: add set_max_streams knob

2014-02-25 Thread Minchan Kim
On Tue, Feb 25, 2014 at 02:34:32PM +0300, Sergey Senozhatsky wrote: > This patch allows to change max_comp_streams on initialised zcomp. > > Introduce zcomp set_max_streams() knob, zcomp_strm_multi_set_max_streams() > and zcomp_strm_single_set_max_streams() callbacks to change streams limit > for

Re: [PATCHv7 3/7] zram: factor out single stream compression

2014-02-25 Thread Minchan Kim
Hello Sergey, On Tue, Feb 25, 2014 at 02:34:29PM +0300, Sergey Senozhatsky wrote: > This is preparation patch to add multi stream support to zcomp. > > Introduce struct zcomp_strm_single and a set of functions to manage zcomp_strm > stream access. zcomp_strm_single implements single compession

Re: [PATCHv7 4/7] zram: add multi stream functionality

2014-02-25 Thread Minchan Kim
On Tue, Feb 25, 2014 at 02:34:30PM +0300, Sergey Senozhatsky wrote: > This patch implements multi stream compression support. > > Introduce struct zcomp_strm_multi and a set of functions to manage > zcomp_strm stream access. zcomp_strm_multi has a list of idle zcomp_strm > structs, spinlock to

Re: [PATCHv7 5/7] zram: enable multi stream compression support in zram

2014-02-25 Thread Minchan Kim
On Tue, Feb 25, 2014 at 02:34:31PM +0300, Sergey Senozhatsky wrote: > 1) Introduce zram device attribute max_comp_streams to show and store > current zcomp's max number of zcomp streams (num_strm). > > 2) Extend zcomp zcomp_create() with `num_strm' parameter. `num_strm' > limits the number of

Re: [PATCH] clk: samsung: remove parentheses from return statements

2014-02-25 Thread Sachin Kamat
Hi Pankaj, On 26 February 2014 08:14, Pankaj Dubey wrote: > fixed following checkpatch warning message > "return is not a function, parentheses are not required" > > Signed-off-by: Pankaj Dubey Similar patch has already been submitted:

Re: [PATCH v2] mm: per-thread vma caching

2014-02-25 Thread Davidlohr Bueso
On Tue, 2014-02-25 at 18:04 -0800, Michel Lespinasse wrote: > On Tue, Feb 25, 2014 at 10:16 AM, Davidlohr Bueso wrote: > > This patch is a continuation of efforts trying to optimize find_vma(), > > avoiding potentially expensive rbtree walks to locate a vma upon faults. > > The original approach

linux-next: manual merge of the crypto tree with the arm-soc tree

2014-02-25 Thread Stephen Rothwell
Hi Herbert, Today's linux-next merge of the crypto tree got a conflict in drivers/char/hw_random/Kconfig between commit 2257ffbca73c ("hwrng: msm: switch Kconfig to ARCH_QCOM depends") from the arm-soc tree and commit f9bee046c915 ("hwrng: msm: switch Kconfig to ARCH_QCOM depends") from the

[PATCH v2 3/5] bug: When !CONFIG_BUG, make WARN call no_printk to check format and args

2014-02-25 Thread Josh Triplett
The stub version of WARN for !CONFIG_BUG completely ignored its format string and subsequent arguments; make it check them instead, using no_printk. Reported-by: Arnd Bergmann Signed-off-by: Josh Triplett --- include/asm-generic/bug.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 4/5] bug: Use a common definition of BUG_ON regardless of CONFIG_BUG

2014-02-25 Thread Josh Triplett
include/asm-generic/bug.h defines BUG_ON to call BUG() if CONFIG_BUG=y, or as a no-op if !CONFIG_BUG. However, BUG() is already a no-op if !CONFIG_BUG, making this pointless. Use a common definition that always calls BUG(). This does not change the compiled code at all. Signed-off-by: Josh

[PATCH v2 2/5] include/asm-generic/bug.h: Style fix: s/while(0)/while (0)/

2014-02-25 Thread Josh Triplett
Reported-by: Randy Dunlap Signed-off-by: Josh Triplett --- include/asm-generic/bug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 7ecd398..2d54d8d 100644 --- a/include/asm-generic/bug.h +++

[PATCH v2 5/5] bug: Make BUG() call unreachable()

2014-02-25 Thread Josh Triplett
This effectively causes BUG() to act like a function with the noreturn attribute, which prevents GCC from warning about the code that follows BUG() (for instance, warning about not returning a value in a non-void function after calling BUG()). This actually makes the kernel smaller; bloat-o-meter

Re: [PATCH v2 10/11] powerpc/perf: add kconfig option for hypervisor provided counters

2014-02-25 Thread Michael Ellerman
On Tue, 2014-02-25 at 13:31 -0800, Cody P Schafer wrote: > On 02/24/2014 07:33 PM, Michael Ellerman wrote: > > On Fri, 2014-14-02 at 22:02:14 UTC, Cody P Schafer wrote: > >> Signed-off-by: Cody P Schafer > >> --- > >> arch/powerpc/perf/Makefile | 2 ++ > >>

[PATCH v2 1/5] bug: When !CONFIG_BUG, simplify WARN_ON_ONCE and family

2014-02-25 Thread Josh Triplett
When !CONFIG_BUG, WARN_ON and family become simple passthroughs of their condition argument; however, WARN_ON_ONCE and family still have conditions and a boolean to detect one-time invocation, even though the warning they'd emit doesn't exist. Make the existing definitions conditional on

Re: [PATCH] powerpc: warn users of smt-snooze-delay that the API isn't there anymore

2014-02-25 Thread Michael Ellerman
On Wed, 2014-02-26 at 09:40 +1100, Benjamin Herrenschmidt wrote: > On Tue, 2014-02-25 at 13:29 +0530, Deepthi Dharwar wrote: > > We currently do not use smt-snooze-delay in the kernel. > > The sysfs entries needs to be retained until we do a clean up > > ppc64_cpu > > util that uses these entries

[PATCH 1/3] perf, machine: Use map as success in ip__resolve_ams

2014-02-25 Thread Don Zickus
When trying to map a bunch of instruction addresses to their respective threads, I kept getting a lot of bogus entries [I forget the exact reason as I patched my code months ago]. Looking through ip__resovle_ams, I noticed the check for if (al.sym) and realized, most times I have an al.map

[PATCH 3/3] perf: fix synthesizing mmaps for threads

2014-02-25 Thread Don Zickus
Currently if a process creates a bunch of threads using pthread_create and then perf is run in system_wide mode, the mmaps for those threads are not captured with a synthesized mmap event. The reason is those threads are not visible when walking the /proc/ directory looking for /proc//maps files.

[PATCH 2/3] perf, session: Change header.misc dump from decimal to hex

2014-02-25 Thread Don Zickus
When printing the raw dump of a data file, the header.misc is printed as a decimal. Unfortunately, that field is a bit mask, so it is hard to interpret as a decimal. Print in hex, so the user can easily see what bits are set and more importantly what type of info it is conveying. V2: add 0x in

[PATCH 0/3] perf: misc fixes

2014-02-25 Thread Don Zickus
Just a small collection of fixes noticed while hacking up the c2c tool Don Zickus (3): perf, machine: Use map as success in ip__resolve_ams perf, session: Change header.misc dump from decimal to hex perf: fix synthesizing mmaps for threads tools/perf/util/event.c | 15 +++

Re: [PATCH v5 0/10] fs: Introduce new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2014-02-25 Thread Dave Chinner
On Tue, Feb 25, 2014 at 05:52:16PM -0800, Andrew Morton wrote: > On Wed, 26 Feb 2014 12:34:26 +1100 Dave Chinner wrote: > > > On Tue, Feb 25, 2014 at 03:41:28PM -0800, Andrew Morton wrote: > > > On Tue, 25 Feb 2014 15:23:35 -0800 (PST) Hugh Dickins > > > wrote: > > > > On Tue, 25 Feb 2014,

[PATCH 3/3] cpufreq: Set policy to non-NULL only after all hotplug online work is done

2014-02-25 Thread Saravana Kannan
The existing code sets the per CPU policy to a non-NULL value before all the steps performed during the hotplug online path is done. Specifically, this is done before the policy min/max, governors, etc are initialized for the policy. This in turn means that calls to cpufreq_cpu_get() return a

[PATCH 2/3] cpufreq: stats: Fix error handling in __cpufreq_stats_create_table()

2014-02-25 Thread Saravana Kannan
Remove sysfs group if __cpufreq_stats_create_table() fails after creating one. Change-Id: Icb0b44424cc4eb6c88be255e2839ef51c3f8779c Signed-off-by: Saravana Kannan --- drivers/cpufreq/cpufreq_stats.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 1/3] cpufreq: stats: Remove redundant cpufreq_cpu_get() call

2014-02-25 Thread Saravana Kannan
__cpufreq_stats_create_table always gets pass the valid and real policy struct. So, there's no need to call cpufreq_cpu_get() to get the policy again. Change-Id: I0136b3e67018ee3af2335906407f55d8c6219f71 Signed-off-by: Saravana Kannan --- Viresh/Rafael, These 3 patches is the approximate code

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-25 Thread Jeff Law
On 02/25/14 17:15, Paul E. McKenney wrote: I have for the last several years been 100% convinced that the Intel memory ordering is the right thing, and that people who like weak memory ordering are wrong and should try to avoid reproducing if at all possible. But given that we have memory

linux-next: manual merge of the net-next tree with the wireless tree

2014-02-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/wireless/ath/ath9k/recv.c between commit b7b146c9c9a0 ("ath9k: fix invalid descriptor discarding") from the wireless tree and commits 1274603646a8 ("ath9k: move ath9k_process_rate to common.c") and 6438696efa81

Re: [PATCH] x86: LLVMLinux: Reimplement current_stack_pointer without register usage.

2014-02-25 Thread H. Peter Anvin
On 02/25/2014 07:00 PM, Andy Lutomirski wrote: >> >> How much does this actually affect the output? I only see three uses of >> current_stack_pointer: >> >> /* how to get the thread information struct from C */ >> static inline struct thread_info *current_thread_info(void) >> { >> return

Re: [PATCH 09/21] perf, c2c: Add rbtree sorted on mmap2 data

2014-02-25 Thread Don Zickus
On Fri, Feb 21, 2014 at 05:59:28PM +0100, Jiri Olsa wrote: > On Thu, Feb 20, 2014 at 09:45:53PM -0500, Don Zickus wrote: > > On Tue, Feb 18, 2014 at 02:04:05PM +0100, Jiri Olsa wrote: > > > On Mon, Feb 10, 2014 at 12:29:04PM -0500, Don Zickus wrote: > > SNIP > > > > > + > > > > +

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-25 Thread George Spelvin
wrote: > wrote: >> I have for the last several years been 100% convinced that the Intel >> memory ordering is the right thing, and that people who like weak >> memory ordering are wrong and should try to avoid reproducing if at >> all possible. > > Are ARM and Power really the bad boys here? Or

Re: [RFC patch 0/5] hrtimers: Add deferrable mode

2014-02-25 Thread Andy Lutomirski
On 02/21/2014 09:56 AM, Thomas Gleixner wrote: > Deferrable timers are beneficial for power saving. They behave like > standard timers except that their expiry can be delayed up to the > expiry of the next non deferred timer. That prevents them from waking > up cpus from deep idle periods. What

Re: [PATCH] x86: LLVMLinux: Reimplement current_stack_pointer without register usage.

2014-02-25 Thread Andy Lutomirski
On 02/20/2014 08:55 PM, H. Peter Anvin wrote: > This seems like really deep magic when looking at it... at the very > least, this needs to be very carefully commented, including why it works > on the various platforms. > > How much does this actually affect the output? I only see three uses of >

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

2014-02-25 Thread Stephen Rothwell
] ahci_platform_put_resources(>dev, hpriv); ^ Caused by commit 0d8d213703ff ("ahci: st: Add support for ST's SATA IP"). That function is defined as "static" in another file ... I have used the version of the libata tree from next-20140225 for today. -- C

Re: [PATCH 3/4] power_supply: Introduce PSE compliant algorithm

2014-02-25 Thread Jenny Tc
On Fri, Feb 21, 2014 at 03:45:29PM +0100, Pavel Machek wrote: > On Thu 2014-02-20 10:46:55, Jenny Tc wrote: > > On Tue, Feb 04, 2014 at 12:36:40PM +0100, Pavel Machek wrote: > > > > --- a/drivers/power/Kconfig > > > > +++ b/drivers/power/Kconfig > > > > @@ -22,6 +22,19 @@ config

Re: [PATCH v4 5/6] timerfd: Add support for deferrable timers

2014-02-25 Thread Andy Lutomirski
On 02/20/2014 08:23 AM, Alexey Perevalov wrote: > From: Anton Vorontsov > > This patch implements a userland-side API for generic deferrable timers, > per linux/timer.h: > > * A deferrable timer will work normally when the system is busy, but > * will not cause a CPU to come out of idle just

Re: [PATCH 1/2] jffs2: Fix segmentation fault found in stress test

2014-02-25 Thread Brian Norris
On Mon, Jan 06, 2014 at 07:06:54PM +0530, Kamlakant Patel wrote: > Creating a large file on a JFFS2 partition sometimes crashes with this call > trace: [...] > > This crash is caused because the 'positions' is declared as an array of signed > short. The value of position is in the range 0..65535,

Re: intel_pstate: Haswell i7-4600M refuses to enter lower Package States

2014-02-25 Thread Andy Lutomirski
On 02/20/2014 04:29 AM, Dieter Mummenschanz wrote: > Hello, > > on my Lenovo T440p Laptop the Haswell i7-4600M CPU refuses to enter lower PC > states resulting in 14-15 Watts continuous power drain even if the system is > idle and every tunalbes in powertop 2.5 are enabled. The issue is >

Re: [BUG kretprobes] kretprobe triggers General Protection Faults

2014-02-25 Thread Masami Hiramatsu
Hi Mathieu, (2014/02/26 4:46), Mathieu Desnoyers wrote: > Hi, > > I had a bug report[1] from a user trying to add a kretprobe on the system > call entry code path: > > arch/x86/kernel/entry_64.S: > > 813dffe2 : > cmpl $__NR_syscall_max,%eax > #endif > ja badsys >

[PATCH] ACPI/Sleep: pm_power_off need more sanity check to be installed

2014-02-25 Thread Li, Aubrey
Sleep control and status registers need santity check before ACPI install acpi_power_off to pm_power_off hook. The checking code in acpi_enter_sleep_state() is too late, we should not allow a not-working pm_power_off function hooked. Signed-off-by: Aubrey Li --- drivers/acpi/sleep.c |7

Re: [PATCH] sched/rt: fix rt timer activation/deactivation

2014-02-25 Thread Mike Galbraith
On Wed, 2014-02-26 at 00:56 +0400, Kirill Tkhai wrote: > On Вт, 2014-02-25 at 17:05 +0100, Juri Lelli wrote: > > Destroy rt bandwidth timer when rq has no more RT tasks, even when > > CONFIG_RT_GROUP_SCHED is not set. > > > > Signed-off-by: Juri Lelli > > --- > > kernel/sched/rt.c | 10

Re: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support

2014-02-25 Thread Andy Lutomirski
On 02/17/2014 10:07 PM, Yan, Zheng wrote: > > This patch series adds LBR call stack support. User can enabled/disable > this through an sysfs attribute file in the CPU PMU directory: > echo 1 > /sys/bus/event_source/devices/cpu/lbr_callstack This seems like an unpleasant way to control this.

  1   2   3   4   5   6   7   8   9   10   >