[PATCH] uio/aec: specify correct license in MODULE_LICENSE

2013-04-25 Thread Uwe Kleine-König
The file header declares the code to be covered by GPL v2 only, so use explicit v2 for MODULE_LICENSE, too. Signed-off-by: Uwe Kleine-König --- drivers/uio/uio_aec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_aec.c b/drivers/uio/uio_aec.c index

Re: [PATCH -v6 2/5] Migrate shutdown/reboot to boot cpu.

2013-04-25 Thread Ingo Molnar
* Andrew Morton wrote: > On Thu, 25 Apr 2013 08:57:04 +0200 Ingo Molnar wrote: > > > > PF_THREAD_BOUND was removed/replaced in linux-next's a9ab775bc > > > ("workqueue: directly restore CPU affinity of workers from CPU_ONLINE") > > > > I don't see PF_THREAD_BOUND being removed by commit

Re: [PATCH -v6 2/5] Migrate shutdown/reboot to boot cpu.

2013-04-25 Thread Andrew Morton
On Thu, 25 Apr 2013 08:57:04 +0200 Ingo Molnar wrote: > > PF_THREAD_BOUND was removed/replaced in linux-next's a9ab775bc > > ("workqueue: directly restore CPU affinity of workers from CPU_ONLINE") > > I don't see PF_THREAD_BOUND being removed by commit a9ab775bc. Did you > mean some other

Re: "attempt to move .org backwards" still show up

2013-04-25 Thread Chen Gang
On 2013年04月25日 13:36, Chen Gang wrote: > On 2013年04月25日 12:05, Mike Qiu wrote: >>> I will try, and plan to get a result within this week (2013-04-28) >>> >>> Thanks. >> Hi >> This has block my work now >> So I hope you can take a look ASAP >> Thanks >> :) > > The root cause is the room

Re: [PATCH] x86, efi: Fix a build warning

2013-04-25 Thread Matt Fleming
On 25/04/13 07:55, Ingo Molnar wrote: > It's a basic cleanliness and robustness issue: we generally avoid type > casts in the kernel, because type casts override compile-time type checks > and are easy to get wrong. They are also ugly. > > So in generaly we try to use the right type for the

Re: [PATCH] nfsd: enable UMH client tracker in container

2013-04-25 Thread Stanislav Kinsbursky
24.04.2013 00:00, J. Bruce Fields пишет: On Fri, Apr 19, 2013 at 07:01:50AM -0700, Jeff Layton wrote: On Tue, 16 Apr 2013 15:17:44 +0400 Stanislav Kinsbursky wrote: This patch adds support for UserModeHelper tracker in a container. The reason for this is that the only containerised tracker

[PATCH] spi-topcliff-pch: missing platform_driver_unregister() on error in pch_spi_init()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun Add the missing platform_driver_unregister() before return from pch_spi_init() in the error handling case. Signed-off-by: Wei Yongjun --- drivers/spi/spi-topcliff-pch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-topcliff-pch.c

Re: [PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-04-25 Thread ZhenHua
I send out this patch for the second time. Changed try to int. And modified the comment. On 04/25/2013 03:11 PM, Li, Zhen-Hua wrote: This patch is trying to fix this bug on SLES11 SP2: https://bugzilla.novell.com/show_bug.cgi?id=817035 On a large HP system with 64T memory and 60 logical

[PATCH] msm: iommu: missing platform_driver_unregister() on error in msm_iommu_driver_init()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun Add the missing platform_driver_unregister() before return from msm_iommu_driver_init() in the error handling case. Signed-off-by: Wei Yongjun --- drivers/iommu/msm_iommu_dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iommu/msm_iommu_dev.c

[PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-04-25 Thread Li, Zhen-Hua
This patch is trying to fix this bug on SLES11 SP2: https://bugzilla.novell.com/show_bug.cgi?id=817035 On a large HP system with 64T memory and 60 logical cpus, when usb driver inits the iLo Virtual USB Controller, there comes a warning "Controller not stopped yet!". It is because driver does

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-25 Thread Alexander Holler
Am 24.04.2013 18:07, schrieb John Stultz: And why is RTC_SYSTOHC now gone on x86? So summarizing the above, because as much as I'm aware, its always been redundant and unnecessary on x86. Thus being able at build time to mark it as unnecessary was attractive, since it reduced the code paths

[PATCH] tpm_tis: missing platform_driver_unregister() on error in init_tis()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun Add the missing platform_driver_unregister() before return from init_tis() in the device register error handling case. Signed-off-by: Wei Yongjun --- drivers/char/tpm/tpm_tis.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git

[PATCH] drivers: idle: comment DEBUG

2013-04-25 Thread liguang
seems we should comment DEBUG as above comment said: "/* un-comment DEBUG to enable pr_debug() statements */" now, pr_debug is already enabled as DEBUG been defined. Signed-off-by: liguang --- drivers/idle/intel_idle.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH V4 1/6] clk: OMAP: introduce device tree binding to kernel clock data

2013-04-25 Thread Rajendra Nayak
On Wednesday 24 April 2013 09:58 PM, Mike Turquette wrote: > Quoting Nishanth Menon (2013-04-14 14:19:17) >> Overall strategy introduced here is simple: a clock node described in >> device tree blob is used to identify the exact clock provided in the >> SoC specific data. This is then linked back

Re: [PATCH V3 6/9] mtd: add a new field for ecc info in the nand_flash_dev{}

2013-04-25 Thread Brian Norris
Last nitpicks for v3 :) On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie wrote: > Add the @ecc_info in the nand_flash_dev{}. > The lower 16 bits are used to store the ECC bits, while the upper 16 bits > are used to store the ECC data chunk size. A bit late on this one, but is there a good reason

