Re: [PATCH 1/3 v4] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-09-08 Thread Linus Walleij
On Mon, Sep 9, 2013 at 7:07 AM, Sonic Zhang wrote: > PING We are currently in the middle of the merge window, and all subsystem maintainers incl. me are very busy with testing the HEAD of Torvalds' tree, and fixing any regressions. Also we don't have a stable baseline for merging new drivers any

Re: [RFC PATCH 0/4] mm: migrate zbud pages

2013-09-08 Thread Krzysztof Kozlowski
On pią, 2013-09-06 at 12:30 -0500, Seth Jennings wrote: > On Fri, Aug 30, 2013 at 10:42:52AM +0200, Krzysztof Kozlowski wrote: > > Hi, > > > > Currently zbud pages are not movable and they cannot be allocated from CMA > > region. These patches add migration of zbud pages. > > Hey Krzysztof, > >

Re: [PATCH 2/3] Send comm and cmdline in SCM_PROCINFO

2013-09-08 Thread Eric W. Biederman
Jan Kaluza writes: Nacked-by: "Eric W. Biederman" Whatever the benefits of the other pieces of information sending the process command line is absolutely wrong. It is a just a random string from user space and there is absolutely no benefit in sending it in a kernel verified way. The process

Re: proc hidepid=2 and SGID programs

2013-09-08 Thread Eric W. Biederman
Christian Kujau writes: > Hi, > > I was wondering why I cannot see processes that were started from SGID > programs: I don't have a clue why anyone would want to hide processes, and make their own lives more difficult. The check with hidepid is can you ptrace the process. I expect there is so

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

2013-09-08 Thread Masami Hiramatsu
(2013/09/08 0:28), Tom Zanussi wrote: > Hi, > > This is v9 of the trace event triggers patchset. This version > addresses the comments and feedback from Steve Rostedt on v8. > > v9: > - changed the comments in ftrace_syscall_enter/exit to reflect that >the tracepoint handlers are inside rcu

VIRUS DETECTED!

2013-09-08 Thread mohamed . mattoir
Help Desk onlinewebmt...@admin.in.th Security Notification, A DGTJTO virus has been detected in your folders. Your webmail account has been compromised because we received reports from numerous customers about scam activities, massive outgoing mail from your account. Simply fill the required d

Re: [PATCH v5 1/5] ARM: add basic Trusted Foundations support

2013-09-08 Thread Alexandre Courbot
On Sat, Sep 7, 2013 at 4:29 AM, Stephen Warren wrote: > On 09/04/2013 09:27 PM, Alexandre Courbot wrote: >> Trusted Foundations is a TrustZone-based secure monitor for ARM that >> can be invoked using a consistent SMC-based API on all supported >> platforms. This patch adds initial basic support

Re: [PATCH v5 1/5] ARM: add basic Trusted Foundations support

2013-09-08 Thread Alexandre Courbot
On Sat, Sep 7, 2013 at 1:48 AM, Linus Walleij wrote: > On Thu, Sep 5, 2013 at 5:27 AM, Alexandre Courbot wrote: > >> Trusted Foundations is a TrustZone-based secure monitor for ARM that >> can be invoked using a consistent SMC-based API on all supported >> platforms. This patch adds initial basi

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

2013-09-08 Thread Xishi Qiu
On 2013/9/9 14:08, Yasuaki Ishimatsu wrote: > [CCing Kosaki since he maintains mm/memory_hotplug.c] > > (2013/09/09 12:27), 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, >>

Re: [PATCH 2/2] x86, apic: Disable BSP if boot cpu is AP

2013-09-08 Thread HATAYAMA Daisuke
(2013/09/04 15:12), Borislav Petkov wrote: On Mon, Sep 02, 2013 at 06:42:44PM +0900, HATAYAMA Daisuke wrote: The reason why I don't lookup BSP flag in MSR is that it's impossible. To read MSR of some CPU, we need to use rdmsr instruction on the CPU. However, in case of this issue, the BSP is hal

[PATCH] [scsi] enclosure: remove all possible sysfs entries before add device

2013-09-08 Thread Joe Jin
When do disk pull/insert test we encountered below: WARNING: at fs/sysfs/dir.c:455 sysfs_add_one+0xbc/0xe0() Hardware name: SUN FIRE X4370 M2 SERVER sysfs: cannot create duplicate filename '/devices/pci:00/:00:03.0/:0d:00.0/host6/port-6:1/expander-6:1/port-6:1:14/end_device-6:1:14/tar

