Re: [PATCH V2] rtc: rtc-v3020: use gpio_request_array()

2013-02-24 Thread Igor Grinberg
On 02/22/13 04:19, Jingoo Han wrote: Using gpio_request_array()/gpio_free_array() can make the code simpler because it can set the direction and initial value in one shot and the for loop is unnecessary. Also, struct v3020_gpio is removed, because the struct v3020_gpio is replaced with

[PATCH] thinkpad_acpi: moved hotkey_thread_mutex lock after set_freezable()

2013-02-24 Thread Artem Savkov
set_freezable() checks freezing during which no locks should be held. hotkey_thread_mutex lock should be moved closer to where it is actually needed. Signed-off-by: Artem Savkov artem.sav...@gmail.com --- drivers/platform/x86/thinkpad_acpi.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [patch v5 09/15] sched: add power aware scheduling in fork/exec/wake

2013-02-24 Thread Alex Shi
On 02/22/2013 04:54 PM, Peter Zijlstra wrote: On Thu, 2013-02-21 at 22:40 +0800, Alex Shi wrote: The name is a secondary issue, first you need to explain why you think nr_running is a useful metric at all. You can have a high nr_running and a low utilization (a burst of wakeups, each waking

Re: [patch v5 09/15] sched: add power aware scheduling in fork/exec/wake

2013-02-24 Thread Preeti U Murthy
Hi Alex, On 02/24/2013 02:57 PM, Alex Shi wrote: On 02/22/2013 04:54 PM, Peter Zijlstra wrote: On Thu, 2013-02-21 at 22:40 +0800, Alex Shi wrote: The name is a secondary issue, first you need to explain why you think nr_running is a useful metric at all. You can have a high nr_running and

Re: [PATCH] arch/x86/xen: remove depends on CONFIG_EXPERIMENTAL

2013-02-24 Thread Dongsheng Song
On Sun, Feb 24, 2013 at 1:03 AM, Kees Cook keesc...@chromium.org wrote: On Sat, Feb 23, 2013 at 3:59 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On Sat, Feb 23, 2013 at 3:29 PM, Kees Cook keesc...@chromium.org wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for

Re: [PATCH] kexec: use min_t/max_t to avoid 'if (foo == bar)' thing

2013-02-24 Thread Simon Horman
On Sun, Feb 24, 2013 at 12:03:00PM +0800, Zhang Yanfei wrote: This is just a tweak: using min_t/max_t to avoid `if (foo = bar)' thing. - s/=/==/; s/[/]max_t// But in any case the change is more than that. I'd be happier with something like: kexec: Use min_t to simplify logic Cc:

Re: [patch v5 02/15] sched: set initial load avg of new forked task

2013-02-24 Thread Preeti U Murthy
Hi Alex, On 02/20/2013 11:50 AM, Alex Shi wrote: On 02/18/2013 01:07 PM, Alex Shi wrote: New task has no runnable sum at its first runnable time, so its runnable load is zero. That makes burst forking balancing just select few idle cpus to assign tasks if we engage runnable load in balancing.

v3.8-6988-g9e2d59a compile error

2013-02-24 Thread Toralf Förster
Moin, got this wit the attached .config : ... CC kernel/mutex.o CC kernel/hrtimer.o kernel/mutex.c:34:37: error: include/asm-generic/mutex-null.h: Input/output error kernel/mutex.c: In function ‘mutex_lock’: kernel/mutex.c:91:2: error: implicit declaration of function

[PATCH v5] lib/scatterlist: use page iterator in the mapping iterator

2013-02-24 Thread Imre Deak
For better code reuse use the newly added page iterator to iterate through the pages. The offset, length within the page is still calculated by the mapping iterator as well as the actual mapping. Idea from Tejun Heo. v1-v3: - original version v4: - The dw_mmc driver used sg_mapping_iter::__sg,

Re: [uml-user] v3.8-6988-g9e2d59a compile error

2013-02-24 Thread richard -rw- weinberger
On Sun, Feb 24, 2013 at 12:03 PM, Toralf Förster toralf.foers...@gmx.de wrote: Moin, got this wit the attached .config : ... CC kernel/mutex.o CC kernel/hrtimer.o kernel/mutex.c:34:37: error: include/asm-generic/mutex-null.h: Input/output error The compiler got -EIO while

Re: [PATCH] acerhdf: Fix fan activation with new thermal governor

2013-02-24 Thread Borislav Petkov
On Sat, Feb 23, 2013 at 08:20:10PM +0100, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de The new step_wise thermal governor wasn't able to handle the one-trip point design of acerhdf where we want to turn off the fan if we go under the 'fanoff' temperature and to turn it on only

[PATCH v1] mmc: card: Adding support for sanitize in eMMC 4.5

2013-02-24 Thread Yaniv Gardi
The sanitize support is added as a user-app ioctl call, and was removed from the block-device request, since its purpose is to be invoked not via File-System but by a user. This feature deletes the unmap memory region of the eMMC card, by writing to a specific register in the EXT_CSD. unmap region

Re: [PATCH] acerhdf: Fix fan activation with new thermal governor

2013-02-24 Thread Peter Feuerer
Hi Boris, thanks for your best wishes in the last mail, I'm feeling little better now. Borislav Petkov writes: On Sat, Feb 23, 2013 at 08:20:10PM +0100, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de The new step_wise thermal governor wasn't able to handle the one-trip point

Re: [patch v5 09/15] sched: add power aware scheduling in fork/exec/wake

2013-02-24 Thread Alex Shi
Um, let me try to explain again, The utilisation need much time to accumulate itself(345ms). Whenever with or without load weight, many bursting tasks just give a minimum weight to the carrier CPU at the first few ms. So, it is too easy to do a incorrect distribution here and need migration

[PATCH 1/2] drivers/gpu/drm/tilcdc/tilcdc_drv.c: adjust duplicate test

2013-02-24 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Delete successive tests to the same location. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @s exists@ local idexpression y; expression x,e; @@ *if ( \(x == NULL\|IS_ERR(x)\|y !=

[PATCH 2/2] drivers/regulator/s5m8767.c: adjust duplicate test

2013-02-24 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Delete successive tests to the same location. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @s exists@ local idexpression y; expression x,e; @@ *if ( \(x == NULL\|IS_ERR(x)\|y !=

[PATCH 0/2] adjust duplicate test

2013-02-24 Thread Julia Lawall
These patches fix cases where a value is tested that was previously tested. Often the problem is that the tested value has not been updated properly. Sometimes the test is simply duplicated. These problems were found using the following semantic match (http://coccinelle.lip6.fr/): // smpl @r

Re: [PATCH 4/5] perf, x86: Support full width counting v3

2013-02-24 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: Recent Intel CPUs like Haswell and IvyBridge have a new alternative MSR range for perfctrs that allows writing the full counter width. Enable this range if the hardware reports it using a new capability bit. This lowers the overhead of perf stat

Re: [PATCH] acerhdf: Fix fan activation with new thermal governor

2013-02-24 Thread Borislav Petkov
On Sun, Feb 24, 2013 at 12:42:55PM +0100, Peter Feuerer wrote: Hi Boris, thanks for your best wishes in the last mail, I'm feeling little better now. Nice :) Please test my last patch with the 4 trip points ;) - even if you don't really like it, it is working great! - And to be honest, I

[tip:sched/urgent] cputime: Constify timeval_to_cputime(timeval) argument

2013-02-24 Thread tip-bot for Li Zhong
Commit-ID: c78a4bcd1a879b39fb7646c887b0c195f1018909 Gitweb: http://git.kernel.org/tip/c78a4bcd1a879b39fb7646c887b0c195f1018909 Author: Li Zhong zh...@linux.vnet.ibm.com AuthorDate: Sat, 23 Feb 2013 17:28:44 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sun, 24 Feb 2013

[tip:sched/urgent] cputime: Use local_clock() for full dynticks cputime accounting

2013-02-24 Thread tip-bot for Frederic Weisbecker
Commit-ID: 7f6575f1fb963d5231afbceecd3feadb6ab58cd3 Gitweb: http://git.kernel.org/tip/7f6575f1fb963d5231afbceecd3feadb6ab58cd3 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Sat, 23 Feb 2013 17:28:45 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sun, 24 Feb 2013

Re: [PATCH v2] IB/mlx4: silence GCC warning

2013-02-24 Thread Jack Morgenstein
On Thursday 21 February 2013 11:02, Paul Bolle wrote: diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c index 19e0637..512fde3 100644 --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c @@ -1778,8 +1778,8 @@ static int

Re: question about arch/arm/mach-s3c24xx/irq.c

2013-02-24 Thread Russell King - ARM Linux
On Sun, Feb 24, 2013 at 12:45:11PM +0100, Julia Lawall wrote: The function s3c24xx_irq_map in arch/arm/mach-s3c24xx/irq.c contains the code: parent_irq_data = parent_intc-irqs[irq_data-parent_irq]; if (!irq_data) { pr_err(irq-s3c24xx: no

Re: [PATCH] acerhdf: Fix fan activation with new thermal governor

2013-02-24 Thread Borislav Petkov
On Sun, Feb 24, 2013 at 01:09:52PM +0100, Borislav Petkov wrote: On Sun, Feb 24, 2013 at 12:42:55PM +0100, Peter Feuerer wrote: Hi Boris, thanks for your best wishes in the last mail, I'm feeling little better now. Nice :) Please test my last patch with the 4 trip points ;) - even

Re: [PATCH] kexec: use min_t/max_t to avoid 'if (foo == bar)' thing

2013-02-24 Thread Zhang Yanfei
于 2013年02月24日 18:55, Simon Horman 写道: On Sun, Feb 24, 2013 at 12:03:00PM +0800, Zhang Yanfei wrote: This is just a tweak: using min_t/max_t to avoid `if (foo = bar)' thing. - s/=/==/; s/[/]max_t// But in any case the change is more than that. I'd be happier with something like:

Re: question about arch/arm/mach-s3c24xx/irq.c

2013-02-24 Thread Julia Lawall
[Adding the person who introduced the code] On Sun, 24 Feb 2013, Russell King - ARM Linux wrote: On Sun, Feb 24, 2013 at 12:45:11PM +0100, Julia Lawall wrote: The function s3c24xx_irq_map in arch/arm/mach-s3c24xx/irq.c contains the code: parent_irq_data =

Re: [uml-user] v3.8-6988-g9e2d59a compile error

2013-02-24 Thread Toralf Förster
On 02/24/2013 12:18 PM, richard -rw- weinberger wrote: The compiler got -EIO while opening include/asm-generic/mutex-null.h. Maybe a you should fsck your disk first. :-) gah -... $ rm include/asm-generic/mutex-null.h $ git checkout include/asm-generic/mutex-null.h did it - thx --

