Re: [PATCH 09/16] slab: use __GFP_COMP flag for allocating slab pages

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 06:00:56PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > If we use 'struct page' of first page as 'struct slab', there is no > > advantage not to use __GFP_COMP. So use __GFP_COMP flag for all the cases. > > Ok that brings it in line with

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

2013-08-22 Thread Sricharan R
On Friday 23 August 2013 12:06 PM, Sekhar Nori wrote: > On Friday 23 August 2013 11:41 AM, Sricharan R wrote: >> Hi, >> On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: >>> On Thursday 22 August 2013 05:03 PM, Sricharan R wrote: maps crossbar number<-> to interrupt number and c

[PATCH 1/3] x86, ACPI, mm: Kill max_low_pfn_mapped.

2013-08-22 Thread Tang Chen
From: Yinghai Lu Now we have pfn_mapped[] in , and max_low_pfn_mapped should not be used anymore. User should use pfn_mapped[] or just 1UL<<(32-PAGE_SHIFT) instead. Only user is ACPI_INITRD_TABLE_OVERRIDE, and it should not use that, as later accessing is using early_ioremap(). We could change

Re: [PATCH 05/16] slab: remove cachep in struct slab_rcu

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 05:53:00PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > We can get cachep using page in struct slab_rcu, so remove it. > > Ok but this means that we need to touch struct page. Additional cacheline > in cache footprint. In following patch

Re: [PATCH 5/8] rcu: eliminate deadlock for rcu read site

2013-08-22 Thread Lai Jiangshan
[PATCH] rcu/rt_mutex: eliminate a kind of deadlock for rcu read site Current rtmutex's lock->wait_lock doesn't disables softirq nor irq, it will cause rcu read site deadlock when rcu overlaps with any softirq-context/irq-context lock. @L is a spinlock of softirq or irq context. CPU1

