[git pull] m68k updates for 3.12

2013-09-02 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit b36f4be3de1b123d8601de062e7dbfc904f305fb: Linux 3.11-rc6 (2013-08-18 14:36:53 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus for you to fetch changes up to

Re: [PATCH] input: allow SERIO=m even without EXPERT=y

2013-09-02 Thread Tom Gundersen
On Mon, Sep 2, 2013 at 11:30 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Sep 2, 2013 at 11:01 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: On Mon, Sep 2, 2013 at 8:47 PM, Tom Gundersen t...@jklm.no wrote: There is plenty of consumer hardware (e.g., mac books)

Re: [PATCH] checkpatch: Add warning about submitting patches using --file

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 23:37 +0300, Dan Carpenter wrote: On Mon, Sep 02, 2013 at 12:40:47PM -0700, Joe Perches wrote: +WARNING: When using --file mode, do not send patches that just make +whitespace or formatting changes unless more significant changes are +also made for other reasons in

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Josh Triplett
On Mon, Sep 02, 2013 at 09:50:23PM +0100, David Howells wrote: Josh Triplett j...@joshtriplett.org wrote: There are many checkpatch rules (like semicolons) that are not in CodingStyle. It's a rule of thumb, not a mandate. In *general*, checkpatch.pl should not be enforcing style

[PATCH] checkpatch: Report missing spaces around trigraphs with --strict

2013-09-02 Thread Joe Perches
Spaces around trigraphs are specified by CodingStyle but checkpatch is currently silent about them because there are many current instances without them. Make missing spaces around trigraphs a --strict message. Signed-off-by: Joe Perches j...@perches.com --- Oddly enough, the opposite is true

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

2013-09-02 Thread Raphael S.Carvalho
Well, there is no need to use strcmp since we can make a test of similar semantic by using the var_id field of param. I moved the test into the VAR_NUM:VAR_TIME case since VAR_STRING will never be voice. spk_xlate isn't used anymore (in line 628), then there is no difference between using cp

Re: Linux 3.11

2013-09-02 Thread Nicholas A. Bellinger
On Mon, 2013-09-02 at 14:10 -0700, Linus Torvalds wrote: As some people noticed, I got distracted (Ooh, look, a squirrel..) and never wrote an announcement for -rc7. My bad. But it wasn't actually all that interesting a release apart from the date, and it had a silly compile error in ohci-pci

Re: [PATCH 1/2] spi: delete premature free_irq

2013-09-02 Thread Mark Brown
On Mon, Sep 02, 2013 at 11:54:20AM +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Free_irq is not needed if there has been no request_irq. Free_irq is removed from both the probe and remove functions. The correct request_irq and free_irq appear to be in the add_host and

RESEND: Generating interrupts from a USB device driver?

2013-09-02 Thread Daniel Santos
Hello guys. I didn't get a response the last time so hopefully with 3.11 out I'll get one this time. I need to be able to generate interrupts from a USB device driver while servicing the complete() function of an interrupt URB. While I realize that this may seem strange, the purpose is for a

Re: Linux 3.11

2013-09-02 Thread Linus Torvalds
On Mon, Sep 2, 2013 at 3:30 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Unfortunately, this doesn't include the remaining target fixes for v3.11: Re: [GIT PULL -v2] target fixes for v3.11 http://marc.info/?l=linux-kernelm=137799048226191w=2 Is there a reason why these did not get

Re: RESEND: Generating interrupts from a USB device driver?

2013-09-02 Thread Greg KH
On Mon, Sep 02, 2013 at 05:46:58PM -0500, Daniel Santos wrote: Hello guys. I didn't get a response the last time so hopefully with 3.11 out I'll get one this time. I need to be able to generate interrupts from a USB device driver while servicing the complete() function of an interrupt

Re: [PATCH] checkpatch: Report missing spaces around trigraphs with --strict

2013-09-02 Thread Josh Triplett
On Mon, Sep 02, 2013 at 03:14:46PM -0700, Joe Perches wrote: Spaces around trigraphs are specified by CodingStyle but checkpatch is currently silent about them because there are many current instances without them. Make missing spaces around trigraphs a --strict message. Signed-off-by:

[GIT PULL] hwmon updates for 3.12

2013-09-02 Thread Guenter Roeck
Hi Linus, Please pull hwmon updates for Linux 3.12 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus Thanks, Guenter -- The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11

[PATCH v2 3/4] mm/hwpoison: fix false report 2nd try page recovery

2013-09-02 Thread Wanpeng Li
If the page is poisoned by software inject w/ MF_COUNT_INCREASED flag, there is a false report 2nd try page recovery which is not truth, this patch fix it by report first try free buddy page recovery if MF_COUNT_INCREASED is set. Before patch: [ 346.332041] Injecting memory failure at pfn

[PATCH v2 4/4] mm/hwpoison: fix the lack of one reference count against poisoned page

2013-09-02 Thread Wanpeng Li
The lack of one reference count against poisoned page for hwpoison_inject w/o hwpoison_filter enabled result in hwpoison detect -1 users still referenced the page, however, the number should be 0 except the poison handler held one after successfully unmap. This patch fix it by hold one

[PATCH v2 1/4] mm/hwpoison: fix traverse hugetlbfs page to avoid printk flood

2013-09-02 Thread Wanpeng Li
madvise_hwpoison won't check if the page is small page or huge page and traverse in small page granularity against the range unconditional, which result in a printk flood MCE xxx: already hardware poisoned if the page is huge page. This patch fix it by increase

[PATCH v2 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-02 Thread Wanpeng Li
Changelog: *v1 - v2: reverse PageTransHuge(page) !PageHuge(page) check PageTransHuge() can't guarantee the page is transparent huge page since it return true for both transparent huge and hugetlbfs pages. This patch fix it by check the page is also !hugetlbfs page. Before patch: [

Re: Linux 3.11

2013-09-02 Thread Guenter Roeck
On 09/02/2013 03:50 PM, Linus Torvalds wrote: On Mon, Sep 2, 2013 at 3:30 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Unfortunately, this doesn't include the remaining target fixes for v3.11: Re: [GIT PULL -v2] target fixes for v3.11

Re: [PATCH] checkpatch: Report missing spaces around trigraphs with --strict

2013-09-02 Thread Joe Perches
would you mind looking at why it gives a false positive for spaces around '*' on my recent patch at http://mid.gmane.org/20130901234251.GB25057@leaf ? It appears to mistake the '*' of a pointer for a multiply. Looks like checkpatch thinks this should be a multiplication. Try this: ---

[GIT PATCH] USB patches for 3.12-rc1

2013-09-02 Thread Greg KH
The following changes since commit b36f4be3de1b123d8601de062e7dbfc904f305fb: Linux 3.11-rc6 (2013-08-18 14:36:53 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.12-rc1 for you to fetch changes up to

[GIT PATCH] char/misc patches for 3.12-rc1

2013-09-02 Thread Greg KH
The following changes since commit b36f4be3de1b123d8601de062e7dbfc904f305fb: Linux 3.11-rc6 (2013-08-18 14:36:53 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.12-rc1 for you to fetch changes up to

[GIT PATCH] Driver core patches for 3.12-rc1

2013-09-02 Thread Greg KH
The following changes since commit 5ae90d8e467e625e447000cb4335c4db973b1095: Linux 3.11-rc3 (2013-07-28 20:53:33 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.12-rc1 for you to fetch changes up to

[GIT PATCH] TTY/Serial patches for 3.12-rc1

2013-09-02 Thread Greg KH
The following changes since commit c095ba7224d8edc71dcef0d655911399a8bd4a3f: Linux 3.11-rc4 (2013-08-04 13:46:46 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.12-rc1 for you to fetch changes up to

[PATCH v4 1/1 resend] i2c: rcar: modify I2C driver

2013-09-02 Thread Nguyen Viet Dung
This patch modify I2C driver of rcar-H1 to usable on both rcar-H1 and rcar-H2. Signed-off-by: Nguyen Viet Dung nv-d...@jinso.co.jp --- drivers/i2c/busses/i2c-rcar.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git

[PATCH v4 0/1 resend] ARM: shmobile: r8a7790: add I2C support

2013-09-02 Thread Nguyen Viet Dung
Hi Wolfram CC Morimoto Please consider the following patch for the r8a7790 Soc. This patch modify I2C driver of rcar-H1 to usable on both rcar-H1 and rcar-H2. It was developed base on the renesas-devel-20130722 branch and have tested on the Lager board. Thanks, Nguyen viet Dung Nguyen Viet Dung

Re: [PATCH] [BUGFIX] crash/ioapic: Prevent crash_kexec() from deadlocking of ioapic_lock

2013-09-02 Thread Eric W. Biederman
Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com writes: Hi Eric and Don, Sorry for the late reply. (2013/08/31 9:58), Eric W. Biederman wrote: Don Zickus dzic...@redhat.com writes: On Tue, Aug 27, 2013 at 12:41:51PM +0900, Yoshihiro YUNOMAE wrote: Hi Don, Sorry for the late reply.

Re: [PATCH v2 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-02 Thread Naoya Horiguchi
On Tue, Sep 03, 2013 at 07:36:44AM +0800, Wanpeng Li wrote: Changelog: *v1 - v2: reverse PageTransHuge(page) !PageHuge(page) check PageTransHuge() can't guarantee the page is transparent huge page since it return true for both transparent huge and hugetlbfs pages. This patch fix it by

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Shilong Wang
2013/9/3 Joe Perches j...@perches.com: On Mon, 2013-09-02 at 21:50 +0100, David Howells wrote: Josh Triplett j...@joshtriplett.org wrote: There are many checkpatch rules (like semicolons) that are not in CodingStyle. It's a rule of thumb, not a mandate. In *general*, checkpatch.pl

RE: linux 3.11

2013-09-02 Thread Juan Barry Manuel Canham
I noticed that linux-iscsi.org isn't doing much to protect itself from being used as a spam source. If you setup the following you should be less likely to be marked as spam: * SPF record (setup both spf and a txt spf record for compatibility) * DMARC record to enforce SPF and allow servers to

Re: [PATCH] checkpatch: Report missing spaces around trigraphs with --strict

2013-09-02 Thread Josh Triplett
On Mon, Sep 02, 2013 at 04:54:25PM -0700, Joe Perches wrote: would you mind looking at why it gives a false positive for spaces around '*' on my recent patch at http://mid.gmane.org/20130901234251.GB25057@leaf ? It appears to mistake the '*' of a pointer for a multiply. Looks like

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Josh Triplett
On Tue, Sep 03, 2013 at 08:26:21AM +0800, Shilong Wang wrote: 2013/9/3 Joe Perches j...@perches.com: Wang Shilong wangshilong1...@gmail.com sent me an automated checkpatch email I thought was not useful. I am sorry if i give you any trouble, i have disabled it(in fact, it only has run

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Fengguang Wu
On Mon, Sep 02, 2013 at 02:11:36PM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 21:50 +0100, David Howells wrote: Josh Triplett j...@joshtriplett.org wrote: There are many checkpatch rules (like semicolons) that are not in CodingStyle. It's a rule of thumb, not a mandate.

Re: Linux 3.11

2013-09-02 Thread Nicholas A. Bellinger
On Mon, 2013-09-02 at 15:50 -0700, Linus Torvalds wrote: On Mon, Sep 2, 2013 at 3:30 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: Unfortunately, this doesn't include the remaining target fixes for v3.11: Re: [GIT PULL -v2] target fixes for v3.11

Re: [PATCH] f2fs: optimize gc for better performance

2013-09-02 Thread Jaegeuk Kim
Hi Jin, [...] It seems that we can obtain the performance gain just by setting the MAX_VICTIM_SEARCH to 4096, for example. So, how about just adding an ending criteria like below? I agree that we could get the performance improvement by simply enlarging the MAX_VICTIM_SEARCH to

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Joe Perches
On Tue, 2013-09-03 at 08:39 +0800, Fengguang Wu wrote: On Mon, Sep 02, 2013 at 02:11:36PM -0700, Joe Perches wrote: [] Fengguang Wu's very useful build robot sends out emails on build failures. I think that's great. Thanks! Yes I'm now running checkpatch these days because some people

Re: [PATCH RESEND 2/3] x86, mm: Update min_pfn_mapped in add_pfn_range_mapped().

2013-09-02 Thread Tang Chen
Hi Yinghai, On 09/03/2013 02:41 AM, Yinghai Lu wrote: .. Nak, you can not move that. min_pfn_mapped should not be updated before init_range_memory_mapping is returned. as it need to refer old min_pfn_mapped. and init_range_memory_mapping still init mapping from low to high locally.

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Fengguang Wu
On Mon, Sep 02, 2013 at 05:36:03PM -0700, Josh Triplett wrote: On Tue, Sep 03, 2013 at 08:26:21AM +0800, Shilong Wang wrote: 2013/9/3 Joe Perches j...@perches.com: Wang Shilong wangshilong1...@gmail.com sent me an automated checkpatch email I thought was not useful. I am sorry if

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Josh Triplett
On Tue, Sep 03, 2013 at 08:39:58AM +0800, Fengguang Wu wrote: On Mon, Sep 02, 2013 at 02:11:36PM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 21:50 +0100, David Howells wrote: Josh Triplett j...@joshtriplett.org wrote: There are many checkpatch rules (like semicolons) that

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Fengguang Wu
On Mon, Sep 02, 2013 at 05:47:54PM -0700, Joe Perches wrote: On Tue, 2013-09-03 at 08:39 +0800, Fengguang Wu wrote: On Mon, Sep 02, 2013 at 02:11:36PM -0700, Joe Perches wrote: [] Fengguang Wu's very useful build robot sends out emails on build failures. I think that's great.

Re: RESEND: Generating interrupts from a USB device driver?

2013-09-02 Thread Daniel Santos
On 09/02/2013 06:07 PM, Greg KH wrote: On Mon, Sep 02, 2013 at 05:46:58PM -0500, Daniel Santos wrote: Hello guys. I didn't get a response the last time so hopefully with 3.11 out I'll get one this time. I need to be able to generate interrupts from a USB device driver while servicing the

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: I'd suggest a couple more, which *should* always make sense, and to the best of my knowledge don't tend to generate false positives: C99_COMMENTS I don't have a problem with c99 comments. As far as I know, Linus doesn't either.

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Josh Triplett
On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: I'd suggest a couple more, which *should* always make sense, and to the best of my knowledge don't tend to generate false positives: C99_COMMENTS I don't have a

Re: Linux 3.11

2013-09-02 Thread Theodore Ts'o
On Mon, Sep 02, 2013 at 04:46:18PM -0700, Guenter Roeck wrote: I don't think it has anything to do with linux-iscsi.org. Possibly Nicholas' e-mail provider is not hosted in the US, meaning e-mail sent through it can not be logged and examined by a certain US government agency. Hardly.

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 19:12 -0700, Josh Triplett wrote: On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: I'd suggest a couple more, which *should* always make sense, and to the best of my knowledge don't tend to

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Fengguang Wu
On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: I'd suggest a couple more, which *should* always make sense, and to the best of my knowledge don't tend to generate false positives: C99_COMMENTS I don't have a

Re: Linux 3.11

2013-09-02 Thread Nicholas A. Bellinger
Hi Ted, On Mon, 2013-09-02 at 22:17 -0400, Theodore Ts'o wrote: On Mon, Sep 02, 2013 at 04:46:18PM -0700, Guenter Roeck wrote: I don't think it has anything to do with linux-iscsi.org. Possibly Nicholas' e-mail provider is not hosted in the US, meaning e-mail sent through it can not be

Re: [PATCH RESEND 2/3] x86, mm: Update min_pfn_mapped in add_pfn_range_mapped().

2013-09-02 Thread Yinghai Lu
On Mon, Sep 2, 2013 at 6:06 PM, Tang Chen tangc...@cn.fujitsu.com wrote: Hi Yinghai, On 09/03/2013 02:41 AM, Yinghai Lu wrote: How about change the for (from low to high) in init_range_memory_mapping() to for_rev(from high to low) ? Then we can update min_pfn_mapped in

Re: [PATCH v2 0/8] Drop support for Renesas H8/300 architecture

2013-09-02 Thread Chen Gang F T
Hello Guenter Roeck: I don't care about whether I am in cc mailing list, but at least, please help confirm 2 things: Is what I had done for h8300 just making wastes and noisy in kernel and related sub-system mailing list ? and is the disccusion about h8300 between us also wastes and noisy

Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-09-02 Thread Guenter Roeck
On 08/27/2013 09:06 PM, Guenter Roeck wrote: xtansa allmodbuild fails with: arch/xtensa/kernel/xtensa_ksyms.c:129:1: error: '_mcount' undeclared here (not in a function) make[2]: *** [arch/xtensa/kernel/xtensa_ksyms.o] Error 1 make[1]: *** [arch/xtensa/kernel] Error 2 The breakage is due to

[PATCH v2 2/3] mm/vmalloc: don't warning vmalloc allocation failure twice

2013-09-02 Thread Wanpeng Li
Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if __vmalloc_area_node allocation failure. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/vmalloc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index

[PATCH v2 1/3] mm/vmalloc: don't set area-caller twice

2013-09-02 Thread Wanpeng Li
Changelog: * rebase against mmotm tree The caller address has already been set in set_vmalloc_vm(), there's no need to set it again in __vmalloc_area_node. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/vmalloc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff

[PATCH v2 3/3] mm/vmalloc: move VM_UNINITIALIZED just before show_numa_info

2013-09-02 Thread Wanpeng Li
The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch move the check just before show_numa_info in order that

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

2013-09-02 Thread Wei Yang
Any more comments? Or this one is not proper? On Thu, Aug 22, 2013 at 09:33:27PM -0600, Alex Williamson wrote: [+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

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Josh Triplett
On Tue, Sep 03, 2013 at 10:46:40AM +0800, Fengguang Wu wrote: On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: CONFIG_EXPERIMENTAL CVS_KEYWORD OK, but shrug [...] Thanks for both of your suggestions! I'll add the

Re: OCFS2: ocfs2_read_blocks:285 ERROR: block 532737 had the JBD bit set while I was in lock_buffer!

2013-09-02 Thread Jeff Liu
Hello, It seems like Sunil has fixed a similar issue against ocfs2-1.4 several years ago: https://oss.oracle.com/git/?p=ocfs2-1.4.git;a=commitdiff_plain;h=2fd250839d0f5073af8d42e97f1db74beb621674;hp=e882faf84930431524f84598caea7d4e9a9529c5

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Fengguang Wu
On Mon, Sep 02, 2013 at 08:16:45PM -0700, Josh Triplett wrote: On Tue, Sep 03, 2013 at 10:46:40AM +0800, Fengguang Wu wrote: On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: CONFIG_EXPERIMENTAL CVS_KEYWORD OK,

Re: [PATCH v2 0/8] Drop support for Renesas H8/300 architecture

2013-09-02 Thread Guenter Roeck
On 09/02/2013 07:53 PM, Chen Gang F T wrote: Hello Guenter Roeck: I don't care about whether I am in cc mailing list, but at least, please help confirm 2 things: Is what I had done for h8300 just making wastes and noisy in kernel and related sub-system mailing list ? and is

Re: [guv v2 04/31] net: Replace __get_cpu_var uses

2013-09-02 Thread David Miller
From: David Howells dhowe...@redhat.com Date: Mon, 02 Sep 2013 22:35:06 +0100 Would it be possible to use __thread annotations for per-CPU variables, I wonder? Paul Mackerras tried it on powerpc and you can't do it. The problem is that there is no way to tell the compiler that sched() and

Re: [PATCH v2 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-02 Thread Chen Gong
On Tue, Sep 03, 2013 at 07:36:44AM +0800, Wanpeng Li wrote: Date: Tue, 3 Sep 2013 07:36:44 +0800 From: Wanpeng Li liw...@linux.vnet.ibm.com To: Andrew Morton a...@linux-foundation.org Cc: Andi Kleen a...@firstfloor.org, Fengguang Wu fengguang...@intel.com, Naoya Horiguchi

Re: [PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call

2013-09-02 Thread Kumar Gaurav
I tried applying this patch on linux-next and it applies well. i used git apply --apply On Saturday 31 August 2013 11:02 PM, Kumar Gaurav wrote: This patch redefine function xhci_readl. xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of keeping it in the

[PATCH 0/2] audit: fix soft lockups and udevd errors when audit is overrun

2013-09-02 Thread Chuck Anderson
The two patches that follow in separate emails resolve soft lockups and udevd reported errors that prevented a large memory 3.8 system from booting. The patches are based on 3.11-rc7. I believe it is the same issue recently posted as: [RFC] audit: avoid soft lockup in audit_log_start()

[PATCH 1/2] audit: fix soft lockups due to loop in audit_log_start() wh,en audit_backlog_limit exceeded

2013-09-02 Thread Chuck Anderson
audit: fix softlockups due to loop in audit_log_start() when audit_backlog_limit exceeded author: Dan Duval dan.du...@oracle.com This patch fixes a bug in kernel/audit that can cause many soft lockups and prevent the boot of a large memory 3.8 system: BUG: soft lockup - CPU#66 stuck for

[PATCH v8 02/10] tracing: Add basic event trigger framework

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

[PATCH v8 03/10] tracing: Add 'traceon' and 'traceoff' event trigger commands

2013-09-02 Thread Tom Zanussi
Add 'traceon' and 'traceoff' event_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

Re: [PATCH v2 0/8] Drop support for Renesas H8/300 architecture

2013-09-02 Thread Chen Gang F T
On 09/03/2013 11:26 AM, Guenter Roeck wrote: On 09/02/2013 07:53 PM, Chen Gang F T wrote: Hello Guenter Roeck: I don't care about whether I am in cc mailing list, but at least, please help confirm 2 things: Is what I had done for h8300 just making wastes and noisy in kernel and

[PATCH v8 09/10] tracing: Add documentation for trace event triggers

2013-09-02 Thread Tom Zanussi
Provide a basic overview of trace event triggers and document the available trigger commands, along with a few simple examples. Signed-off-by: Tom Zanussi tom.zanu...@linux.intel.com --- Documentation/trace/events.txt | 207 + 1 file changed, 207

[PATCH v8 06/10] tracing: Add 'enable_event' and 'disable_event' event trigger commands

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

[PATCH v8 05/10] tracing: Add 'stacktrace' event trigger command

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

[PATCH v8 04/10] tracing: Add 'snapshot' event trigger command

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

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

2013-09-02 Thread Tom Zanussi
Hi, This is v8 of the trace event triggers patchset. This version addresses the comments and feedback from Steve Rostedt on v7. v8: - changed rcu_dereference_raw() to rcu_dereference() and moved synchronize_sched() out from under the syscall_trace_lock mutex. - got rid of the various void

[PATCH 2/2] audit: Two efficiency fixes for audit mechanism

2013-09-02 Thread Chuck Anderson
audit: Two efficiency fixes for audit mechanism author: Dan Duval dan.du...@oracle.com These and similar errors were seen on a patched 3.8 kernel when the audit subsystem was overrun during boot: udevd[876]: worker [887] unexpectedly returned with status 0x0100 udevd[876]: worker [887]

[PATCH v8 10/10] tracing: Make register/unregister_ftrace_command __init

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

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

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

[PATCH v8 07/10] tracing: Add and use generic set_trigger_filter() implementation

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

[PATCH v8 08/10] tracing: Update event filters for multibuffer

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

RE: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-02 Thread Xiubo Li-B47053
Subject: Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support On Mon, Sep 02, 2013 at 03:33:37AM +, Xiubo Li-B47053 wrote: +static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device +*pwm) { + struct fsl_pwm_chip *fpc; + struct fsl_pwm_data

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Zhi Yong Wu
On Mon, Sep 2, 2013 at 4:57 PM, Michel Lespinasse wal...@google.com wrote: On Sun, Sep 1, 2013 at 11:30 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: In Tue, Aug 27, 2013 at 6:01 AM, Michel Lespinasse wal...@google.com wrote: On Fri, Aug 23, 2013 at 7:45 AM, zwu.ker...@gmail.com wrote: From:

Re: [PATCH 0/2] audit: fix soft lockups and udevd errors when audit is overrun

2013-09-02 Thread Luiz Capitulino
On Mon, 02 Sep 2013 20:45:14 -0700 Chuck Anderson chuck.ander...@oracle.com wrote: The two patches that follow in separate emails resolve soft lockups and udevd reported errors that prevented a large memory 3.8 system from booting. The patches are based on 3.11-rc7. I believe it is the

[PATCH 0/2] audit: fix soft lockup

2013-09-02 Thread Luiz Capitulino
The second patch fixes a softlockup which is fully described and now is 100% reproducible with simple steps. The first patch fixes a bug I found while working on the second patch. Chuck Anderson just posted a different solution for the same problem. I was about to post this solution when he

[PATCH 2/2] audit: kaudit_send_skb(): make non-blocking call to netlink_unicast()

2013-09-02 Thread Luiz Capitulino
From: Luiz capitulino lcapitul...@redhat.com Try this: 1. Download the readahead-collector program and build it 2. Run it with: # readahead-collector -f 3. From another terminal do: # pkill -SIGSTOP readahead-collector 4. Keep using the system, run top -d1, vmstat -S 1, etc 5.

[PATCH 1/2] audit: flush_hold_queue(): don't drop queued SKBs

2013-09-02 Thread Luiz Capitulino
From: Luiz capitulino lcapitul...@redhat.com flush_hold_queue() first dequeues an SKB and then checks if auditd exists. If auditd doesn't exist, the SKB is silently dropped. Avoid this by not dequeing an SKB when we detected that auditd disappeared. Signed-off-by: Luiz capitulino

Re: [PATCH v4 2/6] dma: edma: Write out and handle MAX_NR_SG at a given time

2013-09-02 Thread Vinod Koul
On Thu, Aug 29, 2013 at 06:05:41PM -0500, Joel Fernandes wrote: Process SG-elements in batches of MAX_NR_SG if they are greater than MAX_NR_SG. Due to this, at any given time only those many slots will be used in the given channel no matter how long the scatter list is. We keep track of how

Re: [RFC PATCH v3 04/35] mm: Initialize node memory regions during boot

2013-09-02 Thread Yasuaki Ishimatsu
(2013/09/03 2:43), Srivatsa S. Bhat wrote: On 09/02/2013 11:50 AM, Yasuaki Ishimatsu wrote: (2013/08/30 22:15), Srivatsa S. Bhat wrote: Initialize the node's memory-regions structures with the information about the region-boundaries, at boot time. Based-on-patch-by: Ankita Garg

Re: [PATCH 1/8] partitions/efi: use lba-aware partition records

2013-09-02 Thread Davidlohr Bueso
On Mon, 2013-09-02 at 12:10 +0200, Karel Zak wrote: On Mon, Aug 05, 2013 at 10:21:09PM -0700, Davidlohr Bueso wrote: +typedef struct _gpt_record { +u8 boot_indicator; /* unused by EFI, set to 0x80 for bootable */ +u8 start_head; /* unused by EFI, pt

[PATCH] kernel/delayacct.c: remove redundancy checking in __delayacct_add_tsk()

2013-09-02 Thread Chen Gang
The wrapper function delayacct_add_tsk() already checked 'tsk-delays', and __delayacct_add_tsk() has no another direct callers, so can remove the redundancy checking code. And the label 'done' is also useless, so remove it, too. Signed-off-by: Chen Gang gang.c...@asianux.com ---

[RFC/PATCH] ftrace: add set_graph_notrace filter

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The set_graph_notrace filter is analogous to set_ftrace_notrace and can be used for eliminating uninteresting part of function graph trace output. It also works with set_graph_function nicely. # cd /sys/kernel/debug/tracing/ # echo do_page_fault

Re: [PATCH] kernel/taskstats.c: add nla_nest_cancel() for failure processing between nla_nest_start() and nla_nest_end()

2013-09-02 Thread Chen Gang
Hello maintainers: Please help check this patch, when you have time. Thanks. On 08/20/2013 10:44 AM, Chen Gang wrote: When failure occurs between nla_nest_start() and nla_nest_end(), need call nla_nest_cancel() to clean up related things. Signed-off-by: Chen Gang gang.c...@asianux.com ---

Re: [PATCH] kernel/futex.c: notice the return value after rt_mutex_finish_proxy_lock() fails

2013-09-02 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. Thanks. On 08/21/2013 11:48 AM, Chen Gang wrote: On 08/21/2013 12:19 AM, Darren Hart wrote: HopingOn Tue, 2013-08-20 at 11:07 +0800, Chen Gang wrote: Hi Chen, rt_mutex_finish_proxy_lock() can return failure code (e.g.

[PATCH] kernel/sysctl.c: check return value after call proc_put_char() in __do_proc_doulongvec_minmax()

2013-09-02 Thread Chen Gang
Need check the return value of proc_put_char(), just like another have done in __do_proc_doulongvec_minmax(). Signed-off-by: Chen Gang gang.c...@asianux.com --- kernel/sysctl.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-09-02 Thread Arkadiusz Miskiewicz
On Sunday 18 of August 2013, Margarita Manterola wrote: Hi, On Sat, Aug 17, 2013 at 5:28 PM, Pavel Machek pa...@ucw.cz wrote: diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 4bf0fc0..2ba7f4e 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c @@ -149,7 +149,8 @@

Re: [PATCH] kernel/groups.c: consider about NULL for 'group_info' in all related extern functions

2013-09-02 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. If need a related test, please let me know, I should try (better to provide some suggestions for test). Thanks. On 08/20/2013 11:03 AM, Chen Gang wrote: If this patch is correct, also need modify the man page for the

RE: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM

2013-09-02 Thread Xiubo Li-B47053
Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM On 08/30/2013 01:19 PM, Kumar Gala wrote: Should have at least something w/regards to a commit message. On Aug 20, 2013, at 10:07 PM, Xiubo Li wrote: Signed-off-by: Xiubo Li li.xi...@freescale.com

Re: [PATCH] mm/shmem.c: check the return value of mpol_to_str()

2013-09-02 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. If it need additional test, please let me know, I should try (better to provide some suggestions for test). Thanks. On 08/22/2013 09:04 AM, Chen Gang wrote: mpol_to_str() may fail, and not fill the buffer (e.g. -EINVAL), so

Re: [PATCH v2 1/3] mm/vmalloc: don't set area-caller twice

2013-09-02 Thread Zhang Yanfei
On 09/03/2013 11:00 AM, Wanpeng Li wrote: Changelog: * rebase against mmotm tree The caller address has already been set in set_vmalloc_vm(), there's no need to set it again in __vmalloc_area_node. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com Reviewed-by: Zhang Yanfei

Re: [PATCH v2 2/3] mm/vmalloc: don't warning vmalloc allocation failure twice

2013-09-02 Thread Zhang Yanfei
On 09/03/2013 11:00 AM, Wanpeng Li wrote: Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if __vmalloc_area_node allocation failure. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com OK, I missed the warning in __vmalloc_area_node(), so you are right. You can just

Re: [PATCH RESEND 2/3] x86, mm: Update min_pfn_mapped in add_pfn_range_mapped().

2013-09-02 Thread Tang Chen
On 09/03/2013 10:48 AM, Yinghai Lu wrote: On Mon, Sep 2, 2013 at 6:06 PM, Tang Chentangc...@cn.fujitsu.com wrote: Hi Yinghai, On 09/03/2013 02:41 AM, Yinghai Lu wrote: How about change the for (from low to high) in init_range_memory_mapping() to for_rev(from high to low) ? Then we can

Re: [PATCH v2 3/3] mm/vmalloc: move VM_UNINITIALIZED just before show_numa_info

2013-09-02 Thread Zhang Yanfei
On 09/03/2013 11:00 AM, Wanpeng Li wrote: The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch move the

Re: [PATCH] kernel/rcutree.c: deem to be lazy if there are no callbacks.

2013-09-02 Thread Chen Gang
Hello Maintainers: Is this issue finished ? If need additional help from me (e.g. some test things, or others, if you have no time, can let me try), please let me know, I should try. Thanks. On 08/26/2013 10:21 AM, Chen Gang F T wrote: Firstly, thank you for your reply with these details.

Re: [GIT PULL rcu/next] RCU commits for 3.12

2013-09-02 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, The major changes for this series are: 1.Update RCU documentation. These were posted to LKML at https://lkml.org/lkml/2013/8/19/611. 2.Miscellaneous fixes. These were posted to LKML at

[PATCH 08/13] tracing/kprobes: Move common functions to trace_probe.h

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The __get_data_size() and store_trace_args() will be used by uprobes too. Move them to a common location. Acked-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Cc: Oleg Nesterov o...@redhat.com Cc:

<    5   6   7   8   9   10   11   >