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 penguin-ker...@i-love.sakura.ne.jp 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,

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 c...@linux.com 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.

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 c...@linux.com Applied, thanks a lot! -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

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 doing.

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 on when

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 [

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 c...@linux.com 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 cherry-pick

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

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

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 scanner code

[PATCH] clk: fix typos

2013-07-07 Thread Peter Meerwald
Signed-off-by: Peter Meerwald pme...@pmeerw.net --- 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 +++

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(): */ I don't

[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

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 paul.gortma...@windriver.com wrote: include/asm-generic/vmlinux.lds.h | 12 - include/linux/init.h | 19 +++--- scripts/mod/modpost.c | 52 +++ 3 files changed, 19

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 mma...@suse.cz Signed-off-by: Ramkumar Ramachandra artag...@gmail.com --- 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?

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

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 something

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 cw00.c...@samsung.com 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

[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(),

[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 linux-kernel@vger.kernel.org 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)

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

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 he...@sntech.de 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

[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

[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

[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 sebastian.hesselba...@gmail.com --- Changelog: v6-v7: - fix ethernet 1 port 0 name in kirkwood.dtsi

[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 dsah...@gmail.com Cc: Andi Kleen a...@linux.intel.com --- tools/perf/util/parse-events.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[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 jo...@redhat.com Signed-off-by: David Ahern dsah...@gmail.com Cc: Ingo Molnar mi...@kernel.org Cc: Frederic Weisbecker fweis...@gmail.com Cc: Peter Zijlstra

[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 dsah...@gmail.com Cc: Andi Kleen a...@linux.intel.com --- tools/perf/util/string.c |9 - 1 file changed, 8 insertions(+), 1

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 it

Re: [GIT] Networking

2013-07-07 Thread Linus Torvalds
On Sun, Jul 7, 2013 at 1:21 PM, David Miller da...@davemloft.net 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

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 eri...@gmail.com wrote: The following changes since commit c1be5a5b1b355d40e6cf79cc979eb66dafa24ad1: Linux 3.9 (2013-04-28 17:36:01 -0700) are available in the git repository at:

Re: [GIT PULL] slave-dmaengine updates

2013-07-07 Thread Linus Torvalds
On Sat, Jul 6, 2013 at 9:17 PM, Vinod Koul vinod.k...@intel.com 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

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 sebastian.hesselba...@gmail.com 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

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 mailto:nhor...@tuxdriver.com - 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 Hesselbarthsebastian.hesselba...@gmail.com wrote: Device tree support added to Marvell MV643xx ethernet driver registers port devices from port device nodes found on the corresponding controller node. The

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 j...@openwrt.org wrote: On Sun, 7 Jul 2013 22:33:51 +0200 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: Device tree support added to Marvell MV643xx ethernet driver registers port devices from port device nodes found on the

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! [

Re: [GIT] Networking

2013-07-07 Thread Linus Torvalds
On Sun, Jul 7, 2013 at 2:27 PM, Linus Torvalds torva...@linux-foundation.org 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

[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 j...@openwrt.org

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

2013-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

[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

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

2013-07-07 Thread azurIt
CC: Michal Hocko mho...@suse.cz, linux-kernel@vger.kernel.org, linux...@kvack.org, cgroups mailinglist cgro...@vger.kernel.org, KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com On Fri, Jul 05, 2013 at 09:02:46PM +0200, azurIt wrote: I looked at your debug messages but could not find anything

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 cw00.c...@samsung.com wrote: This patch create debugfs root directory and child directory according to the number of CPUs for CPUFreq as below debugfs directory path: -

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 wrong

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

2013-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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,

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

2013-07-07 Thread Jason Cooper
On Sun, Jul 07, 2013 at 06:45:15PM +0200, Daniel Lezcano wrote: 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

Re: [Xen-devel] [PATCH v6 0/5] Xen/ACPI: support sleep state entering on hardware reduced systems

2013-07-07 Thread Ben Guthro
On Mon, Jul 1, 2013 at 7:48 AM, Ben Guthro benjamin.gut...@citrix.com wrote: In version 3.4 acpi_os_prepare_sleep() got introduced in parallel with reduced hardware sleep support, and the two changes didn't get synchronized: The new code doesn't call the hook function (if so requested). Fix

[PATCH 1/1] ia64/pci: set mmio decoding on for some host bridge

2013-07-07 Thread Li, Zhen-Hua
On some IA64 platforms with intel PCI bridge, for example, HP BL890c i2 with Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port, when kernel tries to disable the mmio decoding on the PCI bridge devices, kernel may crash. And in the comment of function quirk_mmio_always_on, it also

Re: [Patch v5 0/9] liblockdep: userspace lockdep

2013-07-07 Thread Sasha Levin
On 06/27/2013 09:55 AM, Sasha Levin wrote: On 06/27/2013 05:07 AM, Ingo Molnar wrote: * Sasha Levin sasha.le...@oracle.com wrote: On 06/26/2013 11:53 AM, Ingo Molnar wrote: Ingo, I don't think I see anything holding this back; however I remember reading some email about people not liking

Re: [PATCH 4/8] powerpc: Prepare to support kernel handling of IOMMU map/unmap

2013-07-07 Thread Benjamin Herrenschmidt
On Sun, 2013-07-07 at 01:07 +1000, Alexey Kardashevskiy wrote: The current VFIO-on-POWER implementation supports only user mode driven mapping, i.e. QEMU is sending requests to map/unmap pages. However this approach is really slow, so we want to move that to KVM. Since H_PUT_TCE can be

Re: [PATCH 1/2] extcon: palmas: rename device tree binding matching with file name

2013-07-07 Thread Chanwoo Choi
On 07/05/2013 10:59 PM, Laxman Dewangan wrote: The driver name is extcon/extcon-palmas.c and hence renaming the device tree binding document to extcon-palmas.txt. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- .../extcon/{extcon-twl.txt = extcon-palmas.txt} |0 1 files

[PATCH RFC 2/3] clk: cpufreq helper for voltage scaling

2013-07-07 Thread Mike Turquette
This patch builds on clk: notifier handler for dynamic voltage scaling by adding a CPUfreq-specific helper function for registering a clock rate-change notifier to scale regulator voltage as a function of clock rate. In particular this patch creates an instance of struct cpufreq_frequency_table

Re: [PATCH 8/8] ARM: exynos: select PM_GENERIC_DOMAINS only when used

2013-07-07 Thread Jingoo Han
On Friday, July 05, 2013 9:25 AM, Arnd Bergmann wrote: Hi Arnd, This bug fix patch was already submitted on May 27th, as below: https://patchwork.kernel.org/patch/2617191/ Best regards, Jingoo Han This fixes building exynos kernels with CONFIG_PM disabled. Signed-off-by: Arnd Bergmann

[PATCH RFC 3/3] cpufreq: cpufreq-cpu0: clk rate-change notifiers

2013-07-07 Thread Mike Turquette
Removes direct handling of OPP tables and voltage regulators by calling of_clk_cpufreq_notifier_handler, introduced by commit clk: cpufreq helper for voltage scaling. In the future this can help consolidate code found across similar CPUfreq drivers. Signed-off-by: Mike Turquette

[PATCH RFC 0/3] voltage scaling via clock rate-change notifiers

2013-07-07 Thread Mike Turquette
Scaling regulator voltage as a function of clock frequency is a common power saving technique. It is often referred to as dynamic voltage frequency scaling (DVFS). The common clock framework has clock rate-change notifier (pre post) which provide a convenient hook for scaling voltage whenever

Seg fault occurs when running statically compiled binary from kernel using call_usermodehelper

2013-07-07 Thread Ashish Sangwan
On kernel version 3.8.13, when we try to execute a statically compiled binary from kernel, it is giving segfault: insmod /mnt/module2.ko [ 35.56] sample.static: unhandled page fault (11) at 0x, code 0x8007 [ 36.44] Pid: 257, comm:sample.static [ 36.444000] CPU: 3

[PATCH RFC 1/3] clk: notifier handler for dynamic voltage scaling

2013-07-07 Thread Mike Turquette
This patch provides helper functions for drivers that wish to scale voltage through the clock rate-change notifiers. The approach taken is that the driver does not care about the details of the OPP table, nor does it care about handling the voltage regulator directly. The driver only has a pointer

Re: Seg fault occurs when running statically compiled binary from kernel using call_usermodehelper

2013-07-07 Thread Ashish Sangwan
Forget to mention, we are using ARM On Mon, Jul 8, 2013 at 10:45 AM, Ashish Sangwan ashishsangw...@gmail.com wrote: On kernel version 3.8.13, when we try to execute a statically compiled binary from kernel, it is giving segfault: insmod /mnt/module2.ko [ 35.56] sample.static: unhandled

Re: [RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-07 Thread Bo Shen
Hi Richard, On 7/5/2013 23:15, Richard Genoud wrote: + card-dev = pdev-dev; + card-owner = THIS_MODULE; + card-dai_link = dai; + card-num_links = 1; + dai-name = WM8731; + dai-stream_name = WM8731 PCM; + dai-codec_dai_name = wm8731-hifi; +

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

2013-07-07 Thread Nicholas A. Bellinger
On Sun, 2013-07-07 at 14:48 +0300, Michael S. Tsirkin wrote: 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

Re: [PATCH] include/asm-generic/io.h: add dummy fuctions to support 'COMPILE_TEST' in 'asm-generic'.

2013-07-07 Thread Chen Gang F T
Firstly, thank you very much for your reply. On 07/05/2013 07:13 PM, Arnd Bergmann wrote: On Friday 05 July 2013, Chen Gang F T wrote: Hello All: It seems 'asm-generic' dislikes 'mad users' (e.g allmodconfig, randconfig, and me). I guess the main reason is: 'asm-generic' thinks

Re: [merged] memstick-add-support-for-legacy-memorysticks.patch removed from -mm tree

2013-07-07 Thread Valdis . Kletnieks
On Mon, 08 Jul 2013 03:41:42 +0300, Maxim Levitsky said: +/* Debug test to validate free block counts */ +#ifdef DEBUG +static int msb_validate_used_block_bitmap(struct msb_data *msb) +{ Is there a reason this should be inside a #ifdef DEBUG with no easy way to select DEBUG? Maybe

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

2013-07-07 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: This should help make sure patches go to the correct list. Signed-off-by: Michael S. Tsirkin m...@redhat.com Indeed. Thanks. Applied, Rusty. --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [PATCH] lib: One less subtraction in binary search iterations.

2013-07-07 Thread Rusty Russell
Wedson Almeida Filho wedso...@gmail.com writes: There is no functional change, but this change eliminates a subtraction that the compiler doesn't optimize out (as of gcc 4.7.3). Signed-off-by: Wedson Almeida Filho wedso...@gmail.com --- lib/bsearch.c |2 +- 1 file changed, 1

Re: [PATCH] pci: Avoid unnecessary calls to work_on_cpu

2013-07-07 Thread Rusty Russell
Bjorn Helgaas bhelg...@google.com writes: [+cc Rusty] On Mon, Jun 24, 2013 at 2:05 PM, Alexander Duyck alexander.h.du...@intel.com wrote: This patch is meant to address the fact that we are making unnecessary calls to work_on_cpu. To resolve this I have added a check to see if the current

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

2013-07-07 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: 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 m...@redhat.com Applied. Thanks, Rusty. PS. I'll squeeze these into this merge window, since they're

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

2013-07-07 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: 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

Re: [RFC][PATCH 3/4] tracing/kprobes: Fail to unregister if probe event files are open

2013-07-07 Thread Masami Hiramatsu
(2013/07/06 2:26), Oleg Nesterov wrote: On 07/05, Masami Hiramatsu wrote: (2013/07/05 3:48), Oleg Nesterov wrote: On 07/04, Masami Hiramatsu wrote: Actually disable_kprobe() doesn't ensure to finish the current running kprobe handlers. Yes. in fact disable_trace_probe(file != NULL) does,

Re: [PATCH v3 1/2] sched: smart wake-affine foundation

2013-07-07 Thread Michael Wang
Hi, Sam On 07/07/2013 09:31 AM, Sam Ben wrote: On 07/04/2013 12:55 PM, Michael Wang wrote: wake-affine stuff is always trying to pull wakee close to waker, by theory, this will bring benefit if waker's cpu cached hot data for wakee, or the extreme ping-pong case. What's the meaning of

Re: [GIT PULL] slave-dmaengine updates

2013-07-07 Thread Vinod Koul
On Sun, Jul 07, 2013 at 02:39:18PM -0700, Linus Torvalds wrote: On Sat, Jul 6, 2013 at 9:17 PM, Vinod Koul vinod.k...@intel.com 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

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

2013-07-07 Thread Vinod Koul
On Sun, Jul 07, 2013 at 07:04:53PM +0530, Vinod Koul wrote: 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

Re: [PATCH] sched: smart wake-affine

2013-07-07 Thread Michael Wang
On 07/07/2013 02:43 PM, Mike Galbraith wrote: On Fri, 2013-07-05 at 14:16 +0800, Michael Wang wrote: PeterZ has suggested some optimization which I sent out yesterday, I suppose they haven't been included into this test yet, correct? No, that was with both v3 patches applied. hackbench -l

[PATCH net-next] net/usb: add relative mii functions for r815x

2013-07-07 Thread Hayes Wang
Base on cdc_ether, add the mii functions for RTL8152 and RTL8153. The RTL8152 and RTL8153 support ECM mode which use the driver of cdc_ether. Add the mii functions. Then, the basic PHY access is possible. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/Makefile| 2 +-

Re: [GIT] Networking

2013-07-07 Thread David Miller
From: Linus Torvalds torva...@linux-foundation.org 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 documented,

Re: [PATCH] sched: smart wake-affine

2013-07-07 Thread Mike Galbraith
On Mon, 2013-07-08 at 10:49 +0800, Michael Wang wrote: BTW, could you please show me the '/proc/cpuinfo' of your box? I'd like to collect some data for analyse later ;-) processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R)

Re: [v9fs:for-linus 7/7] ERROR: code indent should use tabs where possible

2013-07-07 Thread Fengguang Wu
Hi Eric, On Sun, Jul 07, 2013 at 10:14:09PM -0500, Eric Van Hensbergen wrote: I've fixed this in my for-next branch, Linus rejected my pull on other grounds so this should let us fix up these style issues before the merge. Thanks for catching this, I need to go back to running

linux-next: manual merge of the vhost tree with the target-updates tree

2013-07-07 Thread Stephen Rothwell
Hi Michael, Today's linux-next merge of the vhost tree got a conflict in drivers/vhost/scsi.c between commit 084ed45b3846 (vhost/scsi: Convert to se_cmd-cmd_kref TARGET_SCF_ACK_KREF usage) from the target-updates tree and commit 3c63f66a0dcd (vhost-scsi: Rename struct tcm_vhost_cmd *tv_cmd to

Re: [v9fs:for-linus 7/7] ERROR: code indent should use tabs where possible

2013-07-07 Thread Joe Perches
On Mon, 2013-07-08 at 11:30 +0800, Fengguang Wu wrote: In long run I'd like to disable the check types that tend to have false positives. As for now, these checks are disabled in my checkpatch robot: Are you using a .checkpatch.conf file? PATCH_PREFIX LONG_LINE CAMELCASE That's a

Re: [GIT PULL] Stage 1 of __cpuinit removal

2013-07-07 Thread Paul Gortmaker
[Re: [GIT PULL] Stage 1 of __cpuinit removal] On 07/07/2013 (Sun 11:07) Linus Torvalds wrote: On Tue, Jul 2, 2013 at 10:44 AM, Paul Gortmaker paul.gortma...@windriver.com wrote: include/asm-generic/vmlinux.lds.h | 12 - include/linux/init.h | 19 +++---

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

2013-07-07 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-omap2/Kconfig between commit 4a1b573346ee (ARM: 7758/1: introduce config HAS_BANDGAP) from Linus' tree and commit 59d92875a6d9 (ARM: OMAP: build mach-omap code only if needed) from the arm-soc tree. I fixed it

Re: [PATCH RFC 3/3] cpufreq: cpufreq-cpu0: clk rate-change notifiers

2013-07-07 Thread Viresh Kumar
On Mon, Jul 8, 2013 at 7:14 AM, Mike Turquette mturque...@linaro.org wrote: Removes direct handling of OPP tables and voltage regulators by calling of_clk_cpufreq_notifier_handler, introduced by commit clk: cpufreq helper for voltage scaling. In the future this can help consolidate code found

paper supplier

2013-07-07 Thread Uurux
Dear Purchasing manager: Nice time to you It is my big pleasure to hear you need A4 paper we have A4 paper and A3 paper If you still need that pls tell me Then i can send you our best price Best wishes Ida Ida Chen SALES MANAGER East Siweite industry Co., Ltd www.dfswtpaper.com SKYPE:

linux-next: manual merge of the akpm tree with the drm-intel tree

2013-07-07 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/gpu/drm/i915/i915_gem.c between commit 857d0a9a6e9e (drm/i915: Correct obj-mm_list link to dev_priv-dev_priv-mm.inactive_list) from the drm-intel tree and commit drivers-convert-shrinkers-to-new-count-scan-api-fix from

Re: [PATCH] ARM: pxa: propagate errors from regulator_enable() to pxamci

2013-07-07 Thread Sachin Kamat
On 5 July 2013 21:21, Arnd Bergmann a...@arndb.de wrote: The em_x270_mci_setpower() and em_x270_usb_hub_init() functions call regulator_enable(), which may return an error that must be checked. This changes the em_x270_usb_hub_init() function to bail out if it fails, and changes the

Re: [PATCH] pci: Avoid unnecessary calls to work_on_cpu

2013-07-07 Thread Andi Kleen
But Rusty added this (in 873392ca51), and he knows way more about this stuff than I do. Actually, I just stopped the code from playing cpumask games, which is what it used to do. You're right the numa_node_id() check ptimization is not 100% safe on preempt kernels and should be probably

Re: [PATCH 0/2] introduce list_for_each_entry_del

2013-07-07 Thread Dave Chinner
On Fri, Jul 05, 2013 at 04:41:00PM -0400, Jörn Engel wrote: On Mon, 3 June 2013 13:28:03 -0400, Joern Engel wrote: A purely janitorial patchset. A fairly common pattern is to take a list, remove every object from it and do something with this object - usually kfree() some variant. A

[PATCH] mtd: diskonchip: remove unused entries in Kconfig

2013-07-07 Thread Michael Opdenacker
This patch proposes to remove kernel configuration parameters defined in drivers/mtd/devices/Kconfig, but used nowhere in the makefiles and source code (except in comments). Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- drivers/mtd/devices/Kconfig | 55

Re: linux-next: Tree for Jul 3

2013-07-07 Thread Stephen Rothwell
Hi Jörn, On Wed, 3 Jul 2013 10:48:03 -0400 Jörn Engel jo...@logfs.org wrote: On Wed, 3 July 2013 12:25:41 +0100, Steve Capper wrote: Today's linux-next appears to introduce some BUGs when running the libhugetlbfs testsuite (under both ARM64 and x86_64): [ 94.320661] BUG: Bad

[PATCH v2] powerpc: add real mode support for dma operations on powernv

2013-07-07 Thread Alexey Kardashevskiy
The existing TCE machine calls (tce_build and tce_free) only support virtual mode as they call __raw_writeq for TCE invalidation what fails in real mode. This introduces tce_build_rm and tce_free_rm real mode versions which do mostly the same but use Store Doubleword Caching Inhibited Indexed

Re: [v9fs:for-linus 7/7] ERROR: code indent should use tabs where possible

2013-07-07 Thread Fengguang Wu
On Sun, Jul 07, 2013 at 08:54:04PM -0700, Joe Perches wrote: On Mon, 2013-07-08 at 11:30 +0800, Fengguang Wu wrote: In long run I'd like to disable the check types that tend to have false positives. As for now, these checks are disabled in my checkpatch robot: Are you using a

Re: [v9fs:for-linus 7/7] ERROR: code indent should use tabs where possible

2013-07-07 Thread Fengguang Wu
TRAILING_STATEMENTS False positives? Got an example? tree: git://git.freedesktop.org/git/nouveau/linux-2.6 drm-nouveau-next head: d2989b534ef6834ebf2425aecc040b894b567c91 commit: 01672ef454307bf63e93defb3599399b678ff58b [3/68] drm/nve0/fifo: copy engine context stored in ramfc,

[PATCH] blackfin: remove unused parameters in Kconfig

2013-07-07 Thread Michael Opdenacker
This patch proposes to remove kernel configuration parameters defined in arch/blackfin/Kconfig, but used nowhere in the makefiles and source code. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/blackfin/Kconfig | 15 --- 1 file changed, 15

Re: [v9fs:for-linus 7/7] ERROR: code indent should use tabs where possible

2013-07-07 Thread Joe Perches
On Mon, 2013-07-08 at 12:45 +0800, Fengguang Wu wrote: On Sun, Jul 07, 2013 at 08:54:04PM -0700, Joe Perches wrote: On Mon, 2013-07-08 at 11:30 +0800, Fengguang Wu wrote: In long run I'd like to disable the check types that tend to have false positives. As for now, these checks are

Re: [v9fs:for-linus 7/7] ERROR: code indent should use tabs where possible

2013-07-07 Thread Fengguang Wu
On Mon, Jul 08, 2013 at 12:47:47PM +0800, Fengguang Wu wrote: TRAILING_STATEMENTS False positives? Got an example? tree: git://git.freedesktop.org/git/nouveau/linux-2.6 drm-nouveau-next head: d2989b534ef6834ebf2425aecc040b894b567c91 commit:

[PATCH] drivers/video: remove unused parameter in Kconfig

2013-07-07 Thread Michael Opdenacker
This patch proposes to remove the FB_NUC900_DEBUG kernel configuration parameter defined in drivers/video/Kconfig, but used nowhere in the makefiles and source code. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- drivers/video/Kconfig | 7 --- 1 file changed, 7

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 part can

[PATCH] c6x: remove unused parameter in Kconfig

2013-07-07 Thread Michael Opdenacker
This patch proposes to remove the TMS320C6X_CACHES_ON kernel configuration parameter defined in arch/c6x/Kconfig, but used nowhere in the makefiles and source code. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/c6x/Kconfig | 4 1 file changed, 4

<    1   2   3   4   >