Re: [PATCH] xfs: Fix possible truncation of log data in xlog_bread_noalign()

2013-02-24 Thread Dave Chinner
On Sun, Feb 24, 2013 at 04:46:30AM +, Tony Lu wrote: For example, if xlog_bread_noalign() wants to read blocks from #1 to # 9, in which case the passed parameter blk_no is 1, and nbblks is 8, sectBBsize is 8, after the round down and round up operations, we get blk_no as 0, and nbblks

Re: [GIT PULL] PCI changes for v3.9

2013-02-24 Thread Rafael J. Wysocki
On Saturday, February 23, 2013 06:49:27 PM Yinghai Lu wrote: On Sat, Feb 23, 2013 at 1:21 PM, Bjorn Helgaas bhelg...@google.com wrote: The following changes since commit d1c3ed669a2d452cacfb48c2d171a1f364dae2ed: Linux 3.8-rc2 (2013-01-02 18:13:21 -0800) are available in the git

[GIT PULL] ACPI and power management fixes for v3.9-rc1

2013-02-24 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm+acpi-fixes-3.9-rc1 to receive ACPI and power management fixes for v3.9-rc1 with top-most commit 4383822020c54c21eb2eb939a3233b44a51e8ca0 Merge branch 'acpi-pm' into fixes