Re: [PATCH 04/16] slab: remove nodeid in struct slab

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 05:51:58PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > @@ -1099,8 +1098,7 @@ static void drain_alien_cache(struct kmem_cache > > *cachep, > > > > static inline int cache_free_alien(struct kmem_cache *cachep, void *objp) > > { > > - s

[PATCH 0/3] x86, ACPI, mm: Cleanup for {max|low|max_low}_pfn_mapped.

2013-08-22 Thread Tang Chen
This patch-set does the following: 1. Kill max_low_pfn_mapped as it is useless. This patch is from Yinghai. 2. Update min_pfn_mapped and max_pfn_mapped together in add_pfn_range_mapped(). 3. Move definition of max_pfn_mapped tp init.c together with min_pfn_mapped. Tang Chen (2): x86, mm: Upda

[PATCH 3/3] x86, mm: Move max_pfn_mapped definition to init.c.

2013-08-22 Thread Tang Chen
min_pfn_mapped is defined in init.c, we can also define max_pfn_mapped here. Signed-off-by: Tang Chen --- arch/x86/kernel/setup.c |8 arch/x86/mm/init.c |9 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/se

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

2013-08-22 Thread Sekhar Nori
On Friday 23 August 2013 11:41 AM, Sricharan R wrote: > Hi, > On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: >> 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

Re: [PATCH 02/16] slab: change return type of kmem_getpages() to struct page

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 05:49:43PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > @@ -2042,7 +2042,7 @@ static void slab_destroy_debugcheck(struct kmem_cache > > *cachep, struct slab *slab > > */ > > static void slab_destroy(struct kmem_cache *cachep, struct sl

Re: [PATCH 11/12] pid: rewrite task helper functions avoiding task->pid and task->tgid

2013-08-22 Thread Peter Zijlstra
On Thu, Aug 22, 2013 at 05:43:47PM -0400, Richard Guy Briggs wrote: > On Thu, Aug 22, 2013 at 10:05:55PM +0200, Peter Zijlstra wrote: > > On Tue, Aug 20, 2013 at 05:32:03PM -0400, Richard Guy Briggs wrote: > > > This stops these four task helper functions from using the deprecated and > > > error-p

Re: [PATCH 00/16] slab: overload struct slab over struct page to reduce memory usage

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 04:47:25PM +, Christoph Lameter wrote: > On Thu, 22 Aug 2013, Joonsoo Kim wrote: > > > And this patchset change a management method of free objects of a slab. > > Current free objects management method of the slab is weird, because > > it touch random position of the ar

[PATCH 2/2] pinctrl: rockchip: Remove non-reachable break statement

2013-08-22 Thread Axel Lin
The break statement after return is non-reachable, remove them. Signed-off-by: Axel Lin --- drivers/pinctrl/pinctrl-rockchip.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index 7eb1249..319a64a 100644 --- a/drive

[PATCH 1/2] pinctrl: rockchip: Remove of_match_ptr macro for DT only driver

2013-08-22 Thread Axel Lin
This is a DT only driver and rockchip_pinctrl_dt_match is always compiled in. Thus remove of_match_ptr macro. Signed-off-by: Axel Lin --- drivers/pinctrl/pinctrl-rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/p

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

2013-08-22 Thread Rajendra Nayak
On Friday 23 August 2013 11:41 AM, Sricharan R wrote: > Hi, > On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: >> 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

Re: [PATCH v2 12/20] mm, hugetlb: remove vma_has_reserves()

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 04:34:22PM +0530, Aneesh Kumar K.V wrote: > Joonsoo Kim writes: > > > On Thu, Aug 22, 2013 at 02:14:38PM +0530, Aneesh Kumar K.V wrote: > >> Joonsoo Kim writes: > >> > >> > vma_has_reserves() can be substituted by using return value of > >> > vma_needs_reservation(). If

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

2013-08-22 Thread Sricharan R
Hi, On Friday 23 August 2013 10:17 AM, Rajendra Nayak wrote: > 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 ba

[PATCH V2] PCI: exynos: add support for MSI

2013-08-22 Thread Jingoo Han
This patch adds support for Message Signaled Interrupt in the Exynos PCIe diver using Synopsys designware PCIe core IP. Signed-off-by: Siva Reddy Kallam Signed-off-by: Srikanth T Shivanand Signed-off-by: Jingoo Han Cc: Pratyush Anand Cc: Mohit KUMAR --- Changes since v1: - removed unnecessary

Re: [ANNOUNCE] 3.10.9-rt5

2013-08-22 Thread Fernando Lopez-Lezcano
On 08/22/2013 11:21 AM, Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v3.10.9-rt5 patch set. Thanks!, Changes since v3.10.9-rt4 - swait fixes from Steven. It fixed the issues with CONFIG_RCU_NOCB_CPU where the system suddenly froze and RCU wasn't doing its jo

RE: [linux-nfc] [PATCH RFC] nfc: add a driver for pn532 connected on uart

2013-08-22 Thread Rymarkiewicz, WaldemarX
Hi Lars, >This adds a driver for the nxp pn532 nfc chip. >It is not meant for merging. Instead it is meant to show that some >progress has been made and what the current state is and to help >testing. >Although I can do some basic things with this driver I expect it to >contain lots of bugs. Be a

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

2013-08-22 Thread David Miller
From: Rui Xiang Date: Fri, 23 Aug 2013 10:48:38 +0800 > Use the new interface to set i_uid/i_gid in inode struct. > > Signed-off-by: Rui Xiang For the networking bits: Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

[PATCH] irqchip: sun4i: Don't write to read-only registers

2013-08-22 Thread Axel Lin
According to the datasheet[1], the Interrupt IRQ Pending Registers are read-only. The implementation of sun4i_irq_ack() is wrong because it writes to these read-only registers. This patch removes the wrong irq_ack callback implementation and all the code writing to these read-only registers in sun

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

2013-08-22 Thread Caizhiyong
> -Original Message- > From: Wei Yongjun [mailto:weiyj...@gmail.com] > Sent: Friday, August 23, 2013 10:48 AM > To: ax...@kernel.dk; a...@linux-foundation.org; Caizhiyong; k...@redhat.com; > m...@sysgo.de; dw...@infradead.org; computersforpe...@gmail.com; > dedek...@infradead.org > Cc: yong

Re: [PATCH] PCI: exynos: add support for MSI

2013-08-22 Thread Jingoo Han
On Monday, August 12, 2013 7:57 PM, Thierry Reding wrote: > On Mon, Aug 12, 2013 at 05:56:47PM +0900, Jingoo Han wrote: > [...] > > diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig > > index 855d4a7..9ef1c95 100644 > > --- a/arch/arm/mach-exynos/Kconfig > > +++ b/arch/arm/ma

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

2013-08-22 Thread Caizhiyong
> From: Wei Yongjun [mailto:weiyj...@gmail.com] > Sent: Friday, August 23, 2013 10:48 AM > To: ax...@kernel.dk; a...@linux-foundation.org; Caizhiyong; k...@redhat.com; > m...@sysgo.de; dw...@infradead.org; computersforpe...@gmail.com; > dedek...@infradead.org > Cc: yongjun_...@trendmicro.com.cn; li

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

2013-08-22 Thread Nicolas Pitre
On Thu, 22 Aug 2013, Stephen Boyd wrote: > 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,

Re: [PATCH 02/10] sched: Factor out code to should_we_balance()

2013-08-22 Thread Joonsoo Kim
On Thu, Aug 22, 2013 at 12:42:57PM +0200, Peter Zijlstra wrote: > > > > > > +redo: > > > > One behavioral change worth noting here is that in the redo case if a > > CPU has become idle we'll continue trying to load-balance in the > > !new-idle case. > > > > This could be unpleasant in the case wh

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

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] 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 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: 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 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: [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] [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 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: 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 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: [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] 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 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] 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 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 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

[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

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

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

[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

$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 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

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

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

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

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

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

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

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 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 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] 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: [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

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

[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

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] 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

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

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

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

[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

  1   2   3   4   5   6   7   >