Re: [alsa-devel] [PATCH v3] davinci-mcasp: Add support for multichannel playback

2013-03-01 Thread Michal Bachraty
Hi Daniel, Thanks for testing. > One thing that has to be considered by users of the driver is that the > 'serial-dir' DT property has to contain enough '1' entries for > multichannel playback (or enough '2's for multichannel record). So this > information is not actually something that describes

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-01 Thread Nishanth Menon
On Fri, Mar 1, 2013 at 1:47 AM, Ивайло Димитров wrote: > > They look similar, but they are not equivalent :). The first major difference > is here (code taken from omap-smc.S) > >> ENTRY(omap_smc2) >> stmfd sp!, {r4-r12, lr} >> mov r3, r2 >> mov r2, r1 >>

Re: [GIT PULL] Load keys from signed PE binaries

2013-03-01 Thread Theodore Ts'o
On Fri, Mar 01, 2013 at 11:00:52AM +0100, Vojtech Pavlik wrote: > > Mr. Blackhat then can load his i_own_your_ring0.ko module signed by his > key on your system, having obtained root access previously. The question will be what does Mr. Blackhat do with this i_own_your_ring0.ko module. The FUD t

Re: Bug in mtd_get_device_size()?

2013-03-01 Thread Richard Genoud
2013/3/1 Velykokhatko, Sergey : > Hi Richard, > >>And if you want to tweak the BEB_LIMIT for each of your UBI partition, it's >>possible, via the ubiattach call ( get the master branchof of >>git://git.infradead.org/mtd-utils.git ) cf >>http://git.infradead.org/mtd-utils.git/commit/878e06ea555ba

Re: [GIT] x86 platform driver bugfixes for 3.8

2013-03-01 Thread Bjørn Mork
Matthew Garrett writes: > This set covers regressions and two obvious bugfixes. The rest can wait > for 3.9. Sorry for nagging, but I assume the 3.9 merge window will close over the weekend and I haven't seen the pull request for the rest of these posted yet. I hope that still is the plan? B

Re: [PATCH v3] davinci-mcasp: Add support for multichannel playback

2013-03-01 Thread Mark Brown
On Thu, Feb 28, 2013 at 04:07:08PM +0100, Michal Bachraty wrote: > Davinci McASP has support for I2S multichannel playback. > For I2S playback/receive, each serializer is capable to play 2 channels > (L/R) audio data.Serializer function (Playback-receive-none) is configured Applied, thanks. I am

Divide error in intel_pstate_set_policy

2013-03-01 Thread Josh Boyer
Hi, We've had a report[1] that the intel_pstate driver will panic on boot under certain virtual machine environments. Thus far it seems VMWare and Hyper-V both see this. While this may be because of something those VMs are doing, the driver probably shouldn't cause a panic if it's getting some i

Re: security_inode_init_security() inode field requirements

2013-03-01 Thread Mimi Zohar
On Fri, 2013-03-01 at 13:11 +, Steven Whitehouse wrote: > Hi, > > On Fri, 2013-03-01 at 07:27 -0500, Mimi Zohar wrote: > > On Fri, 2013-03-01 at 10:12 +, Steven Whitehouse wrote: > > > Hi, > > > > > > I'm wondering whether there is a list somewhere of fields which > > > security_inode_ini

Re: [PATCH] tty: fix ldisc flush and termios setting race

2013-03-01 Thread Peter Hurley
On Fri, 2013-02-22 at 19:00 -0800, Min Zhang wrote: > From: Min Zhang > > A race condition can clear tty ldisc icanon bit unintentionally which > could stop n_tty from processing received characters. It can occur when > tty receiver buffer was full, e.g. 4096 chars received, 8250 serial driver >

Re: [PATCH] : fix compilation warnings with DT disabled

