Re: [git pull] vfs pile 2 (of many)

2013-09-08 Thread Stephen Rothwell
On Sat, 7 Sep 2013 04:04:11 +0100 Al Viro wrote: > > Mostly Miklos' series this time. Please, pull from > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus It would be really nice to see this stuff turn up in linux-next before the merge window opens. It is now causing

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Al Viro
On Sun, Sep 08, 2013 at 08:32:03PM -0700, Linus Torvalds wrote: > On Sun, Sep 8, 2013 at 5:03 PM, Al Viro wrote: > > > > There's one exception - basically, we decide to put duplicates of > > reference(s) we hold into (a bunch of) structures being created. If > > we decide that we'd failed and

[PATCH] iommu/omap: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/iommu/omap-iopgtable.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2013-09-08 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/dcache.c between commit db14fc3abcd5 ("vfs: add d_walk()") from Linus' tree and commit "dcache: convert to use new lru list infrastructure" from the akpm tree. I fixed it up (hopefully - see below) and can carry the fix as

[PATCH] rtc: sirfsoc: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-sirfsoc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

Re: [PATCH] usb: gadget: Add UDC driver for Aeroflex Gaisler GRUSBDC

2013-09-08 Thread Andreas Larsson
On 2013-08-28 11:02, Andreas Larsson wrote: On 2013-08-12 16:05, Andreas Larsson wrote: This adds an UDC driver for GRUSBDC USB Device Controller cores available in the GRLIB VHDL IP core library. The driver only supports DMA mode. Any comments? It would be great to get feedback soon in case

[PATCH] extcon: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/extcon/extcon-class.c |8 1 file changed, 4 insertions(+), 4 deletions(-)

[GIT PULL] ARC changes for 3.12

2013-09-08 Thread Vineet Gupta
Hi Linus, Please pull ARC changes for 3.12 Thx, -Vineet -> The following changes since commit d8dfad3876e438b759da3c833d62fb8b2267: Linux 3.11-rc7 (2013-08-25 17:43:22 -0700) are available in the git repository at:

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

2013-09-08 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/dcache.c between commit db14fc3abcd5 ("vfs: add d_walk()") from Linus' tree and commit "shrinker: convert superblock shrinkers to new API" from the akpm tree. I fixed it up (I just used the version of shrink_dcache_parent

[PATCH 3/3] staging: dgap: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/staging/dgap/dgap_parse.c |6 -- drivers/staging/dgap/dgap_sysfs.c | 22

[PATCH 2/3] staging: dgnc: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/staging/dgnc/dgnc_driver.c |4 ++-- drivers/staging/dgnc/dgnc_sysfs.c | 22

[PATCH 1/3] staging: dgrp: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/staging/dgrp/dgrp_sysfs.c | 30 +++--- 1 file changed, 15

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

2013-09-08 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/internal.h between commit eed810076685 ("vfs: check unlinked ancestors before mount") from Linus' tree and commit "shrinker: convert superblock shrinkers to new API" from the akpm tree. I fixed it up (see below) and can

[PATCH] misc: ibmasm: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/misc/ibmasm/module.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] char: xilinx_hwicap: Remove casting the return value which is a void pointer

2013-09-08 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/char/xilinx_hwicap/xilinx_hwicap.c |2 +- 1 file changed, 1 insertion(+), 1

[PATCH] workqueue: fix comment typo for __queue_work()

2013-09-08 Thread Libin
From: Li Bin It seems the "dying" should be "draining" here. Signed-off-by: Li Bin --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 987293d..e390f3a 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c

[PATCH] workqueue: fix potential reentrancy issue

2013-09-08 Thread Libin
From: Li Bin When one work starts execution, the high bits of work's data contain pool ID. It can represent a maximum of WORK_OFFQ_POOL_NONE. Pool ID is assigned WORK_OFFQ_POOL_NONE when the work being initialized indicating that no pool is associated and get_work_pool() uses it to check the

[PATCH] workqueue: remove meaningless BUILD_BUG_ON() in init_workqueues()

2013-09-08 Thread Libin
From: Li Bin In the current implementation, this BUILD_BUG_ON makes no sense. First of all, the number of worker pools needed cannot be determined at compile time, because the number of backing pools for UNBOUND workqueues is dynamic based on the assigned custom attributes. Secondly, it should

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Heiko Carstens
On Sun, Sep 08, 2013 at 07:31:18PM -0700, Guenter Roeck wrote: > On 09/08/2013 07:31 PM, Greg Kroah-Hartman wrote: > >On Sun, Sep 08, 2013 at 07:24:19PM -0700, Guenter Roeck wrote: > >>On 09/08/2013 06:59 PM, Greg Kroah-Hartman wrote: > >>>On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck

