Re: [GIT] Networking

2013-05-07 Thread Jeff Kirsher
On Mon, 2013-05-06 at 22:10 -0400, David Miller wrote: From: Jeff Kirsher jeffrey.t.kirs...@intel.com Date: Mon, 06 May 2013 16:32:46 -0700 On Mon, 2013-05-06 at 19:09 -0400, David Miller wrote: From: Linus Torvalds torva...@linux-foundation.org Date: Mon, 6 May 2013 15:57:15 -0700

Re: Lenovo Yoga 13 touchpad regression

2013-05-07 Thread Kevin Cernekee
On Mon, May 6, 2013 at 10:25 PM, H. Peter Anvin h...@zytor.com wrote: Hello, The touchpad on Lenovo Yoga 13 seems to have broken some time between 3.4 and the current kernel. The dmesg is full of spewage: [ 256.246481] atkbd serio0: Use 'setkeycodes e03e keycode' to make it known. [

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-07 Thread Kishon Vijay Abraham I
Hi, On Tuesday 07 May 2013 11:40 AM, Chanwoo Choi wrote: Hi Kishon, I add some opinion about this patch. On 05/06/2013 10:17 PM, Kishon Vijay Abraham I wrote: From: Graeme Gregory g...@slimlogic.co.uk This is the driver for the USB comparator built into the palmas chip. It handles the

[PATCH] kernel/module.c: for looping, need use 'goto' instead of 'break' to jump out in time

2013-05-07 Thread Chen Gang
In the 'for' looping, when error occurs, the 'break' only jump out of 'switch', and still in 'for' looping. If error occurs multiple times, the original error value will be overwrite. Currently, that will not cause issue, but still better to improve it, so that let it return the first real

MIPS: Test reault for enable interrupts before WAIT instruction patch

2013-05-07 Thread EUNBONG SONG
Hello. I tested with two patches. The first one is thomas gleixner's patch. The patch is as follow. This patch works well without any problem. Index: linux-2.6/arch/mips/kernel/process.c === ---

[GIT PULL] SLAB changes for v3.10

2013-05-07 Thread Pekka Enberg
Hi Linus, Please pull the latest SLAB tree from: git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git slab/for-linus Bulk of the changes are more slab unification from Christoph. There's also few fixes from Aaron, Glauber, and Joonsoo thrown into the mix.

Re: [PATCH 2/2] perf, x86: Don't allow unusual PEBS raw flags

2013-05-07 Thread Ingo Molnar
* Stephane Eranian eran...@google.com wrote: On Mon, May 6, 2013 at 8:52 PM, Peter Zijlstra pet...@infradead.org wrote: On Mon, May 06, 2013 at 07:44:19PM +0200, Stephane Eranian wrote: On Thu, May 2, 2013 at 9:37 AM, Peter Zijlstra pet...@infradead.org wrote: On Wed, Apr 24, 2013 at

Re: Fwd: [GIT PULL] timer changes for v3.10

2013-05-07 Thread Ingo Molnar
* Feng Tang feng.t...@intel.com wrote: is even worse than that. Machine can stay is s2ram for weeks (for a lot more if it is desktop and you do s2ram for powersaving). Also temperature of CPU varies a lot between active and s2ram states. Is TSC good enough? Yes, I think it is

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-07 Thread Chanwoo Choi
On 05/07/2013 03:25 PM, Kishon Vijay Abraham I wrote: Hi, On Tuesday 07 May 2013 11:40 AM, Chanwoo Choi wrote: Hi Kishon, I add some opinion about this patch. On 05/06/2013 10:17 PM, Kishon Vijay Abraham I wrote: From: Graeme Gregory g...@slimlogic.co.uk This is the driver for the USB

Re: [PATCH] perf: fix symbol processing bug and greatly improve performance

2013-05-07 Thread Ingo Molnar
* Waiman Long waiman.l...@hp.com wrote: When perf record was used on a large machine with a lot of CPUs, the perf post-processing time could take a lot of minutes and even hours depending on how large the resulting perf.data file was. While running AIM7 1500-user high_systime workload on a

Re: [094/126] TTY: fix atime/mtime regression

2013-05-07 Thread Jiri Slaby
On 05/07/2013 05:58 AM, Steven Rostedt wrote: 3.6.11.3 stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby jsl...@suse.cz [ Upstream commit 37b7f3c76595e23257f61bd80b223de8658617ee ] Hi, you also want this one: commit

[PATCH 3/4] driver: provide sysfs interfaces to access TXT log

2013-05-07 Thread Qiaowei Ren
These interfaces are located in /sys/devices/platform/intel_txt/log/. Signed-off-by: Qiaowei Ren qiaowei@intel.com Signed-off-by: Xiaoyan Zhang xiaoyan.zh...@intel.com Signed-off-by: Gang Wei gang@intel.com --- Documentation/ABI/testing/sysfs-platform-intel-txt | 28 +

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-07 Thread Chanwoo Choi
On 05/07/2013 03:57 PM, Chanwoo Choi wrote: diff --git a/include/linux/extcon/extcon_palmas.h b/include/linux/extcon/extcon_palmas.h new file mode 100644 index 000..a5119c9 --- /dev/null +++ b/include/linux/extcon/extcon_palmas.h @@ -0,0 +1,26 @@ +/* + * extcon_palmas.h - palmas

[PATCH 0/4] Intel TXT driver

2013-05-07 Thread Qiaowei Ren
This module is expected to be a better tool to access below resources - TXT config space - Tboot log mem - SMX parameter Intel TXT (Trusted Execution Technology) will provide higher assurance of system configuration and initial state as well as data reset protection. It also helps solve

Re: Fwd: [GIT PULL] timer changes for v3.10

2013-05-07 Thread Feng Tang
Hi Ingo, On Tue, May 07, 2013 at 08:53:48AM +0200, Ingo Molnar wrote: * Feng Tang feng.t...@intel.com wrote: is even worse than that. Machine can stay is s2ram for weeks (for a lot more if it is desktop and you do s2ram for powersaving). Also temperature of CPU varies a lot

Re: [PATCH] radeon: Allow disabling UVD

2013-05-07 Thread Michel Dänzer
On Mon, 2013-05-06 at 19:11 -0400, Parag Warudkar wrote: Apparently UVD doesn't yet work everywhere - so allow it to be disabled. Shaves off some reboot and suspend/resume time on machines where it doesn't work. Might be useful for problematic chips in the future as well. Patch attached as

Re: [PATCH v2] register_console: prevent adding the same console twice

2013-05-07 Thread Andreas Bießmann
ping? Am 2013-03-25 09:59, schrieb Andreas Bießmann: This patch guards the console_drivers list to be corrupted. The for_each_console() macro insist on a strictly forward list ended by NULL: con0-next-con1-next-NULL Without this patch it may happen easily to destroy this list for example

Re: [PATCH] dma: ste_dma40: fix up static memcpy event lines

2013-05-07 Thread Lee Jones
On Fri, 03 May 2013, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org The commit dmaengine: ste_dma40: Assign memcpy channels in the driver had two problems: - It assigned magic numbers to the memcpy event lines instead of giving them symbolic names. - It seems to have

Re: [PATCH 1/2] PCI: Split pci_assign_unassigned_resources to per root bus

2013-05-07 Thread Yinghai Lu
On Mon, May 6, 2013 at 6:33 PM, Gavin Shan sha...@linux.vnet.ibm.com wrote: Run the kernel with Yinghai's code on the simulator and it's failed to enable PCI devices (including p2p bridges) as the attached kernel log indicates. Please check attached v2 for second patch. Thanks Yinghai

Re: [PATCH v4 7/8] vmcore: treat memory chunks referenced by PT_LOAD program header entries in page-size boundary in vmcore_list

2013-05-07 Thread HATAYAMA Daisuke
Sorry for late reply. (2013/04/30 4:51), Vivek Goyal wrote: On Sat, Apr 13, 2013 at 09:21:46AM +0900, HATAYAMA Daisuke wrote: Treat memory chunks referenced by PT_LOAD program header entries in page-size boundary in vmcore_list. Formally, for each range [start, end], we set up the

Re: [PATCH 54/63] ARM: ux500: Replace ST-E's home-brew DMA direction definition with the generic one

2013-05-07 Thread Lee Jones
On Mon, 06 May 2013, Srinidhi Kasagar wrote: On Fri, May 03, 2013 at 16:32:40 +0200, Lee Jones wrote: STEDMA40_*_TO_* direction definitions are identical in all but name to the pre-defined generic DMA_*_TO_* ones. Let's make things easy by not duplicating such things. Signed-off-by:

Re: [RFC 2/3] mailbox: Introduce a new common API

2013-05-07 Thread Jassi Brar
Hi Suman, On 7 May 2013 05:15, Suman Anna s-a...@ti.com wrote: The client(s) can always generate TX requests at a rate greater than the API could transmit on the physical link. So as much as we dislike it, we have to buffer TX requests, otherwise N clients would. The current code doesn't

Re: [PATCH v4 0/6] sched: use runnable load based balance

2013-05-07 Thread Alex Shi
On 05/03/2013 03:55 PM, Alex Shi wrote: That should probably look like: preempt_disable(); raw_spin_unlock_irq(); preempt_enable_no_resched(); schedule(); Otherwise you might find a performance regression on PREEMPT=y kernels. Yes, right! Thanks a lot for

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-07 Thread Mark Brown
On Tue, May 07, 2013 at 10:42:53AM +0530, Kishon Vijay Abraham I wrote: On Monday 06 May 2013 08:10 PM, Mark Brown wrote: On Mon, May 06, 2013 at 06:47:04PM +0530, Kishon Vijay Abraham I wrote: + if (palmas_usb-linkstat != PALMAS_USB_STATE_VBUS) { + if

Re: [PATCH 1/8] mfd: intel_msic: remove unnecessary platform_set_drvdata()

2013-05-07 Thread Lee Jones
On Mon, 06 May 2013, Jingoo Han wrote: The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). Thus, it is not needed to manually clear the

[PATCH 1/2] clk: si5351: Fix msynth_recalc_rate return value when fOUT is 0.

2013-05-07 Thread Marek Belisko
When p3 is eual to 0 then result for fOUT is 0. In that case we should return 0 not parent_rate; This issue was causing deadlock in si5351 chip when user set_rate for ms0-clk0 and then set_rate for ms1-clk1 (both ms sourced from plla). After that clk1 was 0 and it wasn't possible to enable it

Re: [PATCH 1/1] ktime: Use macro NSEC_PER_USEC instead of a magic number

2013-05-07 Thread Daniel Borkmann
On 05/06/2013 02:42 PM, y...@shlinux1.ap.freescale.net wrote: From: Liu Ying ying@freescale.com Nitpick: If you only have 1 patch, then you don't need 1/1 in the subject. The term magic number here might be a little exaggerated, not so magic actually. :-) But, in general I agree that we

Re: 3.9.0: WARNING: at drivers/base/core.c:575

2013-05-07 Thread Srivatsa S. Bhat
On 05/07/2013 01:24 PM, CAI Qian wrote: OK, also saw it on x64, [ 18.305143] WARNING: at drivers/base/core.c:575 device_create_file+0x82/0xa0() [ 18.313208] Write permission without 'store' [ 18.317985] Modules linked in: i5000_edac(F+) iTCO_vendor_support(F) coretemp(F)

Re: [PATCH 0/2] perf: Fix/factor auxiliary events

2013-05-07 Thread Peter Zijlstra
On Mon, May 06, 2013 at 06:27:16PM +0200, Jiri Olsa wrote: hi, sending fix for issue caused by using smp_processor_id() in preemptible path discussed in here: http://marc.info/?l=linux-kernelm=136733569907888w=2 I also noticed there's a space for some code factoring saving some .text size

Re: Bisected 3.9 regression for iwl4965 connection problem to 1672c0e3

2013-05-07 Thread Stanislaw Gruszka
On Mon, May 06, 2013 at 05:44:06PM +0200, Johannes Berg wrote: On Mon, 2013-05-06 at 17:31 +0200, Johannes Berg wrote: But if so, I would also see the breakage on my setup, but I don't - it works quite well here. Are you testing on a passive channel? Try with a large beacon

Re: makedumpfile mmap() benchmark

2013-05-07 Thread HATAYAMA Daisuke
(2013/05/04 4:10), Cliff Wickman wrote: Jingbai Ma wote on 27 Mar 2013: I have tested the makedumpfile mmap patch on a machine with 2TB memory, here is testing results: Test environment: Machine: HP ProLiant DL980 G7 with 2TB RAM. CPU: Intel(R) Xeon(R) CPU E7- 2860 @ 2.27GHz (8 sockets,

Re: [PATCH 2/2] perf, x86: Don't allow unusual PEBS raw flags

2013-05-07 Thread Peter Zijlstra
On Tue, May 07, 2013 at 08:48:05AM +0200, Ingo Molnar wrote: Also, this code only runs when the event is set up, so a bit of sanity checking can only help, right? Nah, its all very circumspect. In fact; while what Andi states is 'true': documentation in the Intel SDM 18.6.1.1 states:

Re: [PATCH v4 4/6] KVM: MMU: fast invalid all shadow pages

2013-05-07 Thread Gleb Natapov
On Tue, May 07, 2013 at 01:45:52AM +0800, Xiao Guangrong wrote: On 05/07/2013 01:24 AM, Gleb Natapov wrote: On Mon, May 06, 2013 at 09:10:11PM +0800, Xiao Guangrong wrote: On 05/06/2013 08:36 PM, Gleb Natapov wrote: Step 1) Fix kvm_mmu_zap_all's behaviour: introduce lockbreak via

How does commit 47ec340c not introduce a bug?

2013-05-07 Thread Robin Holt
I noticed a warning while cross-compiling all arm defconfigs. The mmp2_defconfig gave this warning: drivers/video/backlight/max8925_bl.c: In function 'max8925_backlight_probe': drivers/video/backlight/max8925_bl.c:177:3: warning: statement with no effect [-Wunused-value] This appears to have

Re: [PATCH 0/7] mv643xx_eth: device tree bindings

2013-05-07 Thread Valentin Longchamp
Sebastian, On 05/06/2013 05:33 PM, Sebastian Hesselbarth wrote: This patch set picks up work by Florian Fainelli bringing full DT support to mv643xx_eth and Marvell SoCs using it. The current patch set drops Florian's device tree conversions for Kirkwood, Dove, and Orion5x in favour of

Re: [PATCH, RFC 01/22] can: move CONFIG_HAVE_CAN_FLEXCAN out of CAN_DEV

2013-05-07 Thread Marc Kleine-Budde
On 05/03/2013 05:24 PM, Arnd Bergmann wrote: On Friday 03 May 2013, Marc Kleine-Budde wrote: On 05/02/2013 05:16 PM, Arnd Bergmann wrote: CONFIG_HAVE_CAN_FLEXCAN is a silect symbol that is meant to be selected by platforms that support this driver, but that is not possible without also

Re: [PATCH 54/63] ARM: ux500: Replace ST-E's home-brew DMA direction definition with the generic one

2013-05-07 Thread Srinidhi Kasagar
On Tue, May 07, 2013 at 09:39:21 +0200, Lee Jones wrote: On Mon, 06 May 2013, Srinidhi Kasagar wrote: On Fri, May 03, 2013 at 16:32:40 +0200, Lee Jones wrote: STEDMA40_*_TO_* direction definitions are identical in all but name to the pre-defined generic DMA_*_TO_* ones. Let's make

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-07 Thread Graeme Gregory
On 07/05/13 10:47, Kishon Vijay Abraham I wrote: Hi, On Tuesday 07 May 2013 01:28 PM, Mark Brown wrote: On Tue, May 07, 2013 at 10:42:53AM +0530, Kishon Vijay Abraham I wrote: On Monday 06 May 2013 08:10 PM, Mark Brown wrote: On Mon, May 06, 2013 at 06:47:04PM +0530, Kishon Vijay Abraham I

Re: How does commit 47ec340c not introduce a bug?

2013-05-07 Thread Robin Holt
On Tue, May 07, 2013 at 05:35:28PM +0800, Haojian Zhuang wrote: On Tue, May 7, 2013 at 5:24 PM, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Hello, On Tue, May 07, 2013 at 04:17:34AM -0500, Robin Holt wrote: I noticed a warning while cross-compiling all arm defconfigs. The

Re: [PATCH 54/63] ARM: ux500: Replace ST-E's home-brew DMA direction definition with the generic one

2013-05-07 Thread Lee Jones
On Tue, 07 May 2013, Srinidhi Kasagar wrote: On Tue, May 07, 2013 at 09:39:21 +0200, Lee Jones wrote: On Mon, 06 May 2013, Srinidhi Kasagar wrote: On Fri, May 03, 2013 at 16:32:40 +0200, Lee Jones wrote: STEDMA40_*_TO_* direction definitions are identical in all but name to the

[PATCH 1/3] sparc: Switch to asm-generic/linkage.h

2013-05-07 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/sparc/include/asm/Kbuild|1 + arch/sparc/include/asm/linkage.h |6 -- 2 files changed, 1 insertions(+), 6 deletions(-) delete mode 100644 arch/sparc/include/asm/linkage.h diff --git a/arch/sparc/include/asm/Kbuild

[PATCH 2/3] cris: Switch to asm-generic/linkage.h

2013-05-07 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/cris/include/asm/Kbuild|1 + arch/cris/include/asm/linkage.h |6 -- 2 files changed, 1 insertions(+), 6 deletions(-) delete mode 100644 arch/cris/include/asm/linkage.h diff --git a/arch/cris/include/asm/Kbuild

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-07 Thread Morten Rasmussen
On Tue, May 07, 2013 at 04:06:33AM +0100, Paul Turner wrote: On Mon, May 6, 2013 at 7:18 PM, Alex Shi alex@intel.com wrote: On 05/06/2013 06:17 PM, Paul Turner wrote: Rather than exposing the representation of load_avg_contrib to __sched_fork it might also be better to call:

[PATCH 3/3] xtensa: Switch to asm-generic/linkage.h

2013-05-07 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- arch/xtensa/include/asm/Kbuild|1 + arch/xtensa/include/asm/linkage.h | 16 2 files changed, 1 insertions(+), 16 deletions(-) delete mode 100644 arch/xtensa/include/asm/linkage.h diff --git

Re: [PATCH v4 4/6] KVM: MMU: fast invalid all shadow pages

2013-05-07 Thread Gleb Natapov
On Tue, May 07, 2013 at 05:41:35PM +0800, Xiao Guangrong wrote: On 05/07/2013 04:58 PM, Gleb Natapov wrote: On Tue, May 07, 2013 at 01:45:52AM +0800, Xiao Guangrong wrote: On 05/07/2013 01:24 AM, Gleb Natapov wrote: On Mon, May 06, 2013 at 09:10:11PM +0800, Xiao Guangrong wrote: On

Re: [PATCH 1/2] clk: si5351: Fix msynth_recalc_rate return value when fOUT is 0.

2013-05-07 Thread Sebastian Hesselbarth
On 05/07/2013 10:14 AM, Marek Belisko wrote: When p3 is eual to 0 then result for fOUT is 0. In that case we should return 0 not parent_rate; This issue was causing deadlock in si5351 chip when user set_rate for ms0-clk0 and then set_rate for ms1-clk1 (both ms sourced from plla). After that

Re: Build errors caused by modalias generation patch

2013-05-07 Thread Ralf Baechle
On Mon, May 06, 2013 at 07:19:53PM +0200, Andreas Schwab wrote: Please try the patch in http://marc.info/?l=linux-kbuildm=136767800809256w=2. No change in observed behaviour. I did all my builds in empty object directories so I don't see why this patch would make any difference. Ralf -- To

Re: [PATCH 0/4] madvise(MADV_USERFAULT) sys_remap_anon_pages()

2013-05-07 Thread Isaku Yamahata
On Mon, May 06, 2013 at 09:56:57PM +0200, Andrea Arcangeli wrote: Hello everyone, this is a patchset to implement two new kernel features: MADV_USERFAULT and remap_anon_pages. The combination of the two features are what I would propose to implement postcopy live migration, and in general

Re: [PATCH 2/2] clk: si5351: Powerdown output when clock rate is 0.

2013-05-07 Thread Sebastian Hesselbarth
On 05/07/2013 10:14 AM, Marek Belisko wrote: When rate is 0 powerdown clock output. Signed-off-by: Marek Beliskomarek.beli...@streamunlimited.com --- drivers/clk/clk-si5351.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git

Re: [PATCH v3 02/16] freezer: add unsafe versions of freezable helpers for CIFS

2013-05-07 Thread Jeff Layton
On Mon, 6 May 2013 16:50:07 -0700 Colin Cross ccr...@android.com wrote: CIFS calls wait_event_freezekillable_unsafe with a VFS lock held, which is unsafe and will cause lockdep warnings when 6aa9707 lockdep: check that no locks held at freeze time is reapplied (it was reverted in dbf520a).

Re: Lenovo Yoga 13 touchpad regression

2013-05-07 Thread Benjamin Tissoires
On Tue, May 7, 2013 at 7:25 AM, H. Peter Anvin h...@zytor.com wrote: Hello, The touchpad on Lenovo Yoga 13 seems to have broken some time between 3.4 and the current kernel. The dmesg is full of spewage: [ 256.246481] atkbd serio0: Use 'setkeycodes e03e keycode' to make it known. [

[git pull] Please pull powerpc.git merge branch

2013-05-07 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a few more powerpc bits that I would like in 3.10. Mostly remaining bolts screw tightening of power8 support such as actually exposing the new features via the previously added AT_HWCAP2, and a few fixes, some of them for problems exposed recently like irqdomain warnings or

Re: [PATCH RFC] x86: uaccess s/might_sleep/might_fault/

2013-05-07 Thread Michael S. Tsirkin
On Thu, May 02, 2013 at 04:28:40PM +0300, Michael S. Tsirkin wrote: On Thu, May 02, 2013 at 10:52:41AM +0200, Ingo Molnar wrote: * Michael S. Tsirkin m...@redhat.com wrote: The only reason uaccess routines might sleep is if they fault. Make this explicit for

[PATCH] net: of_mdio: fix behavior on missing phy device

2013-05-07 Thread Sebastian Hesselbarth
of_mdiobus_register creates a phy_device even if get_phy_device failed to create it previously. This causes indefinite polling on non-existent PHYs. This fix makes of_mdio_register rely on get_phy_device to properly create the device or fail otherwise. Signed-off-by: Sebastian Hesselbarth

Re: [PATCHv2] arm: Preserve TPIDRURW on context switch

2013-05-07 Thread Jonathan Austin
Hi André, On 06/05/13 23:27, André Hentschel wrote: Am 03.05.2013 17:24, schrieb Jonathan Austin: - .macro set_tls_none, tp, tmp1, tmp2 + .macro switch_tls_none, base, tp, trw, tmp1, tmp2 .endm - .macro set_tls_v6k, tp, tmp1, tmp2 + .macro switch_tls_v6k, base,

Re: [PATCH 1/2] clk: si5351: Fix msynth_recalc_rate return value when fOUT is 0.

2013-05-07 Thread Marek Belisko
On 05/07/2013 12:03 PM, Sebastian Hesselbarth wrote: On 05/07/2013 10:14 AM, Marek Belisko wrote: When p3 is eual to 0 then result for fOUT is 0. In that case we should return 0 not parent_rate; This issue was causing deadlock in si5351 chip when user set_rate for ms0-clk0 and then set_rate

[PATCH] Enable A20 gate

2013-05-07 Thread Syed Salman Mansoor
From a5e4cd6cb1956d288b5a001f60699dc8b5528963 Mon Sep 17 00:00:00 2001 From: Syed Salman Mansoor syed.salman.mans...@gmail.com Date: Tue, 7 May 2013 12:49:24 +0500 Subject: [PATCH] Enable A20 gate This is a patch to the a20.c file that fixes following warnings/errors found by the checkpatch.pl

Re: [PATCH 3/4] f2fs: optimize scan_nat_page()

2013-05-07 Thread Jaegeuk Kim
Hi, 2013-05-06 (월), 23:15 +0800, Haicheng Li: When nm_i-fcnt 2 * MAX_FREE_NIDS, stop scanning other NAT entries. Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/node.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/fs/f2fs/node.c

Re: [linux-next-20130422] Bug in SLAB?

2013-05-07 Thread Tetsuo Handa
Christoph Lameter wrote: On Sat, 4 May 2013, Tetsuo Handa wrote: Christoph Lameter wrote: Ok could I see the kernel logs with the warnings? Sure. These are exclusively from the module load. So the kernel seems to be clean of large kmalloc's ? There are modules (e.g. TOMOYO) which

Re: [PATCH 2/2] clk: si5351: Powerdown output when clock rate is 0.

2013-05-07 Thread Marek Belisko
On 05/07/2013 12:07 PM, Sebastian Hesselbarth wrote: On 05/07/2013 10:14 AM, Marek Belisko wrote: When rate is 0 powerdown clock output. Signed-off-by: Marek Beliskomarek.beli...@streamunlimited.com --- drivers/clk/clk-si5351.c | 32 +++- 1 file changed, 19

[RFC PATCH] irq_fpu_usable returns false negatives with eagerfpu

2013-05-07 Thread Pekka Riikonen
Hi, With the addition of eagerfpu the irq_fpu_usable() now returns false negatives especially in the case of ksoftirqd and interrupted idle task, two common cases for FPU use for example in networking. This is because of the eagerfpu check in interrupted_kernel_fpu_idle(): ... * For now,

Re: [PATCH] menuconfig: fix NULL pointer dereference when searching a symbol

2013-05-07 Thread Borislav Petkov
On Tue, May 07, 2013 at 10:40:59AM +0800, Li Zefan wrote: Searching PPC_EFIKA results segmentation fault, and it's because get_symbol_prop() returns NULL. In this case CONFIG_PPC_EFIKA is defined in arch/powerpc/platforms/ 52xx/Kconfig, so it won't be parsed if ARCH!=PPC, but menuconfig

Re: [PATCH v4] extcon: Palmas Extcon Driver

2013-05-07 Thread Mark Brown
On Tue, May 07, 2013 at 03:17:08PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 07 May 2013 01:28 PM, Mark Brown wrote: The platform can provide it's own vbus control in which case this is not needed. So why is there no interaction with this external VBUS control and how does the driver

[Suggestion] kernel/cgroup.c: about kfree after 'get_new_cssid'

2013-05-07 Thread Chen Gang
Hello Maintainers: After call get_new_cssid(), I can not find the related free function (it seems free_css_id() is for that, but not used). The memory location is: get_new_cssid() -- kzalloc() for 'struct css_id' get_new_cssid() -- idr_alloc() for 'ss-idr' One work flow:

[GIT PULL] fuse updates for 3.10

2013-05-07 Thread Miklos Szeredi
Hi Linus, Please pull the following fuse updates: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus This contains two patchsets from Maxim Patlasov. The first reworks the request throttling so that only async requests are throttled. Wakeup of waiting async requests is

Re: [RFC/PATCH 3/5] mm: get_user_pages: use NON-MOVABLE pages when FOLL_DURABLE flag is set

2013-05-07 Thread Marek Szyprowski
Hello, On 5/6/2013 9:19 AM, Tang Chen wrote: Hi Marek, It has been a long time since this patch-set was sent. And I'm pushing memory hot-remove works. I think I need your [patch3/5] to fix a problem I met. We have sent a similar patch before. But I think yours may be better. :)

RE: [PATCH] spi/omap2: Let device core handle pinctrl

2013-05-07 Thread Hebbar, Gururaja
On Tue, May 07, 2013 at 14:25:35, Mark Brown wrote: On Tue, May 07, 2013 at 03:56:09AM +, Hebbar, Gururaja wrote: There are cases where driver('s) needs to place pin-mux's to sleep on suspend default/idle on resume. For such cases Pinctrl needs to be handled inside the driver.

Re: Build errors caused by modalias generation patch

2013-05-07 Thread Geert Uytterhoeven
On Tue, May 7, 2013 at 12:04 PM, Ralf Baechle r...@linux-mips.org wrote: On Mon, May 06, 2013 at 07:19:53PM +0200, Andreas Schwab wrote: Please try the patch in http://marc.info/?l=linux-kbuildm=136767800809256w=2. No change in observed behaviour. I did all my builds in empty object

Re: [PATCH 2/2 v2, RFC] Driver core: Introduce offline/online callbacks for memory blocks

2013-05-07 Thread Vasilis Liaskovitis
Hi, On Tue, May 07, 2013 at 02:59:05AM +0200, Rafael J. Wysocki wrote: On Monday, May 06, 2013 06:28:12 PM Vasilis Liaskovitis wrote: On Sat, May 04, 2013 at 01:21:16PM +0200, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Introduce .offline() and

Re: [Suggestion] kernel/cgroup.c: about kfree after 'get_new_cssid'

2013-05-07 Thread Li Zefan
On 2013/5/7 18:46, Chen Gang wrote: Hello Maintainers: After call get_new_cssid(), I can not find the related free function (it seems free_css_id() is for that, but not used). The memory location is: get_new_cssid() -- kzalloc() for 'struct css_id' get_new_cssid() -- idr_alloc() for

Re: [PATCH 2/2] perf, x86: Don't allow unusual PEBS raw flags

2013-05-07 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Tue, May 07, 2013 at 08:48:05AM +0200, Ingo Molnar wrote: Also, this code only runs when the event is set up, so a bit of sanity checking can only help, right? Nah, its all very circumspect. In fact; while what Andi states is 'true':

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-07 Thread Alex Shi
On 05/07/2013 05:57 PM, Morten Rasmussen wrote: Agree. The tracked load of new tasks is often very unstable during first couple of ms on loaded systems. I'm not sure if 1024 is the right initial value. It may need to be larger. Maybe Peter can give a better value according to the experience on

[PULL] vhost: more fixes for 3.10

2013-05-07 Thread Michael S. Tsirkin
I didn't do any back-merging tricks this time, as a result this is behind master by quite a lot. But I did a test merge and it came out correctly, so this shouldn't be an issue. The following changes since commit 181c04a357bb791587c55a99362c2fdde2c64f18: vhost_scsi: module rename (2013-05-02

Re: [PATCH] [media] uvcvideo: Retry usb_submit_urb on -EPERM return

2013-05-07 Thread Laurent Pinchart
Hi Shawn, On Friday 03 May 2013 16:00:24 Shawn Nematbakhsh wrote: Hi Laurent, Thanks for the changes! I agree that your synchronization logic is correct. Just two small comments: On Mon, Apr 29, 2013 at 1:34 PM, Laurent Pinchart wrote: On Tuesday 23 April 2013 17:42:32 Shawn Nematbakhsh

Re: [Qemu-devel] [PATCH 1/4] mm: madvise MADV_USERFAULT

2013-05-07 Thread Andrew Jones
On Mon, May 06, 2013 at 09:56:58PM +0200, Andrea Arcangeli wrote: +++ b/mm/madvise.c @@ -93,6 +93,21 @@ static long madvise_behavior(struct vm_area_struct * vma, if (error) goto out; break; + case MADV_USERFAULT: + if

Re: [PATCH] Enable A20 gate

2013-05-07 Thread Ingo Molnar
* Syed Salman Mansoor syed.salman.mans...@gmail.com wrote: From a5e4cd6cb1956d288b5a001f60699dc8b5528963 Mon Sep 17 00:00:00 2001 From: Syed Salman Mansoor syed.salman.mans...@gmail.com Date: Tue, 7 May 2013 12:49:24 +0500 Subject: [PATCH] Enable A20 gate This is a patch to the a20.c file

Re: [PATCH v5 3/7] sched: set initial value of runnable avg for new forked task

2013-05-07 Thread Paul Turner
Yes, 1024 was only intended as a starting point. We could also arbitrarily pick something larger, the key is that we pick _something_. If we wanted to be more exacting about it we could just give them a sched_slice() worth; this would have a few obvious nice properties (pun intended). On Tue,

Re: [Suggestion] kernel/cgroup.c: about kfree after 'get_new_cssid'

2013-05-07 Thread Chen Gang
On 2013年05月07日 19:01, Li Zefan wrote: On 2013/5/7 18:46, Chen Gang wrote: Hello Maintainers: After call get_new_cssid(), I can not find the related free function (it seems free_css_id() is for that, but not used). The memory location is: get_new_cssid() -- kzalloc() for 'struct css_id'

Re: [net] e1000e: fix scheduling while atomic bug

2013-05-07 Thread David Miller
From: Jeff Kirsher jeffrey.t.kirs...@intel.com Date: Mon, 6 May 2013 22:52:47 -0700 From: Bruce Allan bruce.w.al...@intel.com A scheduling while atomic bug was introduced recently (by commit ce43a216 e1000e: cleanup USLEEP_RANGE checkpatch checks). Revert the particular instance of

Re: [Qemu-devel] [PATCH 1/4] mm: madvise MADV_USERFAULT

2013-05-07 Thread Andrea Arcangeli
Hi Andrew, On Tue, May 07, 2013 at 01:16:30PM +0200, Andrew Jones wrote: On Mon, May 06, 2013 at 09:56:58PM +0200, Andrea Arcangeli wrote: @@ -405,6 +420,7 @@ madvise_behavior_valid(int behavior) case MADV_HUGEPAGE: case MADV_NOHUGEPAGE: #endif + case MADV_USERFAULT:

Re: [Qemu-devel] [PATCH 0/4] madvise(MADV_USERFAULT) sys_remap_anon_pages()

2013-05-07 Thread Andrew Jones
On Mon, May 06, 2013 at 09:56:57PM +0200, Andrea Arcangeli wrote: The current behavior of remap_anon_pages is very strict to avoid any chance of memory corruption going unnoticed, and it will return -EFAULT at the first sign of something unexpected (like a page already mapped in the

[PATCH] ASoC: wm0010: fix error return code in wm0010_boot()

2013-05-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOMEM in the memory malloc of 'out' and 'img_swap' error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- sound/soc/codecs/wm0010.c | 1 + 1 file changed,

Re: [fuse-devel] [PATCH 14/14] mm: Account for WRITEBACK_TEMP in balance_dirty_pages

2013-05-07 Thread Miklos Szeredi
On Fri, Apr 26, 2013 at 7:44 PM, Maxim V. Patlasov mpatla...@parallels.com wrote: I'm for accounting NR_WRITEBACK_TEMP because balance_dirty_pages is already overcomplicated (imho) and adding new clauses for FUSE makes me sick. Agreed. But instead of further complexifying balance_dirty_pages()

[PATCH] pstore/ram: fix error return code in ramoops_probe()

2013-05-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- fs/pstore/ram.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH] h8300: Hardcode symbol prefixes in asm sources

2013-05-07 Thread Al Viro
On Tue, May 07, 2013 at 11:52:00AM +0200, Geert Uytterhoeven wrote: arch/h8300/kernel/syscalls.S | 646 +++--- NAK on this part - either turn it into array initialized in something.c, or at least do something like #define CALL(x) .long _##x and use that to

Re: [PATCH 2/2 v2, RFC] Driver core: Introduce offline/online callbacks for memory blocks

2013-05-07 Thread Rafael J. Wysocki
On Tuesday, May 07, 2013 12:59:45 PM Vasilis Liaskovitis wrote: Hi, On Tue, May 07, 2013 at 02:59:05AM +0200, Rafael J. Wysocki wrote: On Monday, May 06, 2013 06:28:12 PM Vasilis Liaskovitis wrote: On Sat, May 04, 2013 at 01:21:16PM +0200, Rafael J. Wysocki wrote: From: Rafael J.

[GIT PULL] hwspinlock for 3.10

2013-05-07 Thread Ohad Ben-Cohen
The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock.git tags/hwspinlock-3.10 for you to fetch changes up to

kernel 3.8.9 call trace kvm Watchdog detected hard LOCKUP

2013-05-07 Thread Stefan Priebe - Profihost AG
Hello list, today i kvm host crashed running vanilla kernel 3.8.9. The call trace looks like this: Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 18 Pid: 29053, comm: kvm Tainted: G O 3.8.9+16-ph #1 Call Trace: NMI [8150a86b] panic+0xbf/0x1df [8100ae73] ?

[PATCH] pinctrl: single: fix error return code in pcs_parse_one_pinctrl_entry()

2013-05-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Introduced by commit 9dddb4df90d136429b6d6ddefceb49a9b93f6cd1 (pinctrl: single: support generic pinconf) Signed-off-by: Wei Yongjun

Re: [PATCH 0/4] madvise(MADV_USERFAULT) sys_remap_anon_pages()

2013-05-07 Thread Andrea Arcangeli
Hi Isaku, On Tue, May 07, 2013 at 07:07:40PM +0900, Isaku Yamahata wrote: On Mon, May 06, 2013 at 09:56:57PM +0200, Andrea Arcangeli wrote: Hello everyone, this is a patchset to implement two new kernel features: MADV_USERFAULT and remap_anon_pages. The combination of the two

Re: [PATCH] pinctrl: single: fix error return code in pcs_parse_one_pinctrl_entry()

2013-05-07 Thread Haojian Zhuang
On 7 May 2013 20:06, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Introduced by commit 9dddb4df90d136429b6d6ddefceb49a9b93f6cd1

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-05-07 Thread Rusty Russell
Peter Maydell peter.mayd...@linaro.org writes: On 6 May 2013 06:11, Rusty Russell ru...@rustcorp.com.au wrote: Peter Maydell peter.mayd...@linaro.org writes: To be actually useful we need to also specify something in the device tree to say here is where you will find your emergency output and

Re: Add missing module license tag to vring helpers.

2013-05-07 Thread Rusty Russell
Dave Jones da...@redhat.com writes: On Mon, May 06, 2013 at 05:06:23PM +0930, Rusty Russell wrote: Dave Jones da...@redhat.com writes: [ 624.286653] vringh: module license 'unspecified' taints kernel. Signed-off-by: Dave Jones da...@redhat.com Thanks! This is exactly

Re: [Xen-devel] [PATCH RFC v2 2/4] arm: introduce CONFIG_PARAVIRT and pv_time_ops

2013-05-07 Thread Stefano Stabellini
On Tue, 7 May 2013, Ian Campbell wrote: On Mon, 2013-05-06 at 15:51 +0100, Stefano Stabellini wrote: Introduce CONFIG_PARAVIRT on ARM. What about PARAVIRT_TIME_ACCOUNTING? I'm not sure what it is but it looks like a more lightweight version of pv stolen time? PARAVIRT_TIME_ACCOUNTING

[GIT PULL] remoteproc for 3.10

2013-05-07 Thread Ohad Ben-Cohen
There's a trivial merge conflict with a Kconfig typo that got fixed during the rc cycle, but otherwise: The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available in the git repository at:

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-05-07 Thread Peter Maydell
On 7 May 2013 05:46, Rusty Russell ru...@rustcorp.com.au wrote: Peter Maydell peter.mayd...@linaro.org writes: That all looks like sensible QEMU implementation possibilities but it seems to be a bit of a non-sequitur from how do we tell the kernel to actually use this? You enable the feature

Re: Build errors caused by modalias generation patch

2013-05-07 Thread Geert Uytterhoeven
On Tue, May 7, 2013 at 12:58 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Tue, May 7, 2013 at 12:04 PM, Ralf Baechle r...@linux-mips.org wrote: On Mon, May 06, 2013 at 07:19:53PM +0200, Andreas Schwab wrote: Please try the patch in http://marc.info/?l=linux-kbuildm=136767800809256w=2.

Re: [PATCH v3 04/16] lockdep: check that no locks held at freeze time

2013-05-07 Thread Pavel Machek
On Mon 2013-05-06 16:50:09, Colin Cross wrote: From: Mandeep Singh Baines m...@chromium.org We shouldn't try_to_freeze if locks are held. Holding a lock can cause a deadlock if the lock is later acquired in the suspend or hibernate path (e.g. by dpm). Holding a lock can also cause a

Re: [094/126] TTY: fix atime/mtime regression

2013-05-07 Thread Steven Rostedt
On Tue, 2013-05-07 at 09:03 +0200, Jiri Slaby wrote: On 05/07/2013 05:58 AM, Steven Rostedt wrote: 3.6.11.3 stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby jsl...@suse.cz [ Upstream commit

[PATCH] w1: ds2408: add magic sequence to disable P0 test mode

2013-05-07 Thread Jean-Francois Dagenais
extract from http://datasheets.maximintegrated.com/en/ds/DS2408.pdf: Power-up timing The DS2408 is sensitive to the power-on slew rate and can inadvertently power up with a test mode feature enabled. When this occurs, the P0 port does not respond to the Channel Access Write command. For most

  1   2   3   4   5   6   7   8   9   10   >