Patch "ARC: gdbserver breakage in Big-Endian configuration #2" has been added to the 3.10-stable tree

2013-08-22 Thread gregkh
This is a note to let you know that I've just added the patch titled ARC: gdbserver breakage in Big-Endian configuration #2 to the 3.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is:

[PATCH (revert)] Revert "ACPI / video: Always call acpi_video_init_brightness() on init"

2013-08-22 Thread Rafael J. Wysocki
commit 168cf0eca45b86014b8c2a17fcb0673ab1af809b Author: Rafael J. Wysocki Date: Thu Aug 22 23:31:38 2013 +0200 Revert "ACPI / video: Always call acpi_video_init_brightness() on init" Revert commit c04c697 (ACPI / video: Always call acpi_video_init_brightness() on init), becaus

Re: [PATCH] Omnikey Cardman 4000: pull in ioctl.h in user header

2013-08-22 Thread Andrew Morton
On Fri, 16 Aug 2013 14:07:09 -0400 Mike Frysinger wrote: > This file uses the ioctl helpers (_IOR/_IOW/etc...), so include ioctl.h > for the definitions. > > ... > > --- a/include/uapi/linux/cm4000_cs.h > +++ b/include/uapi/linux/cm4000_cs.h > @@ -2,6 +2,7 @@ > #define _UAPI_CM4000_H_ > > #i

[PATCH RFC v2 1/5] of: Add empty for_each_available_child_of_node() macro definition

2013-08-22 Thread Josh Cartwright
From: Sylwester Nawrocki Add this empty macro definition so users can be compiled without excluding this macro call with preprocessor directives when CONFIG_OF is disabled. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- This patch was first introduced in December @ http://t

[PATCH RFC v2 3/5] spmi: add generic SPMI controller binding documentation

2013-08-22 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- I'm introducing this as an RFC, because there are set of assumptions made in this binding spec, that currently hold true for the supported controller/addressing scheme for the Snapdragon 800 series, but don't necessarily hold true for SPMI in general. 1. No us

[PATCH RFC v2 4/5] spmi: Add MSM PMIC Arbiter SPMI controller

2013-08-22 Thread Josh Cartwright
From: Kenneth Heitke Qualcomm's PMIC Arbiter SPMI controller functions as a bus master and is used to communication with one or more PMIC (slave) devices on the SPMI bus. The PMIC Arbiter is actually a hardware wrapper around the SPMI controller that provides concurrent and autonomous PMIC acces

[PATCH RFC v2 5/5] spmi: document the PMIC arbiter SPMI bindings

2013-08-22 Thread Josh Cartwright
Signed-off-by: Josh Cartwright --- .../bindings/spmi/qcom,spmi-pmic-arb.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/spmi/qcom,spmi-pmic-arb.txt diff --git a/Documentation/devicetree/bindings/spmi/qcom,spmi-pmi

[PATCH RFC v2 0/3] Add support for the System Power Management Interface (SPMI)

2013-08-22 Thread Josh Cartwright
The System Power Management Interface (SPMI) is a high-speed, low-latency, bi-directional, two-wire serial bus suitable for real-time control of voltage and frequency scaled multi-core application processors and its power management of auxiliary components. SPMI obsoletes a number of legacy, custom

[PATCH RFC v2 2/5] spmi: Linux driver framework for SPMI

2013-08-22 Thread Josh Cartwright
From: Kenneth Heitke System Power Management Interface (SPMI) is a specification developed by the MIPI (Mobile Industry Process Interface) Alliance optimized for the real time control of Power Management ICs (PMIC). SPMI is a two-wire serial interface that supports up to 4 master devices and up

Re: [GIT PULL v2] DT/core: cpu_ofnode updates for v3.12

2013-08-22 Thread Rafael J. Wysocki
On Thursday, August 22, 2013 02:57:56 PM Sudeep KarkadaNagesha wrote: > Hi Rafael, > > Here is the v2 of the pull request for cpu of_node updates for v3.12 > It includes ACK for all the new changes since v1(mainly from Ben for > PPC). Currently there's trivial conflict with today's linux-next in 3

RE: [RFC PATCH v2 06/11] pstore: Add decompression support to pstore

2013-08-22 Thread Seiji Aguchi
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Aruna Balakrishnaiah > Sent: Friday, August 16, 2013 9:18 AM > To: linuxppc-...@ozlabs.org; tony.l...@intel.com; > linux-kernel@vger.kernel.org; keesc...@chromium.o

RE: [RFC PATCH v2 04/11] pstore: Add compression support to pstore