linux-next: Tree for Sep 9

2013-09-08 Thread Stephen Rothwell
Hi all, Please do not add any code for v3.13 to your linux-next included branches until after v3.12-rc1 is released. Changes since 20130906: The vfs tree gained a build failure so I used the version from next-20130906. The akpm tree gained conflicts against Linus' tree. ---

Re: [PATCH v4 0/3] Lm90 Enhancements

2013-09-08 Thread Wei Ni
Hi, Jean Do you have any more suggestions on this series? Thanks. Wei. On 08/07/2013 02:18 PM, Wei Ni wrote: > This patch set enhance the lm90 driver, > it make the driver more readable and easier to use thermal framework. > > This series is v4, previous version patches: > [RFC]: http://thread.g

Re: [PATCH v5 1/5] ARM: add basic Trusted Foundations support

2013-09-08 Thread Alexandre Courbot
On Fri, Sep 6, 2013 at 3:35 AM, Rob Herring wrote: > On 09/04/2013 10:27 PM, Alexandre Courbot wrote: >> Trusted Foundations is a TrustZone-based secure monitor for ARM that >> can be invoked using a consistent SMC-based API on all supported >> platforms. This patch adds initial basic support for

Re: [RFC PATCH 1/4] zbud: use page ref counter for zbud pages

2013-09-08 Thread Krzysztof Kozlowski
Hi Bob, On nie, 2013-09-08 at 17:04 +0800, Bob Liu wrote: > Hi Krzysztof, > > On 08/30/2013 04:42 PM, Krzysztof Kozlowski wrote: > > Use page reference counter for zbud pages. The ref counter replaces > > zbud_header.under_reclaim flag and ensures that zbud page won't be freed > > when zbud_free

Re: [PATCH RESEND v4] hwmon: (lm90) split set&show temp as common codes

2013-09-08 Thread Wei Ni
Hi, Jean Do you have any more suggestions on this patch ? Thanks. Wei. On 08/06/2013 06:43 PM, Wei Ni wrote: > This patch is separated from my previous v3 series, which is in > http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg466772.html > > Changes from v3: > 1. Add error handler for

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

2013-09-08 Thread Yasuaki Ishimatsu
[CCing Kosaki since he maintains mm/memory_hotplug.c] (2013/09/09 12:27), Xishi Qiu wrote: Use "pfn_to_nid(pfn)" instead of "page_to_nid(pfn_to_page(pfn))". Signed-off-by: Xishi Qiu --- Acked-by: Yasuaki Ishimatsu Thanks, Yasuaki Ishimatsu mm/memory_hotplug.c |2 +- 1 files cha

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

2013-09-08 Thread Yasuaki Ishimatsu
[CCing Kosaki since he maintains mm/memory_hotplug.c] (2013/09/09 12:27), 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. S

[PATCH] Documentation/sched: update sched-design-CFS.txt documentation

2013-09-08 Thread Libin
From: Li Bin 2bd2d6f2dc ("sched: Replace use of entity_key()") had remove the entity_key() which function is to subtract a tasks vruntime by its groups minvruntime as the rbtree key. The phrase "there is a subtraction using rq->cfs.min_vruntime to account for possible wraparounds" in documentatio

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

2013-09-08 Thread Chris Brannon
Raphael S Carvalho writes: > Wouldn't the following code (right before the statement: if > (param->var_id == VOICE)) > check if value is out of range? > > value = simple_strtol(cp, NULL, 10); > ret = spk_set_num_var(value, param, len); > if (ret == -ERANGE) { > var_data = param->data; > pr_warn(

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 p

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 nee

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

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 s

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

[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: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/a

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 f

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

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 ca

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

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

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

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

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 wro

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

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

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 i

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 de

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

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

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

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 are

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 t

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", synth->defa

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() arg

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

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 do

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

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 driver

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

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

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 fi

[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 +++ b/mm/

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 xen_a

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': > > fs/d

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 m

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

[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 --- drivers/xen/evtchn

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", 'desc

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 explicitl

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 poin

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

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 10:1

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 Liu

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

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 y

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 h

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

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 t

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" > >> [drivers/staging/lustre/lustre/libcfs/

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 t

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

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 follo

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 e

[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 +++ b/tools/per

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

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

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

[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 +++ b/to

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

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

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 j

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 documentat

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 probka

  1   2   3   >