[PATCH 0/3] cris: cleanup Kconfig files

2013-07-07 Thread Michael Opdenacker
This set of patches removes kernel configuration parameters for the CRIS architecture, which are used nowhere in the kernel source code and makefiles. Michael Opdenacker (3): cris: cleanup arch-v10/drivers/Kconfig cris: cleanup arch-v32/drivers/Kconfig cris: cleanup Kconfig arch/cris/Kconf

[PATCH 2/3] cris: cleanup arch-v32/drivers/Kconfig

2013-07-07 Thread Michael Opdenacker
This patch proposes to remove kernel configuration parameters defined in arch/cris/arch-v32/drivers/Kconfig, but used nowhere in the makefiles and source code It also removes parameters which are no longer used after this change Signed-off-by: Michael Opdenacker --- arch/cris/arch-v32/drivers/K

Re: [PATCH 3/8] ARM: zynq: use DT_MACHINE_START

2013-07-07 Thread Michal Simek
On 07/05/2013 06:23 PM, Arnd Bergmann wrote: > The zynq platform code only supports DT based booting, so we > should use DT_MACHINE_START rather than MACHINE_START. > > Signed-off-by: Arnd Bergmann > Cc: Michal Simek > --- > arch/arm/mach-zynq/common.c | 2 +- > 1 file changed, 1 insertion(+),

[PATCH] xen: remove unused Kconfig parameter

2013-07-07 Thread Michael Opdenacker
This patch proposes to remove the XEN_PRIVILEGED_GUEST kernel configuration parameter defined in arch/x86/xen/Kconfig, but used nowhere in the makefiles and source code. This dummy parameter was added 3 years back, and it may make sense to remove it now, as the reasons to use it were not very clea

Re: [GIT] Networking

2013-07-07 Thread Eliezer Tamir
On 08/07/2013 06:14, David Miller wrote: From: Linus Torvalds Date: Sun, 7 Jul 2013 15:33:31 -0700 End result: I think the code is salvageable and people who want this kind of busy-looping can have it. But I really don't want to merge it as-is. I think it was badly done, I think it was badly d

Re: [PATCH] mm/vmscan.c: 'lru' may be used without initialized after the patch "3abf380..." in next-20130607 tree

2013-07-07 Thread Chen Gang
On 07/05/2013 12:06 PM, Chen Gang wrote: > On 06/19/2013 03:19 PM, Chen Gang wrote: >> On 06/19/2013 03:10 PM, Andrew Morton wrote: >>> On Wed, 19 Jun 2013 14:55:13 +0800 Chen Gang wrote: >>> > > 'lru' may be used without initialized, so need regressing part of the > related patch. >>>

Re: [PATCH RESEND v10 1/2] watchdog: New watchdog driver for MEN A21 watchdogs

2013-07-07 Thread Johannes Thumshirn
On Fri, Jul 05, 2013 at 11:01:19PM +0200, Wim Van Sebroeck wrote: > Hi Johannes, > > > This patch adds the driver for the watchdog devices found on MEN Mikro > > Elektronik A21 VMEbus CPU Carrier Boards. It has DT-support and uses the > > watchdog framework. > > > > Signed-off-by: Johannes Thumshir

Re: [PATCH] pci: exynos: split into two parts such as Synopsys part and Exynos part

2013-07-07 Thread Jingoo Han
On Friday, July 05, 2013 7:44 PM, Pratyush Anand wrote: > On 7/5/2013 1:59 PM, Jingoo Han wrote: > > Exynos PCIe IP consists of Synopsys specific part and Exynos > > specific part. Only core block is a Synopsys designware part; > > other parts are Exynos specific. > > Also, the Synopsys designware

Re: MTD EEPROM support and driver integration

2013-07-07 Thread Maxime Ripard
On Sat, Jul 06, 2013 at 09:06:49PM +0200, Arnd Bergmann wrote: > On Saturday 06 July 2013 14:01:12 Maxime Ripard wrote: > > What other option would we have? > > > > I also thought about writing an EEPROM framework of its own, but the > > line is really thin between a large EEPROM and say a small S

Re: [rtc-linux] Re: [PATCH 3/9 v2] rtc: rtc-hid-sensor-time: delay registering as rtc into a work

2013-07-07 Thread Alexander Holler
Am 06.07.2013 20:21, schrieb Jiri Kosina: > On Sat, 6 Jul 2013, Alexander Holler wrote: > >> I've now traced down why the above patch _really_ is needed: it's because of >> how the locking is done in the hid-subsystem. So my intuition to use a work >> was ok, but my assumption that it's because th

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-07 Thread Michael S. Tsirkin
On Thu, Jul 04, 2013 at 09:35:00AM -0700, Guenter Roeck wrote: > On Thu, Jul 04, 2013 at 05:34:12PM +0300, Michael S. Tsirkin wrote: > > On Thu, Jul 04, 2013 at 07:25:23AM -0700, Guenter Roeck wrote: > > > On Thu, Jul 04, 2013 at 10:20:23AM +0300, Michael S. Tsirkin wrote: > > > > On Thu, Jun 27, 2

Good Day

2013-07-07 Thread VYAS SURABHI
-- Hello, i seek your confirmation on a project to your country.Contact me for details Best Regards. Mr.Wang Guiya -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majord

Re: [PATCH] arm: dts: AM43x: Add usb_otg_hs node

