[PATCH] cpufreq: Refactor cpufreq_set_policy()

2014-02-16 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Reduce the rampant usage of goto and the indentation level in cpufreq_set_policy() to improve the readability of that code. No functional changes should result from that. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

[tip:x86/vdso] x86, vdso: vclock_gettime.c __vdso_clock_gettime cleanup

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: 3b19f50facf0488e193ebae00b864fdaeeb25dbb Gitweb: http://git.kernel.org/tip/3b19f50facf0488e193ebae00b864fdaeeb25dbb Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:42 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] mm: Add new func _install_special_mapping() to mmap.c

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: 48be0cb586e850e3ff5c37fe9339f233f9c893e4 Gitweb: http://git.kernel.org/tip/48be0cb586e850e3ff5c37fe9339f233f9c893e4 Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:40 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Cleanup __vdso_gettimeofday()

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: bada923abe5d8b015efe0e49ca47f76af853972d Gitweb: http://git.kernel.org/tip/bada923abe5d8b015efe0e49ca47f76af853972d Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:44 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Replace VVAR(vsyscall_gtod_data) by the gtod macro

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: d3e68e3e3fed760169cef2fa95e73551f5d24022 Gitweb: http://git.kernel.org/tip/d3e68e3e3fed760169cef2fa95e73551f5d24022 Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:43 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Introduce VVAR marco for vdso32

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: 995106bc0373be03295aa6e0e380dd33a3a37ea4 Gitweb: http://git.kernel.org/tip/995106bc0373be03295aa6e0e380dd33a3a37ea4 Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:45 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Do conditional fixmap of VVAR and HPET page

2014-02-16 Thread tip-bot for stef...@seibold.net
Commit-ID: 74cd745f0ce8cc8b95722ee8fdf1d97ffb3afe0b Gitweb: http://git.kernel.org/tip/74cd745f0ce8cc8b95722ee8fdf1d97ffb3afe0b Author: stef...@seibold.net stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:48 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16

[tip:x86/vdso] x86, vdso: Add a lot more dummy locking functions to vclock_gettime.c

2014-02-16 Thread tip-bot for H. Peter Anvin
Commit-ID: 4b5e4f908855a66f0957bf35137ce3ee37c05230 Gitweb: http://git.kernel.org/tip/4b5e4f908855a66f0957bf35137ce3ee37c05230 Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Sun, 16 Feb 2014 16:44:25 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Add 32-bit VDSO time support for the 32-bit kernel

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: feea5bae36ba8fcd7095e1b23cc2c537f4d24562 Gitweb: http://git.kernel.org/tip/feea5bae36ba8fcd7095e1b23cc2c537f4d24562 Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:46 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Add 32-bit VDSO time support for the 64-bit kernel

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: 249adfe2c86766eaa739d342525e55a96bf9efa7 Gitweb: http://git.kernel.org/tip/249adfe2c86766eaa739d342525e55a96bf9efa7 Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:47 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Make vsyscall_gtod_data handling x86 generic

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: 0d3ad8c4e6246637b289c22dfe12e3dbae516aef Gitweb: http://git.kernel.org/tip/0d3ad8c4e6246637b289c22dfe12e3dbae516aef Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:39 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[tip:x86/vdso] x86, vdso: Revamp vclock_gettime.c

2014-02-16 Thread tip-bot for Stefani Seibold
Commit-ID: 0b20a1f58d3502a8dfec98a8926f26c43429bee7 Gitweb: http://git.kernel.org/tip/0b20a1f58d3502a8dfec98a8926f26c43429bee7 Author: Stefani Seibold stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:41 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

Re: [PATCH] printk: Fix discarding of records

2014-02-16 Thread Linus Torvalds
On Sun, Feb 16, 2014 at 4:50 PM, Kay Sievers k...@vrfy.org wrote: That should avoid the overflow, yes. I expect it will not print the first line with a prefix, which we probably should.? Well, it's not printing out the prefix, but it's also not printing out the whole first part of the line, so

Re: [PATCH net-next 0/4] bonding cleaning

2014-02-16 Thread Ding Tianhong
On 2014/2/16 7:57, Joe Perches wrote: Miscellaneous cleanups Joe Perches (4): bonding: Convert pr_warning to pr_warn, neatening bonding: Neaten pr_level bonding: Convert c99 comments bonding: Convert memcpy(foo, bar, ETH_ALEN) to ether_addr_copy(foo, bar)

Re: [PATCH 00/08] PCI: rcar: Recent driver patches from Ben Dooks and me

2014-02-16 Thread Simon Horman
On Fri, Feb 14, 2014 at 11:34:30AM -0700, Bjorn Helgaas wrote: On Thu, Feb 13, 2014 at 01:39:54PM +0900, Simon Horman wrote: On Thu, Feb 13, 2014 at 12:03:02PM +0900, Magnus Damm wrote: PCI: rcar: Recent driver patches from Ben Dooks and me [PATCH 01/08] PCI: rcar: check