Re: [PATCH -v6 2/5] Migrate shutdown/reboot to boot cpu.

2013-04-25 Thread Ingo Molnar
* Andrew Morton wrote: > On Wed, 24 Apr 2013 06:18:50 -0500 Robin Holt wrote: > > > We recently noticed that reboot of a 1024 cpu machine takes approx 16 > > minutes of just stopping the cpus. The slowdown was tracked to commit > > f96972f. > > > > The current implementation does all the

Re: [PATCH] mm/filemap.c: fix criteria of calling iov_shorten() in generic_file_direct_write()

2013-04-25 Thread Gu Zheng
On 04/24/2013 08:21 PM, Jan Kara wrote: > On Tue 23-04-13 16:37:43, Gu Zheng wrote: >> From 35947e6535d92c54cf523470cc8811e8b5fee3e5 Mon Sep 17 00:00:00 2001 >> From: Gu Zheng >> Date: Tue, 23 Apr 2013 16:09:04 +0800 >> Subject: [PATCH] mm/filemap.c: fix criteria of calling iov_shorten() in >>

Re: [PATCH 3/3] rtc: rtc-hid-sensor-time; add option hctosys to set time at boot

2013-04-25 Thread Alexander Holler
Am 24.04.2013 23:14, schrieb Andrew Morton: On Tue, 23 Apr 2013 17:47:20 +0200 Alexander Holler wrote: "time_was_set_once" and have choosen one day just in case something needs really long to boot (e.g. because of some lengthy fsck or whatever else). A solution to both problems might be to

Re: [PATCH] x86, efi: Fix a build warning

2013-04-25 Thread Ingo Molnar
* Matt Fleming wrote: > On 24/04/13 11:56, Ingo Molnar wrote: > > > > * Borislav Petkov wrote: > > > >> From: Borislav Petkov > >> > >> Fix this: > >> > >> arch/x86/boot/compressed/eboot.c: In function ???setup_efi_vars???: > >> arch/x86/boot/compressed/eboot.c:269:2: warning: passing

Re: [GIT PULL events/urgent] Protect access via task_subsys_state_check()

2013-04-25 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This pull request is for an RCU-related bug fix in perf_event_comm(). > Without this fix, RCU-lockdep splats and other failures result. > > This fix is available in the git repository at: > >

Re: [PATCH 12/14] perf ftrace: Use pager for displaying result

2013-04-25 Thread Namhyung Kim
On Wed, 24 Apr 2013 16:17:24 +0200, Jiri Olsa wrote: > On Tue, Apr 23, 2013 at 05:31:10PM +0900, Namhyung Kim wrote: >> From: Namhyung Kim >> >> It's convenient to use pager when seeing many lines of result. >> > for some reason I'm able to get any output for 'live' command only > when using

Re: lockdep: oops while dumping locks

2013-04-25 Thread Ingo Molnar
* Sasha Levin wrote: > Hi all, > > I've noticed that sometimes lockdep would spew a warning and an oops > while dumping the list of held locks. I'm not quite sure why it happens > and I didn't find anything that was recently changed in the code that > could cause that: > > [ 855.807172]