2013-07-07 Thread Felipe Balbi
Hi, On Fri, Jun 28, 2013 at 12:14:47PM +0530, George Cherian wrote: > diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi > index ddc1df7..e4f5eb8 100644 > --- a/arch/arm/boot/dts/am4372.dtsi > +++ b/arch/arm/boot/dts/am4372.dtsi > @@ -64,5 +64,24 @@ >

Re: 3.9.0 + CONFIG_X86_INTEL_PSTATE=y -> ThinkPad T420 with i5 lost ACPI functionality

2013-07-07 Thread Toralf Förster
On 05/28/2013 08:11 PM, Toralf Förster wrote: > cgexec from the libcgroup-tools package (fedora name) look like it will >> place >> a process in a group for you. >> >> https://wiki.archlinux.org/index.php/Cgroups >> >> Has some useful examples. >> >> --Dirk >> What I'm looking for is a command

Re: [PATCHv3 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-07-07 Thread Alexandre Belloni
On 06/07/2013 12:26, Jonathan Cameron wrote: > On 06/24/2013 06:24 PM, Alexandre Belloni wrote: >> From: Maxime Ripard >> >> The ADCs connected to this bus have been experiencing some timeout >> issues when using the iMX28 i2c controller. Switching back to bitbanging >> solves this. >> >> Signed-o

[git pull] FireWire updates post v3.10

2013-07-07 Thread Stefan Richter
Linus, please pull from the tag "firewire-updates" at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git firewire-updates to receive the following IEEE 1394 (FireWire) subsystem changes: Make struct ieee1394_device_id.driver_data actually avaliable to 1394 protocol drivers

Re: [PATCH 2/4] PF: Move architecture specifics to the backends

2013-07-07 Thread Gleb Natapov
On Fri, Jul 05, 2013 at 10:55:52PM +0200, Dominik Dingel wrote: > Current common codes uses PAGE_OFFSET to indicate a bad host virtual address. > As this check won't work on architectures that don't map kernel and user > memory > into the same address space (e.g. s390), it is moved into architctur

Re: [PATCH 2/2] perf: squelch warnings from perl.h to compile-pass

2013-07-07 Thread Ramkumar Ramachandra
Kirill A. Shutemov wrote: > On Fri, Jul 05, 2013 at 11:34:12AM +0900, Namhyung Kim wrote: >> On Thu, 4 Jul 2013 19:10:46 +0530, Ramkumar Ramachandra wrote: >> > Currently, a simple >> > >> > $ make >> > >> > errors out because we compile with -Werror by default, turning all >> > warnings into er

Re: [PATCH 3/4] PF: Provide additional direct page notification

2013-07-07 Thread Gleb Natapov
On Fri, Jul 05, 2013 at 10:55:53PM +0200, Dominik Dingel wrote: > By setting a Kconfig option, the architecture can control when > guest notifications will be presented by the apf backend. > So there is the default batch mechanism, working as before, where the vcpu > thread > should pull in this i

Re: inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W} usage with hcd_urb_list_lock

2013-07-07 Thread Ming Lei
On Sun, Jul 7, 2013 at 4:48 AM, Alan Stern wrote: > On Sat, 6 Jul 2013, Maarten Lankhorst wrote: > >> I didn't even know I still had lockdep on. >> The following lockdep splat happened when I plugged in a usb bluetooth >> dongle, using >> the pre-rc1 3.11 kernel at HEAD b2c311075db >> >>

[PATCH] Route kbd LEDs through the generic LEDs layer

2013-07-07 Thread Samuel Thibault
This permits to reassign keyboard LEDs to something else than keyboard "leds" state, by adding keyboard led and modifier triggers connected to a series of VT input LEDs, themselves connected to VT input triggers, which per-input device LEDs use by default. Userland can thus easily change the LED b

Re: Second ethernet on kirkwood does not work when probed through DT

2013-07-07 Thread Sebastian Hesselbarth
On 07/06/2013 11:39 PM, Jonas Gorski wrote: On Sat, 06 Jul 2013 23:22:22 +0200 Sebastian Hesselbarth wrote: On 07/06/2013 09:54 PM, Jonas Gorski wrote: Hello Sebastian, using your DT patches[1] (on top of 3.10) I can't get the second ethernet to work on my kirkwood board. Hi Jonas, next ti

[PATCHv3] vhost-net: fix use-after-free in vhost_net_flush

2013-07-07 Thread Michael S. Tsirkin
vhost_net_ubuf_put_and_wait has a confusing name: it will actually also free it's argument. Thus since commit 1280c27f8e29acf4af2da914e80ec27c3dbd5c01 "vhost-net: flush outstanding DMAs on memory change" vhost_net_flush tries to use the argument after passing it to vhost_net_ubuf_put_and_wait,

Re: Second ethernet on kirkwood does not work when probed through DT