[git pull] Please pull powerpc.git merge branch

2014-02-16 Thread Benjamin Herrenschmidt
Hi Linus ! Here are some more powerpc fixes for 3.14 The main one is a nasty issue with the NUMA balancing support which requires a small generic change and the addition of a new accessor to set _PAGE_NUMA. Both have been reviewed and acked by Mel and Rik. The changelog should have plenty of

Re: [PATCH] printk: Fix discarding of records

2014-02-16 Thread Kay Sievers
On Mon, Feb 17, 2014 at 1:57 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Feb 16, 2014 at 4:50 PM, Kay Sievers k...@vrfy.org wrote: That should avoid the overflow, yes. I expect it will not print the first line with a prefix, which we probably should.? Well, it's not

Re: [PATCH 11/27] clocksource: sh_cmt: Add support for multiple channels per device

2014-02-16 Thread Magnus Damm
Hi Laurent, On Mon, Feb 17, 2014 at 3:18 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Thomas, On Saturday 15 February 2014 13:46:54 Thomas Gleixner wrote: On Fri, 14 Feb 2014, Laurent Pinchart wrote: CMT hardware devices can support multiple channels, with global

Re: [PATCH] printk: Fix discarding of records

2014-02-16 Thread Kay Sievers
On Mon, Feb 17, 2014 at 2:19 AM, Kay Sievers k...@vrfy.org wrote: On Mon, Feb 17, 2014 at 1:57 AM, Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Feb 16, 2014 at 4:50 PM, Kay Sievers k...@vrfy.org wrote: That should avoid the overflow, yes. I expect it will not print the first

Re: [PATCH 23/27] clocksource: sh_cmt: Add DT support

2014-02-16 Thread Laurent Pinchart
Hi Magnus, On Saturday 15 February 2014 02:22:00 Magnus Damm wrote: On Sat, Feb 15, 2014 at 1:12 AM, Laurent Pinchart wrote: On Saturday 15 February 2014 01:01:30 Magnus Damm wrote: On Sat, Feb 15, 2014 at 12:53 AM, Laurent Pinchart wrote: On Friday 14 February 2014 10:58:22 Mark Rutland

RE: [PATCH 0/5] Enabling the asynchronous threads for other phases

2014-02-16 Thread Liu, Chuansheng
Hello Rafael, -Original Message- From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Monday, February 17, 2014 7:41 AM To: Liu, Chuansheng Cc: gre...@linuxfoundation.org; pa...@ucw.cz; Brown, Len; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; Li, Zhuangzhi Subject:

Re: [PATCH 11/27] clocksource: sh_cmt: Add support for multiple channels per device

2014-02-16 Thread Laurent Pinchart
Hi Magnus, On Monday 17 February 2014 10:41:31 Magnus Damm wrote: On Mon, Feb 17, 2014 at 3:18 AM, Laurent Pinchart wrote: On Saturday 15 February 2014 13:46:54 Thomas Gleixner wrote: On Fri, 14 Feb 2014, Laurent Pinchart wrote: CMT hardware devices can support multiple channels, with

Re: [PATCH 23/27] clocksource: sh_cmt: Add DT support

2014-02-16 Thread Magnus Damm
Hi Laurent, On Mon, Feb 17, 2014 at 10:45 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Magnus, On Saturday 15 February 2014 02:22:00 Magnus Damm wrote: On Sat, Feb 15, 2014 at 1:12 AM, Laurent Pinchart wrote: On Saturday 15 February 2014 01:01:30 Magnus Damm wrote: On

Re: [PATCH RFC 2/3] fbdev: move fbdev core files to separate directory

2014-02-16 Thread Jingoo Han
On Friday, February 14, 2014 8:19 PM, Tomi Valkeinen wrote: Instead of having fbdev framework core files at the root fbdev directory, mixed with random fbdev device drivers, move the fbdev core files to a separate core directory. This makes it much clearer which of the files are actually

Re: [PATCH RFC 3/3] video: Kconfig: move drm and fb into separate menus

2014-02-16 Thread Jingoo Han
On Friday, February 14, 2014 8:19 PM, Tomi Valkeinen wrote: At the moment the Device Drivers / Graphics support kernel config page looks rather messy, with DRM and fbdev driver selections on the same page, some on the top level Graphics support page, some under their respective subsystems.

[PATCH v2 0/11] remove cpu_load in rq

2014-02-16 Thread Alex Shi
The cpu_load decays on time according past cpu load of rq. The sched_avg also decays tasks' load on time. Now we has 2 kind decay for cpu_load. That is a kind of redundancy. And increase the system load by decay calculation. This patch try to remove the cpu_load decay. There are 5 load_idx

[PATCH v2 01/11] sched: shortcut to remove load_idx