Re: [PATCH] acerhdf: Fix fan activation with new thermal governor

2013-02-24 Thread Borislav Petkov
On Sun, Feb 24, 2013 at 12:42:55PM +0100, Peter Feuerer wrote: Please test my last patch with the 4 trip points ;) - even if you don't really like it, it is working great! - And to be honest, I still prefer this solution! Ok, I remember everything now - had to add some debug output to see what

[PATCH v2] kexec: Use min_t to simplify logic

2013-02-24 Thread Zhang Yanfei
From: Zhang Yanfei zhangyan...@cn.fujitsu.com This is just a tweak: using min_t to simplify logic of variable assignments. v2: - Rewrite patch description as Simon suggested. - Fix an inappropriate if test introduced by v1. Thanks Simon. Cc: Eric W. Biederman ebied...@xmission.com Cc: Andrew

Re: [PATCH] arch/x86/xen: remove depends on CONFIG_EXPERIMENTAL

2013-02-24 Thread Greg Kroah-Hartman
On Sun, Feb 24, 2013 at 05:51:44PM +0800, Dongsheng Song wrote: On Sun, Feb 24, 2013 at 1:03 AM, Kees Cook keesc...@chromium.org wrote: On Sat, Feb 23, 2013 at 3:59 AM, Dongsheng Song dongsheng.s...@gmail.com wrote: On Sat, Feb 23, 2013 at 3:29 PM, Kees Cook keesc...@chromium.org wrote:

Re: [git pull] signal.git

2013-02-24 Thread Benjamin Herrenschmidt
On Sat, 2013-02-23 at 18:56 -0800, Linus Torvalds wrote: On Wed, Feb 20, 2013 at 2:52 PM, Al Viro v...@zeniv.linux.org.uk wrote: * a bunch of signal-related syscalls (both native and compat) unified. Ok, in the meantime I had merged the parisc and powerpc trees, which had their own fixes in

Re: question about arch/arm/mach-s3c24xx/irq.c

2013-02-24 Thread Heiko Stübner
Am Sonntag, 24. Februar 2013, 14:39:45 schrieb Julia Lawall: [Adding the person who introduced the code] On Sun, 24 Feb 2013, Russell King - ARM Linux wrote: On Sun, Feb 24, 2013 at 12:45:11PM +0100, Julia Lawall wrote: The function s3c24xx_irq_map in arch/arm/mach-s3c24xx/irq.c contains

Re: [PATCH] ima: fix part_pack_uuid() build error

2013-02-24 Thread Mimi Zohar
On Fri, 2013-02-22 at 13:20 -0800, Randy Dunlap wrote: On 02/22/13 11:46, Mimi Zohar wrote: Fix a build error when CONFIG_BLOCK is not enabled by defining a wrapper called ima_part_pack_uuid(). The wrapper returns -EINVAL, when CONFIG_BLOCK is not defined. Some function wrapper for the

[PATCH] block: fix part_pack_uuid() build error

2013-02-24 Thread Mimi Zohar
Fix a build error when CONFIG_BLOCK is not enabled, by defining a wrapper called blk_part_pack_uuid(). The wrapper returns -EINVAL, when CONFIG_BLOCK is not defined. security/integrity/ima/ima_policy.c:538:4: error: implicit declaration of function 'part_pack_uuid'

[PATCH 1/2] ima: remove enforce checking duplication merge fix