2013-08-22 Thread Seiji Aguchi
> * callback from kmsg_dump. (s2,l2) has the most recently > * written bytes, older bytes are in (s1,l1). Save as much > @@ -148,23 +243,56 @@ static void pstore_dump(struct kmsg_dumper *dumper, > char *dst; > unsigned long size; > int hsize; > +

Re: [PATCH RFC v2 2/5] spmi: Linux driver framework for SPMI

2013-08-22 Thread Greg Kroah-Hartman
On Fri, Aug 09, 2013 at 01:37:09PM -0700, Josh Cartwright wrote: > +static char dbgfs_help[] = > + "SPMI Debug-FS support\n" > + "\n" > + "Hierarchy schema:\n" > + "/sys/kernel/debug/spmi\n" > + " /help-- Static help text\n" > + " /spmi-0

RE: [RFC PATCH v2 04/11] pstore: Add compression support to pstore

2013-08-22 Thread Luck, Tony
<1>[ 383.209057] RIP [] sysrq_handle_crash+0x16/0x20 <4>[ 383.209057] RSP <4>[ 383.209057] CR2: <4>[ 383.209057] ---[ end trace 04a1cddad37b4b33 ]--- <3>[ 383.209057] pstore: compression failed for Part 2 returned -5 <3>[ 383.209057] pstore: Capture uncompressed oops/panic

Re: ipvsadm: One-packet scheduling with UDP service is unstable

2013-08-22 Thread Drunkard Zhang
2013/8/22 Julian Anastasov : > > Hello, > > On Thu, 22 Aug 2013, Drunkard Zhang wrote: > >> 2013/8/22 Julian Anastasov : >> > >> > No kernel options should be related to OPS. I assume >> > you are not using the SH scheduler. Make sure the OPS mode >> > is properly applied to the vir

Contact me

2013-08-22 Thread LEUNG CHEUNG
Hello,I have a mutual business for us worth $22.5 Million ,contact me for details,e-mail at mr.lleungche...@hotmail.com Mr Cheung -- 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

Re: [PATCH v4 00/11] tracing: trace event triggers

2013-08-22 Thread Tom Zanussi
On Thu, 2013-08-22 at 14:48 -0500, Tom Zanussi wrote: > Hi Masami, > > Just getting back to this after returning from vacation - I'll be > sending an update to this patchset addressing your comments shortly... > > On Thu, 2013-08-08 at 11:02 +0900, Masami Hiramatsu wrote: > > Hi, > > > > (2013/0

[PATCH v6 00/10] tracing: trace event triggers

2013-08-22 Thread Tom Zanussi
Hi, This is v6 of the trace event triggers patchset. This is essentially the same as v5, but rebased to trace/for-next, which had a couple of new conflicting patches pulled in since I had cut v5. This version just fixes up those conflicts. v6: - fixed up the conflicts in trace_events.c related

[PATCH v6 02/10] tracing: add basic event trigger framework

2013-08-22 Thread Tom Zanussi
Add a 'trigger' file for each trace event, enabling 'trace event triggers' to be set for trace events. 'trace event triggers' are patterned after the existing 'ftrace function triggers' implementation except that triggers are written to per-event 'trigger' files instead of to a single file such as

[PATCH v6 08/10] tracing: update event filters for multibuffer

2013-08-22 Thread Tom Zanussi
The trace event filters are still tied to event calls rather than event files, which means you don't get what you'd expect when using filters in the multibuffer case: Before: # echo 'count > 65536' > /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/filter # cat /sys/kernel/debug/trac

[PATCH v6 09/10] tracing: add documentation for trace event triggers

2013-08-22 Thread Tom Zanussi
Provide a basic overview of trace event triggers and document the available trigger commands, along with a few simple examples. Signed-off-by: Tom Zanussi --- Documentation/trace/events.txt | 207 + 1 file changed, 207 insertions(+) diff --git a/Documenta

[PATCH v6 06/10] tracing: add 'enable_event' and 'disable_event' event trigger commands

2013-08-22 Thread Tom Zanussi
Add 'enable_event' and 'disable_event' event_command commands. enable_event and disable_event event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'enable_event' and 'disable_event' ftrace function commands, but instead of

[PATCH v6 10/10] tracing: make register/unregister_ftrace_command __init

2013-08-22 Thread Tom Zanussi
register/unregister_ftrace_command() are only ever called from __init functions, so can themselves be made __init. Also make register_snapshot_cmd() __init for the same reason. Signed-off-by: Tom Zanussi --- include/linux/ftrace.h | 4 ++-- kernel/trace/ftrace.c | 12 ++-- kernel/trac

[PATCH v6 05/10] tracing: add 'stacktrace' event trigger command

2013-08-22 Thread Tom Zanussi
Add 'stacktrace' ftrace_func_command. stacktrace event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'stacktrace' ftrace function command, but instead of writing to the set_ftrace_filter file, the stacktrace event trigger is

[PATCH v6 01/10] tracing: Add support for SOFT_DISABLE to syscall events

2013-08-22 Thread Tom Zanussi
The original SOFT_DISABLE patches didn't add support for soft disable of syscall events; this adds it and paves the way for future patches allowing triggers to be added to syscall events, since triggers are built on top of SOFT_DISABLE. Add an array of ftrace_event_file pointers indexed by syscall

[PATCH v6 07/10] tracing: add and use generic set_trigger_filter() implementation

2013-08-22 Thread Tom Zanussi
Add a generic event_command.set_trigger_filter() op implementation and have the current set of trigger commands use it - this essentially gives them all support for filters. Syntactically, filters are supported by adding 'if ' just after the command, in which case only events matching the filter w

[PATCH v6 04/10] tracing: add 'snapshot' event trigger command

2013-08-22 Thread Tom Zanussi
Add 'snapshot' ftrace_func_command. snapshot event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'snapshot' ftrace function command, but instead of writing to the set_ftrace_filter file, the snapshot event trigger is written

[PATCH v6 03/10] tracing: add 'traceon' and 'traceoff' event trigger commands

2013-08-22 Thread Tom Zanussi
Add 'traceon' and 'traceoff' ftrace_func_command commands. traceon and traceoff event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'traceon' and 'traceoff' ftrace function commands, but instead of writing to the set_ftrac

Re: [PATCH 1/2] tick: broadcast: Deny per-cpu clockevents from being broadcast sources

2013-08-22 Thread Sören Brinkmann
On Thu, Aug 22, 2013 at 10:06:40AM -0700, Stephen Boyd wrote: > On most ARM systems the per-cpu clockevents are truly per-cpu in > the sense that they can't be controlled on any other CPU besides > the CPU that they interrupt. If one of these clockevents were to > become a broadcast source we will

RE: [RFC PATCH v2 04/11] pstore: Add compression support to pstore

2013-08-22 Thread Seiji Aguchi
> -Original Message- > From: Luck, Tony [mailto:tony.l...@intel.com] > Sent: Thursday, August 22, 2013 7:17 PM > To: Seiji Aguchi; Aruna Balakrishnaiah; linuxppc-...@ozlabs.org; > linux-kernel@vger.kernel.org; keesc...@chromium.org > Cc: jkeni...@linux.vnet.ibm.com; ana...@in.ibm.com; b.

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-22 Thread zhangwei(Jovi)
On 2013/8/23 0:42, Steven Rostedt wrote: > On Fri, 09 Aug 2013 18:56:54 +0900 > Masami Hiramatsu wrote: > >> (2013/08/09 17:45), Namhyung Kim wrote: >>> From: Namhyung Kim >>> >>> Fetching from user space should be done in a non-atomic context. So >>> use a temporary buffer and copy its content

Re: [PATCH] PCI: avoid NULL deref in alloc_pcie_link_state

2013-08-22 Thread Bjorn Helgaas
On Thu, Aug 08, 2013 at 03:57:07PM +0200, Radim Krčmář wrote: > PCIe switch can be connected directly to the PCIe root complex in QEMU; > ASPM does not expect this topology and dereferences NULL pointer when > initializing. > > Downstream port can be also connected to the root complex without > up

[PATCH v4 7/7] xfs: Defer mmap cmtime updates

2013-08-22 Thread Andy Lutomirski
This involves a change to block_page_mkwrite. xfs is the only user. Signed-off-by: Andy Lutomirski --- fs/buffer.c | 7 --- fs/xfs/xfs_aops.c | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/fs/buffer.c b/fs/buffer.c index 4d74335..408677c 100644 --- a/fs/buffer.c

[PATCH v4 6/7] btrfs: Defer mmap cmtime updates

2013-08-22 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- fs/btrfs/extent_io.c | 1 + fs/btrfs/inode.c | 32 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index fe443fe..dc2f851 100644 --- a/fs/btrfs/extent_io.c +++ b/f

[PATCH v4 3/7] mm: Allow filesystems to defer cmtime updates

2013-08-22 Thread Andy Lutomirski
Filesystems that defer cmtime updates should update cmtime when any of these events happen after a write via a mapping: - The mapping is written back to disk. This happens from all kinds of places, most of which eventually call ->writepages. (The exceptions are vmscan and migration.) -

[PATCH v4 4/7] mm: Scan for dirty ptes and update cmtime on MS_ASYNC

2013-08-22 Thread Andy Lutomirski
This is probably unimportant but improves POSIX compliance. Signed-off-by: Andy Lutomirski --- mm/msync.c | 84 ++ 1 file changed, 73 insertions(+), 11 deletions(-) diff --git a/mm/msync.c b/mm/msync.c index 632df45..a2ee43c 100644 ---

[PATCH v4 5/7] ext4: Defer mmap cmtime updates

2013-08-22 Thread Andy Lutomirski
Signed-off-by: Andy Lutomirski --- fs/ext4/inode.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index dd32a2e..2cb2961 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -2382,8 +2382,11 @@ static int ext4_writepages(struct a

[PATCH v4 2/7] fs: Add inode_update_time_writable

2013-08-22 Thread Andy Lutomirski
This is like file_update_time, except that it acts on a struct inode * instead of a struct file *. Signed-off-by: Andy Lutomirski --- fs/inode.c | 64 +- include/linux/fs.h | 1 + 2 files changed, 50 insertions(+), 15 deletions(-) dif

[PATCH v3 0/5] Rework mtime and ctime updates on mmaped writes

2013-08-22 Thread Andy Lutomirski
Writes via mmap currently update mtime and ctime in ->page_mkwrite. This hurts both throughput and latency. In workloads that dirty a large number of mmapped pages, ->page_mkwrite can be hot and file_update_time is slow and scales poorly. Updating timestamps can also sleep, which hurts latency fo

[PATCH v4 1/7] mm: Track mappings that have been written via ptes

2013-08-22 Thread Andy Lutomirski
This will allow the mm code to figure out when a file has been changed through a writable mmap. Future changes will use this information to update the file timestamp after writes. This is handled in core mm code for two reasons: 1. Performance. Setting a bit directly is faster than an indirect

[PATCH] dm: allow error target to replace either bio-based and request-based targets

2013-08-22 Thread Mike Snitzer
On Thu, Aug 22 2013 at 4:19pm -0400, Mike Snitzer wrote: > Hi Joe, > > Unfortunately this isn't going to work properly. Mikulas suggested a > new "error-rq" target. > > I do like the idea of a single error target that is hybrid (supports > both bio-based and request-based) but the DM core wou

Re: [RFC 17/17] clk: zynq: remove call to of_clk_init

2013-08-22 Thread Sören Brinkmann
Hi Sebastian, On Tue, Aug 20, 2013 at 04:04:31AM +0200, Sebastian Hesselbarth wrote: > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > remove it from corresponding drivers/clk code. I think that would break Zynq. If I see this correctly you call of_clk_init() from common co

[PATCH -next] f2fs: fix error return code in init_f2fs_fs()

2013-08-22 Thread Wei Yongjun
From: Wei Yongjun Fix to return -ENOMEM in the kset create and add error handling case instead of 0, as done elsewhere in this function. Introduced by commit b59d0bae6ca30c496f298881616258f9cde0d9c6. (f2fs: add sysfs support for controlling the gc_thread) Signed-off-by: Wei Yongjun --- fs/f2f

Finding out who's holding a lock?

2013-08-22 Thread Andy Lutomirski
My program is occasionally seeing slow page faults. latencytop says they're slow because they're waiting for read access to mmap_sem, but latencytop isn't showing any other thread in the process blocking. Is there any straightforward way to find out who called down_write on mmap_sem when down_rea

Re: [RFC 17/17] clk: zynq: remove call to of_clk_init

2013-08-22 Thread Sören Brinkmann
On Thu, Aug 22, 2013 at 05:26:47PM -0700, Sören Brinkmann wrote: > Hi Sebastian, > > On Tue, Aug 20, 2013 at 04:04:31AM +0200, Sebastian Hesselbarth wrote: > > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > > remove it from corresponding drivers/clk code. > > I think that

Re: [PATCH] dm: allow error target to replace either bio-based and request-based targets

2013-08-22 Thread Joe Jin
On 08/23/13 08:17, Mike Snitzer wrote: > Here is a patch that should work for your needs (I tested it to work > with 'dmsetup wipe_table' on both request-based and bio-based devices): This really what I looking for, thanks! > > From: Mike Snitzer > Date: Thu, 22 Aug 2013 18:21:38 -0400 > Subjec

Re: [PATCH v2] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

2013-08-22 Thread Al Viro
On Thu, Aug 22, 2013 at 01:54:15PM -0700, Linus Torvalds wrote: > On Thu, Aug 22, 2013 at 1:48 PM, Andy Lutomirski wrote: > > > > Sure. But aren't they always last? > > What do you mean? I'd say that the /proc lookup is always *innermost*. > Which means that it certainly cannot bail out, since t

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-22 Thread Steven Rostedt
On Fri, 23 Aug 2013 07:57:15 +0800 "zhangwei(Jovi)" wrote: > > > > What about creating a per cpu buffer when uprobes are registered, and > > delete them when they are finished? Basically what trace_printk() does > > if it detects that there are users of trace_printk() in the kernel. > > Note, i

Re: [PATCH v3 0/5] Rework mtime and ctime updates on mmaped writes

2013-08-22 Thread Andy Lutomirski
On 08/22/2013 05:03 PM, Andy Lutomirski wrote: > Writes via mmap currently update mtime and ctime in ->page_mkwrite. The subject should be [PATCH v4 0.7]... Sorry for the cut-and-pasteo. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2] DMA: add help function to check whether dma controller registered

2013-08-22 Thread Richard Zhao
On Fri, Aug 23, 2013 at 04:36:53AM +0800, Stephen Warren wrote: > On 08/22/2013 12:43 AM, Richard Zhao wrote: > > DMA client device driver usually needs to know at probe time whether > > dma controller has been registered to deffer probe. So add a help > > function of_dma_check_controller. > > > >

[PATCH 1/3] extcon: Fix up 80 column coding style issues

2013-08-22 Thread Chanwoo Choi
This patch fix 80 column coding sytle issues by using checkpatch script. Cc: Charles Keepax Cc: Mark Brown Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-arizona.c | 25 +--- drivers/extcon/extcon-class.c| 6 +- drivers/extcon/extcon-max77693.c |

[PATCH 2/3] extcon: class: Remove unnecessary extern declaration

2013-08-22 Thread Chanwoo Choi
This patch remove unnecessary extern declaration (extcon_set_state). checkpatch found this coding style issue. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-class.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/extcon/extcon-class.c b/drivers/ext

[PATCH 3/3] extcon: arizona: Fix up minor coding style to remove unnecessary braces

2013-08-22 Thread Chanwoo Choi
This fixes up braces coding style issue by using checkpatch script. Cc: Charles Keepax Cc: Mark Brown Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-arizona.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/

Re: [PATCH] DMA: let filter functions of of_dma_simple_xlate possible check of_node

2013-08-22 Thread Richard Zhao
On Fri, Aug 23, 2013 at 04:18:27AM +0800, Stephen Warren wrote: > On 08/21/2013 11:19 PM, Richard Zhao wrote: > > On Fri, Aug 02, 2013 at 10:00:00AM +0800, Richard Zhao wrote: > >> pass of_phandle_args dma_spec to dma_request_channel in > >> of_dma_simple_xlate, > >> so the filter function could a

Re: [PATCH 2/2] powerpc/iommu: check dev->iommu_group before remove a device from iommu_group

2013-08-22 Thread Wei Yang
On Thu, Aug 22, 2013 at 10:17:20AM -0600, Alex Williamson wrote: >On Thu, 2013-08-22 at 23:41 +0800, Wei Yang wrote: >> >> >> >> Alex, >> >> >> >> Sorry for not including you in the very beginning, which may spend you >> >> more >> >> efforts to track previous mails in this thread. >> >> >> >>

[PATCH] iommu: WARN_ON when removing a device with no iommu_group associated

2013-08-22 Thread Wei Yang
When removing a device from the system, iommu_group driver will try to disconnect it from its group. While in some cases, one device may not associated with any iommu_group. For example, not enough DMA address space. In the generic bus notification, it will check dev->iommu_group before calling io

[PATCH -next] drm/rcar-du: fix return value check in rcar_du_lvdsenc_get_resources()

2013-08-22 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function devm_ioremap_resource() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Also remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun --- drivers/gpu

[PATCH v2 4/4] pinctrl: mvebu: Convert to use devm_ioremap_resource

2013-08-22 Thread Jisheng Zhang
Signed-off-by: Jisheng Zhang --- drivers/pinctrl/mvebu/pinctrl-mvebu.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-mvebu.c b/drivers/pinctrl/mvebu/pinctrl-mvebu.c index bb7ddb1..1caa45f 100644 --- a/drivers/pinctrl/mvebu/pinctrl-m

[PATCH v2 0/4] arm: mvebu: fix resource leak

2013-08-22 Thread Jisheng Zhang
These patches try to fix resource leak by adding missing of_node_put(), iounmap or using devm_ioremap_resource() if available. v2: - use devm_ioremap_resource() as suggested by Ezequiel Garcia - use gates_out instead of bail_out as suggested by Mike Turquette Jisheng Zhang (4): arm: mvebu:

[PATCH v2 1/4] arm: mvebu: add missing of_node_put() to fix reference leak

2013-08-22 Thread Jisheng Zhang
Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang --- arch/arm/mach-mvebu/armada-370-xp.c | 1 + arch/arm/mach-mvebu/coherency.c | 8 +++- arch/arm/mach-mvebu/platsmp.c | 1 + arch/arm/mach-mvebu/pmsu.c

[PATCH] [BUGFIX] drivers/base: fix show_mem_removable section count

2013-08-22 Thread Russ Anderson
"cat /sys/devices/system/memory/memory*/removable" crashed the system. The problem is that show_mem_removable() is passing a bad pfn to is_mem_section_removable(), which causes if (!node_online(page_to_nid(page))) to blow up. Why is it passing in a bad pfn? show_mem_removable() will loop sections

[PATCH v2 2/4] bus: mvebu: add missing of_node_put() to fix reference leak

2013-08-22 Thread Jisheng Zhang
Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang --- drivers/bus/mvebu-mbus.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/bus/mvebu-mbus.c b/drivers/bus/mvebu-mbus.c index 33c6947..20da90f 10

[PATCH v2 3/4] clk: mvebu: add missing iounmap

2013-08-22 Thread Jisheng Zhang
Add missing iounmap to setup error path. Change-Id: I4371569d14d7026aa9f90d7cd53f669d365fe26a Signed-off-by: Jisheng Zhang --- drivers/clk/mvebu/clk-cpu.c | 4 +++- drivers/clk/mvebu/common.c | 18 -- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/clk/m

$22.5 Million

2013-08-22 Thread LEUNG CHEUNG
Hello,I have a mutual business for us worth $22.5 Million ,contact me for details,e-mail at mr.leungwche...@outlook.com Mr Cheung -- 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

[PATCH 0/9] target: Add support for EXTENDED_COPY (VAAI) offload emulation

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi folks! This series adds support to target-core for generic EXTENDED_COPY offload emulation as defined by SPC-4 using virtual (IBLOCK, FILEIO, RAMDISK) backends. EXTENDED_COPY is a VMWare ESX VAAI primative that is used to perform copy offload, that allows a target to

[PATCH 8/9] target: Add Third Party Copy (3PC) bit in INQUIRY response

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds the Third Party Copy (3PC) bit to signal support for EXTENDED_COPY within standard inquiry response data. Also add emulate_3pc device attribute in configfs (enabled by default) to allow the exposure of this bit to be disabled, if necessary. Cc: Christoph

Re: [PATCH v6 00/10] tracing: trace event triggers

2013-08-22 Thread Steven Rostedt
On Thu, 22 Aug 2013 18:27:16 -0500 Tom Zanussi wrote: > Hi, > > This is v6 of the trace event triggers patchset. This is essentially > the same as v5, but rebased to trace/for-next, which had a couple of > new conflicting patches pulled in since I had cut v5. This version > just fixes up those

[PATCH 7/9] target: Enable EXTENDED_COPY setup in spc_parse_cdb

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Setup up the se_cmd->execute_cmd() pointers for EXTENDED_COPY and RECEIVE_COPY_RESULTS handling within spc_parse_cdb() Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: Roland Dreier Cc: Zach Brown Cc: James Bottomley Cc: Nicholas B

[PATCH 5/9] target: Avoid non-existent tg_pt_gp_mem in target_alua_state_check

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds an check for a non-existent port->sep_alua_tg_pt_gp_mem within target_alua_state_check(), which is not present for internally dispatched EXTENDED_COPY WRITE I/O to the destination target port. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Peterse

[PATCH 9/9] target: Enable global EXTENDED_COPY setup/release

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Add calls to target_xcopy_setup_pt() + target_xcopy_release_pt() to target_core_init_configfs() and target_core_exit_configfs() respectively. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: Roland Dreier Cc: Zach Brown Cc: James Bo

Re: [PATCH] w1: mxc_w1: remove unnecessary platform_set_drvdata()

2013-08-22 Thread Shawn Guo
On Thu, Aug 22, 2013 at 11:20:58AM +0900, Jingoo Han wrote: > The driver core clears the driver data to NULL after device_release > or on probe failure. Thus, it is not needed to manually clear the > device driver data to NULL. > > Signed-off-by: Jingoo Han Acked-by: Shawn Guo > --- > drivers

[PATCH 6/9] target: Add support for EXTENDED_COPY copy offload emulation

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds support for EXTENDED_COPY emulation from SPC-3, that enables full copy offload target support within both a single virtual backend device, and across multiple virtual backend devices. It also functions independent of target fabric, and supports copy offlo

[PATCH 4/9] target: Add global device list for EXTENDED_COPY

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger EXTENDED_COPY needs to be able to search a global list of devices based on NAA WWN device identifiers, so add a simple g_device_list protected by g_device_mutex. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Petersen Cc: Chris Mason Cc: Roland Dreier Cc: Zach

[PATCH 3/9] target: Make helpers non static for EXTENDED_COPY command setup

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Both transport_generic_get_mem() and transport_generic_map_mem_to_cmd() are required by EXTENDED_COPY logic when setting up internally dispatched command descriptors, so go ahead and make both of these non static. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Martin Pe

[PATCH 1/9] target: Make target_core_subsystem defined as non static

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch makes the top-level target_core_subsystem array available to other target code, which is required by EXTENDED_COPY to pin the backend se_device using configfs_depend_item(), in order to ensure it can't be removed for the duration of a EXTENDED_COPY operation.

[PATCH 2/9] target: Make spc_parse_naa_6h_vendor_specific non static

2013-08-22 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch makes spc_parse_naa_6h_vendor_specific() available to other target code, which is required by EXTENDED_COPY when comparing the received NAA WWN device identifer for locating the associated se_device backend. Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Mart

[PATCH -next] block: fix error return code in parse_parts()

2013-08-22 Thread Wei Yongjun
From: Wei Yongjun Fix to return -EINVAL in the parts parse error handling case instead of 0(may overwrite to 0 by parse_subpart()), as done elsewhere in this function. Signed-off-by: Wei Yongjun --- block/cmdline-parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/cmdline-parser

[PATCH 0/2] fs: supply inode uid/gid setting interface

2013-08-22 Thread Rui Xiang
This patchset implements an accessor functions to set uid/gid in inode struct. Just finish code clean up. Rui Xiang (2): fs: implement inode uid/gid setting function fs: use inode_set_user to set uid/gid of inode arch/ia64/kernel/perfmon.c| 3 +-- arch/powerpc/platforms/cell

[PATCH 1/2] fs: implement inode uid/gid setting function

2013-08-22 Thread Rui Xiang
Supply a interface inode_set_user to set uid/gid of inode structs. Signed-off-by: Rui Xiang --- fs/inode.c | 7 +++ include/linux/fs.h | 1 + 2 files changed, 8 insertions(+) diff --git a/fs/inode.c b/fs/inode.c index e315c0a..3f90499 100644 --- a/fs/inode.c +++ b/fs/inode.c @@ -34

[PATCH 2/2] fs: use inode_set_user to set uid/gid of inode

2013-08-22 Thread Rui Xiang
Use the new interface to set i_uid/i_gid in inode struct. Signed-off-by: Rui Xiang --- arch/ia64/kernel/perfmon.c| 3 +-- arch/powerpc/platforms/cell/spufs/inode.c | 3 +-- arch/s390/hypfs/inode.c | 3 +-- drivers/infiniband/hw/qib/qib_fs.c| 3 +-- d

[PATCH -next] dma: cppi41: fix error return code in cppi41_dma_probe()

2013-08-22 Thread Wei Yongjun
From: Wei Yongjun Fix to return -EINVAL in the irq parse and map error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun --- drivers/dma/cppi41.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/dma/cppi41.c b/drivers/dma/c

RE: [PATCH V5 3/5] POWER/cpuidle: Generic IBM-POWER backend cpuidle driver.

2013-08-22 Thread Wang Dongsheng-B40534
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig > index 0e2cd5c..e805dcd 100644 > --- a/drivers/cpuidle/Kconfig > +++ b/drivers/cpuidle/Kconfig Maybe drivers/cpuidle/Kconfig.powerpc is better? Like arm. > +obj-$(CONFIG_CPU_IDLE_IBM_POWER) += cpuidle-ibm-power.o > diff --git a/dr

Re: [PATCH v7 2/3] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-08-22 Thread Hongbo Zhang
On 08/22/2013 07:16 AM, Stephen Warren wrote: On 08/21/2013 05:00 PM, Scott Wood wrote: On Wed, 2013-08-21 at 16:40 -0600, Stephen Warren wrote: On 07/29/2013 04:49 AM, hongbo.zh...@freescale.com wrote: +- reg : +- interrupts: s/interrupts/specifier/ D

RE: [PATCH] cpuidle: coupled: fix dead loop corner case

2013-08-22 Thread Neil Zhang
> -Original Message- > From: Colin Cross [mailto:ccr...@google.com] > Sent: 2013年8月23日 5:08 > To: Neil Zhang > Cc: Rafael J. Wysocki; Daniel Lezcano; Linux PM list; lkml > Subject: Re: [PATCH] cpuidle: coupled: fix dead loop corner case > > On Mon, Aug 19, 2013 at 10:17 PM, Neil Zhang >

Re: unused swap offset / bad page map.

2013-08-22 Thread Dave Jones
On Thu, Aug 22, 2013 at 11:21:28AM +0800, Hillf Danton wrote: > On Thu, Aug 22, 2013 at 4:49 AM, Dave Jones wrote: > > > > didn't hit the bug_on, but got a bunch of > > > > [ 424.077993] swap_free: Unused swap offset entry 000187d5 > > [ 439.377194] swap_free: Unused swap offset entry 0001

Re: [dm-devel] [PATCH] dm: allow error target to replace either bio-based and request-based targets

2013-08-22 Thread Jun'ichi Nomura
Hello Mike, On 08/23/13 09:17, Mike Snitzer wrote: >> I do like the idea of a single error target that is hybrid (supports >> both bio-based and request-based) but the DM core would need to be >> updated to support this. >> >> Specifically, we'd need to check if the device (and active table) is >>

Re: [PATCH 3/6] mm/hwpoison: fix num_poisoned_pages error statistics for thp

2013-08-22 Thread Naoya Horiguchi
Hi Wanpeng, On Fri, Aug 23, 2013 at 07:52:40AM +0800, Wanpeng Li wrote: > Hi Naoya, > On Thu, Aug 22, 2013 at 12:43:08PM -0400, Naoya Horiguchi wrote: > >On Thu, Aug 22, 2013 at 05:48:24PM +0800, Wanpeng Li wrote: > >> There is a race between hwpoison page and unpoison page, memory_failure > >> s

Re: [PATCH] iommu: WARN_ON when removing a device with no iommu_group associated

2013-08-22 Thread Alex Williamson
[+cc iommu] On Fri, 2013-08-23 at 09:55 +0800, Wei Yang wrote: > When removing a device from the system, iommu_group driver will try to > disconnect it from its group. While in some cases, one device may not > associated with any iommu_group. For example, not enough DMA address space. > > In the

Re: [PATCH 06/10] sched, fair: Make group power more consitent

2013-08-22 Thread Preeti U Murthy
On 08/19/2013 09:31 PM, Peter Zijlstra wrote: Reviewed-by: Preeti U Murthy -- 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/majordomo-info.html Please read the FAQ at

Re: [PATCH v2] kernel/padata.c: share code between CPU_ONLINE and CPU_DOWN_FAILED, same to CPU_DOWN_PREPARE and CPU_UP_CANCELED

2013-08-22 Thread Chen Gang
On 08/22/2013 02:43 PM, Chen Gang wrote: > Share code between CPU_ONLINE and CPU_DOWN_FAILED, same to > CPU_DOWN_PREPARE and CPU_UP_CANCELED. > > It will fix 2 bugs: > > "not check the return value of __padata_remove_cpu() and > __padata_add_cpu()". > "need add 'break' between CPU_UP_CANCELE

Re: unused swap offset / bad page map.

2013-08-22 Thread Dave Jones
On Fri, Aug 23, 2013 at 11:27:29AM +0800, Hillf Danton wrote: > On Fri, Aug 23, 2013 at 11:21 AM, Dave Jones wrote: > > > > I still see the swap_free messages with this applied. > > > Decremented? It actually seems worse, seems I can trigger it even easier now, as if there's a leak.

Re: [PATCH 0/2] fs: supply inode uid/gid setting interface

2013-08-22 Thread Greg KH
On Fri, Aug 23, 2013 at 10:48:36AM +0800, Rui Xiang wrote: > This patchset implements an accessor functions to set uid/gid > in inode struct. Just finish code clean up. Why? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel

Re: [PATCH] [BUGFIX] drivers/base: fix show_mem_removable section count

2013-08-22 Thread Greg Kroah-Hartman
On Thu, Aug 22, 2013 at 09:38:38PM -0500, Russ Anderson wrote: > "cat /sys/devices/system/memory/memory*/removable" crashed the system. On what kernels? linux-next or Linus's tree, or 3.10.y? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] [BUGFIX] drivers/base: fix show_mem_removable section count

2013-08-22 Thread Russ Anderson
On Thu, Aug 22, 2013 at 09:10:45PM -0700, Greg Kroah-Hartman wrote: > On Thu, Aug 22, 2013 at 09:38:38PM -0500, Russ Anderson wrote: > > "cat /sys/devices/system/memory/memory*/removable" crashed the system. > > On what kernels? linux-next or Linus's tree, or 3.10.y? Linus 3.11-rc6 -- Russ And

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-22 Thread Masami Hiramatsu
(2013/08/23 8:57), zhangwei(Jovi) wrote: > On 2013/8/23 0:42, Steven Rostedt wrote: >> On Fri, 09 Aug 2013 18:56:54 +0900 >> Masami Hiramatsu wrote: >> >>> (2013/08/09 17:45), Namhyung Kim wrote: From: Namhyung Kim Fetching from user space should be done in a non-atomic context. S

Re: Re: [PATCH 0/3] kprobes: add new dma insn slot cache for s390

2013-08-22 Thread Masami Hiramatsu
(2013/08/22 14:52), Heiko Carstens wrote: > Hi Masami, > >> (2013/08/21 21:01), Heiko Carstens wrote: >>> The current kpropes insn caches allocate memory areas for insn slots with >>> module_alloc(). The assumption is that the kernel image and module area >>> are both within the same +/- 2GB memor

Re: [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks

2013-08-22 Thread Stephen Boyd
On 08/21, Mike Turquette wrote: > > I just happened across a to-do list note telling me to respond to this > email. Better late than never. > [snip] > > This is a way to establish initial configuration from the consumer's > perspective. Similarly something can be done for the clock rate with > as

Re: [PATCH] irqchip: gic: Don't complain in gic_get_cpumask() if UP system

2013-08-22 Thread Stephen Boyd
On 08/22, Nicolas Pitre wrote: > On Thu, 22 Aug 2013, Stephen Boyd wrote: > > > On 07/17, Stephen Boyd wrote: > > > On 07/17/13 15:53, Nicolas Pitre wrote: > > > > On Wed, 17 Jul 2013, Stephen Boyd wrote: > > > > > > > >> On 07/17/13 15:34, Nicolas Pitre wrote: > > > >>> On Wed, 17 Jul 2013, Steph

Re: [PATCH] [BUGFIX] drivers/base: fix show_mem_removable section count

2013-08-22 Thread Greg Kroah-Hartman
On Thu, Aug 22, 2013 at 11:17:50PM -0500, Russ Anderson wrote: > On Thu, Aug 22, 2013 at 09:10:45PM -0700, Greg Kroah-Hartman wrote: > > On Thu, Aug 22, 2013 at 09:38:38PM -0500, Russ Anderson wrote: > > > "cat /sys/devices/system/memory/memory*/removable" crashed the system. > > > > On what kerne

Re: [PATCH 1/3] misc: Add crossbar driver

2013-08-22 Thread Rajendra Nayak
On Thursday 22 August 2013 05:03 PM, Sricharan R wrote: > maps crossbar number<-> to interrupt number and > calls request_irq(int_no, crossbar_handler,..) So will this mapping happen based on some data passed from DT or just based on whats available when the device does a request_irq()? If its

<    1   2   3   4   5   6   7   >