2013-03-01 Thread Rob Herring
On 03/01/2013 07:55 AM, Sergei Shtylyov wrote: > Hello. > > On 01-03-2013 17:48, Rob Herring wrote: > > Fix the following compilation warnings (in Simon Horman's > renesas.git repo): > > In file included from arch/arm/mach-shmobile/setup-r8a7779.c:24:0: > include/linux/of_platfor

Re: kswapd craziness round 2

2013-03-01 Thread Hillf Danton
On Fri, Mar 1, 2013 at 1:02 AM, Jiri Slaby wrote: > > Ok, no difference, kswap is still crazy. I'm attaching the output of > "grep -vw '0' /proc/vmstat" if you see something there. > Thanks to you for test and data. Lets try to restore the deleted nap, then. Hillf --- a/mm/vmscan.c Thu Feb

Re: [PATCH] : fix compilation warnings with DT disabled

2013-03-01 Thread Sergei Shtylyov
Hello. On 01-03-2013 17:48, Rob Herring wrote: Fix the following compilation warnings (in Simon Horman's renesas.git repo): In file included from arch/arm/mach-shmobile/setup-r8a7779.c:24:0: include/linux/of_platform.h:107:13: warning: ‘struct of_device_id’ declared inside parameter list [en

Re: [PATCH 10/30] staging: sync: Export sync API symbols

2013-03-01 Thread Greg KH
On Fri, Mar 01, 2013 at 12:21:24AM -0800, Erik Gilling wrote: > On Thu, Feb 28, 2013 at 7:59 PM, John Stultz wrote: > >> Also, EXPORT_SYMBOL_GPL() perhaps? > >> > >> And who is using these exports? > > > > > > From some quick git grepping... > > As John pointed out, the exynos and msm display and

Re: [PATCH] : fix compilation warnings with DT disabled

2013-03-01 Thread Rob Herring
On 03/01/2013 07:46 AM, Rob Herring wrote: > On 03/01/2013 01:09 AM, Simon Horman wrote: >> On Tue, Feb 19, 2013 at 02:58:25AM +0300, Sergei Shtylyov wrote: >>> Fix the following compilation warnings (in Simon Horman's renesas.git repo): >>> >>> In file included from arch/arm/mach-shmobile/setup-r8

Re: [PATCH 2/2] kconfig: use config scripts to detect ncurses libs

2013-03-01 Thread justin
On 01/03/13 09:36, Sven Joachim wrote: > Historically it seems to be an accident, and the ncurses{w,5}-config > scripts should have better been shipped in their development packages. > But nowadays we want to make the development packages multiarch-aware, > and since the scripts differ on architect

Re: [PATCH] : fix compilation warnings with DT disabled

2013-03-01 Thread Rob Herring
On 03/01/2013 01:09 AM, Simon Horman wrote: > On Tue, Feb 19, 2013 at 02:58:25AM +0300, Sergei Shtylyov wrote: >> Fix the following compilation warnings (in Simon Horman's renesas.git repo): >> >> In file included from arch/arm/mach-shmobile/setup-r8a7779.c:24:0: >> include/linux/of_platform.h:107:

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

2013-03-01 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 11:10:55PM +, Stefano Stabellini wrote: > On Thu, 28 Feb 2013, Kees Cook wrote: > > On Thu, Feb 28, 2013 at 2:53 PM, Stefano Stabellini > > wrote: > > > On Thu, 28 Feb 2013, Kees Cook wrote: > > >> The CONFIG_EXPERIMENTAL config item has not carried much meaning for a >

Re: [PATCH v2] drivers/block/xen-blkback: preq.dev is used without initialized

2013-03-01 Thread Konrad Rzeszutek Wilk
On Thu, Feb 28, 2013 at 10:34:23AM +0800, Chen Gang wrote: > > if call xen_vbd_translate failed, the preq.dev will be not initialized. > so use blkif->vbd.pdevice instead (still better to print relative info). > > additional information: > before commit 01c681d4c70d64cb72142a2823f27c4146a02

Re: [alsa-devel] [PATCH v3] davinci-mcasp: Add support for multichannel playback

2013-03-01 Thread Daniel Mack
Hi Michal, On 28.02.2013 16:07, Michal Bachraty wrote: > Davinci McASP has support for I2S multichannel playback. > For I2S playback/receive, each serializer is capable to play 2 channels > (L/R) audio data.Serializer function (Playback-receive-none) is configured > in DT, depending on hardware sp

Re: [PATCH 3/4] ARM: nomadik: add dynamic irq flag to the timer

2013-03-01 Thread Rickard Andersson
On 03/01/2013 09:56 AM, Vincent Guittot wrote: On 1 March 2013 02:13, Linus Walleij wrote: On Tue, Feb 26, 2013 at 11:17 PM, Daniel Lezcano wrote: Add the dynamic irq affinity feature to the timer clock device. Signed-off-by: Daniel Lezcano Looks reasonable to me, sadly I do not fully gra

AW: Bug in mtd_get_device_size()?

2013-03-01 Thread Velykokhatko, Sergey
Hi Richard, >And if you want to tweak the BEB_LIMIT for each of your UBI partition, it's >possible, via the ubiattach call ( get the master branchof of >git://git.infradead.org/mtd-utils.git ) cf >http://git.infradead.org/mtd-utils.git/commit/878e06ea555ba5dbfb974b3904d1a86a9a0e20f5 Aha! I did

[PATCH] s3c24xx: fix link failure if CONFIG_CONSOLE_POLL but !CONFIG_SERIAL_SAMSUNG_CONSOLE

2013-03-01 Thread Steven Noonan
Resolves this link failure: ERROR: "s3c24xx_serial_get_poll_char" [drivers/tty/serial/samsung.ko] undefined! ERROR: "s3c24xx_serial_put_poll_char" [drivers/tty/serial/samsung.ko] undefined! Signed-off-by: Steven Noonan --- drivers/tty/serial/samsung.c | 12 ++-- 1 file

Re: [PATCH] mfd: palmas: provide irq flags through DT/platform data

2013-03-01 Thread Mark Brown
On Fri, Mar 01, 2013 at 06:25:24PM +0530, Laxman Dewangan wrote: > On Friday 01 March 2013 06:13 PM, Mark Brown wrote: > >This can't be a generic problem on ARM systems, I'm pretty sure the > >primary users of palmas would've noticed, this is more of a new feature > >isn't it? > I think it is tes

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 01/03/13 12:37, Pawel Moll wrote: > On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: >>> Having said that, Rusty was contemplating enforcing LE config space in >>> the new PCI layout... >> >> I wouldn't complain about that, and would like to see a similar thing on >> MMIO. > > Wherever PC

[PATCH] xenbus: fix compile failure on ARM with Xen enabled

2013-03-01 Thread Steven Noonan
Adding an include of linux/mm.h resolves this: drivers/xen/xenbus/xenbus_client.c: In function ‘xenbus_map_ring_valloc_hvm’: drivers/xen/xenbus/xenbus_client.c:532:66: error: implicit declaration of function ‘page_to_section’ [-Werror=implicit-function-declaration] Signed-off-by:

Re: security_inode_init_security() inode field requirements

2013-03-01 Thread Steven Whitehouse
Hi, On Fri, 2013-03-01 at 07:27 -0500, Mimi Zohar wrote: > On Fri, 2013-03-01 at 10:12 +, Steven Whitehouse wrote: > > Hi, > > > > I'm wondering whether there is a list somewhere of fields which > > security_inode_init_security() requires are set in an inode when it is > > called? In particul

Re: [PATCH] [libata] Avoid specialized TLA's in ZPODD's Kconfig

2013-03-01 Thread Sergei Shtylyov
Hello. On 01-03-2013 5:32, Aaron Lu wrote: ODD is not a common TLA for non-ATA people so they will get confused by its meaning when they are configuring the kernel. This patch fixed this problem by using ODD only after stating what it is. Signed-off-by: Aaron Lu --- drivers/ata/Kconfig |

Re: [PATCH] nfsd: try nfsdcld client tracker in containers

2013-03-01 Thread Jeff Layton
On Fri, 01 Mar 2013 11:24:23 +0300 Stanislav Kinsbursky wrote: > Currently, UMH and Legacy trackers are disabled in containers. > But existent logic can lookup nfs4_recoverydir in a container, and in this > case will try to init Legacy tracker and skip nfsdcld client tracker. > This actually mean

Re: [PATCH 1/2] semaphore: give an unlikely for down's timeout

2013-03-01 Thread Jiri Kosina
On Fri, 1 Mar 2013, liguang wrote: > Signed-off-by: liguang Acked-by: Jiri Kosina Makes sense. Adding Andrew to CC. > --- > kernel/semaphore.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/kernel/semaphore.c b/kernel/semaphore.c > index 4567fc0..9c7017d 100

Re: [PATCH] mfd: palmas: provide irq flags through DT/platform data

2013-03-01 Thread Laxman Dewangan
On Friday 01 March 2013 06:13 PM, Mark Brown wrote: * PGP Signed by an unknown key On Fri, Mar 01, 2013 at 06:04:56PM +0530, Laxman Dewangan wrote: Currently driver sets the irq type to IRQF_TRIGGER_LOW which is causing interrupt registration failure in ARM based SoCs as: [0.208479] genirq

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-03-01 Thread Jiri Slaby
On 01/31/2013 02:24 PM, Borislav Petkov wrote: > On Thu, Jan 31, 2013 at 02:18:05PM +0100, Borislav Petkov wrote: >>> And if I pass nmi_watchdog=0 to the image kernel, it should be gone I >>> guess. >> >> How do you pass options the image kernel? > > Yep, passing "nmi_watchdog=0" to the kernel (bo

Re: [PATCH] tools/usb: adapt ffs-test.c to new layout of includes (UAPI)

2013-03-01 Thread Michal Nazarewicz
On Fri, Mar 01 2013, Andrzej Pietrasiewicz wrote: This fix has already been mailed: https://patchwork.kernel.org/patch/2169791/ > Signed-off-by: Andrzej Pietrasiewicz > Signed-off-by: Kyungmin Park > --- > tools/usb/ffs-test.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > d

e1000e broken after resume on x230 [was: Uhhuh. NMI received for unknown reason 2c on CPU 0.]

2013-03-01 Thread Jiri Slaby
On 02/15/2013 09:54 AM, Konstantin Khlebnikov wrote: > Borislav Petkov wrote: >> On Thu, Feb 14, 2013 at 10:17:46AM -0700, Bjorn Helgaas wrote: >>> It's pretty late for v3.8, but let me know if you think they're >>> critical. >> >> Ok, I meant those: >> >> http://marc.info/?l=linux-kernel&m=1359845

Re: [PATCH] regulator: palmas: use correct device node for DT parsing

2013-03-01 Thread Ian Lartey
On 01/03/13 12:45, Laxman Dewangan wrote: On Friday 01 March 2013 12:09 PM, Mark Brown wrote: * PGP Signed by an unknown key On Wed, Feb 27, 2013 at 02:23:42PM +, Graeme Gregory wrote: On 27/02/13 14:10, Laxman Dewangan wrote: When device is registered through the DT then regulators node

Re: [PATCH] regulator: palmas: use correct device node for DT parsing

2013-03-01 Thread Laxman Dewangan
On Friday 01 March 2013 12:09 PM, Mark Brown wrote: * PGP Signed by an unknown key On Wed, Feb 27, 2013 at 02:23:42PM +, Graeme Gregory wrote: On 27/02/13 14:10, Laxman Dewangan wrote: When device is registered through the DT then regulators node exist in the parent device node of regulato

Re: [PATCH] mfd: palmas: provide irq flags through DT/platform data

2013-03-01 Thread Mark Brown
On Fri, Mar 01, 2013 at 06:04:56PM +0530, Laxman Dewangan wrote: > Currently driver sets the irq type to IRQF_TRIGGER_LOW which is > causing interrupt registration failure in ARM based SoCs as: > [0.208479] genirq: Setting trigger mode 8 for irq 118 failed > (gic_set_type+0x0/0xf0) > [0.2

Re: [Drbd-dev] linux-next: Tree for Feb 23 (drbd)

2013-03-01 Thread Lars Ellenberg
On Mon, Feb 25, 2013 at 11:28:03AM -0800, Randy Dunlap wrote: > On 02/24/13 21:00, Stephen Rothwell wrote: > > Hi all, > > > > Please do not add any work destined for v3.10 to your -next included > > branches until after Linus has release v3.9-rc1. > > > > Changes since 20130222: > > > > > on

Re: [PATCH] pinctrl: abx500: Add terminating entry for of_device_id table

2013-03-01 Thread Linus Walleij
On Sun, Feb 17, 2013 at 2:58 PM, Axel Lin wrote: > The of_device_id table is supposed to be zero-terminated. > > Signed-off-by: Axel Lin Patch applied! Thanks, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Pawel Moll
On Fri, 2013-03-01 at 11:21 +, Marc Zyngier wrote: > > Having said that, Rusty was contemplating enforcing LE config space in > > the new PCI layout... > > I wouldn't complain about that, and would like to see a similar thing on > MMIO. Wherever PCI goes, MMIO follows :-) > Well, it was uncl

[PATCH] mfd: palmas: provide irq flags through DT/platform data

2013-03-01 Thread Laxman Dewangan
Currently driver sets the irq type to IRQF_TRIGGER_LOW which is causing interrupt registration failure in ARM based SoCs as: [0.208479] genirq: Setting trigger mode 8 for irq 118 failed (gic_set_type+0x0/0xf0) [0.208513] dummy 0-0059: Failed to request IRQ 118: -22 Provide the irq flags t

Re: [PATCH] pinctrl: core: use devres_release() instead of devres_destroy()

2013-03-01 Thread Linus Walleij
On Tue, Feb 26, 2013 at 3:34 AM, Jingoo Han wrote: > devres_release() can simplify the code, because devres_release() > will call the destructor for the resource as well as freeing > the devres data. > > Signed-off-by: Jingoo Han Patch applied with Stephen's ACK! Thanks, Linus Walleij -- To un

Re: security_inode_init_security() inode field requirements

2013-03-01 Thread Mimi Zohar
On Fri, 2013-03-01 at 10:12 +, Steven Whitehouse wrote: > Hi, > > I'm wondering whether there is a list somewhere of fields which > security_inode_init_security() requires are set in an inode when it is > called? In particular, does it matter if the inode number itself is > unset when security

[RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-01 Thread Andrew Murray
This patch factors out common implementations patterns to reduce overall kernel code and provide a means for host bridge drivers to directly obtain struct resources from the DT's ranges property without relying on architecture specific DT handling. This will make it easier to write archiecture inde

Re: [PATCH] mm/x86: Patch out arch_flush_lazy_mmu_mode() when running on bare metal

2013-03-01 Thread Josh Boyer
On Thu, Feb 28, 2013 at 04:52:20PM -0800, H. Peter Anvin wrote: > On 02/28/2013 04:42 PM, Josh Boyer wrote: > > On Fri, Mar 01, 2013 at 01:36:29AM +0100, Borislav Petkov wrote: > >> On Thu, Feb 28, 2013 at 04:15:45PM -0800, H. Peter Anvin wrote: > I'll try to get someone to test this tomorrow.

Re: IMA: How to manage user space signing policy with others

2013-03-01 Thread Mimi Zohar
On Thu, 2013-02-28 at 20:49 -0500, Mimi Zohar wrote: > On Thu, 2013-02-28 at 17:20 -0500, Eric Paris wrote: > > The ima_tcb policy was meant to be larger than needed to determine a > > trusted computing base, but it is clearly not a superset of what he is > > hoping to accomplish. The builtin mea

Re: Bug in mtd_get_device_size()?

2013-03-01 Thread Richard Genoud
2013/3/1 Velykokhatko, Sergey : > Hi Richard, > > Thanks a lot for your explanations. Now at least I understand your logic. And > it seems to be reasonable. Your start point that all bad blocks for flash > chip could be placed in single MTD. This is really worst worst case, but... > Theoreticall

[PATCH 1/2] mfd: stmpe: DT: Enable no-irq mode configuration

2013-03-01 Thread Linus Walleij
From: Gabriel Fernandez If there is no interrupt property into stmpe node then activate the no-irq mode by setting the irq value to -1. Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Gabriel Fernandez Signed-off-by: Linus Walleij --- drivers/mfd/stmpe.c | 3 +++ 1 file changed, 3 inse

[PATCH 2/2] mfd: stmpe: DT: Add stmpe-i2c dt alias to get id device

2013-03-01 Thread Linus Walleij
From: Gabriel Fernandez This patch augments the STMP driver to read the device id from the stmpe-i2c dt alias if present. Cc: devicetree-disc...@lists.ozlabs.org Signed-off-by: Gabriel Fernandez Signed-off-by: Linus Walleij --- drivers/mfd/stmpe.c | 5 - 1 file changed, 4 insertions(+), 1

Re: [PATCH v6 00/46] CPU hotplug: stop_machine()-free CPU hotplug

2013-03-01 Thread Vincent Guittot
Hi Srivatsa, I have run some tests with genload on my ARM platform but even with the mainline the cpu_down is quite short and stable ( around 4ms ) with 5 or 2 online cores. The duration is similar with your patches I have maybe not used the right option for genload ? I have used genload -m 10 w

Re: [PATCH] regulator: fixed regulator_bulk_enable unwinding code

2013-03-01 Thread Mark Brown
On Fri, Mar 01, 2013 at 12:24:05PM +0100, Andrzej Hajda wrote: > Unwinding code disables all successfully enabled regulators. > Error is logged for every failed regulator. Applied, thanks. signature.asc Description: Digital signature

Re: Bug in mtd_get_device_size()?

2013-03-01 Thread Ricard Wanderlof
On Fri, 1 Mar 2013, Richard Genoud wrote: From a Micron Nand datasheet : Micron NAND devices are specified to have a minimum of 2,008 (NVB) valid blocks out of every 2,048 total available blocks. This means the devices may have blocks that are invalid when they are shipped. An invalid block is

[PATCH] gpio: stmpe: pass DT node to irqdomain

2013-03-01 Thread Linus Walleij
From: Gabriel Fernandez The irq domain was implemented but the device tree node was not transmitted to irq_domain_add_simple(). Cc: sta...@vger.kernel.org Signed-off-by: Gabriel Fernandez Signed-off-by: Linus Walleij --- drivers/gpio/gpio-stmpe.c | 7 +-- 1 file changed, 5 insertions(+),

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang wrote: > From: Yong Zhang > > Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test! ->o SNIP -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

Re: [PATCH] menuconfig: use config scripts to detect ncurses libs

2013-03-01 Thread Michal Marek
On 28.2.2013 19:16, Yann E. MORIN wrote: > On Thursday 28 February 2013 j...@gentoo.org wrote: >> This patch replaces the old heuristic for detection of ncurses libs for >> linking the ncurses menuconfig dialog by the use of the config scripts. >> This results in the requirement of ncurses version

AW: Bug in mtd_get_device_size()?

2013-03-01 Thread Velykokhatko, Sergey
Hi Richard, Thanks a lot for your explanations. Now at least I understand your logic. And it seems to be reasonable. Your start point that all bad blocks for flash chip could be placed in single MTD. This is really worst worst case, but... Theoretically it could happened. And you should take ca

[PATCH 2/2] autofs4 - autofs4_catatonic_mode(): remove redundant null check on kfree()

2013-03-01 Thread Ian Kent
From: Tim Gardner smatch analysis: fs/autofs4/waitq.c:46 autofs4_catatonic_mode() info: redundant null check on wq->name.name calling kfree() Signed-off-by: Tim Gardner Signed-off-by: Ian Kent Cc: aut...@vger.kernel.org --- fs/autofs4/waitq.c |6 ++ 1 file changed, 2 insertions(+),

[PATCH 1/2] autofs - Fix sparse warning: context imbalance in autofs4_d_automount() different lock contexts for basic block

2013-03-01 Thread Ian Kent
From: Peter Huewe Sparse complains: + fs/autofs4/root.c:409:9: sparse: context imbalance in 'autofs4_d_automount' - different lock contexts for basic block This was introduced by commit f55fb0c243 autofs4 - dont clear DCACHE_NEED_AUTOMOUNT on rootless mount The function autofs4_d_automount can

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-03-01 Thread Tang Chen
On 03/01/2013 03:43 PM, Yinghai Lu wrote: Please check attached patches. Plan A. revert all 8 patches: revert_movablemem_map.patch Plan B. fix movablemem_map: kill_max_low_pfn_mapped.patch and fix_movablemem_map.patch fix_movablemem_map.patch is too risky, and need more test. Hi Y

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-03-01 Thread Ingo Molnar
* Borislav Petkov wrote: > On Thu, Feb 28, 2013 at 10:37:10PM -0800, H. Peter Anvin wrote: > > I'd be very happy to get the NUMAQ code ripped out. I am wondering if > > there are any reasons to keep any 32-bit x86 NUMA code at all. > > How much would it hurt us if we said 3.8 is the last kerne

[PATCH] regulator: fixed regulator_bulk_enable unwinding code

2013-03-01 Thread Andrzej Hajda
Unwinding code disables all successfully enabled regulators. Error is logged for every failed regulator. Signed-off-by: Andrzej Hajda Signed-off-by: Kyungmin Park --- drivers/regulator/core.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/core

[PATCH] tools/usb: adapt ffs-test.c to new layout of includes (UAPI)

2013-03-01 Thread Andrzej Pietrasiewicz
Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park --- tools/usb/ffs-test.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/usb/ffs-test.c b/tools/usb/ffs-test.c index 8674b9e..fe1e66b 100644 --- a/tools/usb/ffs-test.c +++ b/tools/usb/ffs-test.c @@

Re: [RFC PATCH v3 2/6] uretprobes/x86: hijack return address

2013-03-01 Thread Ananth N Mavinakayanahalli
On Fri, Mar 01, 2013 at 12:00:43PM +0100, Anton Arapov wrote: > On Fri, Mar 01, 2013 at 11:15:36AM +0530, Ananth N Mavinakayanahalli wrote: > > On Thu, Feb 28, 2013 at 12:00:11PM +0100, Anton Arapov wrote: ... > > > +extern unsigned long arch_uretprobe_hijack_return_addr(unsigned long > > > +

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 01/03/13 10:50, Pawel Moll wrote: > On Fri, 2013-03-01 at 10:41 +, Marc Zyngier wrote: >> On 14/02/13 10:54, Pawel Moll wrote: >>> To solve the never-ending confusions between hosts and guests >>> of different endianess, define all virtio-mmio registers as LE. >>> >>> This change should be s

[PATCH] libata-acpi.c: fix copy and paste mistake in ata_acpi_register_power_resource

2013-03-01 Thread Sander Eikelenboom
Fix a copy and paste mistake introduced in: commit bc9b6407bd6df3ab7189e5622816bbc11ae9d2d8 "ACPI / PM: Rework the handling of devices depending on power resources" Signed-off-by: Sander Eikelenboom --- drivers/ata/libata-acpi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

Re: [patch v1 1/5] mfd: da9055 change irq state to default

2013-03-01 Thread Ashish Jangam
On Fri, 2013-01-18 at 10:49 +0530, Ashish Jangam wrote: > This patch changes the irq state from high to the now default low > state. > > This patch is tested on smdk6410 board. > > Signed-off-by: Ashish Jangam > --- > drivers/mfd/da9055-core.c |2 +- > 1 files changed, 1 insertions(+), 1 de

[PATCH v2 11/11] staging: add issuses in TODO

2013-03-01 Thread Michail Kurachkin
Signed-off-by: Michail Kurachkin --- drivers/staging/tdm/TODO | 16 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/tdm/TODO diff --git a/drivers/staging/tdm/TODO b/drivers/staging/tdm/TODO new file mode 100644 index 000..9e5fe80 --- /

RE: [PATCH] n_gsm: Add Mutex to avoid race when net destroy

2013-03-01 Thread Bi, Chao
-Original Message- From: Jiri Slaby [mailto:jirisl...@gmail.com] On Behalf Of Jiri Slaby Sent: Friday, March 01, 2013 5:10 PM To: Bi, Chao Cc: Greg Kroah-Hartman; linux-kernel@vger.kernel.org; ML netdev; Pillet, VincentX Subject: Re: [PATCH] n_gsm: Add Mutex to avoid race when net destroy

[PATCH v2 10/11] staging: add issuses in TODO

2013-03-01 Thread Michail Kurachkin
Signed-off-by: Michail Kurachkin --- drivers/staging/si3226x/TODO | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/staging/si3226x/TODO b/drivers/staging/si3226x/TODO index b2cb27e..8d81465 100644 --- a/drivers/staging/si3226x/TODO +++ b/drivers/stag

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-03-01 Thread Borislav Petkov
On Thu, Feb 28, 2013 at 10:37:10PM -0800, H. Peter Anvin wrote: > I'd be very happy to get the NUMAQ code ripped out. I am wondering if > there are any reasons to keep any 32-bit x86 NUMA code at all. How much would it hurt us if we said 3.8 is the last kernel that supported NUMAQ? If anyone want

[PATCH v2 09/11] staging: fixed e-mail address

2013-03-01 Thread Michail Kurachkin
Signed-off-by: Michail Kurachkin --- drivers/staging/tdm/kirkwood_tdm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/tdm/kirkwood_tdm.c b/drivers/staging/tdm/kirkwood_tdm.c index 57c8925..4d254bc 100644 --- a/drivers/staging/tdm/kirkwood_tdm.c +++ b/d

Re: Re: Re: kprobing "hash_64.constprop.26" crashes the system, recursion through get_kprobe?

2013-03-01 Thread Masami Hiramatsu
(2013/03/01 19:54), Masami Hiramatsu wrote: > Actually, __kprobes is used much more than we need, because that > is safer (and also, that is used just for marking functions > related to kprobes). > > Only what functions we need to mark __kprobes is the functions > called from do_int3, and optimize

Re: [RFC PATCH v3 2/6] uretprobes/x86: hijack return address

2013-03-01 Thread Anton Arapov
On Fri, Mar 01, 2013 at 11:15:36AM +0530, Ananth N Mavinakayanahalli wrote: > On Thu, Feb 28, 2013 at 12:00:11PM +0100, Anton Arapov wrote: > > hijack the return address and replace it with a "trampoline" > > > > v2: > > - remove ->doomed flag, kill task immediately > > > > Signed-off-by: Ant

[PATCH v2 08/11] staging: removing of buffer filling flag and also reverting old buffer related fix which is not really effective

2013-03-01 Thread Michail Kurachkin
Signed-off-by: Michail Kurachkin --- drivers/staging/tdm/kirkwood_tdm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/tdm/kirkwood_tdm.c b/drivers/staging/tdm/kirkwood_tdm.c index e4a9106..57c8925 100644 --- a/drivers/staging/tdm/kirkwood_tdm.c +++ b

[PATCH v2 07/11] staging: added issues description in TODO file

2013-03-01 Thread Michail Kurachkin
Signed-off-by: Michail Kurachkin --- drivers/staging/si3226x/TODO |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/staging/si3226x/TODO b/drivers/staging/si3226x/TODO index 83c5958..b2cb27e 100644 --- a/drivers/staging/si3226x/TODO +++ b/drivers/staging/si32

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-03-01 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 02/25/2013 08:51 PM, Martin Bligh wrote: > >> Do you mean we can remove numaq x86 32bit code now? > > > > Wouldn't bother me at all. The machine is from 1995, end of life c. 2000? > > Was > > useful in the early days of getting NUMA up and running on Linux, but is

[PATCH v2 06/11] staging: remove device_attribute

2013-03-01 Thread Michail Kurachkin
Signed-off-by: Michail Kurachkin --- drivers/staging/tdm/tdm_core.c | 16 +--- 1 files changed, 1 insertions(+), 15 deletions(-) diff --git a/drivers/staging/tdm/tdm_core.c b/drivers/staging/tdm/tdm_core.c index f3ac6fc..cf8c26a 100644 --- a/drivers/staging/tdm/tdm_core.c +++ b/dri

[PATCH v2 05/11] staging: refactoring request/free voice channels

2013-03-01 Thread Michail Kurachkin
From: Michail Kurochkin Signed-off-by: Michail Kurochkin --- drivers/staging/tdm/kirkwood_tdm.c | 162 +--- drivers/staging/tdm/kirkwood_tdm.h | 10 ++- drivers/staging/tdm/tdm.h |5 +- drivers/staging/tdm/tdm_core.c | 65 +++ 4

Re: [PATCH 1/2] x86: change names of e820 memory map type

2013-03-01 Thread Ingo Molnar
* li guang wrote: > gratuitous? > > It was inspired by gtk library's key definitions, I don't think GTK is a shining example of API cleanliness and usability that the kernel should strive to imitate, especially not in the naming department... > gtk original keys like GDK_1, GDK_2, GDK_p, GD

[PATCH v2 04/11] staging: added TODO file for si3226x

2013-03-01 Thread Michail Kurachkin
From: Michail Kurochkin Signed-off-by: Michail Kurochkin --- drivers/staging/si3226x/TODO |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/si3226x/TODO diff --git a/drivers/staging/si3226x/TODO b/drivers/staging/si3226x/TODO new file mode 100644 i

Re: Pulling linux-next GIT

2013-03-01 Thread Sedat Dilek
GitWeb service says: 503 - The load average on the server is too high - Sedat - On Fri, Mar 1, 2013 at 11:53 AM, Sedat Dilek wrote: > Hmm, cloning also not possible: > > $ LANG=C LC_ALL=C git clone > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > Cloning into 'linux-next'..

Re: Re: kprobing "hash_64.constprop.26" crashes the system, recursion through get_kprobe?

2013-03-01 Thread Masami Hiramatsu
(2013/03/01 17:43), Timo Juhani Lindfors wrote: > Masami Hiramatsu writes: >>> I am unable to recreate this problem on a fedora system; hash_64 is >>> inlined AFAICS. > > Thanks testing. How does the disassembly of get_kprobes look for you? Actually, there is no "call" instruction in get_kprobe.

Re: [PATCH] usb: correctly enable interrupts for xhci

2013-03-01 Thread David Härdeman
On Fri, Mar 01, 2013 at 09:52:54AM +0100, Hannes Reinecke wrote: >xhci might run with MSI/MSI-X only, with no support for legacy >interrupts. On these devices the request_irq() call in usb_add_hcd() >will fail, causing the entire device to fail. >For xhci this is especially painful as the driver wi

[PATCH v2 01/11] staging: Initial commit of TDM core

2013-03-01 Thread Michail Kurachkin
From: Michail Kurochkin Signed-off-by: Michail Kurochkin --- drivers/staging/Kconfig|4 + drivers/staging/Makefile |4 +- drivers/staging/tdm/Kconfig| 38 ++ drivers/staging/tdm/Makefile | 19 + drivers/staging/tdm/tdm.h | 292 ++ drivers/stagin

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Pawel Moll
On Fri, 2013-03-01 at 10:41 +, Marc Zyngier wrote: > On 14/02/13 10:54, Pawel Moll wrote: > > To solve the never-ending confusions between hosts and guests > > of different endianess, define all virtio-mmio registers as LE. > > > > This change should be safe at this stage, because no known > >

[PATCH v2 00/11] staging: Support of TDM bus, TDM driver for Marvell Kirkwood and SLIC driver for Silabs Si3226x

2013-03-01 Thread Michail Kurachkin
Michail Kurochkin (11): remove device_attribute added issues description in TODO file removing of buffer filling flag and also reverting old buffer related fix which is not really effective fixed e-mail address add issuses in TODO add issuses in TODO Initial commit of TDM core I

Re: [PATCH] virtio-spec: Define virtio-mmio registers as LE

2013-03-01 Thread Marc Zyngier
On 14/02/13 10:54, Pawel Moll wrote: > To solve the never-ending confusions between hosts and guests > of different endianess, define all virtio-mmio registers as LE. > > This change should be safe at this stage, because no known > working mixed-endian system exists so there is virtually no > risk

Re: Bug in mtd_get_device_size()?

2013-03-01 Thread Richard Genoud
2013/3/1 Velykokhatko, Sergey : > Hi Brian, > > Thanks for your answer. Ok, I have nothing against that my interpretation of > mtd_get_device_size() purpose is wrong. But what you mean under: "Because > your BEB_LIMIT=100, you are reserving 100*size/1024 (that is 9.8% of your > total size, or 40

Re: [PATCH v3] printk: Avoid softlockups in console_unlock()

2013-03-01 Thread Jan Kara
Hello Paul, On Wed 27-02-13 09:59:45, Paul E. McKenney wrote: > On Wed, Feb 27, 2013 at 02:16:59AM +0100, Jan Kara wrote: > > A CPU can be caught in console_unlock() for a long time (tens of seconds > > are reported by our customers) when other CPUs are using printk heavily > > and serial consol

Re: [GIT PULL] Load keys from signed PE binaries

2013-03-01 Thread Vojtech Pavlik
On Thu, Feb 28, 2013 at 10:51:15PM +, Matthew Garrett wrote: > On Thu, Feb 28, 2013 at 11:48:06PM +0100, Jiri Kosina wrote: > > > Let me formulate my point more clearly -- Microsoft very likely going to > > sign hello world EFI PE binary, no matter the contents of .keylist > > section, as th

Re: + mm-show_mem-suppress-page-counts-in-non-blockable-contexts.patch added to -mm tree

2013-03-01 Thread Michal Hocko
On Fri 01-03-13 02:15:04, David Rientjes wrote: > On Fri, 1 Mar 2013, Michal Hocko wrote: > > > I have already asked about it in the original thread but didn't get any > > answer. How can we get a soft lockup when all implementations of show_mem > > call touch_nmi_watchdog? > > > > Feel free to

Re: For review: pid_namespaces(7) man page

2013-03-01 Thread Michael Kerrisk (man-pages)
On Fri, Mar 1, 2013 at 10:10 AM, Eric W. Biederman wrote: > "Michael Kerrisk (man-pages)" writes: > >> Hi Eric, >> >> On Thu, Feb 28, 2013 at 4:24 PM, Eric W. Biederman >> wrote: >>> "Michael Kerrisk (man-pages)" writes: >> >> [...] >> == PID_NAMESPACES(7) Linux Programme

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread Thomas Gleixner
On Fri, 1 Mar 2013, Yong Zhang wrote: > From: Yong Zhang > > Otherwise, below warning is shown somtimes when running some test: > > WARNING: at kernel/sched/core.c:3423 migrate_disable+0xbf/0xd0() > Hardware name: OptiPlex 755 > Modules linked in: floppy parport parport_pc minix > Pid: 1800, co

security_inode_init_security() inode field requirements

2013-03-01 Thread Steven Whitehouse
Hi, I'm wondering whether there is a list somewhere of fields which security_inode_init_security() requires are set in an inode when it is called? In particular, does it matter if the inode number itself is unset when security_inode_init_security() is called? The problem that I'm looking at is th

Re: + mm-show_mem-suppress-page-counts-in-non-blockable-contexts.patch added to -mm tree

2013-03-01 Thread David Rientjes
On Fri, 1 Mar 2013, Michal Hocko wrote: > I have already asked about it in the original thread but didn't get any > answer. How can we get a soft lockup when all implementations of show_mem > call touch_nmi_watchdog? > Feel free to do s/soft lockups/irqs being disabled for an extremely long tim

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-01 Thread Ивайло Димитров
Unfortunately it is necessary, on RX-51 PPA/NOLO leaves IBE bit unset. > Оригинално писмо >От: Peter De Schrijver >Относно: Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround >До: Pali Rohár >Изпратено на: Петък, 2013, Март 1 11:43:14 EET > > >On Thu, Feb 28,

Re: [PATCH 1/6 v8] iommu/fsl: Store iommu domain information pointer in archdata.

2013-03-01 Thread Alexey Kardashevskiy
btw the device struct already has a pointer to its iommu_group, and the iommu_group struct itself has a pointer void *iommu_data which you could use for anything you want (iommu_group_get_iommudata(), iommu_group_set_iommudata()). By design you are expected to add iommu groups to a domain but

Re: [rebased][PATCH 0/4] acpi: do some changes for numa info

2013-03-01 Thread David Rientjes
On Fri, 1 Mar 2013, li guang wrote: > can anyone help to merge these patches? > or any other comments? > If you run scripts/get_maintainer.pl on your series, it will point you to the relevant parties. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: For review: pid_namespaces(7) man page

2013-03-01 Thread Michael Kerrisk (man-pages)
Hi Rob, On Fri, Mar 1, 2013 at 5:01 AM, Rob Landley wrote: > On 02/28/2013 05:24:07 AM, Michael Kerrisk (man-pages) wrote: [...] >> DESCRIPTION >>For an overview of namespaces, see namespaces(7). >> >>PID namespaces isolate the process ID number space, meaning >>that

Re: + mm-show_mem-suppress-page-counts-in-non-blockable-contexts.patch added to -mm tree

2013-03-01 Thread Michal Hocko
On Thu 28-02-13 15:10:25, Andrew Morton wrote: [...] > From: David Rientjes > Subject: mm, show_mem: suppress page counts in non-blockable contexts > > On large systems with a lot of memory, walking all RAM to determine page > types may take a half second or even more. > > In non-blockable conte

Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-01 Thread Peter De Schrijver
On Thu, Feb 28, 2013 at 10:42:28AM +0100, Pali Rohár wrote: > Signed-off-by: Ivaylo Dimitrov > Signed-off-by: Pali Rohár > --- > arch/arm/mach-omap2/Makefile|1 + > arch/arm/mach-omap2/board-rx51-secure.c | 66 > +++ > arch/arm/mach-omap2/board-rx51

<    1   2   3   4   5   6   7   >