Re: [PATCHv3 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-25 Thread Sourav Poddar
Hi Kevin, On Thursday 25 April 2013 03:45 AM, Kevin Hilman wrote: Sourav Poddar writes: Remove "no_idle_on_suspend" check, since respective driver should be able to prevent idling of a device whenever required. Driver's can get same behavior by just returning -EBUSY from their

[PATCH V3] scsi: ufs: add support for query requests

2013-04-25 Thread Dolev Raviv
Add support for sending UFS query requests through tagged command queuing. This design allows queuing query requests in any open slot along with other SCSI commands. In this way there is no need to save a slot in the requests queue and decrease its size. A query request is posing to a SCSI

Re: [PATCH] idle: fix hlt/nohlt command-line handling in new generic idle

2013-04-25 Thread Srivatsa S. Bhat
On 04/25/2013 05:49 AM, Kevin Hilman wrote: > commit d1669912 (idle: Implement generic idle function) added a new > generic idle along with support for hlt/nohlt command line options to > override default idle loop behavior. However, the command-line > processing is never compiled. > > The

Re: [PATCH V3 0/9] mtd: add datasheet's ECC information to nand_chip{}

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:40, Brian Norris 写道: should be good. Anyway, I'll try to reserve any more nitpick-y not at all :) . Without your review, my patch set will wait for more long time... comments for minor things to my own follow-up patch(es). Thanks for the work. I really appreciate for your

Re: [PATCH V3 0/9] mtd: add datasheet's ECC information to nand_chip{}

2013-04-25 Thread Brian Norris
Hi Huang, On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie wrote: > v2 --> v3: > [0] add a new patch to define the semantics of the two fields. > [1] Use the Change Read Column command to remove the "last" argument. > [2] simplify the onfi_feature(). > [3] Use

Re: [PATCH V3 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:32, Brian Norris 写道: How about just: "minimum number of bits correctability, if known; if unknown, set to 0 ok. no problem. thanks Huang Shijie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH V3 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:32, Brian Norris 写道: * @numchips: [INTERN] number of physical chips > * @chipsize: [INTERN] the size of one chip for multichip arrays > * @pagemask: [INTERN] page number mask = number of (pages / chip) - 1 Brian -- To unsubscribe from

Re: [PATCH V3 4/9] mtd: get the ECC info from the Extended Parameter Page

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:20, Brian Norris 写道: No, you cannot do this. Some drivers will provide their own cmdfunc, so nand_command_lp() is unexpected for those drivers. ok. got it. Your problem seems, instead, that you are executing this function too early, before nand_flash_get_type() is able to

Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-25 Thread Feng Tang
On Wed, Apr 24, 2013 at 11:32:56AM -0700, John Stultz wrote: > Kay Sievers noted that the ALWAYS_USE_PERSISTENT_CLOCK config, > which enables some minor compile time optimization to avoid > uncessary code in mostly the suspend/resume path could cause > problems for userland. > > In particular,

Re: [PATCH] Revert "V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo"

2013-04-25 Thread Adam Lee
On Wed, Apr 24, 2013 at 11:17:52AM +0200, Laurent Pinchart wrote: > Hi Adam, > > Thanks for the patch. > > On Wednesday 24 April 2013 15:57:19 adam@canonical.com wrote: > > From: Adam Lee > > > > This reverts commit 3dae8b41dc5651f8eb22cf310e8b116480ba25b7. > > > > 1, I do have a Chicony

Re: [PATCH V3 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-04-25 Thread Brian Norris
I would recommend different wording, describing what they represent rather than how we accomplish it. See below. On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie wrote: > Add more commit for ecc_strength and ecc_size fields. > We can treat the comment as the initial semantics for the two fields. >

Re: [GIT PULL] nohz: Adaptively stop the tick, finally

2013-04-25 Thread Ingo Molnar
* Frederic Weisbecker wrote: > > depends on VIRT_CPU_ACCOUNTING_GEN > > > > It should _really_ select both the RCU and the CPU time accounting model > > automatically! > > Yeah I know. I have yet to fix that in Kconfig (it's a Kconfig limitation). Why cannot we simply select it and

Re: [PATCH 09/14] perf ftrace: Add 'record' sub-command

2013-04-25 Thread Namhyung Kim
On Wed, 24 Apr 2013 16:12:41 +0200, Jiri Olsa wrote: > I got following lockup for record command: > > # ./perf --no-pager ftrace record ls > ... > hangs > > in other terminal: > > # pstack 14237 > Thread 2 (Thread 0x7f3f1aa1d700 (LWP 14241)): > #0 0x003cec20b595 in

Re: sparc64, mm BUG in 3.9-rc8

2013-04-25 Thread Meelis Roos
> This fixes it, I'll push this to Linus immediately. > > Thanks for your report! > > > sparc64: Fix missing put_cpu_var() in tlb_batch_add_one() when not batching. Thank you, this patch fixes it on my 220R and 420R too. -- Meelis Roos (mr...@linux.ee) -- To unsubscribe

Re: [PATCH V3 4/9] mtd: get the ECC info from the Extended Parameter Page

2013-04-25 Thread Brian Norris
On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie wrote: > Since the ONFI 2.1, the onfi spec adds the Extended Parameter Page > to store the ECC info. > > The onfi spec tells us that if the nand chip's recommended ECC codeword > size is not 512 bytes, then the @ecc_bits is 0xff. The host _SHOULD_

Re: OOM-killer and strange RSS value in 3.9-rc7

2013-04-25 Thread Han Pingtian
On Wed, Apr 24, 2013 at 03:36:20PM +, Christoph Lameter wrote: > On Wed, 24 Apr 2013, Michal Hocko wrote: > > > [CCing SL.B people and linux-mm list] > > > > Just for quick summary. The reporter sees OOM situations with almost > > whole memory filled with slab memory. This is a powerpc

Re: [PATCH 05/14] perf tools: Introduce new 'ftrace' tool

2013-04-25 Thread Namhyung Kim
On Wed, 24 Apr 2013 16:09:18 +0200, Jiri Olsa wrote: > On Tue, Apr 23, 2013 at 05:31:03PM +0900, Namhyung Kim wrote: >> From: Namhyung Kim >> +out: >> +put_tracing_file(file); >> +return ret; >> +} >> + >> +static int reset_tracing_files(struct perf_ftrace *ftrace __maybe_unused) >> +{ >>

Re: [PATCH 05/14] perf tools: Introduce new 'ftrace' tool

2013-04-25 Thread Namhyung Kim
On Wed, 24 Apr 2013 16:09:18 +0200, Jiri Olsa wrote: On Tue, Apr 23, 2013 at 05:31:03PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com +out: +put_tracing_file(file); +return ret; +} + +static int reset_tracing_files(struct perf_ftrace *ftrace __maybe_unused) +{

Re: OOM-killer and strange RSS value in 3.9-rc7

2013-04-25 Thread Han Pingtian
On Wed, Apr 24, 2013 at 03:36:20PM +, Christoph Lameter wrote: On Wed, 24 Apr 2013, Michal Hocko wrote: [CCing SL.B people and linux-mm list] Just for quick summary. The reporter sees OOM situations with almost whole memory filled with slab memory. This is a powerpc machine with 4G

Re: [PATCH V3 4/9] mtd: get the ECC info from the Extended Parameter Page

2013-04-25 Thread Brian Norris
On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie b32...@freescale.com wrote: Since the ONFI 2.1, the onfi spec adds the Extended Parameter Page to store the ECC info. The onfi spec tells us that if the nand chip's recommended ECC codeword size is not 512 bytes, then the @ecc_bits is 0xff. The

Re: sparc64, mm BUG in 3.9-rc8

2013-04-25 Thread Meelis Roos
This fixes it, I'll push this to Linus immediately. Thanks for your report! sparc64: Fix missing put_cpu_var() in tlb_batch_add_one() when not batching. Thank you, this patch fixes it on my 220R and 420R too. -- Meelis Roos (mr...@linux.ee) -- To unsubscribe from

Re: [PATCH 09/14] perf ftrace: Add 'record' sub-command

2013-04-25 Thread Namhyung Kim
On Wed, 24 Apr 2013 16:12:41 +0200, Jiri Olsa wrote: I got following lockup for record command: # ./perf --no-pager ftrace record ls ... hangs in other terminal: # pstack 14237 Thread 2 (Thread 0x7f3f1aa1d700 (LWP 14241)): #0 0x003cec20b595 in

Re: [GIT PULL] nohz: Adaptively stop the tick, finally

2013-04-25 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: depends on VIRT_CPU_ACCOUNTING_GEN It should _really_ select both the RCU and the CPU time accounting model automatically! Yeah I know. I have yet to fix that in Kconfig (it's a Kconfig limitation). Why cannot we simply select

Re: [PATCH V3 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-04-25 Thread Brian Norris
I would recommend different wording, describing what they represent rather than how we accomplish it. See below. On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie b32...@freescale.com wrote: Add more commit for ecc_strength and ecc_size fields. We can treat the comment as the initial semantics for

Re: [PATCH] Revert V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo

2013-04-25 Thread Adam Lee
On Wed, Apr 24, 2013 at 11:17:52AM +0200, Laurent Pinchart wrote: Hi Adam, Thanks for the patch. On Wednesday 24 April 2013 15:57:19 adam@canonical.com wrote: From: Adam Lee adam@canonical.com This reverts commit 3dae8b41dc5651f8eb22cf310e8b116480ba25b7. 1, I do have a

Re: [PATCH] time: Revert ALWAYS_USE_PERSISTENT_CLOCK compile time optimizaitons

2013-04-25 Thread Feng Tang
On Wed, Apr 24, 2013 at 11:32:56AM -0700, John Stultz wrote: Kay Sievers noted that the ALWAYS_USE_PERSISTENT_CLOCK config, which enables some minor compile time optimization to avoid uncessary code in mostly the suspend/resume path could cause problems for userland. In particular, the

Re: [PATCH V3 4/9] mtd: get the ECC info from the Extended Parameter Page

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:20, Brian Norris 写道: No, you cannot do this. Some drivers will provide their own cmdfunc, so nand_command_lp() is unexpected for those drivers. ok. got it. Your problem seems, instead, that you are executing this function too early, before nand_flash_get_type() is able to

Re: [PATCH V3 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:32, Brian Norris 写道: * @numchips: [INTERN] number of physical chips * @chipsize: [INTERN] the size of one chip for multichip arrays * @pagemask: [INTERN] page number mask = number of (pages / chip) - 1 Brian -- To unsubscribe from

Re: [PATCH V3 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:32, Brian Norris 写道: How about just: minimum number of bits correctability, if known; if unknown, set to 0 ok. no problem. thanks Huang Shijie -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH V3 0/9] mtd: add datasheet's ECC information to nand_chip{}

2013-04-25 Thread Brian Norris
Hi Huang, On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie b32...@freescale.com wrote: v2 -- v3: [0] add a new patch to define the semantics of the two fields. [1] Use the Change Read Column command to remove the last argument. [2] simplify the onfi_feature().

Re: [PATCH V3 0/9] mtd: add datasheet's ECC information to nand_chip{}

2013-04-25 Thread Huang Shijie
于 2013年04月25日 14:40, Brian Norris 写道: should be good. Anyway, I'll try to reserve any more nitpick-y not at all :) . Without your review, my patch set will wait for more long time... comments for minor things to my own follow-up patch(es). Thanks for the work. I really appreciate for your

Re: [PATCH] idle: fix hlt/nohlt command-line handling in new generic idle

2013-04-25 Thread Srivatsa S. Bhat
On 04/25/2013 05:49 AM, Kevin Hilman wrote: commit d1669912 (idle: Implement generic idle function) added a new generic idle along with support for hlt/nohlt command line options to override default idle loop behavior. However, the command-line processing is never compiled. The

[PATCH V3] scsi: ufs: add support for query requests

2013-04-25 Thread Dolev Raviv
Add support for sending UFS query requests through tagged command queuing. This design allows queuing query requests in any open slot along with other SCSI commands. In this way there is no need to save a slot in the requests queue and decrease its size. A query request is posing to a SCSI

Re: [PATCHv3 5/5] arm: omap2+: omap_device: remove no_idle_on_suspend

2013-04-25 Thread Sourav Poddar
Hi Kevin, On Thursday 25 April 2013 03:45 AM, Kevin Hilman wrote: Sourav Poddarsourav.pod...@ti.com writes: Remove no_idle_on_suspend check, since respective driver should be able to prevent idling of a device whenever required. Driver's can get same behavior by just returning -EBUSY from

Re: lockdep: oops while dumping locks

2013-04-25 Thread Ingo Molnar
* Sasha Levin sasha.le...@oracle.com wrote: Hi all, I've noticed that sometimes lockdep would spew a warning and an oops while dumping the list of held locks. I'm not quite sure why it happens and I didn't find anything that was recently changed in the code that could cause that: [

Re: [PATCH 12/14] perf ftrace: Use pager for displaying result

2013-04-25 Thread Namhyung Kim
On Wed, 24 Apr 2013 16:17:24 +0200, Jiri Olsa wrote: On Tue, Apr 23, 2013 at 05:31:10PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com It's convenient to use pager when seeing many lines of result. for some reason I'm able to get any output for 'live' command only when

Re: [GIT PULL events/urgent] Protect access via task_subsys_state_check()

2013-04-25 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, This pull request is for an RCU-related bug fix in perf_event_comm(). Without this fix, RCU-lockdep splats and other failures result. This fix is available in the git repository at:

Re: [PATCH] x86, efi: Fix a build warning

2013-04-25 Thread Ingo Molnar
* Matt Fleming matt.flem...@intel.com wrote: On 24/04/13 11:56, Ingo Molnar wrote: * Borislav Petkov b...@alien8.de wrote: From: Borislav Petkov b...@suse.de Fix this: arch/x86/boot/compressed/eboot.c: In function ???setup_efi_vars???: arch/x86/boot/compressed/eboot.c:269:2:

Re: [PATCH 3/3] rtc: rtc-hid-sensor-time; add option hctosys to set time at boot

2013-04-25 Thread Alexander Holler
Am 24.04.2013 23:14, schrieb Andrew Morton: On Tue, 23 Apr 2013 17:47:20 +0200 Alexander Holler hol...@ahsoftware.de wrote: time_was_set_once and have choosen one day just in case something needs really long to boot (e.g. because of some lengthy fsck or whatever else). A solution to both

Re: [PATCH] mm/filemap.c: fix criteria of calling iov_shorten() in generic_file_direct_write()

2013-04-25 Thread Gu Zheng
On 04/24/2013 08:21 PM, Jan Kara wrote: On Tue 23-04-13 16:37:43, Gu Zheng wrote: From 35947e6535d92c54cf523470cc8811e8b5fee3e5 Mon Sep 17 00:00:00 2001 From: Gu Zheng guz.f...@cn.fujitsu.com Date: Tue, 23 Apr 2013 16:09:04 +0800 Subject: [PATCH] mm/filemap.c: fix criteria of calling

Re: [PATCH -v6 2/5] Migrate shutdown/reboot to boot cpu.

2013-04-25 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Wed, 24 Apr 2013 06:18:50 -0500 Robin Holt h...@sgi.com wrote: We recently noticed that reboot of a 1024 cpu machine takes approx 16 minutes of just stopping the cpus. The slowdown was tracked to commit f96972f. The current

Re: [PATCH V3 6/9] mtd: add a new field for ecc info in the nand_flash_dev{}

2013-04-25 Thread Brian Norris
Last nitpicks for v3 :) On Tue, Apr 23, 2013 at 1:54 AM, Huang Shijie b32...@freescale.com wrote: Add the @ecc_info in the nand_flash_dev{}. The lower 16 bits are used to store the ECC bits, while the upper 16 bits are used to store the ECC data chunk size. A bit late on this one, but is

Re: [PATCH V4 1/6] clk: OMAP: introduce device tree binding to kernel clock data

2013-04-25 Thread Rajendra Nayak
On Wednesday 24 April 2013 09:58 PM, Mike Turquette wrote: Quoting Nishanth Menon (2013-04-14 14:19:17) Overall strategy introduced here is simple: a clock node described in device tree blob is used to identify the exact clock provided in the SoC specific data. This is then linked back using

[PATCH] drivers: idle: comment DEBUG

2013-04-25 Thread liguang
seems we should comment DEBUG as above comment said: /* un-comment DEBUG to enable pr_debug() statements */ now, pr_debug is already enabled as DEBUG been defined. Signed-off-by: liguang lig.f...@cn.fujitsu.com --- drivers/idle/intel_idle.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH] tpm_tis: missing platform_driver_unregister() on error in init_tis()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing platform_driver_unregister() before return from init_tis() in the device register error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/char/tpm/tpm_tis.c | 19 +-- 1 file

Re: CONFIG_RTC_HCTOSYS lost on x86 with ALWAYS_USE_PERSISTENT_CLOCK changes?

2013-04-25 Thread Alexander Holler
Am 24.04.2013 18:07, schrieb John Stultz: And why is RTC_SYSTOHC now gone on x86? So summarizing the above, because as much as I'm aware, its always been redundant and unnecessary on x86. Thus being able at build time to mark it as unnecessary was attractive, since it reduced the code paths

[PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-04-25 Thread Li, Zhen-Hua
This patch is trying to fix this bug on SLES11 SP2: https://bugzilla.novell.com/show_bug.cgi?id=817035 On a large HP system with 64T memory and 60 logical cpus, when usb driver inits the iLo Virtual USB Controller, there comes a warning Controller not stopped yet!. It is because driver does

[PATCH] msm: iommu: missing platform_driver_unregister() on error in msm_iommu_driver_init()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing platform_driver_unregister() before return from msm_iommu_driver_init() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/iommu/msm_iommu_dev.c | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH 1/1] driver,usb: Fix a warning in uhci-hcd driver

2013-04-25 Thread ZhenHua
I send out this patch for the second time. Changed try to int. And modified the comment. On 04/25/2013 03:11 PM, Li, Zhen-Hua wrote: This patch is trying to fix this bug on SLES11 SP2: https://bugzilla.novell.com/show_bug.cgi?id=817035 On a large HP system with 64T memory and 60 logical

[PATCH] spi-topcliff-pch: missing platform_driver_unregister() on error in pch_spi_init()

2013-04-25 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing platform_driver_unregister() before return from pch_spi_init() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/spi/spi-topcliff-pch.c | 4 +++- 1 file changed, 3 insertions(+), 1

Re: [PATCH] nfsd: enable UMH client tracker in container

2013-04-25 Thread Stanislav Kinsbursky
24.04.2013 00:00, J. Bruce Fields пишет: On Fri, Apr 19, 2013 at 07:01:50AM -0700, Jeff Layton wrote: On Tue, 16 Apr 2013 15:17:44 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: This patch adds support for UserModeHelper tracker in a container. The reason for this is that the

Re: [PATCH] x86, efi: Fix a build warning

2013-04-25 Thread Matt Fleming
On 25/04/13 07:55, Ingo Molnar wrote: It's a basic cleanliness and robustness issue: we generally avoid type casts in the kernel, because type casts override compile-time type checks and are easy to get wrong. They are also ugly. So in generaly we try to use the right type for the data

Re: attempt to move .org backwards still show up

2013-04-25 Thread Chen Gang
On 2013年04月25日 13:36, Chen Gang wrote: On 2013年04月25日 12:05, Mike Qiu wrote: I will try, and plan to get a result within this week (2013-04-28) Thanks. Hi This has block my work now So I hope you can take a look ASAP Thanks :) The root cause is the room 0x500..0xc00 is not enough when

Re: [PATCH -v6 2/5] Migrate shutdown/reboot to boot cpu.

2013-04-25 Thread Andrew Morton
On Thu, 25 Apr 2013 08:57:04 +0200 Ingo Molnar mi...@kernel.org wrote: PF_THREAD_BOUND was removed/replaced in linux-next's a9ab775bc (workqueue: directly restore CPU affinity of workers from CPU_ONLINE) I don't see PF_THREAD_BOUND being removed by commit a9ab775bc. Did you mean some

Re: [PATCH -v6 2/5] Migrate shutdown/reboot to boot cpu.

2013-04-25 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Thu, 25 Apr 2013 08:57:04 +0200 Ingo Molnar mi...@kernel.org wrote: PF_THREAD_BOUND was removed/replaced in linux-next's a9ab775bc (workqueue: directly restore CPU affinity of workers from CPU_ONLINE) I don't see PF_THREAD_BOUND

[PATCH] uio/aec: specify correct license in MODULE_LICENSE

2013-04-25 Thread Uwe Kleine-König
The file header declares the code to be covered by GPL v2 only, so use explicit v2 for MODULE_LICENSE, too. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- drivers/uio/uio_aec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/uio/uio_aec.c

Re: For review (v2): user_namespaces(7) man page

2013-04-25 Thread richard -rw- weinberger
On Wed, Mar 27, 2013 at 10:26 PM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Inside the user namespace, the shell has user and group ID 0, and a full set of permitted and effective capabilities: bash$ cat /proc/$$/status | egrep '^[UG]id'

Re: [Xen-devel] [PATCH v6 1/4] arm: introduce psci_smp_ops

2013-04-25 Thread Ian Campbell
On Mon, 2013-04-22 at 17:07 +0100, Nicolas Pitre wrote: Sure there are ways to screw up Xen support from within this hook, but that can be achieved in many other places. Will Xen take over every possible hooks in the kernel to prevent that from happening? In the majority of the other cases

[PATCH/for-next 0/3] iscsi-target/iser-target: Fix breakage

2013-04-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org Hi folks, This series addresses two bugs within v3.10 for-next code related to the upcoming iscsi-target series adding multi-transport support, along with a third iser-target bugfix related to early ISCSI_OP_SCSI_CMD exception handling. These three

[PATCH/for-next 3/3] iser-target: Add special case for early ISCSI_OP_SCSI_CMD exception handling

2013-04-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org During early ISCSI_OP_SCSI_CMD exception handling with non GOOD status, the TX thread context in isert_response_queue() needs to post IB_WR_SEND via isert_put_response() when processing ISTATE_SEND_STATUS. Cc: Or Gerlitz ogerl...@mellanox.com

[PATCH/for-next 2/3] iscsi-target: Fix iscsit_handle_scsi_cmd() exception se_cmd leak

2013-04-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch fixes a regression where failures before backend se_cmd execution in iscsit_handle_scsi_cmd() is leaking iscsi_cmd due to a missing target_put_sess_cmd() call to drop the extra kref. Introduced during the RX PDU refactoring in v3.10

[PATCH/for-next 1/3] iscsi-target: Fix solicited NopIN handling with RDMAExtentions=No

2013-04-25 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patches fixes a regression with solicited NopIN handling in traditional iSCSI code introduced during TX immediate queue refactoring for v3.10 for-next code. Cc: Or Gerlitz ogerl...@mellanox.com Signed-off-by: Nicholas Bellinger

[PATCH 3.8-stable] ARM: 7690/1: mm: fix CONFIG_LPAE typos

2013-04-25 Thread Jonghwan Choi
This patch looks like it should be in the 3.8-stable tree, should we apply it? -- From: Paul Bolle pebo...@tiscali.nl commit 4e1db26a0b42e2b6e27c05d68adcc01709c2eed2 upstream CONFIG_LPAE doesn't exist: the correct option is CONFIG_ARM_LPAE, so fix up the two typos under

Re: [PATCH 04/32] dmaengine: ste_dma40: Amalgamate DMA source and destination channel numbers

2013-04-25 Thread Linus Walleij
On Thu, Apr 18, 2013 at 12:11 PM, Lee Jones lee.jo...@linaro.org wrote: Devices which utilise DMA tend to use the same channel numbers for transmitting and receiving. For this reason and the fact that it'll decrease the burden of platform data passed to each device, we're amalgamating source

[BUG] On x86_32 system, handle block-device which size is larger than 16TB.

2013-04-25 Thread majianpeng
Hi all, Some time ago, I mentioned there are some problems on x86-32 system about handling md-block-device which size is larger than 16TB. And i send a patch.But there are no concern with it. The website of is: http://www.spinics.net/lists/linux-fsdevel/msg55672.html. Except the wrapping

Re: [PATCH 03/32 v3] dmaengine: ste_dma40: Use the BIT macro to replace ugly '(1 x)'s

2013-04-25 Thread Lee Jones
On Wed, 24 Apr 2013, Rabin Vincent wrote: 2013/4/24 Lee Jones lee.jo...@linaro.org: The aim is to make the code that little more readable. Acked-by: Vinod Koul vnod.k...@intel.com Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Lee Jones lee.jo...@linaro.org Please pay closer

Re: [PATCH] x86, efi: Fix a build warning

2013-04-25 Thread Ingo Molnar
* Matt Fleming matt.flem...@intel.com wrote: On 25/04/13 07:55, Ingo Molnar wrote: It's a basic cleanliness and robustness issue: we generally avoid type casts in the kernel, because type casts override compile-time type checks and are easy to get wrong. They are also ugly. So in

[PATCH] mmc: host: sdhci: Fix console flooding when there is no proper card detection

2013-04-25 Thread maxin.john
From: Maxin B. John maxin.j...@enea.com With 3.9.0-rc8 kernel in p2020rdb powerpc target, the console gets flooded with this message without any SD-Cards present: mmc0: Timeout waiting for hardware interrupt Since the driver doesn't implement proper card detection, it assumes that card is always

[PATCH] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
When CONFIG_KVM_BOOK3S_64_PR is enabled, MASKABLE_EXCEPTION_PSERIES(0x900 ...) will includes __KVMTEST, it will exceed 0x980 which STD_EXCEPTION_HV(0x980 ...) will use, it will cause compiling issue. The related errors: arch/powerpc/kernel/exceptions-64s.S: Assembler messages:

Re: [PATCH 3.8-stable] ARM: 7690/1: mm: fix CONFIG_LPAE typos

2013-04-25 Thread Paul Bolle
On Thu, 2013-04-25 at 17:02 +0900, Jonghwan Choi wrote: This patch looks like it should be in the 3.8-stable tree, should we apply it? That would be only the setup.c chunk. That fixes a typo introduced in v3.4 (see commit e5ab85800820edd907d3f43f285e1232f84d5a41 (ARM: 7382/1: mm: truncate

Re: [PATCH] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Chen Gang
Hello Mike: Please try this patch, at least it can pass compiling with the config file which you provided under my cross-compiling envrionments. I do not give a running test now, so better to try to run the new kernel with this patch. Thanks. On 2013年04月25日 16:18, Chen Gang wrote: When

Re: [PATCH 05/32] dmaengine: ste_dma40: Supply macros to resolve 'src' and 'dst' directions

2013-04-25 Thread Linus Walleij
On Thu, Apr 18, 2013 at 12:11 PM, Lee Jones lee.jo...@linaro.org wrote: There are lots of lengthy if() statements located sporadically up and down the driver. This simple macro should make many of them a little simpler to decipher. The remainder have to stay in place, as they detail slightly

Re: [PATCH] VSOCK: Fix misc device registration

2013-04-25 Thread David Miller
From: Asias He as...@redhat.com Date: Wed, 24 Apr 2013 14:33:52 +0800 When we call vsock_core_init to init VSOCK the second time, vsock_device.minor still points to the old dynamically allocated minor number. misc_register will allocate it for us successfully as if we were asking for a static

Re: [PATCH] VSOCK: Drop bogus __init annotation from vsock_init_tables()

2013-04-25 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Wed, 24 Apr 2013 11:40:55 +0200 If gcc (e.g. 4.1.2) decides not to inline vsock_init_tables(), this will cause a section mismatch: WARNING: net/vmw_vsock/vsock.o(.text+0x1bc): Section mismatch in reference from the function

Re: [PATCH] isdn/sc: Fix incorrect module_param_array types

2013-04-25 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Wed, 24 Apr 2013 14:46:37 +0200 drivers/isdn/sc/init.c: In function ‘__check_irq’: drivers/isdn/sc/init.c:36: warning: return from incompatible pointer type drivers/isdn/sc/init.c: In function ‘__check_ram’: drivers/isdn/sc/init.c:37:

Re: [PATCH 06/32] ARM: ux500: Strip out duplicate USB DMA configuration

2013-04-25 Thread Linus Walleij
On Thu, Apr 18, 2013 at 12:11 PM, Lee Jones lee.jo...@linaro.org wrote: For the moment at least, the TX and RX channels for DB8500 USB are identical, so this patch generalises them into a single structure and passes it twice. Once as the TX and again for the RX configuration. We're keeping

Re: [PATCH] PowerPC: kernel: compiling issue, make additional room in exception vector area

2013-04-25 Thread Mike Qiu
于 2013/4/25 16:21, Chen Gang 写道: Hello Mike: Please try this patch, at least it can pass compiling with the config file which you provided under my cross-compiling envrionments. I do not give a running test now, so better to try to run the new kernel with this patch. OK, I will use your

Re: [PATCH] uio/aec: specify correct license in MODULE_LICENSE

2013-04-25 Thread richard -rw- weinberger
On Thu, Apr 25, 2013 at 9:37 AM, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: The file header declares the code to be covered by GPL v2 only, so use explicit v2 for MODULE_LICENSE, too. Doesn't this apply to almost any driver? I don't understand why you explicitly fix this one. --

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