2014-02-16 Thread Alex Shi
Shortcut to remove rq-cpu_load[load_idx] effect in scheduler. In five load idx, only busy_idx, idle_idx are not zero. Newidle_idx, wake_idx and fork_idx are all zero in all archs. So, change the idx to zero here can fully remove load_idx effect. Signed-off-by: Alex Shi alex@linaro.org ---

[PATCH v2 03/11] sched: clean up cpu_load update

2014-02-16 Thread Alex Shi
Since we don't decay the rq-cpu_load, so we don't need the pending_updates. But we still want update rq-rt_avg, so still keep rq-last_load_update_tick and func __update_cpu_load. Signed-off-by: Alex Shi alex@linaro.org --- kernel/sched/proc.c | 11 --- 1 file changed, 4

[PATCH v2 02/11] sched: remove rq-cpu_load[load_idx] array

2014-02-16 Thread Alex Shi
Since load_idx effect removed in load balance, we don't need the load_idx decays in scheduler. that will save some process in sched_tick and others places. Signed-off-by: Alex Shi alex@linaro.org --- arch/ia64/include/asm/topology.h | 5 --- arch/metag/include/asm/topology.h | 5 ---

[PATCH v2 05/11] sched: rewrite update_cpu_load_nohz

2014-02-16 Thread Alex Shi
After change to sched_avg, the cpu load in idle exit was decayed. So, it maybe near zero if waking a long time sleep task, or, a full non-decay load if waking a new forked task. Then, we can use it to reflect the cpu load, don't need to pretend 0. Signed-off-by: Alex Shi alex@linaro.org ---

[PATCH v2 06/11] sched: clean up source_load/target_load

2014-02-16 Thread Alex Shi
Don't need 'rq' variable now. Signed-off-by: Alex Shi alex@linaro.org --- kernel/sched/fair.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index a85a10b..2da0e3b 100644 --- a/kernel/sched/fair.c +++

[PATCH v2 04/11] sched: unify imbalance bias for target group

2014-02-16 Thread Alex Shi
Old code considers the bias in source/target_load already. but still use imbalance_pct as last check in idlest/busiest group finding. It is also a kind of redundant job. If we bias imbalance in source/target_load, we'd better not use imbalance_pct again. After cpu_load array removed, it is nice

[PATCH v2 07/11] sched: clean up weighted_cpuload

2014-02-16 Thread Alex Shi
weighted_cpuload is used instead of source_load() when !idx. Now idx is always 0. so unify the usage to soruce_load. That make code more readable. Signed-off-by: Alex Shi alex@linaro.org --- kernel/sched/fair.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH v2 08/11] sched: remove weighted_load()

2014-02-16 Thread Alex Shi
Although weighted_load is a inline founction, it's not needed in fact. so remove it. Signed-off-by: Alex Shi alex@linaro.org --- kernel/sched/fair.c | 23 --- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index

[PATCH v2 09/11] sched: remove rq-cpu_load and rq-nr_load_updates

2014-02-16 Thread Alex Shi
The cpu_load is the copy of rq-cfs.runnable_load_avg. And it updated on time. So we can use the latter directly. Thus saved 2 rq variables: cpu_load and nr_load_updates. Then don't need __update_cpu_load(), just keep sched_avg_update(). Thus removed get_rq_runnable_load() which used for

[PATCH v2 11/11] sched: clean up task_hot function

2014-02-16 Thread Alex Shi
task_hot doesn't need the 'sched_domain' parameter, so remove it. Signed-off-by: Alex Shi alex@linaro.org --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 1b008ac..e81a790 100644 ---

[PATCH v2 10/11] sched: rename update_*_cpu_load

2014-02-16 Thread Alex Shi
Since we have no cpu_load update, rename the related functions: s/update_idle_cpu_load/update_idle_rt_avg/ s/update_cpu_load_nohz/update_rt_avg_nohz/ s/update_cpu_load_active/update_avg_load_active/ No functional change. Signed-off-by: Alex Shi alex@linaro.org ---

[PATCH RESEND 1/3] mmc: rtsx: fix card poweroff bug

2014-02-16 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn If the host driver removed while card in the slot, the host will not power off card power correctly. This bug is produced because host eject flag set before the last mmc_set_ios callback, we should set the eject flag after power off. Signed-off-by:

[PATCH RESEND 3/3] mmc: rtsx: add support for pre_req and post_req

2014-02-16 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn Add support for non-blocking request, pre_req() runs dma_map_sg() and post_req() runs dma_unmap_sg(). This patch can increase card read/write speed, especially for high speed card and slow CPU(for some embedded platform). Users can get a great benefit

[PATCH RESEND 2/3] mmc: rtsx: modify phase searching method for tuning

2014-02-16 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn The new phase searching method is more concise and easier to understand. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mmc/host/rtsx_pci_sdmmc.c | 112 +++-- include/linux/mfd/rtsx_pci.h |

[PATCH RESEND 0/3] mmc: rtsx: fix bug and support nonblocking request