Re: [PATCH] intel-iommu: Quiesce devices before disabling IOMMU

2013-09-08 Thread Takao Indoh
(2013/09/09 13:28), Takao Indoh wrote: >> BTW, what's the status of Alex's PCI patchset which this patch depends >> on? > > It is merged to Bjorn's tree, will be in v3.12. This was wrong. Alex's patchset is already in Linus tree, v3.11. Thanks, Takao Indoh -- To unsubscribe from this list:

Re: [RFC][PATCH] genirq: add IRQF_NONE

2013-09-08 Thread Michael Opdenacker
Hi Josh, On 09/09/2013 06:02 AM, Josh Triplett wrote: > On Mon, Sep 09, 2013 at 05:48:39AM +0200, Michael Opdenacker wrote: >> What about adding an IRQF_NONE flag as in the below patch? >> >> I'm currently working on removing the use of the deprecated >> IRQF_DISABLED flag, and frequently have to

Re: hugetlb: NULL ptr deref in region_truncate

2013-09-08 Thread Hillf Danton
On Sun, Sep 8, 2013 at 10:46 PM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest, running latest -next > kernel, I've > stumbled on the following: > > [ 998.281867] BUG: unable to handle kernel NULL pointer dereference at > 0274 > [ 998.28]

Re: [REPOST PATCH 1/4] slab: factor out calculate nr objects in cache_estimate

2013-09-08 Thread Joonsoo Kim
On Fri, Sep 06, 2013 at 03:48:04PM +, Christoph Lameter wrote: > On Fri, 6 Sep 2013, Joonsoo Kim wrote: > > > } > > *num = nr_objs; > > - *left_over = slab_size - nr_objs*buffer_size - mgmt_size; > > + *left_over = slab_size - (nr_objs * buffer_size) - mgmt_size; > > } > > What

Re: [REPOST PATCH 3/4] slab: introduce byte sized index for the freelist of a slab

2013-09-08 Thread Joonsoo Kim
On Fri, Sep 06, 2013 at 03:58:18PM +, Christoph Lameter wrote: > On Fri, 6 Sep 2013, Joonsoo Kim wrote: > > > Currently, the freelist of a slab consist of unsigned int sized indexes. > > Most of slabs have less number of objects than 256, since restriction > > for page order is at most 1 in

Re: [PATCH] nouveau: fix reclocking on nv40

2013-09-08 Thread Ben Skeggs
On Sun, Sep 8, 2013 at 9:25 PM, Pali Rohár wrote: > On Wednesday 21 August 2013 02:24:01 Ben Skeggs wrote: >> On Mon, Aug 19, 2013 at 4:59 PM, Pali Rohár > wrote: >> > On Friday 16 August 2013 14:57:07 Pali Rohár wrote: >> >> In commit 77145f1cbdf8d28b46ff8070ca749bad821e0774 was >> >>

Re: [PATCH] intel-iommu: Quiesce devices before disabling IOMMU

2013-09-08 Thread Takao Indoh
(2013/09/08 20:47), Baoquan He wrote: > Hi, > Patch is great and works on my HP-z420. Thank you for your test! > There are several small concerns, please see inline comments. > > On 08/21/13 at 04:15pm, Takao Indoh wrote: >> This patch quiesces devices before disabling IOMMU on boot to stop >>

Fwd: [PATCH 1/1] staging/speakup/kobjects.c: Code improvement.