2013-02-24 Thread Mimi Zohar
Commit 750943a ima: remove enforce checking duplication combined the 'in IMA policy' and 'enforcing file integrity' checks. For the non-file, kernel module verification, a specific check for 'enforcing file integrity' was not added. This patch adds the check. Signed-off-by: Mimi Zohar

[PATCH] DMA: of: Constant names

2013-02-24 Thread Markus Pargmann
No DMA of-function alters the name, so this patch changes the name arguments to be constant. Most drivers will probably request DMA channels using a constant name. Signed-off-by: Markus Pargmann m...@pengutronix.de --- drivers/dma/dmaengine.c | 2 +- drivers/dma/of-dma.c | 6 +++---

Re: question about arch/arm/mach-s3c24xx/irq.c

2013-02-24 Thread Julia Lawall
On Sun, 24 Feb 2013, Heiko Stübner wrote: Am Sonntag, 24. Februar 2013, 14:39:45 schrieb Julia Lawall: [Adding the person who introduced the code] On Sun, 24 Feb 2013, Russell King - ARM Linux wrote: On Sun, Feb 24, 2013 at 12:45:11PM +0100, Julia Lawall wrote: The function

[PATCH] Use config scripts to detect ncurses libs for, menuconfig/nconfig dialogs

2013-02-24 Thread Justin
Hi, when ncurses is build with --with-termlib several symbols are moved to a seperate terminfo library (libtinfo.so). Current Kernel buildsystem results in a build error with menuconfig and nconfig dialogs. gcc -o scripts/kconfig/mconf scripts/kconfig/mconf.o scripts/kconfig/zconf.tab.o

Re: [PATCHv2 04/10] remoteproc: Parse ELF file to find resource table address

2013-02-24 Thread Ido Yariv
Hi Sjur, On Thu, Feb 21, 2013 at 06:15:34PM +0100, sjur.brandel...@stericsson.com wrote: From: Sjur Brændeland sjur.brandel...@stericsson.com Add function find_rsc_table_va to firmware ops. This function returns the location of the resource table in shared memory after loading.

Re: [PATCH] i2c: s3c2410: check for NULL pinctrl handle

2013-02-24 Thread Tomasz Figa
On Sunday 24 of February 2013 02:01:45 Linus Walleij wrote: On Sun, Feb 24, 2013 at 1:58 AM, Tomasz Figa tomasz.f...@gmail.com wrote: [Me] Surely you know this when setting up the pdata from your machine? Cases 2) and 3) are both DT-enabled cases, where there is no pdata coming

Re: [PATCH] drivers/vfio: remove depends on CONFIG_EXPERIMENTAL

2013-02-24 Thread Alex Williamson
On Fri, 2013-02-22 at 23:36 -0800, Kees Cook wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. Signed-off-by: Kees Cook

Re: [RFE PATCH 2/2] rtc, add write functionality to sysfs

2013-02-24 Thread Prarit Bhargava
On 02/23/2013 06:11 PM, Alessandro Zummo wrote: On 22/feb/2013, at 22:05, John Stultz john.stu...@linaro.org wrote: On 02/22/2013 12:55 PM, Prarit Bhargava wrote: On 02/22/2013 03:43 PM, John Stultz wrote: On 02/14/2013 09:02 AM, Prarit Bhargava wrote: /sys/class/rtc/rtcX/date and

Re: [PATCH] x86, clocksource, fix !CONFIG_CLOCKSOURCE_WATCHDOG compile

2013-02-24 Thread Prarit Bhargava
On 02/22/2013 03:14 PM, Thomas Gleixner wrote: +void clocksource_mark_unstable(struct clocksource *cs) { } Unless this is defined as +static inline void clocksource_mark_unstable(struct clocksource *cs) { } Right? Whups. Of course ... new patch ... -8 If I explicitly disable

[PATCH v2] scripts/kernel-doc: handle struct member __aligned without numbers

2013-02-24 Thread Nishanth Menon
commit ef5da59f12602815baa8fad98241b77dedea3b31 (scripts/kernel-doc: handle struct member __aligned) char something [123] __aligned(8); However, by using \d we constraint ourselves with integers. This is not always the case. In fact, it might be better to do char something[123]

[PATCH] cpufreq: highbank: do not initialize array with a loop

2013-02-24 Thread Emilio López
As uninitialized array members will be initialized to zero, we can avoid using a for loop by setting a value to it. Signed-off-by: Emilio López emi...@elopez.com.ar --- Note that I don't own any device using this driver, it has only been compile tested, but it shouldn't cause any issues.

Re: [RFE PATCH 1/2] x86, rtc, ntp, Do full rtc synchronization with ntp

2013-02-24 Thread Prarit Bhargava
On 02/22/2013 03:42 PM, John Stultz wrote: This looks reasonable to me. Though I want to make sure we get this thoroughly tested by the various distros so we don't surprise anyone, since it has to potential to cause problems where folks are dualbooting windows (using a localtime RTC)

Lockdep splat when unloading b43

2013-02-24 Thread Larry Finger
With the current wireless-testing tree, unloading b43 produces the lockdep log splat copied below. My understanding of locking is deficient, and I would like to learn. Any help on understanding this problem is appreciated. Larry [ 3093.900871]