2014-02-16 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn First we fix the card poweroff bug: the card power is not shutdown when sd/mmc card removed, this will make UHS-card failed to running in high speed mode if we insert the card again. We offer a concise tuning searching method, it is much easier to

Re: [PATCH 11/27] clocksource: sh_cmt: Add support for multiple channels per device

2014-02-16 Thread Magnus Damm
Hi Laurent, On Mon, Feb 17, 2014 at 10:48 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Magnus, On Monday 17 February 2014 10:41:31 Magnus Damm wrote: On Mon, Feb 17, 2014 at 3:18 AM, Laurent Pinchart wrote: On Saturday 15 February 2014 13:46:54 Thomas Gleixner wrote:

RE: [PATCH 0/5] Enabling the asynchronous threads for other phases

2014-02-16 Thread Liu, Chuansheng
Hello Rafael, -Original Message- From: Liu, Chuansheng Sent: Monday, February 17, 2014 9:44 AM To: 'Rafael J. Wysocki' Cc: gre...@linuxfoundation.org; pa...@ucw.cz; Brown, Len; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; Li, Zhuangzhi Subject: RE: [PATCH 0/5] Enabling

Re: [PATCH RESEND 0/3] mmc: rtsx: fix bug and support nonblocking request

2014-02-16 Thread Samuel Ortiz
Hi Micky, On Mon, Feb 17, 2014 at 10:00:54AM +0800, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn First we fix the card poweroff bug: the card power is not shutdown when sd/mmc card removed, this will make UHS-card failed to running in high speed mode if we

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

2014-02-16 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the libata tree got a conflict in drivers/ata/sata_mv.c between commit 90aa2997029f (ata: sata_mv: Fix probe failures with optional phys) from Linus' tree and commit 8ad116e649b2 (ata: sata_mv: Cleanup only the initialized ports) from the libata tree. I

Re: [PATCH 0/6] Marvell Armada 375 and 38x clocks drivers

2014-02-16 Thread Jason Cooper
On Mon, Feb 10, 2014 at 06:32:43PM +0100, Gregory CLEMENT wrote: Hi Mike, Here are patches that add the clocks drivers for two new Marvell ARM SOCs that belong to the mach-mvebu family: the Armada 375 and the Armada 380/385. They are based on Cortex-A9 CPU cores, and share a number of

[PATCH V2] mm: add a new command-line kmemcheck value

2014-02-16 Thread Xishi Qiu
If we want to debug the kernel memory, we should turn on CONFIG_KMEMCHECK and rebuild the kernel. This always takes a long time and sometimes impossible, e.g. users don't have the kernel source code or the code is different from www.kernel.org (private features may be added to the kernel, and

Re: [PATCH] printk: Fix discarding of records

2014-02-16 Thread Banerjee, Debabrata
On 2/16/14, 7:41 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Feb 16, 2014 at 4:19 PM, Banerjee, Debabrata dbane...@akamai.com wrote: No that can't be right, the prev value after every loop is the msg-flags from the *last* line in the list, which has no relation to the

[PATCH] cgroup: add a validation check to cgroup_add_cftyps()

2014-02-16 Thread Li Zefan
Fengguang reported this bug: BUG: unable to handle kernel NULL pointer dereference at 003c IP: [cc90b4ad] cgroup_cfts_commit+0x27/0x1c1 ... Call Trace: [cc9d1129] ? kmem_cache_alloc_trace+0x33f/0x3b7 [cc90c6fc] cgroup_add_cftypes+0x8f/0xca [cd78b646] cgroup_init+0x6a/0x26a [cd764d7d]

Re: Get an online loan

2014-02-16 Thread Skye Loan Finance Limited
Get an online loan at Skye Loan Finance Limited is favorably disposed to broker and facilitate the transfer of a Loan(s) to vise nominated account(s) of fund destination upon authentication and compliance of all procedural guidelines. Our loans are available from GBP 50,000.00, GBP 750,000.00

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

2014-02-16 Thread Stephen Rothwell
Hi Lee, On Fri, 14 Feb 2014 13:42:17 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: After merging the mfd-lj tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/mfd/max665x.c:19:0: include/linux/mfd/max665x-private.h:31:1: error:

Re: [RFC PATCH] sched: make sure sched-priority after invoke idle_balance()

2014-02-16 Thread Michael wang
On 02/14/2014 08:38 PM, Peter Zijlstra wrote: [snip] This patch will prevent this happen by some rechecking after idle_balance(), it utilize the resched-flag for the case when RT/DL task was enqueued but don't ask for resched (will that ever happened?). I'm not sure this is actually

Re: Get an online loan

2014-02-16 Thread Skye Loan Finance Limited
Get an online loan at Skye Loan Finance Limited is favorably disposed to broker and facilitate the transfer of a Loan(s) to vise nominated account(s) of fund destination upon authentication and compliance of all procedural guidelines. Our loans are available from GBP 50,000.00, GBP 750,000.00