2013-09-08 Thread Raphael S Carvalho
On Mon, Sep 9, 2013 at 12:56 AM, Chris Brannon wrote: > > "Raphael S.Carvalho" writes: > > > + /* > > + * If voice was just changed, we might need to reset our > > default > > + * pitch and volume. > > + */ > > + if (param->var_id ==

Re: [PATCH] kernel-doc: Update script to find more "Return:" sections

2013-09-08 Thread Joe Perches
On Sun, 2013-09-08 at 20:05 -0500, Rob Landley wrote: > On 09/03/2013 07:34:28 PM, Joe Perches wrote: > > Many kernel-doc return description sections headers > > use variants of the "Return:" section prefix. > > > > (some or maybe even most of these aren't in > > kernel-doc sections, but many

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Ramkumar Ramachandra
Linus Torvalds wrote: > On Sun, Sep 8, 2013 at 5:03 PM, Al Viro wrote: >> >> There's one exception - basically, we decide to put duplicates of >> reference(s) we hold into (a bunch of) structures being created. If >> we decide that we'd failed and need to roll back, the structures >> need to be

Re: [PATCH 1/1] staging/speakup/kobjects.c: Code improvement.

2013-09-08 Thread Chris Brannon
"Raphael S.Carvalho" writes: > + /* > + * If voice was just changed, we might need to reset our default > + * pitch and volume. > + */ > + if (param->var_id == VOICE) { > + spk_reset_default_value("pitch",

Re: [RFC][PATCH] genirq: add IRQF_NONE

2013-09-08 Thread Josh Triplett
On Mon, Sep 09, 2013 at 05:48:39AM +0200, Michael Opdenacker wrote: > What about adding an IRQF_NONE flag as in the below patch? > > I'm currently working on removing the use of the deprecated > IRQF_DISABLED flag, and frequently have to replace > IRQF_DISABLED by 0, typically in request_irq()

[PATCH RESEND] doc: Documentation/DMA-attributes.txt fix typo

2013-09-08 Thread Xishi Qiu
Fix some typos in Documentation/DMA-attributes.txt. Signed-off-by: Xishi Qiu Acked-by: Rob Landley --- Documentation/DMA-attributes.txt |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/DMA-attributes.txt b/Documentation/DMA-attributes.txt index

Re: [PATCH] xen: remove deprecated IRQF_DISABLED

2013-09-08 Thread Michael Opdenacker
On 09/09/2013 05:22 AM, Ramkumar Ramachandra wrote: > Michael Opdenacker wrote: >> diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c >> index 99db9e1..2f3528e 100644 >> --- a/drivers/xen/platform-pci.c >> +++ b/drivers/xen/platform-pci.c >> @@ -84,7 +84,7 @@ static irqreturn_t

[RFC][PATCH] genirq: add IRQF_NONE

2013-09-08 Thread Michael Opdenacker
What about adding an IRQF_NONE flag as in the below patch? I'm currently working on removing the use of the deprecated IRQF_DISABLED flag, and frequently have to replace IRQF_DISABLED by 0, typically in request_irq() arguments. Using IRQF_NONE instead of 0 would make the code more readable, at

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Ramkumar Ramachandra
Guenter Roeck wrote: >> For stability, hardware needs to be present. When I started out a >> couple of days ago, I blamed my monitor for the data corruption: it's >> one extra point of leverage. > > I have no idea whatsoever what you are talking about. Sorry, my bad. I haven't done hardware

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Linus Torvalds
On Sun, Sep 8, 2013 at 5:03 PM, Al Viro wrote: > > There's one exception - basically, we decide to put duplicates of > reference(s) we hold into (a bunch of) structures being created. If > we decide that we'd failed and need to roll back, the structures > need to be taken out of whatever lists,

[PATCH] [media] davinci: remove deprecated IRQF_DISABLED

2013-09-08 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from davinci media platform drivers. It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/media/platform/davinci/vpbe_display.c | 2 +- drivers/media/platform/davinci/vpfe_capture.c | 4 ++--

[PATCH 1/2] mm/hotplug: rename the function is_memblock_offlined_cb()

2013-09-08 Thread Xishi Qiu
Function is_memblock_offlined() return 1 means memory block is offlined, but is_memblock_offlined_cb() return 1 means memory block is not offlined, this will confuse somebody, so rename the function. Signed-off-by: Xishi Qiu Acked-by: Yasuaki Ishimatsu --- mm/memory_hotplug.c |4 ++-- 1

Re: [PATCH 2/2] thp: support split page table lock

2013-09-08 Thread Daniel J Blueman
On Saturday, 7 September 2013 02:10:02 UTC+8, Naoya Horiguchi wrote: Hi Alex, On Fri, Sep 06, 2013 at 11:04:23AM -0500, Alex Thorlton wrote: > On Thu, Sep 05, 2013 at 05:27:46PM -0400, Naoya Horiguchi wrote: > > Thp related code also uses per process mm->page_table_lock now. > > So making it

[PATCH 2/2] mm/cleanup: use pfn_to_nid() instead of page_to_nid(pfn_to_page())

2013-09-08 Thread Xishi Qiu
Use "pfn_to_nid(pfn)" instead of "page_to_nid(pfn_to_page(pfn))". Signed-off-by: Xishi Qiu --- mm/memory_hotplug.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 85f80b7..a95dd28 100644 --- a/mm/memory_hotplug.c +++

Re: [PATCH] xen: remove deprecated IRQF_DISABLED

2013-09-08 Thread Ramkumar Ramachandra
Michael Opdenacker wrote: > diff --git a/drivers/xen/platform-pci.c b/drivers/xen/platform-pci.c > index 99db9e1..2f3528e 100644 > --- a/drivers/xen/platform-pci.c > +++ b/drivers/xen/platform-pci.c > @@ -84,7 +84,7 @@ static irqreturn_t do_hvm_evtchn_intr(int irq, void *dev_id) > static int

Re: linux-next: build warning after merge of the final tree (Linus' tree related - vai vfs tree)

2013-09-08 Thread Olof Johansson
On Fri, Sep 06, 2013 at 10:52:52AM +0200, Geert Uytterhoeven wrote: > On Fri, Sep 6, 2013 at 9:19 AM, Stephen Rothwell > wrote: > > After merging the final tree, today's linux-next build (arm defconfig) > > produced this warning: > > > > fs/direct-io.c: In function 'sb_init_dio_done_wq': > >

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Guenter Roeck
On 09/08/2013 07:55 PM, Ramkumar Ramachandra wrote: Greg Kroah-Hartman wrote: How will the hardware industry be driven otherwise? I have no idea what you are referring to here, please explain. For stability, hardware needs to be present. When I started out a couple of days ago, I blamed my

Re: [PATCH] x86/xen: remove deprecated IRQF_DISABLED

2013-09-08 Thread Michael Opdenacker
Hi Boris, Thanks for your review! On 09/08/2013 05:14 PM, Boris Ostrovsky wrote: > - michael.opdenac...@free-electrons.com wrote: > >> This patch proposes to remove the IRQF_DISABLED flag from x86/xen >> code. It's a NOOP since 2.6.35 and it will be removed one day. >> >> Signed-off-by:

[PATCH] xen: remove deprecated IRQF_DISABLED

2013-09-08 Thread Michael Opdenacker
This patch proposes to remove the IRQF_DISABLED flag from drivers/xen code. It's a NOOP since 2.6.35 and it will be removed one day. Note that architecture dependent fixes for IRQF_DISABLED were already submitted through separate patches. Signed-off-by: Michael Opdenacker ---

Re: [052/121] cifs: extend the buffer length enought for sprintf() using

2013-09-08 Thread Scott Lovenberg
On Sat, Sep 7, 2013 at 10:52 PM, Ben Hutchings wrote: > > 3.2.51-rc1 review patch. If anyone has any objections, please let me know. > > -- > > From: Chen Gang > > commit 057d6332b24a4497c55a761c83c823eed9e3f23b upstream. > > For cifs_set_cifscreds() in "fs/cifs/connect.c",

Re: [PATCH 3/7] perf lock: plug some memleaks

2013-09-08 Thread Ramkumar Ramachandra
Davidlohr Bueso wrote: > diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c > index d318862..7784347 100644 > --- a/tools/perf/builtin-lock.c > +++ b/tools/perf/builtin-lock.c > @@ -321,10 +321,12 @@ static struct lock_stat *lock_stat_findnew(void *addr, > const char *name) > >

RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

2013-09-08 Thread H. Peter Anvin
Please answer the questions that I asked, not something else entirely. "Liu, Chuansheng" wrote: >Hello hpa, > >> I could be wrong and the cold/warm reset values in CF9 end up having >> exactly the same function as the magic BIOS signature does; if so, >then >> I would like to be told so

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Ramkumar Ramachandra
Greg Kroah-Hartman wrote: >> How will the hardware industry be driven otherwise? > > I have no idea what you are referring to here, please explain. For stability, hardware needs to be present. When I started out a couple of days ago, I blamed my monitor for the data corruption: it's one extra

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Greg Kroah-Hartman
On Mon, Sep 09, 2013 at 08:08:28AM +0530, Ramkumar Ramachandra wrote: > Greg Kroah-Hartman wrote: > > What do you mean by this? What "initial cost"? You should be able to > > cross-compile almost all arches on your desktop machine today with the > > compilers we have on kernel.org. If I can get

Re: [PATCH 1/1] dma: tegra20-apb-dma: Staticize tegra_dma_prep_dma_cyclic

2013-09-08 Thread Laxman Dewangan
On Friday 06 September 2013 05:16 PM, Sachin Kamat wrote: tegra_dma_prep_dma_cyclic is referenced only in this file. Make it static. Signed-off-by: Sachin Kamat Cc: Laxman Dewangan --- Agree, looks good. Acked-by: Laxman Dewangan -- To unsubscribe from this list: send the line

Re: [PATCH 3/3] extcon: Simplify extcon_dev_register() prototype by removing unnecessary parameter

2013-09-08 Thread Chanwoo Choi
Hi Greg, On 09/09/2013 06:51 AM, Greg KH wrote: > On Wed, Sep 04, 2013 at 02:18:30PM +0900, Chanwoo Choi wrote: >> On 09/04/2013 10:16 AM, Greg KH wrote: >>> On Wed, Sep 04, 2013 at 09:17:02AM +0900, Chanwoo Choi wrote: On 09/04/2013 12:57 AM, Greg KH wrote: > On Mon, Sep 02, 2013 at

Re: [PATCH v2 1/6] scsi/bfa: use pcie_set/get_readrq to simplify code

2013-09-08 Thread Yijing Wang
On 2013/9/7 6:14, Bjorn Helgaas wrote: > On Thu, Sep 05, 2013 at 03:55:25PM +0800, Yijing Wang wrote: >> v1->v2: use pcie_get/set_readrq to simplify code >> a lot suggestd by Bjorn. >> >> Use pcie_get_readrq()/pcie_set_readrq() to simplify >> code. >> >> Signed-off-by: Yijing Wang >> Cc: Jiang

Re: hugetlb: NULL ptr deref in region_truncate

2013-09-08 Thread Joonsoo Kim
On Sun, Sep 08, 2013 at 10:46:00AM -0400, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest, running latest -next > kernel, I've > stumbled on the following: > > [ 998.281867] BUG: unable to handle kernel NULL pointer dereference at > 0274 > [

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Ramkumar Ramachandra
Greg Kroah-Hartman wrote: > What do you mean by this? What "initial cost"? You should be able to > cross-compile almost all arches on your desktop machine today with the > compilers we have on kernel.org. If I can get them set up and working, > they can't be that hard for anyone else :) Won't

Re: soft lockup in sysvipc code.

2013-09-08 Thread Ramkumar Ramachandra
Dave Jones wrote: > Haven't seen this before. > Tree based on v3.11-3104-gf357a82 > > BUG: soft lockup - CPU#0 stuck for 22s! [trinity-child0:25479] A combination of hard and soft locks is the solution to the problem, ultimately. > Modules linked in: sctp snd_seq_dummy fuse dlci rfcomm tun bnep

linux-next: build failure after merge of the vfs tree

2013-09-08 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/autofs4/dev-ioctl.c: In function 'find_autofs_mount': fs/autofs4/dev-ioctl.c:193:2: error: implicit declaration of function 'user_path_mntpointat' [-Werror=implicit-function-declaration]

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Guenter Roeck
On 09/08/2013 07:31 PM, Greg Kroah-Hartman wrote: On Sun, Sep 08, 2013 at 07:24:19PM -0700, Guenter Roeck wrote: On 09/08/2013 06:59 PM, Greg Kroah-Hartman wrote: On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote: mips allmodconfig fails with ERROR: "copy_from_user_page"

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Greg Kroah-Hartman
On Mon, Sep 09, 2013 at 07:48:51AM +0530, Ramkumar Ramachandra wrote: > Greg Kroah-Hartman wrote: > > On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote: > >> Unfortunately, LUSTRE can only be built as module, so there is no > >> easy fix. > > > > Can't we just export the functions for

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Greg Kroah-Hartman
On Sun, Sep 08, 2013 at 07:24:19PM -0700, Guenter Roeck wrote: > On 09/08/2013 06:59 PM, Greg Kroah-Hartman wrote: > > On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote: > >> mips allmodconfig fails with > >> > >> ERROR: "copy_from_user_page" > >>

Re: [RFC PATCH 2/4] ACPI/Resource: Add address translation support

2013-09-08 Thread Lan Tianyu
On 2013年09月07日 08:15, Rafael J. Wysocki wrote: > On Friday, September 06, 2013 10:24:44 AM Lan Tianyu wrote: >> According ACPI 5.0 spec Section 19.1.8 >> "For bridges, translate addresses across the bridge, this is the >> offset that must be added to the address on the secondary side >> to obtain

[PATCH] reboot: re-enable the function of variable reboot_default

2013-09-08 Thread Chuansheng Liu
commit b3a5d02ee070c(reboot: move arch/x86 reboot= handling to generic kernel) did some cleanup for reboot= command line, but it made the reboot_default to be invalidated. The default value of variable reboot_default should be 1, and if command line reboot= is not set, system will use the

Re: [PATCH] aio: rcu_read_lock protection for new rcu_dereference calls

2013-09-08 Thread Gu Zheng
On 09/08/2013 10:10 PM, Artem Savkov wrote: > Patch "aio: fix rcu sparse warnings introduced by ioctx table lookup patch" > (77d30b14d24e557f89c41980011d72428514d729 in linux-next.git) introduced a > couple of new rcu_dereference calls which are not protected by rcu_read_lock > and result in

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Guenter Roeck
On 09/08/2013 06:59 PM, Greg Kroah-Hartman wrote: On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote: mips allmodconfig fails with ERROR: "copy_from_user_page" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! which is due to LUSTRE using copy_from_user_page which is not

[PATCH 1/7] perf lock: remove dead code

2013-09-08 Thread Davidlohr Bueso
No need for break statements after goto jumps. Signed-off-by: Davidlohr Bueso --- tools/perf/builtin-lock.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index ee33ba2..148f7e2 100644 --- a/tools/perf/builtin-lock.c +++

[PATCH 0/7] perf lock: misc fixes and enhancements

2013-09-08 Thread Davidlohr Bueso
This patchset is a first in a series of perf-lock enhancements I am working on. Overall it is pretty straightforward, dealing with cleanups, and some cosmetic changes. Patches 1-3 deal with some minor fixes and cleanups. Patch 4 fixes a segfault in the report command when the perf.data file is

[PATCH 2/7] perf lock: return proper code in report_lock_*_event

2013-09-08 Thread Davidlohr Bueso
The report_lock_*_event() functions return -1 when lock_stat_findnew(), thread_stat_findnew() or get_seq() return NULL. These functions only return this value when failing to allocate memory, this return -ENOMEM instead. Signed-off-by: Davidlohr Bueso --- tools/perf/builtin-lock.c | 24

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Ramkumar Ramachandra
Greg Kroah-Hartman wrote: > On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote: >> mips allmodconfig fails with >> >> ERROR: "copy_from_user_page" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] >> undefined! >> >> which is due to LUSTRE using copy_from_user_page which is not exported

[PATCH 4/7] perf lock: redo __cmd_report

2013-09-08 Thread Davidlohr Bueso
This function should be straightforward, and we can remove some trivial logic by moving the functionality of read_events() into __cmd_report() - thus allowing a new session to be properly deleted. Since the 'info' subcommand also needs to process the recorded events, add a 'display_info' flag to

[PATCH 5/7] perf lock: do not cut lock name

2013-09-08 Thread Davidlohr Bueso
While this could be seen as personal taste, there really isn't any reason for being so stingy printing the lock name. Furthermore, some symbol names are really just too long, and cutting them at 16 characters doesn't help at all. Signed-off-by: Davidlohr Bueso --- tools/perf/builtin-lock.c | 18

[PATCH 3/7] perf lock: plug some memleaks

2013-09-08 Thread Davidlohr Bueso
Address some trivial leaks. Signed-off-by: Davidlohr Bueso --- tools/perf/builtin-lock.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index d318862..7784347 100644 --- a/tools/perf/builtin-lock.c +++

[PATCH 7/7] perf lock: account for lock average wait time

2013-09-08 Thread Davidlohr Bueso
While perf-lock currently reports both the total wait time and the number of contentions, it doesn't explicitly show the average wait time. Having this value immediately in the report can be quite useful when looking into performance issues. Furthermore, allowing report to sort by averages is

[PATCH 6/7] perf lock: limit bad rate precision

2013-09-08 Thread Davidlohr Bueso
Two decimal precision should be enough for this. Signed-off-by: Davidlohr Bueso --- tools/perf/builtin-lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c index 2674a42..5adebe6 100644 --- a/tools/perf/builtin-lock.c

Re: [PATCH v1 2/3] SMP: simpilify function generic_smp_call_function_single_interrupt()

2013-09-08 Thread Xie XiuQi
On 2013/9/8 23:22, Jiang Liu wrote: > From: Jiang Liu > > Now the call_single_data data structure is always locked by invoking > csd_lock() before inserting it into corresponding call_single_queue > list, so no need to save and check csd->flags in function >

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Ramkumar Ramachandra
Linus Torvalds wrote: > On Sun, Sep 8, 2013 at 5:03 PM, Al Viro wrote: >> >> Well... unlazy_walk() is always followed by terminate_walk() very shortly, >> but there's a minor problem - terminate_walk() uses "are we in RCU >> mode?" for two things: >> a) do we need to do path_put() here?

ATTN:Manager---supply fumed silica---menjie chemicals co

2013-09-08 Thread Pgpu
Dear Sir or Madam: Good Day! Glad to learn you`re on the market of fumed silica products. We are a professional manufacturers of hydrophilic fumed silica products with many years experience, now our featured products are: Hydrophilic fumed silica : fumed silica (SiO2): A150 /200

Re: [PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Greg Kroah-Hartman
On Sun, Sep 08, 2013 at 06:03:00PM -0700, Guenter Roeck wrote: > mips allmodconfig fails with > > ERROR: "copy_from_user_page" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] > undefined! > > which is due to LUSTRE using copy_from_user_page which is not exported by any > architecture. Any, or

RE: [PATCH] reboot: perform warm/cold reset correctly for CF9 type

2013-09-08 Thread Liu, Chuansheng
Hello hpa, > I could be wrong and the cold/warm reset values in CF9 end up having > exactly the same function as the magic BIOS signature does; if so, then > I would like to be told so explicitly, ideally with an explanation about > how it works on the hw level (or a pointer to relevant

Re: soft lockup in sysvipc code.

2013-09-08 Thread Dave Jones
On Sun, Sep 08, 2013 at 06:20:18PM -0700, Davidlohr Bueso wrote: > On Sat, 2013-09-07 at 11:11 +0200, Manfred Spraul wrote: > > Hi Dave, > > > > On 09/04/2013 11:50 PM, Dave Jones wrote: > > > Haven't seen this before. > > > Tree based on v3.11-3104-gf357a82 > > > > > > BUG: soft lockup -

Twoj portret psychografologiczny (osobopoznawczy) !

2013-09-08 Thread Grafolog
‘ Twoj portret osobopoznawczy! Dowiedz sie jakie cechy osobnicze ujawniasz w swoim pismie recznym. A moze rozpoznaj je w pismie innej osoby. Masz prawo wiedziec czy twoj szef / sasiad / kolega / nauczyciel dziecka nie jest przypadkiem PSYCHOPATA? Mozesz to sprawdzic dysponujac jego

Re: soft lockup in sysvipc code.

2013-09-08 Thread Davidlohr Bueso
On Sat, 2013-09-07 at 11:11 +0200, Manfred Spraul wrote: > Hi Dave, > > On 09/04/2013 11:50 PM, Dave Jones wrote: > > Haven't seen this before. > > Tree based on v3.11-3104-gf357a82 > > > > BUG: soft lockup - CPU#0 stuck for 22s! [trinity-child0:25479] > > Modules linked in: sctp snd_seq_dummy

Re: [PATCH v2 4/4] kernel: add support for init_array constructors

2013-09-08 Thread Rusty Russell
Kyle McMartin writes: > On Fri, Sep 06, 2013 at 07:51:18PM +0200, Frantisek Hrbata wrote: >> > > v2: - reuse mod->ctors for .init_array section for modules, because gcc >> > > uses >> > > .ctors or .init_array, but not both at the same time >> > > >> > > Signed-off-by: Frantisek Hrbata >>

Re: [PATCH] kernel-doc: Update script to find more "Return:" sections

2013-09-08 Thread Rob Landley
On 09/03/2013 07:34:28 PM, Joe Perches wrote: Many kernel-doc return description sections headers use variants of the "Return:" section prefix. (some or maybe even most of these aren't in kernel-doc sections, but many are) $ git grep -E -i "^\s*\*\s*return[s]?:"| \ cut -f2- -d":" | awk

[PATCH] staging: Disable lustre file system for MIPS, SH, and XTENSA

2013-09-08 Thread Guenter Roeck
mips allmodconfig fails with ERROR: "copy_from_user_page" [drivers/staging/lustre/lustre/libcfs/libcfs.ko] undefined! which is due to LUSTRE using copy_from_user_page which is not exported by any architecture. Unfortunately, LUSTRE can only be built as module, so there is no easy fix. MIPS, SH,

[git pull] m68knommu arch fixes for 3.12

2013-09-08 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Just a small collection of cleanups and fixes this time, no big changes. The most interresting are to make the m68k and m68knommu consistently use CONFIG_IOMAP, clean out some unused board config options and flush the cache

sparc32 defconfig build broken due to commit ebd97be63 (PCI: remove ARCH_SUPPORTS_MSI kconfig option)

2013-09-08 Thread Guenter Roeck
Hi, "make ARCH=sparc32 defconfig; make ARCH=sparc32" on the current upstream kernel results in: In file included from arch/sparc/kernel/pci_msi.c:10:0: arch/sparc/kernel/pci_impl.h:142:18: error: field 'stc' has incomplete type arch/sparc/kernel/pci_msi.c: In function 'sparc64_setup_msi_irq':

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Al Viro
On Sun, Sep 08, 2013 at 05:38:46PM -0700, Linus Torvalds wrote: > On Sun, Sep 8, 2013 at 5:35 PM, Al Viro wrote: > > > > That should also work, replacing the current tip of #for-next. Do you > > prefer to merge those two diffs of yours into a single commit? > > If you're ok with my patch (it's

Re: [PATCH] mm/hotplug: rename the function is_memblock_offlined_cb()

2013-09-08 Thread Yasuaki Ishimatsu
(2013/09/06 17:54), Xishi Qiu wrote: Function is_memblock_offlined() return 1 means memory block is offlined, but is_memblock_offlined_cb() return 1 means memory block is not offlined, this will confuse somebody, so rename the function. Another, use "pfn_to_nid(pfn)" instead of

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Linus Torvalds
On Sun, Sep 8, 2013 at 5:35 PM, Al Viro wrote: > > That should also work, replacing the current tip of #for-next. Do you > prefer to merge those two diffs of yours into a single commit? If you're ok with my patch (it's now also tested, I'm running with it and it looks fine), I'll commit that

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Al Viro
On Sun, Sep 08, 2013 at 05:25:40PM -0700, Linus Torvalds wrote: > On Sun, Sep 8, 2013 at 5:03 PM, Al Viro wrote: > > > > Well... unlazy_walk() is always followed by terminate_walk() very shortly, > > but there's a minor problem - terminate_walk() uses "are we in RCU > > mode?" for two things: >

Re: "Virtual" Interrupts -- Need help please

2013-09-08 Thread Guenter Roeck
On 09/08/2013 04:50 PM, Daniel Santos wrote: On 09/07/2013 07:52 PM, Guenter Roeck wrote: On 09/07/2013 05:19 PM, Daniel Santos wrote: I've posted a number of requests for aid on this and have gotten very little responses and none that were helpful. I have spent at least 24 hours of research

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Al Viro
On Mon, Sep 09, 2013 at 01:03:00AM +0100, Al Viro wrote: > Well... unlazy_walk() is always followed by terminate_walk() very shortly, > but there's a minor problem - terminate_walk() uses "are we in RCU > mode?" for two things: > a) do we need to do path_put() here? > b) do we need

powerpc allmodconfig build broken due to commit 15863ff3b (powerpc: Make chip-id information available to userspace)

2013-09-08 Thread Guenter Roeck
Hi all, powerpc allmodconfig build on the latest upstream kernel results in: ERROR: ".cpu_to_chip_id" [drivers/block/mtip32xx/mtip32xx.ko] undefined! This is due to commit 15863ff3b (powerpc: Make chip-id information available to userspace). Not surprising, as cpu_to_chip_id() is not

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Linus Torvalds
On Sun, Sep 8, 2013 at 5:03 PM, Al Viro wrote: > > Well... unlazy_walk() is always followed by terminate_walk() very shortly, > but there's a minor problem - terminate_walk() uses "are we in RCU > mode?" for two things: > a) do we need to do path_put() here? > b) do we need to

Re: [REVIEW][PATCH] pidns: Fix hang in zap_pid_ns_processes by sending a potentially extra wakeup

2013-09-08 Thread Eric W. Biederman
Ramkumar Ramachandra writes: > Eric W. Biederman wrote: > > Serge Hallyn writes: > > Since commit af4b8a83add95ef40716401395b44a1b579965f4 it's been > > possible to get into a situation where a pidns reaper is > > , reparented to host pid 1, but never reaped.  How to > >

Re: [PATCH 01/19] pramfs: documentation

2013-09-08 Thread Randy Dunlap
On 09/07/13 01:15, Marco Stornelli wrote: > Added pramfs documentation. > > Signed-off-by: Marco Stornelli > --- > Documentation/filesystems/pramfs.txt | 177 > ++ > Documentation/filesystems/xip.txt|2 + > MAINTAINERS |9 ++

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-08 Thread Al Viro
On Sun, Sep 08, 2013 at 02:45:32PM -0700, Linus Torvalds wrote: > But that test never triggered any of my thinking, and it's racy > anyway, and the condition we care about is another race, which means > that it not only didn't trigger my thinking, it doesn't trigger in any > normal testing

Re: "Virtual" Interrupts -- Need help please

2013-09-08 Thread Daniel Santos
On 09/07/2013 07:52 PM, Guenter Roeck wrote: On 09/07/2013 05:19 PM, Daniel Santos wrote: I've posted a number of requests for aid on this and have gotten very little responses and none that were helpful. I have spent at least 24 hours of research time on this and just a little direction from

Re: [PATCH 00/19] pramfs

2013-09-08 Thread Dave Chinner
On Sat, Sep 07, 2013 at 10:14:04AM +0200, Marco Stornelli wrote: > Hi all, > > this is an attempt to include pramfs in mainline. At the moment pramfs > has been included in LTSI kernel. Since last review the code is more > or less the same but, with a really big thanks to Vladimir Davydov and >

drivers/net/ethernet/nvidia/forcedeth.c saved_config_space[size] access patch

2013-09-08 Thread Marc Weber
1) VER3 and _MAX are of same size: #define NV_PCI_REGSZ_VER3 0x604 #define NV_PCI_REGSZ_MAX0x604 2) It looks like there is a case where VER3 get's assigned to register_size: if (id->driver_data &

  1   2   3   4   5   6   >