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 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-kernel=137799048226191=2 Is there a reason

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

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

[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

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

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

Re: Linux 3.11

2013-09-02 Thread Linus Torvalds
On Mon, Sep 2, 2013 at 3:30 PM, Nicholas A. Bellinger 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-kernel=137799048226191=2 > > Is there a reason why these did not get PULLed..?

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

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

[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

[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 --- > Oddly enough, the opposite is true as well. 3.1,

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

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

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 wrote: > On Mon, Sep 2, 2013 at 11:01 PM, richard -rw- weinberger > wrote: >> On Mon, Sep 2, 2013 at 8:47 PM, Tom Gundersen wrote: >>> There is plenty of consumer hardware (e.g., mac books) that does not use >>> AT keyboards or PS/2 mice. It

[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

latest perf code fails to parse existing data file

2013-09-02 Thread David Ahern
Arnaldo/Adrian: Latest acme core tree fails to parse an existing data file: $ perf trace -i perf.data 0x16b8 [0x40]: failed to process type: 1 Failed to process events, error -22 git bisect traced it to: $ git bisect bad 75562573bab35b129cfd342fc2bcf89da84a6644 is the first bad commit commit

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

2013-09-02 Thread David Howells
Would it be possible to use __thread annotations for per-CPU variables, I wonder? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

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

2013-09-02 Thread Geert Uytterhoeven
On Mon, Sep 2, 2013 at 11:01 PM, richard -rw- weinberger wrote: > On Mon, Sep 2, 2013 at 8:47 PM, Tom Gundersen wrote: >> There is plenty of consumer hardware (e.g., mac books) that does not use >> AT keyboards or PS/2 mice. It therefore makes sense for distro kernels >> to build the related

[GIT PULL] regulator updates for v3.12

2013-09-02 Thread Mark Brown
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/broonie/regulator.git tags/regulator-v3.12 for you to fetch changes up to

[GIT PULL] SPI updates for v3.122

2013-09-02 Thread Mark Brown
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/broonie/spi.git tags/spi-v3.12 for you to fetch changes up to

[GIT PULL] regmap updates for v3.12

2013-09-02 Thread Mark Brown
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/broonie/regmap.git tags/regmap-v3.12 for you to fetch changes up to

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

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 21:50 +0100, David Howells wrote: > Josh Triplett 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 rules that

Linux 3.11

2013-09-02 Thread Linus Torvalds
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 if you hadn't enabled CONFIG_PM_RUNTIME, so we'll just

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

2013-09-02 Thread richard -rw- weinberger
On Mon, Sep 2, 2013 at 8:47 PM, Tom Gundersen wrote: > There is plenty of consumer hardware (e.g., mac books) that does not use > AT keyboards or PS/2 mice. It therefore makes sense for distro kernels > to build the related drivers as modules to avoid loading them on hardware > that does not need

[PATCH 04/10] perf tools: Add support for PERF_COUNT_SW_DUMMY

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add support for the new dummy software event PERF_COUNT_SW_DUMMY. Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa Tested-by: Jiri Olsa Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc:

[PATCH 03/10] perf: Add a dummy software event to keep tracking

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter When an event is disabled the "tracking" events selected by the 'mmap', 'comm' and 'task' bits of struct perf_event_attr, are also disabled. However, the information those events provide is necessary to resolve symbols for when the main event is re-enabled. The "tracking"

[PATCH 06/10] perf list: Skip unsupported events

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Some hardware events might not be supported on a system. Listing those events seems meaningless and confusing to users. Let's skip them. Before: $ perf list cache | wc -l 33 After: $ perf list cache | wc -l 27 Signed-off-by: Namhyung Kim Cc: David Ahern Cc: Ingo

Re: [PATCH] checkpatch: Make extern in .h prototypes quieter.

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 22:51 +0200, Geert Uytterhoeven wrote: > I know it's not the subject of this patch, but shouldn't "extern prototypes" > be "extern keywords"? No, extern is required for variables. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[GIT PULL 00/10] perf/core improvements and fixes

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818: perf: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node() (2013-09-02 08:42:49 +0200) are available in the git repository at:

[PATCH 08/10] perf trace: Add beautifier for lseek's whence arg

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo [root@zoo ~]# perf trace -a -e lseek | head -1 546.922 ( 0.004 ms): 1184 lseek(fd: 26, offset: 0, whence: CUR) = 2 [root@zoo ~]# Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter

[PATCH 01/10] perf trace: Allow syscall arg formatters to mask args

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The futex syscall ignores some arguments according to the 'operation' arg, so allow arg formatters to mask those. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane

[PATCH 05/10] perf tests: Add 'keep tracking' test

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add a test for the newly added PERF_COUNT_SW_DUMMY event. The test checks that tracking events continue when an event is disabled but a dummy software event is not disabled. Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa Tested-by: Jiri Olsa Cc: David Ahern Cc:

[PATCH 10/10] perf trace: Tell arg formatters the arg index

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo ... so that it can mask args relative to its position, like the 'mode' arg that may or not be printed according to the 'flags' (O_CREAT) value. [root@zoo ~]# perf trace -a -e openat,open_by_handle_at | head -1 469.754 ( 0.034 ms): 1183 openat(dfd: -100,

[PATCH 02/10] perf trace: Add beautifier for futex 'operation' parm

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That uses the arg mask mechanism just introduced to suppress ignored arguments according to the futex operation. Based on an initial patch from David Ahern that showed the need for some way to allow args to tell how many further args should be shown.

[PATCH 09/10] perf trace: Add beautifier for open's flags arg

2013-09-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Suppressing the mode when O_CREAT not present, needs improvements on the arg masking mechanism to be reused in openat, open_by_handle_at, mq_open: [root@zoo ~]# perf trace -a -e open | grep -v 'flags: RDONLY' | head -5 147.541 ( 0.028 ms): 1188 open(filename:

[PATCH 07/10] perf tools: Fix symbol offset computation for some dsos

2013-09-02 Thread Arnaldo Carvalho de Melo
From: David Ahern For some dsos (e.g., libc, libpthread, kernel modules) the symbol offset is huge. e.g., qemu-kvm 17238/17242 [007] 762235.640311: 816288a1 __schedule+0x451 ([kernel.kallsyms]) 81629609 schedule+0x29 ([kernel.kallsyms]) a00a6ded

Re: [PATCH] checkpatch: Make extern in .h prototypes quieter.

2013-09-02 Thread Geert Uytterhoeven
On Mon, Sep 2, 2013 at 6:21 PM, Joe Perches wrote: > The use of extern in .h files is a bit contentious. > > Make it emitted only when --strict is used on the > command-line. IIRC, the original intention was to always use "extern" in external function or data declarations, and then complain if

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

2013-09-02 Thread David Howells
Josh Triplett 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 rules that aren't documented in CodingStyle. Except that it becomes a mandate when

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

2013-09-02 Thread Dan Carpenter
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 another patch. > + This is a run on sentence. Also I don't

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

2013-09-02 Thread richard -rw- weinberger
Hi! Today one of my computers crashed with the following panic. The machine is heavily using reflinks. Looks like it managed to hit a CATCH_BH_JBD_RACES error check. <3>[37628.934461] (reflink,512,0):ocfs2_reflink_ioctl:4459 ERROR: status = -17 <3>[37628.943160]

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

2013-09-02 Thread Guenter Roeck
On 09/02/2013 12:50 PM, Josh Triplett wrote: On Mon, Sep 02, 2013 at 11:59:27AM -0700, Joe Perches wrote: On Mon, 2013-09-02 at 15:39 -0300, Mauro Carvalho Chehab wrote: Em Mon, 2 Sep 2013 11:19:01 -0700 Josh Triplett escreveu: [] +# This file does not define the kernel coding style;

[GIT PULL] clockevents/clocksource : armada-370-xp fixes, sh_cmt, em_sti timer-sp and nomadik changes

2013-09-02 Thread Daniel Lezcano
Hi Thomas, this is the last minute git pull request, hoping it is not too late. I had these patches in my tree since a while but I was waiting for the first pull request to be consumed before sending this one out (vacations arrived in the meantime). The branch contains some fixes for the

CONGRAT!!! YOUR E-MAIL ADDRESS WON 2 CRORE 60LAKH IN ICC CRICKET ANNIVERSARY 2013 PROMO.FOR CLAIMS SEND YOUR FULL NAME,FULL ADDS ,MOBILE NO, COUNTRY & PIN NO ICC147 TO EMAIL: iccd...@london.com

2013-09-02 Thread ICC CRICKET ANNIVERSARY
-- Down Syndrome Group of NWNJ www.dsgnwnj.org Check us out on Facebook too! www.facebook.com/dsgnwnj -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

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

2013-09-02 Thread Josh Triplett
On Mon, Sep 02, 2013 at 12:40:47PM -0700, Joe Perches wrote: > Add a message describing the lack of value in using > --file to generate patches. > > Exclude files in staging from this message. > > A similar message was removed by commit cf655043d4b > ("update checkpatch.pl to version 0.15") > >

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

2013-09-02 Thread Mauro Carvalho Chehab
Em Mon, 02 Sep 2013 12:40:47 -0700 Joe Perches escreveu: > Add a message describing the lack of value in using > --file to generate patches. > > Exclude files in staging from this message. > > A similar message was removed by commit cf655043d4b > ("update checkpatch.pl to version 0.15") > >

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

2013-09-02 Thread Josh Triplett
On Mon, Sep 02, 2013 at 11:59:27AM -0700, Joe Perches wrote: > On Mon, 2013-09-02 at 15:39 -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 2 Sep 2013 11:19:01 -0700 > > Josh Triplett escreveu: > [] > > > +# This file does not define the kernel coding style; > > > Documentation/CodingStyle > > >

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

2013-09-02 Thread Mauro Carvalho Chehab
Em Mon, 02 Sep 2013 11:59:27 -0700 Joe Perches escreveu: > On Mon, 2013-09-02 at 15:39 -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 2 Sep 2013 11:19:01 -0700 > > Josh Triplett escreveu: > [] > > > +# This file does not define the kernel coding style; > > > Documentation/CodingStyle > > > +#

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

2013-09-02 Thread Joe Perches
Add a message describing the lack of value in using --file to generate patches. Exclude files in staging from this message. A similar message was removed by commit cf655043d4b ("update checkpatch.pl to version 0.15") Signed-off-by: Joe Perches --- Maybe this sort of wordsmithing is valuable.

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

2013-09-02 Thread Josh Triplett
On Mon, Sep 02, 2013 at 03:39:45PM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 2 Sep 2013 11:19:01 -0700 > Josh Triplett escreveu: > > > Patches to checkpatch that add new style rules should also change > > Documentation/CodingStyle to document those new style rules; add a > > comment to that

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

2013-09-02 Thread Waiman Long
On 08/30/2013 10:42 PM, Al Viro wrote: On Sat, Aug 31, 2013 at 03:35:16AM +0100, Al Viro wrote: Aha... OK, I see what's going on. We end up with shm_mnt *not* marked as long-living vfsmount, even though it lives forever. See if the following helps; if it does (and I very much expect it to),

Re: [PATCH v2 0/9] Introduce hwmon_device_register_with_groups and

2013-09-02 Thread Guenter Roeck
On 08/31/2013 07:48 PM, Guenter Roeck wrote: This patch series introduces new hwmon API functions hwmon_device_register_with_groups() and devm_hwmon_device_register_with_groups(). hwmon_device_register_with_groups() lets callers register hwmon devices as well as associated sysfs attributes

Hello

2013-09-02 Thread Dave Dawes
Hello, Is this an active email address? If yes,please send a reply..Checking for confirmation. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

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

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 15:39 -0300, Mauro Carvalho Chehab wrote: > Em Mon, 2 Sep 2013 11:19:01 -0700 > Josh Triplett escreveu: [] > > +# This file does not define the kernel coding style; > > Documentation/CodingStyle > > +# does. If you add a new style test to this file, add the corresponding

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

2013-09-02 Thread Tom Gundersen
There is plenty of consumer hardware (e.g., mac books) that does not use AT keyboards or PS/2 mice. It therefore makes sense for distro kernels to build the related drivers as modules to avoid loading them on hardware that does not need them. As such, these options should no longer be protected by

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 3:30 AM, Tang Chen wrote: > In current kernel, we update min_pfn_mapped and max_pfn_mapped like this: > > init_mem_mapping() > { > while ( a loop iterates all memory ranges ) { > init_range_memory_mapping(); >

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

2013-09-02 Thread Mauro Carvalho Chehab
Em Mon, 2 Sep 2013 11:19:01 -0700 Josh Triplett escreveu: > Patches to checkpatch that add new style rules should also change > Documentation/CodingStyle to document those new style rules; add a > comment to that effect to the top of scripts/checkpatch.pl. Well, you forgot to c/c LKML on this

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

2013-09-02 Thread Naoya Horiguchi
On Mon, Sep 02, 2013 at 08:33:42PM +0800, Wanpeng Li wrote: > 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: [PATCH 3/4] mm/hwpoison: fix false report 2nd try page recovery

2013-09-02 Thread Naoya Horiguchi
On Mon, Sep 02, 2013 at 08:33:43PM +0800, Wanpeng Li wrote: > 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. >

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

2013-09-02 Thread Naoya Horiguchi
On Mon, Sep 02, 2013 at 08:33:44PM +0800, Wanpeng Li wrote: > 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

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

2013-09-02 Thread Naoya Horiguchi
On Mon, Sep 02, 2013 at 08:33:41PM +0800, Wanpeng Li wrote: > 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

[PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Josh Triplett
Patches to checkpatch that add new style rules should also change Documentation/CodingStyle to document those new style rules; add a comment to that effect to the top of scripts/checkpatch.pl. Signed-off-by: Josh Triplett --- scripts/checkpatch.pl | 4 1 file changed, 4 insertions(+) diff

Re: [Ksummit-2013-discuss] Making changes to the Coding Style

2013-09-02 Thread Josh Triplett
On Mon, 2013-09-02 at 15:31 +0100, David Howells wrote: > I have some questions about the process of changing the coding style: > > (1) Should there be a procedure for changing the kernel coding style so that > people don't find out from checkpatch that what was fine yesterday now >

Re: linux-next: manual merge of the arm-soc tree with the pm tree

2013-09-02 Thread Lorenzo Pieralisi
On Thu, Aug 29, 2013 at 06:57:15PM +0100, Olof Johansson wrote: > On Thu, Aug 29, 2013 at 06:04:25PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > Today's linux-next merge of the arm-soc tree got a conflict in > > drivers/cpuidle/Makefile between commits b98e01ad4ed9 ("cpuidle: Add > >

Re: [PATCH] tracing/events: Add bounce tracing to swiotbl-xen

2013-09-02 Thread Zoltan Kiss
On 23/08/13 13:55, Konrad Rzeszutek Wilk wrote: On Thu, Aug 22, 2013 at 10:47:28PM +0100, Zoltan Kiss wrote: Ftrace is currently not able to detect when SWIOTLB has to do double buffering under Xen. You can only see it indirectly in function_graph, when xen_swiotlb_map_page() doesn't stop after

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

2013-09-02 Thread Srivatsa S. Bhat
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 >> Signed-off-by: Srivatsa S. Bhat >> ---

Re: [alsa-devel] [PATCH] ASoC: codecs: da9055: Update driver name to fix breakage due to pmic driver with same name

2013-09-02 Thread Mark Brown
On Mon, Sep 02, 2013 at 03:38:18PM +, Opensource [Adam Thomson] wrote: > On Mon, Sep 02, 2013 at 11:39, Mark Brown wrote: > > Please fix your mailer to wrap within 80 columns, it makes your mails > > very hard to read if you don't do this. > Yeah, sorry for that. Having to use Outlook and of

Re: [PATCH] Documentation/trace: Correcting and extending tracepoint documentation

2013-09-02 Thread Steven Rostedt
On Mon, 2 Sep 2013 18:02:47 +0100 Zoltan Kiss wrote: > > Why? (Both why do you need to #include a header outside a multiple > > inclusion guard, and why is the additional header needed at all in > > _every_ subsystem trace header?) > I see only one inclusion guard here, the one above.

Re: [PATCH] Remove support for score architecture

2013-09-02 Thread Guenter Roeck
On 09/02/2013 08:18 AM, Lennox Wu wrote: Before we start the development of the S+core, Sunplus had licensed ARM and MIPS. We develop S+core for other reason such as the price. Some products on the web of Sunplus adopt S+core , for example the SPV7050.(http://w3.sunplus.com/products/spv7050.asp)

Re: perf_event: rdpmc self-monitoring overhead issue

2013-09-02 Thread Andi Kleen
> I assume he means MAP_POPULATE Yes. > > which does improve things, from ~3000 cycles to ~219 cycles but that's > still more overhead than the ~130 or so you get by manually touching the > page first. That seems odd. It should be the same. Can you do a trace-cmd function trace and compare

Re: Fix style in s3c-hsotg.c

2013-09-02 Thread Sergei Shtylyov
Hello. On 09/02/2013 05:58 PM, Pavel Machek wrote: checkpatch.pl has some valid complaints about style in s3c-hsotg.c : macro with if should be really enclosed in do {} while, and puts is going to be slightly faster. Here's suggested patch. I don't have the hardware, so it is completely

Re: [PATCH] rwsem: add rwsem_is_contended

2013-09-02 Thread Peter Hurley
On 09/01/2013 04:32 AM, Michel Lespinasse wrote: Hi Josef, On Fri, Aug 30, 2013 at 7:14 AM, Josef Bacik wrote: Btrfs uses an rwsem to control access to its extent tree. Threads will hold a read lock on this rwsem while they scan the extent tree, and if need_resched() they will drop the lock

Re: [PATCH v2 3/3] Send cgroup_path in SCM_CGROUP

2013-09-02 Thread Kay Sievers
On Thu, Aug 29, 2013 at 4:13 PM, Jan Kaluza wrote: > Add new SCM type called SCM_CGROUP to send "cgroup_path" in SCM. > This is useful for journald (systemd logging daemon) to get additional context > with each log line received using UNIX socket. > > Signed-off-by: Jan Kaluza In many cases

Re: [PATCH] dmaengine: dma_slave_caps: remove sg entries

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 07:10:52PM +0200, Lars-Peter Clausen wrote: > On 09/02/2013 06:12 PM, Vinod Koul wrote: > > On Mon, Sep 02, 2013 at 04:52:06PM +0200, Lars-Peter Clausen wrote: > >> On 09/02/2013 02:21 PM, Vinod Koul wrote: > >>> As pointed by Russell in [1], the sg properties are already

Re: [PATCH] dmaengine: dma_slave_caps: remove sg entries

2013-09-02 Thread Lars-Peter Clausen
On 09/02/2013 06:12 PM, Vinod Koul wrote: > On Mon, Sep 02, 2013 at 04:52:06PM +0200, Lars-Peter Clausen wrote: >> On 09/02/2013 02:21 PM, Vinod Koul wrote: >>> As pointed by Russell in [1], the sg properties are already availble in >>> struct device, >>> so no need to duplicate here. >>> >>>

Re: [PATCH] Documentation/trace: Correcting and extending tracepoint documentation

2013-09-02 Thread Zoltan Kiss
Hi, I'm not very familiar with the tracing framework, but I will try to comment on your questions. On 25/08/13 09:59, Rob Landley wrote: On 08/22/2013 04:49:31 PM, Zoltan Kiss wrote: +#if !defined(_TRACE_SUBSYS_H) || defined(TRACE_HEADER_MULTI_READ) +#define _TRACE_SUBSYS_H But this makes

Re: [PATCH] dmaengine: dma_slave_caps: remove sg entries

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 04:52:06PM +0200, Lars-Peter Clausen wrote: > On 09/02/2013 02:21 PM, Vinod Koul wrote: > > As pointed by Russell in [1], the sg properties are already availble in > > struct device, > > so no need to duplicate here. > > > > [1]:

[PATCH 2/2] s390: provide hardware randomness from zcrypt card to /dev/random

2013-09-02 Thread Torsten Duwe
Running completely virtualised, system Z severely lacks good true random sources. Gathering entropy in a virtual environment is difficult. To compensate, there is specialised crypto hardware which includes a source for hardware randomness; the zcrypt driver is able to access this random source.

[PATCH 1/2] add direct interface for true hardware RNGs

2013-09-02 Thread Torsten Duwe
This patch adds an interface to the random pool for feeding entropy in-kernel. It might be dangerous when some driver writers think they have "good" randomness when really they haven't. Signed-off-by: Torsten Duwe --- include/linux/hw_random.h |2 ++ drivers/char/random.c | 20

[PATCH 0/2] s390: provide hardware randomness from zcrypt card to /dev/random

2013-09-02 Thread Torsten Duwe
Hi Ted! A while ago a colleague asked me if it was possible to speed up system startup on IBM system Z that was slow because of ASLR and the entropy pool was empty. They had recently intoduced new crypto cards that featured good hardware random generators. My resulting code has meanwhile taken

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

2013-09-02 Thread Linus Torvalds
On Mon, Sep 2, 2013 at 12:05 AM, Ingo Molnar wrote: > > The Haswell perf code isn't very widely tested yet as it took quite some > time to get it ready for upstream and thus got merged late, but on its > face this looks like a pretty good profile. Yes. And everything else looks fine too.

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

2013-09-02 Thread Naoya Horiguchi
Kirill, thank you for the comment. On Mon, Sep 02, 2013 at 01:53:27PM +0300, Kirill A. Shutemov wrote: > Naoya Horiguchi wrote: > > Thp related code also uses per process mm->page_table_lock now. So making > > it fine-grained can provide better performance. > > > > This patch makes thp support

Re: [RFC PATCH 02/14] drivers: thermal: introduce device tree parser

2013-09-02 Thread Eduardo Valentin
On 29-08-2013 19:19, Eduardo Valentin wrote: > Mark, Pawel and Stephen, > > > On 27-08-2013 14:17, Eduardo Valentin wrote: >> On 27-08-2013 12:23, Mark Rutland wrote: >>> On Tue, Aug 27, 2013 at 02:44:40PM +0100, Eduardo Valentin wrote: Hello Mark, > > > > I believe now we need to align

Re: ipc-msg broken again on 3.11-rc7?

2013-09-02 Thread Manfred Spraul
Hi, [forgot to cc everyone, thus I'll summarize some mails...] On 09/02/2013 06:58 AM, Vineet Gupta wrote: On 08/31/2013 11:20 PM, Linus Torvalds wrote: Vineet, actual patch for what Davidlohr suggests attached. Can you try it? Linus Apologies for late in getting back to this -

Re: [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-09-02 Thread Gleb Natapov
On Mon, Sep 02, 2013 at 05:58:41PM +0200, Paolo Bonzini wrote: > Il 02/09/2013 12:11, Gleb Natapov ha scritto: > >> > > >> > Got it, thanks for your explanation. > >> > > >> > BTW, if you and Paolo are busy on other things, i am happy to fix these > >> > issues. :) > > I am busy with reviews

Re: [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-09-02 Thread Gleb Natapov
On Mon, Sep 02, 2013 at 05:56:07PM +0200, Paolo Bonzini wrote: > Il 02/09/2013 12:07, Gleb Natapov ha scritto: > > On Mon, Sep 02, 2013 at 06:00:39PM +0800, Xiao Guangrong wrote: > >> On 09/02/2013 05:25 PM, Gleb Natapov wrote: > >>> On Mon, Sep 02, 2013 at 05:20:15PM +0800, Xiao Guangrong wrote:

Re: [PATCH 1/5] xhci: fix usb3 streams

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 13:25 +0200, Gerd Hoffmann wrote: > xhci maintains a radix tree for each stream endpoint because it must > be able to map a trb address to the stream ring. Each ring segment > must be added to the ring for this to work. Currently xhci sticks > only the first segment of each

[PATCH] checkpatch: Make extern in .h prototypes quieter.

2013-09-02 Thread Joe Perches
The use of extern in .h files is a bit contentious. Make it emitted only when --strict is used on the command-line. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index

Re: [PATCH v3 2/2] media: i2c: adv7343: add OF support

2013-09-02 Thread Mark Rutland
On Wed, Aug 28, 2013 at 03:43:04AM +0100, Prabhakar Lad wrote: > Hi Mark, > > On Tue, Aug 27, 2013 at 8:54 PM, Mark Rutland wrote: > > [fixing up devicetree list address] > > > Thanks! > > > On Mon, Aug 26, 2013 at 03:41:45AM +0100, Prabhakar Lad wrote: > >> Hi Sylwester, > >> > >> On Fri, Aug

Re: [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-09-02 Thread Gleb Natapov
On Mon, Sep 02, 2013 at 06:00:08PM +0200, Paolo Bonzini wrote: > Il 02/09/2013 11:25, Gleb Natapov ha scritto: > > On Mon, Sep 02, 2013 at 05:20:15PM +0800, Xiao Guangrong wrote: > >> On 08/30/2013 08:41 PM, Paolo Bonzini wrote: > >>> Page tables in a read-only memory slot will currently cause a

Re: [PATCHv6 1/2] ARM: sunxi: Initial support for Allwinner's Security ID fuses

2013-09-02 Thread Greg KH
On Mon, Sep 02, 2013 at 10:08:12AM +0200, Maxime Ripard wrote: > > + platform_set_drvdata(pdev, sid_data); > > + > > + sid_bin_attr.size = sid_data->keysize; /* fixme: this should be > > properly set by the sysfs bin attr groups later */ > > + if (device_create_bin_file(>dev, _bin_attr)) /*

Re: Making changes to the Coding Style

2013-09-02 Thread Joe Perches
(cc'ing lkml, Andrew Morton and Linus) Hi David. I'm making a few comments to your otherwise unedited original email sent to me and ksummit-2013-discuss below: On Mon, 2013-09-02 at 15:31 +0100, David Howells wrote: > I have some questions about the process of changing the coding style: > >

Re: 3.10.9: kmemleak disables all CPUs except CPU0

2013-09-02 Thread Catalin Marinas
On Mon, Sep 02, 2013 at 04:51:17PM +0100, Martin MOKREJŠ wrote: > Catalin Marinas wrote: > > On Mon, Sep 02, 2013 at 04:44:52PM +0100, Max Filippov wrote: > >> On Mon, Sep 2, 2013 at 7:31 PM, Catalin Marinas > >> wrote: > >>> On 31 August 2013 14:35, Martin MOKREJŠ wrote: > never

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

2013-09-02 Thread David Ahern
On 9/2/13 4:30 AM, Sedat Dilek wrote: On Sun, Sep 1, 2013 at 5:55 PM, Linus Torvalds wrote: On Sun, Sep 1, 2013 at 8:45 AM, Sedat Dilek wrote: Samples: 160K of event 'cycles:pp', Event count (approx.): 77003901089 + 12,46% t_lockref_from- [kernel.kallsyms] [k] irq_return + 4,86%

Re: [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-09-02 Thread Paolo Bonzini
Il 02/09/2013 11:25, Gleb Natapov ha scritto: > On Mon, Sep 02, 2013 at 05:20:15PM +0800, Xiao Guangrong wrote: >> On 08/30/2013 08:41 PM, Paolo Bonzini wrote: >>> Page tables in a read-only memory slot will currently cause a triple >>> fault because the page walker uses gfn_to_hva and it fails on

Re: [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-09-02 Thread Paolo Bonzini
Il 02/09/2013 12:11, Gleb Natapov ha scritto: >> > >> > Got it, thanks for your explanation. >> > >> > BTW, if you and Paolo are busy on other things, i am happy to fix these >> > issues. :) > I am busy with reviews mostly :). If you are not to busy with lockless > write protection then fine

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

2013-09-02 Thread Mark Rutland
Hi, On Fri, Aug 30, 2013 at 12:26:19PM +0100, hongbo.zh...@freescale.com wrote: > From: Hongbo Zhang > > Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch adds > the device tree nodes for them. > > Signed-off-by: Hongbo Zhang > --- >

Re: [PATCH] Remove support for score architecture

2013-09-02 Thread Al Viro
On Mon, Sep 02, 2013 at 11:18:17PM +0800, Lennox Wu wrote: > Before we start the development of the S+core, Sunplus had licensed > ARM and MIPS. We develop S+core for other reason such as the price. > Some products on the web of Sunplus adopt S+core , for example > the

<    1   2   3   4   5   6   7   8   9   10   >