[tip:x86/vdso] x86, vdso: Do conditional fixmap of VVAR and HPET page

2014-02-16 Thread tip-bot for stef...@seibold.net
Commit-ID: eccca441fe1f6b416a3592d764686edb9fbd2ac6 Gitweb: http://git.kernel.org/tip/eccca441fe1f6b416a3592d764686edb9fbd2ac6 Author: stef...@seibold.net stef...@seibold.net AuthorDate: Sun, 16 Feb 2014 22:52:48 +0100 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16

[tip:x86/vdso] x86, vdso: Instead of dummy functions, include linux/spinlock_up.h

2014-02-16 Thread tip-bot for H. Peter Anvin
Commit-ID: bd9ee7fd99f127ee1306289415141d45792c97f3 Gitweb: http://git.kernel.org/tip/bd9ee7fd99f127ee1306289415141d45792c97f3 Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Sun, 16 Feb 2014 19:47:01 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Sun, 16 Feb

[PATCH] sysfs: fix namespace refcnt leak

2014-02-16 Thread Li Zefan
Hi Tejun, I think we have to fix kernfs in order to fix refcnt leak in sysfs and cgroupfs. This fix is for 3.14, but it creates conflicts for cgroup-next. As mount() and kill_sb() is not a one-to-one match, we shoudn't get ns refcnt unconditionally in sysfs_mount(), and

Re: [tip:x86/vdso] x86, vdso: Instead of dummy functions, include linux/spinlock_up.h

2014-02-16 Thread H. Peter Anvin
On 02/16/2014 07:51 PM, tip-bot for H. Peter Anvin wrote: Commit-ID: bd9ee7fd99f127ee1306289415141d45792c97f3 Gitweb: http://git.kernel.org/tip/bd9ee7fd99f127ee1306289415141d45792c97f3 Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Sun, 16 Feb 2014 19:47:01 -0800 Committer:

[PATCH] arm: removed compiler warning

2014-02-16 Thread John de la Garza
Removed this compiler warning for arch/arm/boot/compressed/atags_to_fdt.c. The warning was: 'memsize' may be used uninitialized in this function. Signed-off-by: John de la Garza j...@jjdev.com --- arch/arm/boot/compressed/atags_to_fdt.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH] arm: imx: remove MACH_MXLADS

2014-02-16 Thread Alexander Shiyan
Воскресенье, 16 февраля 2014, 21:35 +01:00 от Paul Bolle pebo...@tiscali.nl: On Sun, 2014-02-16 at 23:21 +0400, Alexander Shiyan wrote: Воскресенье, 16 февраля 2014, 20:12 +01:00 от Paul Bolle pebo...@tiscali.nl: On Sun, 2014-02-16 at 23:06 +0400, Alexander Shiyan wrote: Kconfig selects

[PATCH V2] serial/uart: Add tunable RX interrupt trigger I/F of FIFO buffers

2014-02-16 Thread Yoshihiro YUNOMAE
Add tunable RX interrupt trigger I/F of FIFO buffers. Serial devices are used as not only message communication devices but control or sending communication devices. For the latter uses, normally small data will be exchanged, so user applications want to receive data unit as soon as possible for

