[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

[GIT] kconfig changes for v3.10-rc1

2013-05-07 Thread Michal Marek
Hi Linus, please pull the following kconfig bits for v3.10-rc1: * use pkg-config to detect curses libraries * clean up the way curses headers are searched * Some randconfig fixes, of which one had to be reverted * KCONFIG_SEED for randconfig debugging * memuconfig memory leak plugged *

Re: [PATCH 0/5] drivers: bus: omap_l3: Conversion to devm_*

2013-05-07 Thread Santosh Shilimkar
On Thursday 02 May 2013 05:39 PM, Peter Ujfalusi wrote: Hi, Cleanup of platform probe and remove (removing the remove function at the end) with converting the driver to use the devm_* versions kzalloc, ioremap and request_irq. Thanks Peter. All patches looks fine to my eyes. In the last

Re: [Xen-devel] [PATCH RFC v2 4/4] xen/arm: account for stolen ticks

2013-05-07 Thread Ian Campbell
@@ -301,6 +320,10 @@ static int __init xen_init_events(void) on_each_cpu(xen_percpu_init, NULL, 0); + pv_time_ops.steal_clock = xen_stolen_accounting; + static_key_slow_inc(paravirt_steal_enabled); + static_key_slow_inc(paravirt_steal_rq_enabled); We don't seem to

[PATCH V3 14/21] thermal: exynos: Make the zone handling dependent on trip count

2013-05-07 Thread Amit Daniel Kachhap
This code simplifies the zone handling to use the trip count passed by the TMU driver. This also helps in adding more zone support. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c | 55

[PATCH V3 15/21] thermal: exynos: Add support to handle many instances of TMU

2013-05-07 Thread Amit Daniel Kachhap
This patch adds support to handle multiple instances of the TMU controllers. This is done by removing the static structure to register with the core thermal and creating it dynamically for each instance of the TMU controller. The interrupt is made shared type to handle interrupts for all the TMU.

[PATCH V3 16/21] thermal: exynos: Add features to check instead of using SOC type

2013-05-07 Thread Amit Daniel Kachhap
This patch adds several features supported by TMU as bitfields. This features varies across different SOC type and comparing the features present in the TMU is more logical than comparing the soc itself. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap

[PATCH V3 17/21] ARM: dts: thermal: exynos4: Add documentation for Exynos SoC thermal bindings

2013-05-07 Thread Amit Daniel Kachhap
From: Lukasz Majewski l.majew...@samsung.com Proper description for Exynos4 bindings added to Documentation/devicetree/ bindings Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- .../devicetree/bindings/thermal/exynos-thermal.txt |

[PATCH V3 18/21] thermal: exynos: Add support for exynos5440 TMU sensor.

2013-05-07 Thread Amit Daniel Kachhap
This patch modifies TMU controller to add changes needed to work with exynos5440 platform. Also register definitions and required configuration data are added. This sensor registers 3 instance of the tmu controller with the thermal zone and hence reports 3 temperature output. This controller

[PATCH V3 20/21] thermal: exynos: Support for TMU regulator defined at device tree

2013-05-07 Thread Amit Daniel Kachhap
TMU probe function now checks for a device tree defined regulator. For compatibility reasons it is allowed to probe driver even without this regulator defined. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Amit Daniel

[PATCH V3 13/21] thermal: exynos: Return success even if no cooling data supplied

2013-05-07 Thread Amit Daniel Kachhap
This patch removes the error return in the bind/unbind routine as the platform may not register any cpufreq cooling data. Acked-by: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- drivers/thermal/samsung/exynos_thermal_common.c |4 ++-- 1 files

[PATCH] x86, setup: Removed spaces, trailing character and suspect code indent warnings and errors in a20.c This is a patch to the a20.c file that fixes following warnings/errors found by the checkpat

2013-05-07 Thread Syed Salman Mansoor
Signed-off-by: Syed Salman Mansoor syed.salman.mans...@gmail.com --- arch/x86/boot/a20.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/arch/x86/boot/a20.c b/arch/x86/boot/a20.c index 64a31a6..4565f4d 100644 ---

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

2013-05-07 Thread Borislav Petkov
On Tue, May 07, 2013 at 01:52:54PM +0530, Srivatsa S. Bhat wrote: For the x86-64 case, does the patch posted here fix the issue? http://marc.info/?l=linux-edacm=136731542432210w=2 CAI, can I have your Tested-by before I pick it up? Thanks. -- Regards/Gruss, Boris. Sent from a fat crate

Re: [PATCH V2 02/20] thermal: exynos: Bifurcate exynos thermal common and tmu controller code

2013-05-07 Thread amit daniel kachhap
Hi Rui, On Mon, May 6, 2013 at 8:46 PM, Zhang Rui rui.zh...@intel.com wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This code bifurcates exynos thermal implementation into common and sensor specific parts. The common thermal code interacts with core thermal layer and

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 Tue, 2013-05-07 at 13:15 +0100, Stefano Stabellini wrote: 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

Re: [PATCH V2 01/20] thermal: exynos: Moving exynos thermal files into samsung directory

2013-05-07 Thread Tomasz Figa
On Tuesday 07 of May 2013 18:48:46 amit daniel kachhap wrote: Hi Tomasz Figa, On Tue, May 7, 2013 at 3:51 PM, Tomasz Figa t.f...@samsung.com wrote: On Monday 06 of May 2013 23:05:06 Zhang Rui wrote: On Fri, 2013-04-26 at 16:07 +0530, Amit Daniel Kachhap wrote: This movement of files is

[RFC] regmap: debugfs: Fix start_reg calculation

2013-05-07 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com If we dump syscon regmap registers via debufs you will notice that the dump contains lot of values at the end. An example configuration is: syscon@fdde{ compatible = syscon; reg = 0xfdde 0x15c;

Re: h8300 SYMBOL_NAME() breakage

2013-05-07 Thread James Hogan
On 06/05/13 13:31, Geert Uytterhoeven wrote: Commit e1b5bb6d1236d4ad2084c53aa83dde7cdf6f8eea (consolidate cond_syscall and SYSCALL_ALIAS declarations) broke the h8300 build because it removed the duplicate SYMBOL_NAME from arch/h8300/include/asm/linkage.h, and all the h8300 asm files include

[PATCH 001/118] ath9k_htc: accept 1.x firmware newer than 1.3

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau n...@openwrt.org commit 319e7bd96aca64a478f3aad40711c928405b8b77 upstream. Since the firmware has been open sourced, the minor version has been bumped to 1.4 and the

[PATCH 017/118] vm: convert fb_mmap to vm_iomap_memory() helper

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds torva...@linux-foundation.org commit fc9bbca8f650e5f738af8806317c0a041a48ae4a upstream. This is my example conversion of a few existing mmap users. The fb_mmap() case is

[PATCH 037/118] netrom: fix info leak via msg_name in nr_recvmsg()

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause mini...@googlemail.com commit 3ce5efad47b62c57a4f5c54248347085a750ce0e upstream. In case msg_name is set the sockaddr info gets filled out, as requested, but the code

[PATCH 056/118] net: rate-limit warn-bad-offload splats.

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Greear gree...@candelatech.com commit c846ad9b880ece01bb4d8d07ba917734edf0324f upstream. If one does do something unfortunate and allow a bad offload bug into the kernel, this the

[PATCH 078/118] USB: add ftdi_sio USB ID for GDM Boost V1.x

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Stefani Seibold stef...@seibold.net commit 58f8b6c4fa5a13cb2ddb400e26e9e65766d71e38 upstream. This patch add a missing usb device id for the GDMBoost V1.x device The patch is against

[PATCH 100/118] USB: ftdi_sio: enable two UART ports on ST Microconnect Lite

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Adrian Thomasset adrian.thomas...@st.com commit 71d9a2b95fc9c9474d46d764336efd7a5a80 upstream. The FT4232H used in the ST Micro Connect Lite has four hi-speed UART ports. The first

[PATCH 115/118] tty: fix up atime/mtime mess, take three

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds torva...@linux-foundation.org commit b0b885657b6c8ef63a46bc9299b2a7715d19acde upstream. We first tried to avoid updating atime/mtime entirely (commit b0de59b5733d: TTY: do

[PATCH 112/118] inotify: invalid mask should return a error number but not set it

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Zhao Hongjiang zhaohongji...@huawei.com commit 04df32fa10ab9a6f0643db2949d42efc966bc844 upstream. When we run the crackerjack testsuite, the inotify_add_watch test is stalled. This is

[PATCH 114/118] exec: do not abuse -cred_guard_mutex in threadgroup_lock()

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov o...@redhat.com commit e56fb2874015370e3b7f8d85051f6dce26051df9 upstream. threadgroup_lock() takes signal-cred_guard_mutex to ensure that thread_group_leader() is stable.

[PATCH 116/118] ipc: sysv shared memory limited to 8TiB

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Robin Holt h...@sgi.com commit d69f3bad4675ac519d41ca2b11e1c00ca115cecd upstream. Trying to run an application which was trying to put data into half of memory using shmget(), we found

[PATCH 118/118] ARM: 7699/1: sched_clock: Add more notrace to prevent recursion

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd sb...@codeaurora.org commit cea15092f098b7018e89f64a5a14bb71955965d5 upstream. cyc_to_sched_clock() is called by sched_clock() and cyc_to_ns() is called by

[PATCH] drm/exynos: fix error return code in exynos_drm_load()

2013-05-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOMEM in the exynos_plane_init() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 +++- 1 file changed, 3

[PATCH 103/118] ixgbe: fix EICR write in ixgbe_msix_other

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller jacob.e.kel...@intel.com commit d87d830720a1446403ed38bfc2da268be0d356d1 upstream. Previously, the ixgbe_msix_other was writing the full 32bits of the set interrupts,

[PATCH 106/118] fs/fscache/stats.c: fix memory leak

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Anurup m anuru...@huawei.com commit ec686c9239b4d472052a271c505d04dae84214cc upstream. There is a kernel memory leak observed when the proc file /proc/fs/fscache/stats is read. The

[PATCH 111/118] md: bad block list should default to disabled.

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown ne...@suse.de commit 486adf72ccc0c235754923d47a2270c5dcb0c98b upstream. Maintenance of a bad-block-list currently defaults to 'enabled' and is then disabled when it cannot be

[PATCH 117/118] Revert drm/i915: GFX_MODE Flush TLB Invalidate Mode must be '1' for scanline waits

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Luis Henriques luis.henriq...@canonical.com This reverts commit 899b5509abbdfee2eab408e7178e559346091ad3, which is commit f05bb0c7b624252a5e768287e340e8e45df96e42 in Linus' tree. This

[PATCH 109/118] drivers/rtc/rtc-cmos.c: don't disable hpet emulation on suspend

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Derek Basehore dbaseh...@chromium.org commit e005715efaf674660ae59af83b13822567e3a758 upstream. There's a bug where rtc alarms are ignored after the rtc cmos suspends but before the

[PATCH 113/118] fs/dcache.c: add cond_resched() to shrink_dcache_parent()

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Greg Thelen gthe...@google.com commit 421348f1ca0bf17769dee0aed4d991845ae0536d upstream. Call cond_resched() in shrink_dcache_parent() to maintain interactivity. Before this patch:

[PATCH 110/118] drivers/rtc/rtc-at91rm9200.c: fix missing iounmap

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold jhov...@gmail.com commit 3427de92ac70a064098ff843c72ac76c420bb1cb upstream. Add missing iounmap to probe error path and remove. Signed-off-by: Johan Hovold

[PATCH 108/118] arm: set the page table freeing ceiling to TASK_SIZE

2013-05-07 Thread Luis Henriques
3.5.7.12 -stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas catalin.mari...@arm.com commit 104ad3b32d7a71941c8ab2dee78eea38e8a23309 upstream. ARM processors with LPAE enabled use 3 levels of page tables, with an entry in the top

[PATCH v3 05/14] rwsem: simplify rwsem_down_write_failed

2013-05-07 Thread Michel Lespinasse
When waking writers, we never grant them the lock - instead, they have to acquire it themselves when they run, and remove themselves from the wait_list when they succeed. As a result, we can do a few simplifications in rwsem_down_write_failed(): - We don't need to check for !waiter.task since

[PATCH v3 06/14] rwsem: more agressive lock stealing in rwsem_down_write_failed

2013-05-07 Thread Michel Lespinasse
Some small code simplifications can be achieved by doing more agressive lock stealing: - When rwsem_down_write_failed() notices that there are no active locks (and thus no thread to wake us if we decided to sleep), it used to wake the first queued process. However, stealing the lock is also

[PATCH v3 09/14] rwsem: skip initial trylock in rwsem_down_write_failed

2013-05-07 Thread Michel Lespinasse
We can skip the initial trylock in rwsem_down_write_failed() if there are known active lockers already, thus saving one likely-to-fail cmpxchg. Signed-off-by: Michel Lespinasse wal...@google.com Reviewed-by: Peter Hurley pe...@hurleysoftware.com Acked-by: Davidlohr Bueso davidlohr.bu...@hp.com

[PATCH v3 11/14] rwsem: implement support for write lock stealing on the fastpath

2013-05-07 Thread Michel Lespinasse
When we decide to wake up readers, we must first grant them as many read locks as necessary, and then actually wake up all these readers. But in order to know how many read shares to grant, we must first count the readers at the head of the queue. This might take a while if there are many readers,

[PATCH] powerpc/fsl_msi: fix error return code in fsl_of_msi_probe()

2013-05-07 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code in the MSI bitmap alloc error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- arch/powerpc/sysdev/fsl_msi.c | 5 ++--- 1 file changed,

[PATCH v3 14/14] rwsem: no need for explicit signed longs

2013-05-07 Thread Michel Lespinasse
From: Davidlohr Bueso davidlohr.bu...@hp.com Change explicit signed long declarations into plain long as suggested by Peter Hurley. Signed-off-by: Davidlohr Bueso davidlohr.bu...@hp.com Reviewed-by: Michel Lespinasse wal...@google.com Signed-off-by: Michel Lespinasse wal...@google.com ---

<    4   5   6   7   8   9   10   11   12   13   >