[PATCH -mm 0/3] coredump: make it freezable (almost)

2013-02-24 Thread Oleg Nesterov
Hello. On top of coredump-sanitize-the-setting-of-signal-group_exit_code.patch Andrew, almost means we need a bit more changes, but these changes should be absolutely trivial/straightforward. We need to add the killable/freezeng checks in dump_write/seek. But this depends on 2/3, lets discuss

[PATCH 1/3] coredump: factor out the setting of PF_DUMPCORE

2013-02-24 Thread Oleg Nesterov
Cleanup and preparation. Every linux_binfmt-core_dump() sets PF_DUMPCORE, move this into zap_threads() called by do_coredump(). Signed-off-by: Oleg Nesterov o...@redhat.com --- arch/x86/ia32/ia32_aout.c |1 - fs/binfmt_aout.c |1 - fs/binfmt_elf.c |3 +--

[PATCH 2/3] freezer: do not send a fake signal to a PF_DUMPCORE thread

2013-02-24 Thread Oleg Nesterov
A coredumping thread can't be frozen anyway but the fake signal sent by freeze_task() can confuse dump_write/wait_for_dump_helpers/etc and interrupt the coredump. We are going to make the do_coredump() paths freezable but the fake TIF_SIGPENDING doesn't help, it only makes sense when we assume

[PATCH 3/3] coredump: make wait_for_dump_helpers() freezable

2013-02-24 Thread Oleg Nesterov
wait_for_dump_helpers() calls wake_up/kill_fasync from inside the wait_event-like loop. This is not needed and in fact this is not strictly correct, we can/should do this only once after we change pipe-writers. We could even check if it becomes zero. With this change it is trivial to convert this

Re: question about arch/arm/mach-s3c24xx/irq.c

2013-02-24 Thread Heiko Stübner
Am Sonntag, 24. Februar 2013, 16:45:18 schrieb Julia Lawall: On Sun, 24 Feb 2013, Heiko Stübner wrote: Am Sonntag, 24. Februar 2013, 14:39:45 schrieb Julia Lawall: [Adding the person who introduced the code] On Sun, 24 Feb 2013, Russell King - ARM Linux wrote: On Sun, Feb 24, 2013

Re: [patch v5 09/15] sched: add power aware scheduling in fork/exec/wake

2013-02-24 Thread Preeti U Murthy
Hi, On 02/24/2013 02:57 PM, Alex Shi wrote: On 02/22/2013 04:54 PM, Peter Zijlstra wrote: On Thu, 2013-02-21 at 22:40 +0800, Alex Shi wrote: The name is a secondary issue, first you need to explain why you think nr_running is a useful metric at all. You can have a high nr_running and a low

Suspected GPL violation: Chad Goodman and Anthrax Kernels for Android phones

2013-02-24 Thread Eric Appleman
Mr. Goodman claims his website is a private organization and is therefore exempt for releasing source for kernels that are used and distributed internally on his message board. His claim of GPL compliance can be found here, but requires a sign-in:

Re: [PATCH -mm 0/3] coredump: make it freezable (almost)

2013-02-24 Thread Oleg Nesterov
On 02/24, Oleg Nesterov wrote: depends on 2/3, lets discuss this series first. Cough. Not sure how I managed to convince myself that freeze_task() can't race with zap_threads() and wrongly set TIF_SIGPENDING. I'll send v2 in reply to 2/3. Oleg. -- To unsubscribe from this list: send the line

Re: Lockdep splat when unloading b43