Re: [RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-02-16 Thread Mike Galbraith
On Sun, 2014-02-16 at 08:41 -0800, Paul E. McKenney wrote: So if there is NO_HZ_FULL, you have no objection to binding workqueues to the timekeeping CPUs, but that you would also like some form of automatic binding in the !NO_HZ_FULL case. Of course, if a common mechanism could serve both

Re: [PATCHv4 0/4] add compressing abstraction and multi stream support

2014-02-16 Thread Minchan Kim
Hello Sergey, I don't have a time to look at it now Sorry for that. I will hold the time soonish. Thanks. On Wed, Feb 12, 2014 at 10:39:31PM +0300, Sergey Senozhatsky wrote: This patchset introduces zcomp compression backend abstraction adding ability to support compression algorithms other

Re: Re: [PATCH -tip RESEND 2/2] ftrace: Introduce nr_saved_cmdlines I/F

2014-02-16 Thread Yoshihiro YUNOMAE
Hi Namhyung, (2014/02/14 13:50), Namhyung Kim wrote: Hi Yoshihiro, On Thu, 13 Feb 2014 10:28:58 +0900, Yoshihiro YUNOMAE wrote: Introduce nr_saved_cmdlines I/F for changing the number of pid-comm list. saved_cmdlines can store 128 command names using SAVED_CMDLINES now, but 'no-existing

[RFC Patch v1 0/6] Miscellaneous improvements for ACPI

2014-02-16 Thread Jiang Liu
Hi, This is a miscellaneous patch set to improve ACPI code. due to resource limitation, I can't find hardware to test all patches. So appreciate any help to these patches. Thanks! Gerry Jiang Liu (6): acpi_pad: simplify notify handler by using acpi_drv_ops-notify ACPI: rename

[RFC Patch v1 2/6] ACPI: rename acpi_evaluate_hotplug_ost to acpi_evaluate_ost for reuse

2014-02-16 Thread Jiang Liu
Rename acpi_evaluate_hotplug_ost() to acpi_evaluate_ost() for later resue. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/acpi/utils.c| 14 -- include/acpi/acpi_bus.h | 10 +- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git

[RFC Patch v1 3/6] acpi_pad: use acpi_evaluate_pad() to replace open-coded version

2014-02-16 Thread Jiang Liu
Use public function acpi_evaluate_pad() to replace open-coded version of evaluating ACPI _OST method. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/acpi/acpi_pad.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git

[RFC Patch v1 6/6] ACPI: use device name LNXSYBUS.xx for ACPI \_SB and \_TZ objects

2014-02-16 Thread Jiang Liu
Use device name LNXSYBUS:xx instead of device.xx for ACPI objects \_SB and \_TZ. BTW, the original check of handle == ACPI_ROOT_OBJECT in statment else if (list_empty(pnp-ids) handle == ACPI_ROOT_OBJECT) is always false because of the code at the begin of that block. if (handle

[RFC Patch v1 5/6] acpi_processor: use acpi_evaluate_pad() to replace open-coded version

2014-02-16 Thread Jiang Liu
Use public function acpi_evaluate_pad() to replace open-coded version of evaluating ACPI _OST method. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/acpi/processor_perflib.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git

[RFC Patch v1 1/6] acpi_pad: simplify notify handler by using acpi_drv_ops-notify

2014-02-16 Thread Jiang Liu
Use callback acpi_drv_ops-notify to simplify acpi_pad driver's notification handling code. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/acpi/acpi_pad.c | 25 + 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/drivers/acpi/acpi_pad.c

[RFC Patch v1 4/6] xen, acpi_pad: use acpi_evaluate_pad() to replace open-coded version

2014-02-16 Thread Jiang Liu
Use public function acpi_evaluate_pad() to replace open-coded version of evaluating ACPI _OST method. Signed-off-by: Jiang Liu jiang@linux.intel.com --- drivers/xen/xen-acpi-pad.c | 26 +++--- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git

[PATCH] sb_edac: degrade log level for EDAC sbridge: Seeking for: dev 1d.3 PCI ID xxxx

2014-02-16 Thread Jiang Liu
On a system with four Intel processor, it generates too many messages EDAC sbridge: Seeking for: dev 1d.3 PCI ID . And it doesn't give many useful information for normal users, so change log level from INFO to DEBUG. Signed-off-by: Jiang Liu jiang@linux.intel.com ---

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

2014-02-16 Thread Viresh Kumar
On 17 February 2014 05:58, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, February 14, 2014 04:30:40 PM Viresh Kumar wrote: Good to know that you chat with each other, but it really is not a useful piece of information until you say what *exactly* you were talking about. All that is

Re: [PATCH 2/2] cpufreq: don't call cpufreq_update_policy() on CPU addition

2014-02-16 Thread Viresh Kumar
On 17 February 2014 05:51, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, February 14, 2014 04:30:41 PM Viresh Kumar wrote: cpufreq_update_policy() is called from two places currently. From a workqueue handled queued from cpufreq_bp_resume() for boot CPU and from cpufreq_cpu_callback()

Re: [PATCH] cpufreq: Refactor cpufreq_set_policy()

2014-02-16 Thread Viresh Kumar
On 17 February 2014 06:36, Rafael J. Wysocki r...@rjwysocki.net wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Reduce the rampant usage of goto and the indentation level in cpufreq_set_policy() to improve the readability of that code. No functional changes should result from that.

Re: [RFC PATCH] rcu: move SRCU grace period work to power efficient workqueue

2014-02-16 Thread Mike Galbraith
On Wed, 2014-02-12 at 19:23 +0100, Frederic Weisbecker wrote: On Mon, Feb 10, 2014 at 10:47:29AM -0800, Paul E. McKenney wrote: On Mon, Feb 10, 2014 at 06:08:31PM +0800, Lai Jiangshan wrote: Acked-by: Lai Jiangshan la...@cn.fujitsu.com Thank you all, queued for 3.15. We should

Re: [PATCH 3/3] caif: delete unnecessary field initialization

2014-02-16 Thread David Miller
From: Julia Lawall julia.law...@lip6.fr Date: Sat, 15 Feb 2014 08:36:13 +0100 From: Julia Lawall julia.law...@lip6.fr On success, the function netdev_alloc_skb initializes the dev field of its result to its first argument, so this doesn't have to be done in the calling context. The

Re: [PATCH net-next 0/4] bonding cleaning

2014-02-16 Thread David Miller
From: Joe Perches j...@perches.com Date: Sat, 15 Feb 2014 15:57:03 -0800 Miscellaneous cleanups Joe Perches (4): bonding: Convert pr_warning to pr_warn, neatening bonding: Neaten pr_level bonding: Convert c99 comments bonding: Convert memcpy(foo, bar, ETH_ALEN) to

[PATCH] smack lsm bug fixes

2014-02-16 Thread Pankaj Kumar
From 8fa425d071b7d4cfdf6bcb89d789138a13529d06 Mon Sep 17 00:00:00 2001 From: Pankaj Kumar pankaj...@samsung.com Date: Mon, 17 Feb 2014 10:36:26 +0530 Subject: [PATCH] smack lsm bug fixes 1. In order to remove any SMACK extended attribute from a file, a user should have CAP_MAC_ADMIN capability.

[PATCH v2 0/5] Enabling the asynchronous threads for other phases

2014-02-16 Thread Chuansheng Liu
Hello, This patch series are for enabling the asynchronous threads for the phases resume_noirq, resume_early, suspend_noirq and suspend_late. Just like commit 5af84b82701a and 97df8c12995, with async threads it will reduce the system suspending and resuming time significantly. With these

Re: [PATCH] Revert ACPI / video: Add HP EliteBook Revolve 810 to the blacklist

2014-02-16 Thread Aaron Lu
On 02/15/2014 06:21 AM, Rafael J. Wysocki wrote: On Friday, February 14, 2014 05:26:01 PM Mika Westerberg wrote: On Fri, Feb 14, 2014 at 03:46:20PM +0100, Takashi Iwai wrote: The acpi_osi blacklist is just a workaround, and if we have better solutions, it should be removed. That's why I'm

[PATCH v2 1/5] PM / sleep: Two flags for async suspend_noirq and suspend_late

2014-02-16 Thread Chuansheng Liu
The patch is a helper adding two new flags for implementing async threads for suspend_noirq and suspend_late. Signed-off-by: Chuansheng Liu chuansheng@intel.com --- drivers/base/power/main.c | 24 ++-- include/linux/pm.h| 2 ++ 2 files changed, 24 insertions(+),

[PATCH v2 4/5] PM / sleep: Asynchronous threads for suspend_noirq

2014-02-16 Thread Chuansheng Liu
In analogy with commits 5af84b82701a and 97df8c12995, using asynchronous threads can improve the overall suspend_noirq time significantly. This patch is for suspend_noirq phase. Signed-off-by: Chuansheng Liu chuansheng@intel.com --- drivers/base/power/main.c | 68

[PATCH v2 3/5] PM / sleep: Asynchronous threads for resume_early

2014-02-16 Thread Chuansheng Liu
In analogy with commits 5af84b82701a and 97df8c12995, using asynchronous threads can improve the overall resume_early time significantly. This patch is for resume_early phase. Signed-off-by: Chuansheng Liu chuansheng@intel.com --- drivers/base/power/main.c | 55

[PATCH v2 2/5] PM / sleep: Asynchronous threads for resume_noirq

2014-02-16 Thread Chuansheng Liu
In analogy with commits 5af84b82701a and 97df8c12995, using asynchronous threads can improve the overall resume_noirq time significantly. One typical case is: In resume_noirq phase and for the PCI devices, the function pci_pm_resume_noirq() will be called, and there is one d3_delay (10ms) at

[PATCH v2 5/5] PM / sleep: Asynchronous threads for suspend_late

2014-02-16 Thread Chuansheng Liu
In analogy with commits 5af84b82701a and 97df8c12995, using asynchronous threads can improve the overall suspend_late time significantly. This patch is for suspend_late phase. Signed-off-by: Chuansheng Liu chuansheng@intel.com --- drivers/base/power/main.c | 64

[PATCH] IA64, sba_iommu: fix section mismatch

2014-02-16 Thread Jiang Liu
Fix the section mismatch warning by remove __init annotate for function acpi_sba_ioc_add() because it may be called at runtime. WARNING: vmlinux.o(.data+0x66ee0): Section mismatch in reference from the variable acpi_sba_ioc_handler to the function .init.text:acpi_sba_ioc_add() The variable

[PATCH] IA64: fix warning in make defconfig

2014-02-16 Thread Jiang Liu
Now the ACPI container and ACPI PCI hotplug driver has been converted as built-in modules, so reflect these changes in IA64 defconfig file. Signed-off-by: Jiang Liu jiang@linux.intel.com --- arch/ia64/configs/generic_defconfig |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCHv3] Generic Mailbox API

2014-02-16 Thread Jassi Brar
On 17 February 2014 11:27, Craig McGeachie slap...@yahoo.com.au wrote: On 16/02/14 07:22, Jassi Brar wrote: Hello, Here is what the generic mailbox api looks like after modifications to make it work with 5 different platforms. Major feedback from Suman Anna(TI), LeyFoon Tan(Intel),

Re: [PATCH V5 0/7] cpufreq: suspend early/resume late: dpm_{suspend|resume}()

2014-02-16 Thread Viresh Kumar
On 15 February 2014 01:52, Stephen Warren swar...@wwwdotorg.org wrote: BTW, I also happened to test these on a Tegra114 system, on which there is no cpufreq driver, and this series (applied on top of commit 9398a10cd964 Merge tag 'regulator-v3.14-rc2') causes the following during suspend:

Re: [PATCHv3] Generic Mailbox API

2014-02-16 Thread Craig McGeachie
On 16/02/14 07:22, Jassi Brar wrote: Hello, Here is what the generic mailbox api looks like after modifications to make it work with 5 different platforms. Major feedback from Suman Anna(TI), LeyFoon Tan(Intel), Craig McGeachie(Broadcom) and Loic Pallardy(ST). Signed-off-by: Jassi Brar

Re: [PATCH V5 0/7] cpufreq: suspend early/resume late: dpm_{suspend|resume}()

2014-02-16 Thread Viresh Kumar
On 15 February 2014 01:12, Stephen Warren swar...@wwwdotorg.org wrote: On 02/12/2014 11:50 PM, Viresh Kumar wrote: This patchset creates/calls cpufreq suspend/resume callbacks from dpm_{suspend|resume}() for handling suspend/resume of cpufreq governors and core. Are these patches for 3.14

Re: [PATCH v4 1/3] mfd: Add realtek USB card reader driver

2014-02-16 Thread Roger
On 02/14/2014 05:44 PM, Lee Jones wrote: On Wed, 12 Feb 2014, rogera...@realtek.com wrote: From: Roger Tseng rogera...@realtek.com Realtek USB card reader provides a channel to transfer command or data to flash memory cards. This driver exports host instances for mmc and memstick subsystems

Re: [PATCHv3] Generic Mailbox API

2014-02-16 Thread Craig McGeachie
On 16/02/14 07:22, Jassi Brar wrote: Hello, Here is what the generic mailbox api looks like after modifications to make it work with 5 different platforms. Major feedback from Suman Anna(TI), LeyFoon Tan(Intel), Craig McGeachie(Broadcom) and Loic Pallardy(ST). Signed-off-by: Jassi Brar

Re: [PATCHv3] Generic Mailbox API

2014-02-16 Thread Jassi Brar
On Mon, Feb 17, 2014 at 11:33 AM, Craig McGeachie slap...@yahoo.com.au wrote: On 16/02/14 07:22, Jassi Brar wrote: Hello, Here is what the generic mailbox api looks like after modifications to make it work with 5 different platforms. Major feedback from Suman Anna(TI), LeyFoon

Re: [PATCH 2/9] slab: makes clear_obj_pfmemalloc() just return store masked value

2014-02-16 Thread Joonsoo Kim
On Fri, Feb 14, 2014 at 06:26:15PM -0600, Christoph Lameter wrote: On Fri, 14 Feb 2014, David Rientjes wrote: Yeah, you don't need it, but don't you think it makes the code more readable? Otherwise this is going to be just doing return (unsigned long)objp ~SLAB_OBJ_PFMEMALLOC;

[PATCH v3] drm/nouveau: support for platform devices

2014-02-16 Thread Alexandre Courbot
Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead of PCI to which Nouveau is tightly dependent. This patch allows Nouveau to handle platform devices by: - abstracting PCI-dependent functions that were typically used for resource querying and page mapping, - introducing a

[PATCH] user_namespace.c: Remove duplicated word in comment

2014-02-16 Thread Brian Campbell
Signed-off-by: Brian Campbell brian.campb...@editshare.com --- kernel/user_namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index 240fb62..dd06439 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c

Re: [PATCH 3/9] slab: move up code to get kmem_cache_node in free_block()

2014-02-16 Thread Joonsoo Kim
On Fri, Feb 14, 2014 at 03:19:02PM -0800, David Rientjes wrote: On Fri, 14 Feb 2014, Joonsoo Kim wrote: node isn't changed, so we don't need to retreive this structure everytime we move the object. Maybe compiler do this optimization, but making it explicitly is better. Would it be

linux-next: Tree for Feb 17

2014-02-16 Thread Stephen Rothwell
Hi all, If you see failures in building this tree due to missing declarations of k..alloc/free, then it may be caused by commit 2bd59d48ebfb (cgroup: convert to kernfs). Please send Tejun Heo t...@kernel.org a patch adding an inclusion of linux/slab.h to the appropriate file(s). This tree fails

Re: [PATCH 9/9] slab: remove a useless lockdep annotation

2014-02-16 Thread Joonsoo Kim
On Fri, Feb 14, 2014 at 12:49:57PM -0600, Christoph Lameter wrote: On Fri, 14 Feb 2014, Joonsoo Kim wrote: @@ -921,7 +784,7 @@ static int transfer_objects(struct array_cache *to, static inline struct alien_cache **alloc_alien_cache(int node,

<    1   2   3   4   5   6   >