2013-07-07 Thread Jonas Gorski
On Sun, 07 Jul 2013 12:52:52 +0200 Sebastian Hesselbarth wrote: > On 07/06/2013 11:39 PM, Jonas Gorski wrote: > > On Sat, 06 Jul 2013 23:22:22 +0200 > > Sebastian Hesselbarth wrote: > >> On 07/06/2013 09:54 PM, Jonas Gorski wrote: > >>> Hello Sebastian, > >>> > >>> using your DT patches[1] (on t

Re: Second ethernet on kirkwood does not work when probed through DT

2013-07-07 Thread Sebastian Hesselbarth
On 07/07/2013 01:26 PM, Jonas Gorski wrote: On Sun, 07 Jul 2013 12:52:52 +0200 Sebastian Hesselbarth wrote: The error below is a naming issue for the port. As there is only one port per controller, both reg properties of the port nodes of kirkwood.dtsi have to be<0> as they determine the regis

[PATCH] swap: warn when a swap area overflows the maximum size

2013-07-07 Thread Raymond Jennings
swap: warn when a swap area overflows the maximum size It is possible to swapon a swap area that is too big for the pte width to handle. Presently this failure happens silently. Instead, emit a diagnostic to warn the user. Signed-off-by: Raymond Jennings Acked-by: Valdis Kletnieks diff

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-07 Thread Sebastian Hesselbarth
On 06/12/2013 09:59 PM, Daniel Lezcano wrote: The following changes since commit 762cf9695d714d312ef7369bed1b9f9467c9e64e: Merge branch 'timers/clockevents' of git://git.linaro.org/people/dlezcano/clockevents into timers/core (2013-06-08 22:58:27 +0200) are available in the git repository a

Re: [PATCH v3] lib/idr.c rewrite, percpu ida/tag allocator

2013-07-07 Thread Michael S. Tsirkin
On Sat, Jul 06, 2013 at 03:59:06PM -0700, Nicholas A. Bellinger wrote: > On Fri, 2013-07-05 at 22:08 -0700, Kent Overstreet wrote: > > Previous posting: http://thread.gmane.org/gmane.linux.kernel/1511216 > > > > The only real change since the last version is that I've reworked the > > new ida impl

Re: Second ethernet on kirkwood does not work when probed through DT

2013-07-07 Thread Jonas Gorski
On Sun, 07 Jul 2013 13:36:51 +0200 Sebastian Hesselbarth wrote: > On 07/07/2013 01:26 PM, Jonas Gorski wrote: > > On Sun, 07 Jul 2013 12:52:52 +0200 > > Sebastian Hesselbarth wrote: > >> Anyway, can you please try to have both ports reg properties set > >> to<0>, with nodes named ethernet0-port@

[PATCH] swap: warn when a swap area overflows the maximum size (resent)

2013-07-07 Thread Raymond Jennings
Silly me, wrong email address On Sun, 2013-07-07 at 04:44 -0700, Raymond Jennings wrote: swap: warn when a swap area overflows the maximum size It is possible to swapon a swap area that is too big for the pte width to handle. Presently this failure happens silently. Instead, emit a diagnostic t

Re: [PATCH] swap: warn when a swap area overflows the maximum size (resent)

2013-07-07 Thread Raymond Jennings
...I hate you gmail... On Sun, 2013-07-07 at 04:52 -0700, Raymond Jennings wrote: > # lvresize /dev/system/swap --size 16G Typo in the second test. The first line should read: # lvresize /dev/system/swap --size 64G First ever serious patch, got excited and burned the copypasta. > # mkswap /de

Re: amba-pl08x and 'get_signal' namespace collision/build error

2013-07-07 Thread Russell King - ARM Linux
On Fri, Jul 05, 2013 at 11:48:02AM +0530, Vinod Koul wrote: > On Wed, Jul 03, 2013 at 11:27:12AM -0700, Olof Johansson wrote: > > This has now hit the mainline kernel, and several defconfigs (nhk815, > > lpc32xx and the spear ones) are broken there. > > > > Vinod, when are you sending up your pull

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-07 Thread Thomas Gleixner
On Sun, 7 Jul 2013, Sebastian Hesselbarth wrote: > > > > Sebastian Hesselbarth (1): > >clocksource: Add Marvell Orion SoC timer > > with tip timers/core PR sent, I realized that the above did not make it > in. As we have a wh

Re: [PATCH 3/3] i915: Don't provide ACPI backlight interface if firmware expects Windows 8

2013-07-07 Thread Rafael J. Wysocki
On Saturday, July 06, 2013 03:33:01 PM Rafael J. Wysocki wrote: > On Saturday, July 06, 2013 01:45:56 PM Aaron Lu wrote: > > On 07/06/2013 06:23 AM, Rafael J. Wysocki wrote: > > > On Friday, July 05, 2013 11:40:02 PM Rafael J. Wysocki wrote: > > >> On Friday, July 05, 2013 10:00:55 PM Rafael J. Wys

Re: [PATCH v2] perf report/top: Add option to collapse undesired parts of call graph

2013-07-07 Thread Jiri Olsa
On Mon, Jul 01, 2013 at 10:28:45AM -0400, Greg Price wrote: > For example, in an application with an expensive function > implemented with deeply nested recursive calls, the default > call-graph presentation is dominated by the different callchains > within that function. By ignoring these callees

Re: [PATCH V2] smp: Give WARN()ing when calling smp_call_function_many()/single() in serving irq

2013-07-07 Thread Thomas Gleixner
On Sun, 7 Jul 2013, Wang YanQing wrote: > On Fri, Jul 05, 2013 at 04:37:14PM +0200, Thomas Gleixner wrote: > > Hmm, even there it matters, because of the following scenario: > > > > CPU 0 > > smp_call_function_single(CPU 1) > > csd_lock(CPU 1) > > No, smpl_call_function_single(CPU 1) > will c

[PATCH] perf tools: Fix boolean for NO_LIBPYTHON=1 NO_LIBPERL=1 build

2013-07-07 Thread Jiri Olsa
The build is broken for 'NO_LIBPYTHON=1 NO_LIBPERL=1' switches. The reason is that without perl and python support we dont have TRUE/FALSE macro definitions in dso and vdso objects (added there by commit 7821317). Using stdbool.h defines instead which seems to be more common in perf code anyway.

Re: amba-pl08x and 'get_signal' namespace collision/build error

2013-07-07 Thread Vinod Koul
On Sun, Jul 07, 2013 at 01:32:40PM +0100, Russell King - ARM Linux wrote: > On Fri, Jul 05, 2013 at 11:48:02AM +0530, Vinod Koul wrote: > > On Wed, Jul 03, 2013 at 11:27:12AM -0700, Olof Johansson wrote: > > > This has now hit the mainline kernel, and several defconfigs (nhk815, > > > lpc32xx and t

[PATCH] virtio: include asm/barrier explicitly

2013-07-07 Thread Michael S. Tsirkin
virtio_ring.h uses mb() and friends, make it pull in asm/barrier.h itself, not rely on other headers to do it. Signed-off-by: Michael S. Tsirkin --- include/linux/virtio_ring.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/virtio_ring.h b/include/linux/virtio_ring.h index ca3

Re: [PATCH] virtio: include asm/barrier explicitly

2013-07-07 Thread Michael S. Tsirkin
On Sun, Jul 07, 2013 at 05:20:19PM +0300, Michael S. Tsirkin wrote: > virtio_ring.h uses mb() and friends, make > it pull in asm/barrier.h itself, not rely > on other headers to do it. > > Signed-off-by: Michael S. Tsirkin In particular this fixes warnings during test build: [linux]$ make -C too

[PATCH] tools/virtio: move module license stub to module.h

2013-07-07 Thread Michael S. Tsirkin
This fixes build for the vringh test: [linux]$ make -C tools/virtio/ make: Entering directory `/home/mst/scm/linux/tools/virtio' cc -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -c -o vringh.o ../../drivers/vh

[PATCH] MAINTAINERS: add tools/virtio/ under virtio

2013-07-07 Thread Michael S. Tsirkin
This should help make sure patches go to the correct list. Signed-off-by: Michael S. Tsirkin --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ad7e322..66172fc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8800,6 +8800,7 @@ M:"Michael S.

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-07 Thread Guenter Roeck
On Sun, Jul 07, 2013 at 11:15:11AM +0300, Michael S. Tsirkin wrote: > On Thu, Jul 04, 2013 at 09:35:00AM -0700, Guenter Roeck wrote: > > On Thu, Jul 04, 2013 at 05:34:12PM +0300, Michael S. Tsirkin wrote: > > > On Thu, Jul 04, 2013 at 07:25:23AM -0700, Guenter Roeck wrote: > > > > On Thu, Jul 04, 2

Re: [RFC PATCH] uio: uio_pci_generic: Add support for MSI interrupts

2013-07-07 Thread Michael S. Tsirkin
On Sun, Jul 07, 2013 at 07:39:01AM -0700, Guenter Roeck wrote: > On Sun, Jul 07, 2013 at 11:15:11AM +0300, Michael S. Tsirkin wrote: > > On Thu, Jul 04, 2013 at 09:35:00AM -0700, Guenter Roeck wrote: > > > On Thu, Jul 04, 2013 at 05:34:12PM +0300, Michael S. Tsirkin wrote: > > > > On Thu, Jul 04, 2

Re: [PATCH RESEND] perf sched: Move struct perf_sched definition out of cmd_sched()

2013-07-07 Thread Jiri Olsa
On Tue, Jun 04, 2013 at 02:46:19PM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > For some reason it consumed quite amount of compile time when declared > as local variable, and it disappeared when moved out of the function. > Moving other variables/tables didn't help. > > On my system this

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-07 Thread Jason Cooper
Thomas, On Sun, Jul 07, 2013 at 03:10:25PM +0200, Thomas Gleixner wrote: > On Sun, 7 Jul 2013, Sebastian Hesselbarth wrote: > > > > > > Sebastian Hesselbarth (1): > > >clocksource: Add Marvell Orion SoC timer > > > > with ti

Re: [RFC 1/2] usb/musb dma: add cppi41 dma driver

2013-07-07 Thread Sergei Shtylyov
Hello. On 05-07-2013 20:12, Sebastian Andrzej Siewior wrote: This is a first shot of the cppi41 DMA driver. Where have you been when I submitted my drivers back in 2009? :-) It is currently used by a new musb dma-engine implementation. I have to test it somehow. The state of the cpp41

Re: perf/Documentation/ABI -- add some documentation for perf_event sysfs usage

2013-07-07 Thread Jiri Olsa
On Fri, Jul 05, 2013 at 11:28:08AM -0400, Vince Weaver wrote: > On Fri, 5 Jul 2013, Jiri Olsa wrote: > > > On Thu, Jul 04, 2013 at 11:02:53AM +0200, Peter Zijlstra wrote: > > > On Wed, Jul 03, 2013 at 11:14:40PM -0400, Vince Weaver wrote: > > > > >Documentation/ABI/testing/sysfs-bus-event_sou

Re: [PATCH 6/6] perf parse events: demystify memory allocations

2013-07-07 Thread Jiri Olsa
On Tue, Jul 02, 2013 at 01:27:25PM -0600, David Ahern wrote: > List heads are currently allocated way down the function chain in __add_event > and add_tracepoint and then freed when the scanner code calls > parse_events_update_lists. > > Be more explicit with where memory is allocated and who shou

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-07 Thread Thomas Gleixner
On Sun, 7 Jul 2013, Jason Cooper wrote: > Sure, but to be clear, Daniel, please drop this patch from your tree. I > have no desire to create an out-of-tree dependency if we can avoid it. > It has a habit of going horribly wrong [1]. > > I'll cherry-pick > > 0c1dcfd clocksource: Add Marvell Ori

Re: [PATCH v3 1/5] mm/slab: Fix drain freelist excessively

2013-07-07 Thread Pekka Enberg
On 7/7/13 12:24 PM, Wanpeng Li wrote: On Fri, Jul 05, 2013 at 01:37:28PM +, Christoph Lameter wrote: On Thu, 4 Jul 2013, Wanpeng Li wrote: This patch fix the callers that pass # of objects. Make sure they pass # of slabs. Acked-by: Christoph Lameter Hi Pekka, Is it ok for you to pick

Re: [PATCH] slub: do not put a slab to cpu partial list when cpu_partial is 0

2013-07-07 Thread Pekka Enberg
On Wed, Jun 19, 2013 at 9:33 AM, Joonsoo Kim wrote: > In free path, we don't check number of cpu_partial, so one slab can > be linked in cpu partial list even if cpu_partial is 0. To prevent this, > we should check number of cpu_partial in put_cpu_partial(). > > Signed-off-by: Joonsoo Kim Applie

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

2013-07-07 Thread Pekka Enberg
On 7/2/13 10:12 PM, Andrew Morton wrote: On Tue, 2 Jul 2013 21:49:26 +0900 Tetsuo Handa wrote: Some architectures (e.g. powerpc built with CONFIG_PPC_256K_PAGES=y CONFIG_FORCE_MAX_ZONEORDER=11) get PAGE_SHIFT + MAX_ORDER > 26. In 3.10 kernels, CONFIG_LOCKDEP=y with PAGE_SHIFT + MAX_ORDER > 2

Re: [PATCH] slab: add kmalloc() to kernel API documentation

2013-07-07 Thread Pekka Enberg
On Mon, Jul 1, 2013 at 9:41 PM, Christoph Lameter wrote: > On Tue, 25 Jun 2013, Michael Opdenacker wrote: > >> This patch is a proposed fix for this. It also removes the documentation >> for kmalloc() in include/linux/slob_def.h which isn't included to >> generate the documentation anyway. This wa

Re: [PATCH] slob: Check for NULL pointer before calling ctor()

2013-07-07 Thread Pekka Enberg
On 2/5/13 4:58 PM, Christoph Lameter wrote: On Tue, 5 Feb 2013, Steven Rostedt wrote: Ping? Obviously correct. Acked-by: Christoph Lameter Applied, thanks a lot! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: [PATCH 3/3] smp/ipi:Remove check around csd lock in handler for smp_call_function variants

2013-07-07 Thread Preeti U Murthy
Hi Wang, On 07/06/2013 07:51 PM, Wang YanQing wrote: > On Sat, Jul 06, 2013 at 01:36:27PM +0530, Preeti U Murthy wrote: >> Ideally it should be under a WARN_ON(). csd_unlock() has that WARN_ON(). >> Unlocking a parameter which is not locked should be seen as a bug, which >> the above code is not d

Re: [PATCH 2/3] smp/ipi:Clarify ambiguous comments around deadlock scenarios in smp_call_function variants.

2013-07-07 Thread Preeti U Murthy
Thanks for the pointer Thomas :) Regards Preeti U murthy On 07/07/2013 01:18 AM, Thomas Gleixner wrote: > On Sat, 6 Jul 2013, Preeti U Murthy wrote: > >> Hi Wang, >> >> On 07/06/2013 11:42 AM, Wang YanQing wrote: >>> On Fri, Jul 05, 2013 at 09:57:11PM +0530, Preeti U Murthy wrote: Elaborate

CIFS-related deadlock in 3.10-rc7

2013-07-07 Thread Alexander E. Patrakov
While playing a file from a CIFS-mounted samba share (over wireless, if that matters), I got this deadlock: [ 2164.132440] = [ 2164.132443] [ INFO: possible recursive locking detected ] [ 2164.132446] 3.10.0-rc7-rafael+ #26 Tainted: G C [ 2164.13

Re: [PATCH 2/3] mm/slab: Sharing s_next and s_stop between slab and slub

2013-07-07 Thread Pekka Enberg
On Mon, Jul 1, 2013 at 6:48 PM, Christoph Lameter wrote: > On Mon, 24 Jun 2013, David Rientjes wrote: > >> On Mon, 24 Jun 2013, Wanpeng Li wrote: >> >> > This patch shares s_next and s_stop between slab and slub. >> > >> >> Just about the entire kernel includes slab.h, so I think you'll need to >>

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-07 Thread Daniel Lezcano
On 07/07/2013 05:30 PM, Thomas Gleixner wrote: > On Sun, 7 Jul 2013, Jason Cooper wrote: >> Sure, but to be clear, Daniel, please drop this patch from your tree. I >> have no desire to create an out-of-tree dependency if we can avoid it. >> It has a habit of going horribly wrong [1]. >> >> I'll ch

Re: [PATCH 6/6] perf parse events: demystify memory allocations

2013-07-07 Thread David Ahern
On 7/7/13 9:26 AM, Jiri Olsa wrote: On Tue, Jul 02, 2013 at 01:27:25PM -0600, David Ahern wrote: List heads are currently allocated way down the function chain in __add_event and add_tracepoint and then freed when the scanner code calls parse_events_update_lists. Be more explicit with where mem

Re: [PATCH 1/3] smp/ipi: Remove redundant cfd->cpumask_ipi mask

2013-07-07 Thread Preeti U Murthy
Hi Wang, On 07/06/2013 11:33 AM, Wang YanQing wrote: > On Sat, Jul 06, 2013 at 10:59:39AM +0530, Preeti U Murthy wrote: >> Hi Wang, >> >> On 07/06/2013 08:43 AM, Wang YanQing wrote: >>> On Fri, Jul 05, 2013 at 09:57:01PM +0530, Preeti U Murthy wrote: cfd->cpumask_ipi is used only in smp_call_

Re: [PATCH 6/6] perf parse events: demystify memory allocations

2013-07-07 Thread Jiri Olsa
On Sun, Jul 07, 2013 at 10:45:13AM -0600, David Ahern wrote: > On 7/7/13 9:26 AM, Jiri Olsa wrote: > >On Tue, Jul 02, 2013 at 01:27:25PM -0600, David Ahern wrote: > >>List heads are currently allocated way down the function chain in > >>__add_event > >>and add_tracepoint and then freed when the sc

[PATCH] clk: fix typos

2013-07-07 Thread Peter Meerwald
Signed-off-by: Peter Meerwald --- drivers/clk/Kconfig | 2 +- drivers/clk/clk.c | 13 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 51380d6..cd49096 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -27,

Re: [PATCH 3/3] smp/ipi:Remove check around csd lock in handler for smp_call_function variants

2013-07-07 Thread Wang YanQing
On Sun, Jul 07, 2013 at 09:53:48PM +0530, Preeti U Murthy wrote: > > " > > /* > > > > * Unlocked CSDs are valid through generic_exec_single(): > > > > */ >

[PATCH] dma: iop: fix new warnings

2013-07-07 Thread Olof Johansson
The recent "drivers/dma: remove unused support for MEMSET operations" change has fallout from lack of build testing by the author. This fixes: drivers/dma/iop-adma.c:1020:13: warning: unused variable 'dma_addr' [-Wunused-variable] drivers/dma/iop-adma.c:1519:2: warning: format '%s' expects a matc

Re: [GIT PULL] Stage 1 of __cpuinit removal

2013-07-07 Thread Linus Torvalds
On Tue, Jul 2, 2013 at 10:44 AM, Paul Gortmaker wrote: > > include/asm-generic/vmlinux.lds.h | 12 - > include/linux/init.h | 19 +++--- > scripts/mod/modpost.c | 52 > +++ > 3 files changed, 19 insertions(+), 65 deleti

Re: [PATCH] menuconfig: Allow j/k to move down/up the menu

2013-07-07 Thread Rob Landley
On 07/05/2013 06:32:59 AM, Ramkumar Ramachandra wrote: Like in Vim. Cc: Michal Marek Signed-off-by: Ramkumar Ramachandra --- Unsure why nobody has done this yet. While you're at it, why don't you add the ws up and down bindings from World of Warcraft? The reason nobody has done this yet

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

2013-07-07 Thread Sebastian Andrzej Siewior
On Wed, Jul 03, 2013 at 03:56:55PM +1000, Stephen Rothwell wrote: > Hi Samuel, Hi Stephen, > Introduced by commit 18926edebcb8 ("iio: ti_am335x_adc: Allow to specify > input line"). CONFIG_OF is not set in this build. > > Maybe someone could come up with a way to make these arguments to > of_pro

Re: [PATCH] menuconfig: Allow j/k to move down/up the menu

2013-07-07 Thread Ramkumar Ramachandra
Rob Landley wrote: >> Unsure why nobody has done this yet. > > [...] > And now you know _why_ Linux is over 20 years old and has never needed this. I was just asking out of curiosity: I'm not old enough to know that much history. Isn't it a nice convenience to have _now_? Or do you have somethi

Re: [PATCH 1/6] cpufreq: Add debugfs directory for cpufreq

2013-07-07 Thread Pankaj Jangra
Hi Chanwoo, On Fri, Jul 5, 2013 at 1:46 AM, Chanwoo Choi wrote: > This patch create debugfs root directory and child directory according to > the number of CPUs for CPUFreq as below debugfs directory path: > - /sys/kernel/debug/cpufreq/cpuX > > If many CPUs share only one cpufreq policy, other CP

[PATCH] Input: cyttsp4 - Kill defined but not used compiler warnings

2013-07-07 Thread Geert Uytterhoeven
If both CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME are unset: drivers/input/touchscreen/cyttsp4_core.c:1556: warning: ‘cyttsp4_core_sleep’ defined but not used drivers/input/touchscreen/cyttsp4_core.c:1634: warning: ‘cyttsp4_core_wake’ defined but not used Move cyttsp4_core_sleep(), cyttsp4_core_wak

[PATCH v2] swap: warn when a swap area overflows the maximum size

2013-07-07 Thread Raymond Jennings
Turned the comparison around for clarity of "bigger than" No semantic changes, if it still compiles it should do the same thing so I've omitted the testing this time. Will be happy to retest if required but I'm on an atom 330 and kernel rebuilds are a nightmare. swap: warn when a swap area

Re: Input: cyttsp4 - SPI driver for Cypress TMA4XX touchscreen devices

2013-07-07 Thread Geert Uytterhoeven
On Fri, Jul 5, 2013 at 1:51 AM, Linux Kernel Mailing List wrote: > +++ b/drivers/input/touchscreen/cyttsp4_spi.c > +static int cyttsp_spi_xfer(struct device *dev, u8 *xfer_buf, > + u8 op, u8 reg, u8 *buf, int length) > +{ > + if (reg > 255) As "reg" is "u8", this

Re: [PATCH v2] swap: warn when a swap area overflows the maximum size

2013-07-07 Thread Rik van Riel
On 07/07/2013 03:13 PM, Raymond Jennings wrote: Turned the comparison around for clarity of "bigger than" No semantic changes, if it still compiles it should do the same thing so I've omitted the testing this time. Will be happy to retest if required but I'm on an atom 330 and kernel rebuilds a

Re: [PATCH v3 2/6] misc: sram: add ability to mark sram sections as reserved

2013-07-07 Thread Rob Herring
On Fri, Jul 5, 2013 at 7:41 AM, Heiko Stübner wrote: > Some SoCs need parts of their sram for special purposes. So while being part > of the periphal, it should not be part of the genpool controlling the sram. s/periphal/peripheral/ > > Threfore add an option mmio-sram-reserved to keep arbitary

[PATCH v3 1/1] [SCSI] sg: fix race condition when do exclusive open

2013-07-07 Thread vaughan
Use rwsem to aid opens. Exclusive open has to get write lock and non-exclusive open should get read lock. Replace global sg_open_exclusive_lock with a per device lock - sfd_lock. Since sfds list is now protected by the lock owned by the same sg_device, sg_index_lock becomes a real global lock t

[PATCH] net: mv643xx_eth: fix DT port device name

2013-07-07 Thread Sebastian Hesselbarth
Device tree support added to Marvell MV643xx ethernet driver registers port devices from port device nodes found on the corresponding controller node. The current port device name will cause the second controller to fail on registration because of two identical device names. This fixes the issue by

[PATCH v7 2/7] ARM: kirkwood: add gigabit ethernet and mvmdio device tree nodes

2013-07-07 Thread Sebastian Hesselbarth
This patch adds mv643xx_eth and mvmdio device tree nodes for DT enabled Kirkwood boards. Phy nodes are also added with reg property set on a per-board basis. Signed-off-by: Sebastian Hesselbarth --- Changelog: v6->v7: - fix ethernet 1 port 0 name in kirkwood.dtsi (Reported by Jonas Gorski) v5->v

[PATCH] perf: Free memory allocated in parse_events_fixup

2013-07-07 Thread David Ahern
578d9c6 added a memory allocation that is not freed. Do that when the scanner is done. Signed-off-by: David Ahern Cc: Andi Kleen --- tools/perf/util/parse-events.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-ev

[PATCH] perf: free list on error path parsing events

2013-07-07 Thread David Ahern
5f48cb6 moved list memory allocations into parse-events.y. That memory needs to be freed on a parse failure. Reported-by: Jiri Olsa Signed-off-by: David Ahern Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Jiri Olsa Cc: Namhyung Kim --- tools/perf/util/parse-events.y | 41

[PATCH] perf: free original memory on realloc failure in str_append

2013-07-07 Thread David Ahern
str_append was added in 578d9c6. If realloc fails orignal block is not freed. Need to save the original pointer to handle on failure. Signed-off-by: David Ahern Cc: Andi Kleen --- tools/perf/util/string.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/perf/

Re: [PATCH v2] swap: warn when a swap area overflows the maximum size

2013-07-07 Thread Raymond Jennings
Screwed up and didn't attach my fixed test log to the second version. See below. On Sun, 2013-07-07 at 15:31 -0400, Rik van Riel wrote: > On 07/07/2013 03:13 PM, Raymond Jennings wrote: > > Turned the comparison around for clarity of "bigger than" > > > > No semantic changes, if it still compiles

Re: [GIT] Networking

2013-07-07 Thread Linus Torvalds
On Sun, Jul 7, 2013 at 1:21 PM, David Miller wrote: > > 5) arch/arm/mach-mxs/Kconfig > >Overlapping additions of select statements for SOC_IMX2. Nope. Removals. > 6) arch/arm/mach-mxs/mach-mxs.c > >In mxs_machine_init(), the of_platform_populate() call has it's final >two arguments c

Re: [GIT PULL] 9p changes for 3.11 merge window (part 1)

2013-07-07 Thread Linus Torvalds
On Sun, Jul 7, 2013 at 12:39 PM, Eric Van Hensbergen wrote: > The following changes since commit c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1: > > Linux 3.9 (2013-04-28 17:36:01 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git > t

Re: [GIT PULL] slave-dmaengine updates

2013-07-07 Thread Linus Torvalds
On Sat, Jul 6, 2013 at 9:17 PM, Vinod Koul wrote: > > Once you have some time from extended weekend celebrations please consider > pulling the following to get: > - Various fixes and PCI driver for dw_dmac by Andy > - DT binding for imx-dma by Markus & imx-sdma by Shawn > - DT fixes for dmaengine

Re: [PATCH] net: mv643xx_eth: fix DT port device name

2013-07-07 Thread Jonas Gorski
On Sun, 7 Jul 2013 22:33:51 +0200 Sebastian Hesselbarth wrote: > Device tree support added to Marvell MV643xx ethernet driver registers > port devices from port device nodes found on the corresponding controller > node. The current port device name will cause the second controller to > fail on r

Disabling interrupt remapping seems to cause 50% drop in ethernet speed (v3.10)

2013-07-07 Thread Linda Walsh
There seems to be a new check : Comments Neil Horman - April 15, 2013, 4:28 p.m. A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chipset-ioh-specification-update.pdf For the 5520 and 5500

Re: [PATCH] net: mv643xx_eth: fix DT port device name

2013-07-07 Thread Sebastian Hesselbarth
On 07/07/2013 11:43 PM, Jonas Gorski wrote: On Sun, 7 Jul 2013 22:33:51 +0200 Sebastian Hesselbarth wrote: Device tree support added to Marvell MV643xx ethernet driver registers port devices from port device nodes found on the corresponding controller node. The current port device name will c

Re: [PATCH] net: mv643xx_eth: fix DT port device name

2013-07-07 Thread Jonas Gorski
On Sun, 7 Jul 2013 23:43:41 +0200 Jonas Gorski wrote: > On Sun, 7 Jul 2013 22:33:51 +0200 > Sebastian Hesselbarth wrote: > > > Device tree support added to Marvell MV643xx ethernet driver registers > > port devices from port device nodes found on the corresponding controller > > node. The curr

Fwd: BUG: key ffff880c1148c478 not in .data! (V3.10.0)

2013-07-07 Thread Linda Walsh
Also am seeing this for the first time: (don't know, but seems unlikely to be related to https://patchwork.kernel.org/patch/87359/ Yet it is the only hit I found for the same message. Looks like it's back to a more stable 3.9.8... (*sigh*) BUG: key 880c1148c478 not in .data! [4.429474

Re: [GIT] Networking

2013-07-07 Thread Linus Torvalds
On Sun, Jul 7, 2013 at 2:27 PM, Linus Torvalds wrote: > > Because quite frankly, the fs/select.c changes make me go: "No way in > hell". Partly because of the idiotic and completely undescriptive > naming, partly because of the disgisting calling convetions with > random flags variables passed in

[PATCH] net: mv643xx_eth: do not use port number as platform device id

2013-07-07 Thread Jonas Gorski
The port number is only local to the ethernet block, not global, so there can be two ethernet blocks both using the same port, like kirkwood with both using port 0. Fix this by using the array index offset for the allocated platform devices as the id. Signed-off-by: Jonas Gorski --- drivers/net

[PATCH 2/2] ACPI / PCI: Consolidate acpiphp_enumerate_slots()

2013-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The acpiphp_enumerate_slots() function is now split into two parts, acpiphp_enumerate_slots() proper and init_bridge_misc() which is only called by the former. If these functions are combined, it is possible to make the code easier to follow and to clean up the error hand

[PATCH 1/2] ACPI / PCI: Make bus registration and unregistration symmetric

2013-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since acpi_pci_slot_enumerate() and acpiphp_enumerate_slots() can get the ACPI device handle they need from bus->bridge, it is not necessary to pass that handle to them as an argument. Drop the second argument of acpi_pci_slot_enumerate() and acpiphp_enumerate_slots(), re

[PATCH 0/2] PCI / ACPI cleanups

2013-07-07 Thread Rafael J. Wysocki
Hi, These two patches clean up the ACPI part of the PCI core and ACPIPHP. [1/2] Make bus registration and unregistration symmetric. [2/2] Consolidate acpiphp_enumerate_slots(). They are on top of 3.10 plus my 3.11 queue (should apply on plain 3.10), but if they look good, I'll add them to the pr

Re: [PATCH for 3.2] memcg: do not trap chargers with full callstack on OOM

2013-07-07 Thread azurIt
> CC: "Michal Hocko" , linux-kernel@vger.kernel.org, > linux...@kvack.org, "cgroups mailinglist" , > "KAMEZAWA Hiroyuki" >On Fri, Jul 05, 2013 at 09:02:46PM +0200, azurIt wrote: >> >I looked at your debug messages but could not find anything that would >> >hint at a deadlock. All tasks are stuc

Re: [PATCH 1/6] cpufreq: Add debugfs directory for cpufreq

2013-07-07 Thread Chanwoo Choi
Hi Pankaj, On 07/08/2013 03:54 AM, Pankaj Jangra wrote: > Hi Chanwoo, > > On Fri, Jul 5, 2013 at 1:46 AM, Chanwoo Choi wrote: >> This patch create debugfs root directory and child directory according to >> the number of CPUs for CPUFreq as below debugfs directory path: >> - /sys/kernel/debug/cpu

Re: [GIT PULL] clockevents/clocksource: Add Marvell Orion SoC timer

2013-07-07 Thread Jason Cooper
On Sun, Jul 07, 2013 at 05:30:31PM +0200, Thomas Gleixner wrote: > On Sun, 7 Jul 2013, Jason Cooper wrote: > > Sure, but to be clear, Daniel, please drop this patch from your tree. I > > have no desire to create an out-of-tree dependency if we can avoid it. > > It has a habit of going horribly wro

[PATCH] ACPI / scan: Always call acpi_bus_scan() for bus check notifications

2013-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki An ACPI_NOTIFY_BUS_CHECK notification means that we should scan the entire namespace starting from the given handle even if the device represented by that handle is present (other devices below it may just have been added). For this reason, modify acpi_scan_bus_device_che

  1   2   >