2013-02-24 Thread Johannes Berg
On Sun, 2013-02-24 at 11:31 -0600, Larry Finger wrote: With the current wireless-testing tree, unloading b43 produces the lockdep log splat copied below. My understanding of locking is deficient, and I would like to learn. Any help on understanding this problem is appreciated. [

Re: [PATCH] block: fix part_pack_uuid() build error

2013-02-24 Thread David Rientjes
On Sun, 24 Feb 2013, Mimi Zohar wrote: Fix a build error when CONFIG_BLOCK is not enabled, by defining a wrapper called blk_part_pack_uuid(). The wrapper returns -EINVAL, when CONFIG_BLOCK is not defined. security/integrity/ima/ima_policy.c:538:4: error: implicit declaration of function

RE: [PATCH] libertas sdio: remove CMD_FUNC_INIT call

2013-02-24 Thread Lubomir Rintel
On Wed, 2013-02-20 at 17:59 -0800, Bing Zhao wrote: Hi Lubomir, @@ -825,20 +825,6 @@ static void if_sdio_finish_power_on(struct if_sdio_card *card) sdio_release_host(func); - /* -* FUNC_INIT is required for SD8688 WLAN/BT multiple functions

[PATCH v2 2/3] freezer: do not send a fake signal to a PF_DUMPCORE thread

2013-02-24 Thread Oleg Nesterov
A coredumping thread can't be frozen anyway but the fake signal sent by freeze_task() can confuse dump_write/wait_for_dump_helpers/etc and interrupt the coredump. We are going to make the do_coredump() paths freezable but the fake TIF_SIGPENDING doesn't help, it only makes sense when we assume

Re: Lockdep splat when unloading b43

2013-02-24 Thread Larry Finger
On 02/24/2013 12:32 PM, Michael Büsch wrote: On Sun, 24 Feb 2013 11:31:47 -0600 Larry Finger larry.fin...@lwfinger.net wrote: With the current wireless-testing tree, unloading b43 produces the lockdep log splat copied below. My understanding of locking is deficient, and I would like to learn.

Re: Lockdep splat when unloading b43

2013-02-24 Thread Michael Büsch
On Sun, 24 Feb 2013 11:31:47 -0600 Larry Finger larry.fin...@lwfinger.net wrote: With the current wireless-testing tree, unloading b43 produces the lockdep log splat copied below. My understanding of locking is deficient, and I would like to learn. Any help on understanding this problem

Re: Lockdep splat when unloading b43

2013-02-24 Thread Larry Finger
On 02/24/2013 12:14 PM, Johannes Berg wrote: On Sun, 2013-02-24 at 11:31 -0600, Larry Finger wrote: Thanks for the detailed analysis. It was very helpful. Here request_firmware calls wiphy_register which locks the RTNL, and it's running from the work struct. This was newly introduced by

[GIT PULL] MMC updates for 3.9-rc1

2013-02-24 Thread Chris Ball
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git tags/mmc-updates-for-3.9-rc1 to receive the MMC merge for 3.9. There are currently no conflicts, and these patches have been tested in linux-next. Thanks. The following changes since commit

Re: [PATCH] block: fix part_pack_uuid() build error

2013-02-24 Thread Randy Dunlap
On 02/24/13 07:15, Mimi Zohar wrote: Fix a build error when CONFIG_BLOCK is not enabled, by defining a wrapper called blk_part_pack_uuid(). The wrapper returns -EINVAL, when CONFIG_BLOCK is not defined. security/integrity/ima/ima_policy.c:538:4: error: implicit declaration of function

Re: [PATCH 3/3] convert headers_install.pl-headers_install.sh

2013-02-24 Thread Michal Marek
On Mon, Dec 17, 2012 at 05:12:51PM -0800, r...@landley.net wrote: From: Rob Landley r...@landley.net Remove perl from make headers_install by replacing a perl script (doing a simple regex search and replace) with a smaller, faster, simpler, POSIX-2008 shell script implementation. The new

[PATCH 1/2] media/rc/imon.c: make send_packet() delay configurable

2013-02-24 Thread Kevin Baradon
Some imon devices (like 15c2:0036) need a higher delay between send_packet calls. Default value is still 5ms to avoid regressions on already working hardware. Also use interruptible wait to avoid load average going too high (and let caller handle signals). Signed-off-by: Kevin Baradon

[PATCH 0/2] Improve imon LCD/VFD driver to better support 15c2:0036

2013-02-24 Thread Kevin Baradon
Hi, Please find those two short patches to improve support of (at least) 15c2:0036 imon device. These apply on latest git and were tested on 3.7.8 and 3.7.9 kernels. Thanks. Kevin Baradon (2): media/rc/imon.c: make send_packet() delay configurable media/rc/imon.c: avoid flooding syslog

[PATCH 2/2] media/rc/imon.c: avoid flooding syslog with unknown keypress when keypad is pressed

2013-02-24 Thread Kevin Baradon
My 15c2:0036 device floods syslog when a keypad key is pressed: Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0: imon_incoming_packet: unknown keypress, code 0x100fff2 Feb 18 19:00:57 homeserver kernel: imon 5-1:1.0: imon_incoming_packet: unknown keypress, code 0x100fef2 Feb 18 19:00:57

[PATCH] hv: hv_balloon.c: Remove duplicated mman.h include.

2013-02-24 Thread Thiago Farina
Signed-off-by: Thiago Farina tfar...@chromium.org --- drivers/hv/hv_balloon.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c index dd289fd..c02a33e 100644 --- a/drivers/hv/hv_balloon.c +++ b/drivers/hv/hv_balloon.c @@ -29,7 +29,6 @@ #include

Re: [Bisected][-next-20130204+] [x86/kvm] udevd:[97]: segfault at ffffffffff5fd020 ip 00007fff069e277f sp 00007fff068c9ef8 error d

2013-02-24 Thread Peter Hurley
On Tue, 2013-02-19 at 10:26 +0200, Gleb Natapov wrote: On Mon, Feb 18, 2013 at 08:12:21PM -0500, Peter Hurley wrote: On Mon, 2013-02-18 at 19:59 -0300, Marcelo Tosatti wrote: On Wed, Feb 13, 2013 at 06:57:09AM -0500, Peter Hurley wrote: On Wed, 2013-02-13 at 12:51 +0200, Gleb Natapov

Re: kswapd craziness round 2

2013-02-24 Thread Jiri Slaby
On 02/21/2013 01:07 PM, Hillf Danton wrote: On Thu, Feb 21, 2013 at 6:14 AM, Jiri Slaby jsl...@suse.cz wrote: Does Ingo's revert help? https://lkml.org/lkml/2013/2/15/168 Not at all... Then mind taking a try? Applied now, I'll report in a week or so as it needs a couple of days of uptime

Re: WARNING: at drivers/pci/pci.c:1397 pci_disable_device

2013-02-24 Thread Jiri Slaby
On 02/19/2013 07:53 PM, Bjorn Helgaas wrote: On Tue, Feb 19, 2013 at 11:34 AM, Jiri Slaby jsl...@suse.cz wrote: Hi, so I hit that one: + dev_WARN_ONCE(dev-dev, atomic_read(dev-enable_cnt) = 0, + disabling already-disabled device); during suspend (to ram):

Re: [PATCH 0/5] [v3] fix illegal use of __pa() in KVM code

2013-02-24 Thread Peter Hurley
On Tue, 2013-01-22 at 13:24 -0800, Dave Hansen wrote: This series fixes a hard-to-debug early boot hang on 32-bit NUMA systems. It adds coverage to the debugging code, adds some helpers, and eventually fixes the original bug I was hitting. Hi Dave, Now that the alloc_remap() has been/is

Fwd: Cpu hotplug causes stutter on AMD platform, how can I disable it?

2013-02-24 Thread Mario Giammarco
Hello, I have an AMD Athlon(tm) II X4 635 Processor on an asus M4A89TD PRO/USB3 motherboard with AMD 890FX chipset. When I play videos on nvidia card (even on open source driver) the video stutters and I can see in syslog: Feb 24 00:30:50 virtual1 kernel: [ 719.834878] CPU 1 is now offline Feb

Re: [RFC] Reproducible OOM with just a few sleeps

2013-02-24 Thread paul . szabo
Dear Simon, So if he config sparse memory, the issue can be solved I think. In my config file I have: CONFIG_HAVE_SPARSE_IRQ=y CONFIG_SPARSE_IRQ=y CONFIG_ARCH_SPARSEMEM_ENABLE=y # CONFIG_SPARSEMEM_MANUAL is not set CONFIG_SPARSEMEM_STATIC=y # CONFIG_INPUT_SPARSEKMAP is not set #

Re: [PATCH 02/16] virtio_ring: virtqueue_add_sgs, to add multiple sgs.

2013-02-24 Thread Michael S. Tsirkin
On Tue, Feb 19, 2013 at 06:26:20PM +1030, Rusty Russell wrote: virtio_scsi can really use this, to avoid the current hack of copying the whole sg array. Some other things get slightly neater, too. Signed-off-by: Rusty Russell ru...@rustcorp.com.au Hmm, this makes add_buf a bit slower.

[PATCH] s390/dis: Fix invalid array size

2013-02-24 Thread Syam Sidhardhan
We are using sizeof operator for an array given as function argument, which is incorrect. Signed-off-by: Syam Sidhardhan s.s...@samsung.com --- arch/s390/kernel/dis.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/kernel/dis.c b/arch/s390/kernel/dis.c index

[PATCH dontapply 0/2] tools/virtio updates for API testing

2013-02-24 Thread Michael S. Tsirkin
Here's a patchset to update tools/virtio with changes in 3.8, as well as the proposed API extension. Useful to see whether the extra level of indirection adds measureable overhead. I will upstream at least patch 1 soon. Michael S. Tsirkin (2): tools/virtio: fix build for 3.8 tools/virtio:

[PATCH dontapply 1/2] tools/virtio: fix build for 3.8

2013-02-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/vhost/test.c| 4 +++- tools/virtio/Makefile | 2 +- tools/virtio/linux/virtio.h | 7 ++- tools/virtio/virtio_test.c | 3 ++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/vhost/test.c

[PATCH dontapply 2/2] tools/virtio: update for the new virtio API

2013-02-24 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin m...@redhat.com --- tools/virtio/linux/virtio.h | 45 ++--- 1 file changed, 38 insertions(+), 7 deletions(-) diff --git a/tools/virtio/linux/virtio.h b/tools/virtio/linux/virtio.h index 390c4cb..0426a75 100644 ---

Re: [PATCH 0/5] vringh

2013-02-24 Thread Michael S. Tsirkin
On Tue, Feb 19, 2013 at 08:59:27AM +1030, Rusty Russell wrote: This introduces vringh, which are generic accessors for virtio rings (host side). There's a host-side implementation in vhost, but it assumes that the rings are in userspace, and is tied to the vhost implementation. I have

[PATCH] drm/i915: Fix missing variable initilization

2013-02-24 Thread Syam Sidhardhan
Need to initialize the variable wait to false. Signed-off-by: Syam Sidhardhan s.s...@samsung.com --- drivers/gpu/drm/i915/intel_ddi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index fc95ef0..5d0a687

linux-next: please clean up

2013-02-24 Thread Stephen Rothwell
Hi all, As your work is merged by upstream trees, please clean up your linux-next included branches. A big thanks to those who already do this in a timely fashion. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpaaDtRS04nC.pgp Description: PGP signature

Re: [PATCH] i2c: s3c2410: check for NULL pinctrl handle

2013-02-24 Thread Linus Walleij
On Sun, Feb 24, 2013 at 6:00 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Note that we are talking here about a temporary solution. The legacy DT- based pin configuration will go away after all the DT-enabled platforms using this driver get migrated to pin control and so will the need to

Re: [PATCH] pinctrl: return real error codes when pinctrl is not included

2013-02-24 Thread Linus Walleij
On Sun, Feb 24, 2013 at 11:34 PM, Heiko Stübner he...@sntech.de wrote: [Me] This make me suspect that you have this ugly patch in some private repo and I will be seeing it again and again :-( All my s3c24xx work is done is my spare time, so I have to confess I came up with this ugly patch

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

2013-02-24 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the metag tree got a conflict in mm/page_alloc.c between commit 22b751c3d037 (mm: rename page struct field helpers) from Linus' tree and commit 373d4d099761 (taint: add explicit flag to show whether lock dep is still OK) from the metag tree. I fixed it up

[PATCH] s3c-adc-battery: Fix possible NULL pointer dereference

2013-02-24 Thread Syam Sidhardhan
Check for (bat == NULL) has to be done before accessing bat Signed-off-by: Syam Sidhardhan s.s...@samsung.com --- drivers/power/s3c_adc_battery.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/power/s3c_adc_battery.c b/drivers/power/s3c_adc_battery.c index

Re: [git pull] signal.git

2013-02-24 Thread James Bottomley
On Sat, 2013-02-23 at 18:56 -0800, Linus Torvalds wrote: Ok, in the meantime I had merged the parisc and powerpc trees, which had their own fixes in this area: powerpc added the transactional memory support for power8 (which impacted signal save/restore), and parisc had some fixes to the

Re: [PATCH] pinctrl: return real error codes when pinctrl is not included

2013-02-24 Thread Heiko Stübner
Am Sonntag, 24. Februar 2013, 01:40:58 schrieb Linus Walleij: On Sat, Feb 23, 2013 at 6:56 PM, Heiko Stübner he...@sntech.de wrote: Currently the fallback functions when pinctrl is not being built do return either NULL or 0, either no pinctrl handle or no error, making them fail silently.

Re: [PATCH] pinctrl: return real error codes when pinctrl is not included

2013-02-24 Thread Heiko Stübner
Am Sonntag, 24. Februar 2013, 23:42:32 schrieb Linus Walleij: On Sun, Feb 24, 2013 at 11:34 PM, Heiko Stübner he...@sntech.de wrote: [Me] This make me suspect that you have this ugly patch in some private repo and I will be seeing it again and again :-( All my s3c24xx work is done

[PATCH] dma: imx-dma: Remove redundant NULL check before kfree

2013-02-24 Thread Syam Sidhardhan
kfree on NULL pointer is a no-op. Signed-off-by: Syam Sidhardhan s.s...@samsung.com --- drivers/dma/imx-dma.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/imx-dma.c b/drivers/dma/imx-dma.c index 70b8975..0988583 100644 --- a/drivers/dma/imx-dma.c +++

Re: [PATCH] i2c: s3c2410: check for NULL pinctrl handle

2013-02-24 Thread Heiko Stübner
Am Sonntag, 24. Februar 2013, 23:39:44 schrieb Linus Walleij: On Sun, Feb 24, 2013 at 6:00 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Note that we are talking here about a temporary solution. The legacy DT- based pin configuration will go away after all the DT-enabled platforms using

Re: [PATCH v2 2/3] freezer: do not send a fake signal to a PF_DUMPCORE thread

2013-02-24 Thread Rafael J. Wysocki
On Sunday, February 24, 2013 07:36:56 PM Oleg Nesterov wrote: A coredumping thread can't be frozen anyway but the fake signal sent by freeze_task() can confuse dump_write/wait_for_dump_helpers/etc and interrupt the coredump. We are going to make the do_coredump() paths freezable but the fake

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

2013-02-24 Thread Stephen Rothwell
Hi Michal, After merging the kbuild tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: scripts/link-vmlinux.sh: line 135: .: .config: file not found Presumably caused by commit 03b25b47e0f4 (scripts/link-vmlinux.sh: source variables from KCONFIG_CONFIG). I have used the

Re: [PATCH] i2c: s3c2410: check for NULL pinctrl handle

2013-02-24 Thread Tomasz Figa
Hi, On Monday 25 of February 2013 00:16:49 Heiko Stübner wrote: Am Sonntag, 24. Februar 2013, 23:39:44 schrieb Linus Walleij: On Sun, Feb 24, 2013 at 6:00 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Note that we are talking here about a temporary solution. The legacy DT- based

Re: [GIT PULL] KVM updates for the 3.9 merge window

2013-02-24 Thread Linus Torvalds
On Wed, Feb 20, 2013 at 5:17 PM, Marcelo Tosatti mtosa...@redhat.com wrote: Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/kvm-3.9-1 to receive the KVM updates for the 3.9 merge window [..] Ok, particularly the s390 people should check me resolution of the conflicts,

Re: [PATCH] iommu: making IOMMU sysfs nodes API public

2013-02-24 Thread David Gibson
On Thu, Feb 21, 2013 at 09:11:13PM -0700, Alex Williamson wrote: On Fri, 2013-02-22 at 11:04 +1100, David Gibson wrote: On Tue, Feb 19, 2013 at 01:11:51PM -0700, Alex Williamson wrote: On Tue, 2013-02-19 at 18:38 +1100, David Gibson wrote: On Mon, Feb 18, 2013 at 10:24:00PM -0700, Alex

  1   2   3   4   >