Re: [PATCH v2] intel_idle: Fixed C6 state on Avoton/Rangeley processors

2013-11-26 Thread Bockholdt Arne
On Tue, 2013-11-26 at 13:43 -0500, Len Brown wrote: > > .desc = "MWAIT 0x51", > > - .flags = MWAIT2flg(0x58) | CPUIDLE_FLAG_TIME_VALID | > > CPUIDLE_FLAG_TLB_FLUSHED, > > + .flags = MWAIT2flg(0x51) | CPUIDLE_FLAG_TIME_VALID | > >

Re: [PATCH] avr32: Kill CONFIG_MTD_PARTITIONS

2013-11-26 Thread Hans-Christian Egtvedt
Around Wed 27 Nov 2013 00:49:37 + or thereabout, Eunbong Song wrote: > > This patch removes CONFIG_MTD_PARTITIONS in config files for avr32. > Because CONFIG_MTD_PARTITIONS was removed by commit > 6a8a98b22b10f1560d5f90aded4a54234b9b2724. Thank you for cleaning. I'll add this to my

[PATCH] pinctrl: sh-pfc: Initial r7s72100 support

2013-11-26 Thread Magnus Damm
From: Magnus Damm Add r7s72100 PINCTRL support via sh-pfc. At this point this code provides enough support to allow use together with the gpio-rz driver. Incremental per-device patches will in the future be submitted on top of this base patch to allow PINCTRL enablement for each individual

Re: [PATCH V3 1/6] cpufreq: suspend governors on system suspend/hibernate

2013-11-26 Thread Viresh Kumar
On 27 November 2013 12:38, Lan Tianyu wrote: > Hi Viresh: Hey Lan, > First, I agree the new solution you are working on. :) Thanks :) > But actually I don't totally agree my origin patch have design issue. > Because I think governor should have the ability to check whether it has >

RE: pull request: linux-firmware: update cxgb4 firmware

2013-11-26 Thread Hariprasad S
Hi Ben, If you have not already pulled this, I will send out a new pull request which has update for both T4 and T5 firmware. Thanks, Hariprasad From: Hariprasad S Sent: Thursday, November 14, 2013 2:30 PM To: b...@decadent.org.uk; dw...@infradead.org Cc:

Re: [PATCH V3 1/6] cpufreq: suspend governors on system suspend/hibernate

2013-11-26 Thread Lan Tianyu
On 2013年11月27日 11:07, Viresh Kumar wrote: > On 27 November 2013 07:12, Rafael J. Wysocki wrote: >> Anyway, if you did what I asked you to do and put the cpufreq suspend/resume >> into dpm_suspend/resume_noirq(), I'd probably take this for 3.13. However, >> since you've decided to put those

Re: [PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-26 Thread Guenter Roeck
On 11/26/2013 08:31 PM, Sekhar Nori wrote: On Monday 25 November 2013 07:34 PM, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove wdt_state as the

Re: bridge not getting ip since 3.11.5 and 3.4.66

2013-11-26 Thread Mark Trompell
On Tue, Nov 26, 2013 at 4:25 PM, Vlad Yasevich wrote: > On 11/26/2013 08:27 AM, Mark Trompell wrote: >> Answering my own mail again and even top posting, sorry, but makes >> more sense to me in that case). >> I reverted bridge related patches from 3.11.5 and it boils down to >> commit

Re: [PATCH] cpuset: Fix memory allocator deadlock

2013-11-26 Thread Li Zefan
On 2013/11/26 22:03, Peter Zijlstra wrote: > Juri hit the below lockdep report: > > [4.303391] == > [4.303392] [ INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected ] > [4.303394] 3.12.0-dl-peterz+ #144 Not tainted > [

Re: [PATCH] kernel/fork.c : remove local 'oldmm' and retval

2013-11-26 Thread Julia Lawall
On Tue, 26 Nov 2013, Eric W. Biederman wrote: > Daeseok Youn writes: > > > From cec2f201f0dc99a33a58d9d1e0452140bb0993a1 Mon Sep 17 00:00:00 2001 > > From: Daeseok Youn > > Date: Wed, 27 Nov 2013 09:54:41 +0900 > > Subject: [PATCH] kernel/fork.c : remove local 'oldmm' and retval > > > > Local

Il pacchetto di documenti 49437436

2013-11-26 Thread maryloudurham_ihd
Buongiorno, linux-kernel@vger.kernel.org. Per la conferma definitiva della registrazione andare al seguente indirizzo e scaricare il modulo di contratto http://www.ourdirectmailworks.com/Conclusione/Dettagli.zip?138480214386lu6N8gn487nXWT5Tg == Tel.: +39 (81) 091 93 36. -- To

Re: [PATCH v11 00/15] kmemcg shrinkers

2013-11-26 Thread Vladimir Davydov
On 11/27/2013 02:47 AM, Dave Chinner wrote: On Tue, Nov 26, 2013 at 10:47:00AM +0400, Vladimir Davydov wrote: Hi, Thank you for the review. I agree with all your comments and I'll resend the fixed version soon. If anyone still has something to say about the patchset, I'd be glad to hear from

[PATCH v4 0/2] Setup panic params early

2013-11-26 Thread Felipe Contreras
Exactly the same as v3, but with an unlrelated patch on top as well. Felipe Contreras (2): panic: setup panic_timeout early panic: setup panic_on_oops early kernel/panic.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 1.8.4.2+fc1 -- To unsubscribe from this

[PATCH v4 2/2] panic: setup panic_on_oops early

2013-11-26 Thread Felipe Contreras
For consistency. Signed-off-by: Felipe Contreras --- kernel/panic.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kernel/panic.c b/kernel/panic.c index 3456652..2256838 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -468,7 +468,11 @@

[PATCH v4 1/2] panic: setup panic_timeout early

2013-11-26 Thread Felipe Contreras
Otherwise we might not reboot when the user needs it the most (early on). Signed-off-by: Felipe Contreras --- kernel/panic.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/kernel/panic.c b/kernel/panic.c index b6c482c..3456652 100644 --- a/kernel/panic.c +++

[PATCH 02/17] tracing/probes: Fix basic print type functions

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim The print format of s32 type was "ld" and it's casted to "long". So it turned out to print 4294967295 for "-1" on 64-bit systems. Not sure whether it worked well on 32-bit systems. Anyway, it doesn't need to have cast argument at all since it already casted using type

[PATCH 06/17] tracing/probes: Integrate duplicate set_print_fmt()

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim The set_print_fmt() functions are implemented almost same for [ku]probes. Move it to a common place and get rid of the duplication. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung

[PATCH 05/17] tracing/kprobes: Move common functions to trace_probe.h

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim The __get_data_size() and store_trace_args() will be used by uprobes too. Move them to a common location. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim ---

[PATCH 07/17] tracing/probes: Move fetch function helpers to trace_probe.h

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Move fetch function helper macros/functions to the header file and make them external. This is preparation of supporting uprobe fetch table in next patch. Cc: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo

[PATCH 08/17] tracing/probes: Split [ku]probes_fetch_type_table

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Use separate fetch_type_table for kprobes and uprobes. It currently shares all fetch methods but some of them will be implemented differently later. Cc: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo

[PATCH 01/17] tracing/uprobes: Fix documentation of uprobe registration syntax

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim The uprobe syntax requires an offset after a file path not a symbol. Reviewed-by: Masami Hiramatsu Acked-by: Oleg Nesterov Cc: Srikar Dronamraju Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- Documentation/trace/uprobetracer.txt | 10

[PATCH 09/17] tracing/probes: Implement 'stack' fetch method for uprobes

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Use separate method to fetch from stack. Move existing functions to trace_kprobe.c and make them static. Also add new stack fetch implementation for uprobes. Cc: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo

[PATCH 11/17] tracing/probes: Add fetch{,_size} member into deref fetch method

2013-11-26 Thread Namhyung Kim
From: Hyeoncheol Lee The deref fetch methods access a memory region but it assumes that it's a kernel memory since uprobes does not support them. Add ->fetch and ->fetch_size member in order to provide a proper access methods for supporting uprobes. Acked-by: Masami Hiramatsu Cc: Srikar

[PATCH 10/17] tracing/probes: Move 'symbol' fetch method to kprobes

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Move existing functions to trace_kprobe.c and add NULL entries to the uprobes fetch type table. I don't make them static since some generic routines like update/free_XXX_fetch_param() require pointers to the functions. Cc: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg

[PATCH 13/17] tracing/uprobes: Pass 'is_return' to traceprobe_parse_probe_arg()

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Currently uprobes don't pass is_return to the argument parser so that it cannot make use of "$retval" fetch method since it only works for return probes. Cc: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo

[PATCH/RFC 17/17] tracing/uprobes: Add @+file_offset fetch method

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Enable to fetch data from a file offset. Currently it only supports fetching from same binary uprobe set. It'll translate the file offset to a proper virtual address in the process. The syntax is "@+OFFSET" as it does similar to normal memory fetching (@ADDR) which does no

[PATCH 12/17] tracing/probes: Implement 'memory' fetch method for uprobes

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Use separate method to fetch from memory. Move existing functions to trace_kprobe.c and make them static. Also add new memory fetch implementation for uprobes. Cc: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo

[PATCH 14/17] tracing/uprobes: Fetch args before reserving a ring buffer

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Fetching from user space should be done in a non-atomic context. So use a per-cpu buffer and copy its content to the ring buffer atomically. Note that we can migrate during accessing user memory thus use a per-cpu mutex to protect concurrent accesses. This is needed since

[PATCH 04/17] tracing/uprobes: Convert to struct trace_probe

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Convert struct trace_uprobe to make use of the common trace_probe structure. Reviewed-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- kernel/trace/trace_uprobe.c | 151

[PATCHSET 00/17] tracing/uprobes: Add support for more fetch methods (v7)

2013-11-26 Thread Namhyung Kim
Hello, This patchset implements memory (address), stack[N], deference, bitfield, retval (it needs uretprobe tho) and file_offset fetch methods for uprobes. It's based on the previous work [1] done by Hyeoncheol Lee. Now kprobes and uprobes have their own fetch_type_tables and, in turn, memory

[PATCH 16/17] uprobes: Allocate ->utask before handler_chain() for tracing handlers

2013-11-26 Thread Namhyung Kim
From: Oleg Nesterov uprobe_trace_print() and uprobe_perf_print() need to pass the additional info to call_fetch() methods, currently there is no simple way to do this. current->utask looks like a natural place to hold this info, but we need to allocate it before handler_chain(). This is a bit

[PATCH 15/17] tracing/uprobes: Add support for full argument access methods

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim Enable to fetch other types of argument for the uprobes. IOW, we can access stack, memory, deref, bitfield and retval from uprobes now. The format for the argument types are same as kprobes (but @SYMBOL type is not supported for uprobes), i.e: @ADDR : Fetch memory at

[PATCH 03/17] tracing/kprobes: Factor out struct trace_probe

2013-11-26 Thread Namhyung Kim
From: Namhyung Kim There are functions that can be shared to both of kprobes and uprobes. Separate common data structure to struct trace_probe and use it from the shared functions. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de

Re: [PATCH v2] panic: Make panic_timeout configurable

2013-11-26 Thread Felipe Contreras
On Tue, Nov 19, 2013 at 1:15 AM, Ingo Molnar wrote: > > * Andrew Morton wrote: > >> On Mon, 18 Nov 2013 21:04:36 + (GMT) Jason Baron >> wrote: >> >> > The panic_timeout value can be set via the command line option 'panic=x', >> > or via >> > /proc/sys/kernel/panic, however that is not

Re: [PATCH 0/3 v3] build in panic_timeout value

2013-11-26 Thread Felipe Contreras
On Tue, Nov 26, 2013 at 5:17 AM, Ingo Molnar wrote: > * Jason Baron wrote: >> I've now separated out the arch bits into separate patches. >> Hopefully, it makes review easier. I also didn't address moving the >> 'panic_timeout' command-line parameter up as an 'early_param()'. I >> think it

Re: [f2fs-dev] [PATCH] f2fs: readahead contiguous pages for restore_node_summary

2013-11-26 Thread Jaegeuk Kim
Hi Chao, It seems that we already have a readahed function for node pages, ra_node_page(). So, we don't make a page list for this, but can use the node_inode's page cache. So how about writing ra_node_pages() which use the node_inode's page cache? Thanks, 2013-11-22 (금), 15:48 +0800, Chao Yu:

Re: [PATCH] kernel/fork.c : remove local 'oldmm' and retval

2013-11-26 Thread DaeSeok Youn
Sorry. my e-mail was rejected by vger.kernel.org server. resend my e-mail. 2013/11/27 DaeSeok Youn > > Thank you for reviewing my patch. > > I am a newbie who want to know kernel source deeply. :) > > I agree your comments but I want to explain my patch why it is sent. > > I think "ENOMEM" is

Re: [PATCH v2 1/2] mmc: arasan: Add driver for Arasan SDHCI

2013-11-26 Thread Michal Simek
Hi Chris, On 11/27/2013 12:39 AM, Sören Brinkmann wrote: > Hi Chris, > > On Tue, Nov 26, 2013 at 06:22:46PM -0500, Chris Ball wrote: >> Hi Soren, sorry for the late review, just trivial changes: > No problem. Thanks for looking at it. > >> >> On Wed, Oct 30 2013, Soren Brinkmann wrote: >>> diff

RE: [f2fs-dev] [PATCH] f2fs: remove unneeded code in punch_hole

2013-11-26 Thread Chao Yu
Hi, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Wednesday, November 27, 2013 1:14 PM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net; 谭姝; fanofcode...@samsung.com > Subject:

[PATCH] arch: hexagon: include: uapi: asm: setup.h add swith macro __KERNEL__

2013-11-26 Thread Chen Gang
Define dummy '__init' instead of include "linux/init.h" if !__KERNEL__, or can not pass checking. The related error (with allmodconfig under hexagon): CHECK include/asm (34 files) usr/include/asm/setup.h:22: included file 'linux/init.h' is not exported Signed-off-by: Chen Gang ---

Re: Does Itanium permit speculative stores?

2013-11-26 Thread Jon Masters
On 11/11/2013 12:13 PM, Paul E. McKenney wrote: > Hello, Tony, > > Does Itanium permit speculative stores? For example, on Itanium what are > the permitted outcomes of the following litmus test, where both x and y > are initially zero? > > CPU 0 CPU 1 > >

[PATCH 1/2] f2fs: remove unnecessary return value

2013-11-26 Thread Jaegeuk Kim
Let's remove the unnecessary return value. Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 95d2aba..132bb3f 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -773,13 +773,12 @@ static

Re: [f2fs-dev] [PATCH] f2fs: remove unneeded code in punch_hole

2013-11-26 Thread Jaegeuk Kim
Got it. But, with this patch, we can also remove the parameter, int mode, in punch_hole(). If no objection, I'll fix that in your patch. Thanks, 2013-11-22 (금), 16:52 +0800, Chao Yu: > Because FALLOC_FL_PUNCH_HOLE flag must be ORed with FALLOC_FL_KEEP_SIZE > in fallocate, so we could remove the

[PATCH] dmaengine: pl08x: fix conversioin for generic unmap data

2013-11-26 Thread Olof Johansson
commit d38a8c622a1b ('dmaengine: prepare for generic 'unmap' data') added a generic unmap call but used the wrong argument for it. Fix it. Fixes: d38a8c622a1b ('dmaengine: prepare for generic 'unmap' data') Signed-off-by: Olof Johansson --- I can't actually tell what the intent of d38a8cc622a1b

Re: [PATCH v4 07/12] efi: passing kexec necessary efi data via setup_data

2013-11-26 Thread Dave Young
On 11/26/13 at 10:04pm, Matt Fleming wrote: > On Tue, 26 Nov, at 01:57:52PM, Dave Young wrote: > > Add a new setup_data type SETUP_EFI for kexec use. > > Passing the saved fw_vendor, runtime, config tables and > > efi runtime mappings. > > > > When entering virtual mode, directly mapping the efi

[PATCH] net: mac80211: tx.c: be sure of 'sdata->vif.type' must be NL80211_IFTYPE_AP when be in NL80211_IFTYPE_AP case

2013-11-26 Thread Chen Gang
In next-20131122 tree, if "sdata->vif.type != NL80211_IFTYPE_AP", 'chanctx_conf' will be not initialized, so need check it. Related warning (with allmodconfig under hexagon): CC [M] net/mac80211/tx.o net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit': net/mac80211/tx.c:1827:27:

Re: [PATCH] ATA: Fix port removal ordering

2013-11-26 Thread Jingoo Han
On Monday, November 25, 2013 9:19 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > After commit bcdde7e221a8 (sysfs: make __sysfs_remove_dir() recursive) > Mika Westerberg sees traces analogous to the one below in Thunderbolt > hot-remove testing: > > WARNING: CPU: 0 PID: 4 at

Re: [PATCH v3 1/6] watchdog: davinci: change driver to use WDT core

2013-11-26 Thread Sekhar Nori
On Monday 25 November 2013 07:34 PM, Ivan Khoronzhuk wrote: > To reduce code duplicate and increase code readability use WDT core > code to handle WDT interface. > > Remove io_lock as the WDT core uses mutex to lock each wdt device. > Remove wdt_state as the WDT core tracks state with its own

Re: [PATCH -next] platform/chrome: unregister platform driver/device when module exit

2013-11-26 Thread Olof Johansson
On Wed, Nov 27, 2013 at 11:34:58AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > We have registered platform driver and device when module > init, and need unregister them when module exit. > > Signed-off-by: Wei Yongjun > --- Applied, thanks. I suppose it might make sense to move the i2c

Re: [PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
On 11/27/2013 12:03 PM, Greg KH wrote: > On Wed, Nov 27, 2013 at 11:48:08AM +0800, Chen Gang wrote: >> dev_*() assumes 'go' is already initialized, so need use pr_*() instead >> of before 'go' initialized. Related warning (with allmodconfig under >> hexagon): >> >> CC [M]

RE: [PATCHv1] ASoC: SGTL5000: Fix kernel failed while getting regulator consumers

2013-11-26 Thread Li Xiubo
> > else { > > ret = sgtl5000_replace_vddd_with_ldo(codec); > > > You could fix the coding style issue (braces on both branches of the if > clause) here too. > > Yes, I will. Thanks. N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�:+v���zZ+��+zf���h���~i���z�

Re: [PATCH 3.4 00/39] 3.4.71-stable review

2013-11-26 Thread Guenter Roeck
On 11/26/2013 04:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.71 release. There are 39 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.11 00/36] 3.11.10-stable review

2013-11-26 Thread Guenter Roeck
On 11/26/2013 10:12 AM, Greg Kroah-Hartman wrote: - NOTE: This is the LAST 3.11.x kernel I will be releasing. Everyone should be moving to the 3.12.x series at this point in time. After this kernel is released, 3.11 will be end-of-life.

Re: [PATCH 3.12 000/116] 3.12.2-stable review

2013-11-26 Thread Guenter Roeck
On 11/26/2013 04:56 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.2 release. There are 116 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 07/12] memory: davinci-aemif: introduce AEMIF driver

2013-11-26 Thread Sekhar Nori
On Tuesday 26 November 2013 11:14 PM, ivan.khoronzhuk wrote: >>> +static int davinci_aemif_probe(struct platform_device *pdev) >>> +{ >>> + int ret = -ENODEV, i; >>> + struct resource *res; >>> + struct device *dev = >dev; >>> + struct device_node *np = dev->of_node; >>>

Re: [PATCH 00/23] mtd: st_spi_fsm: Add new device

2013-11-26 Thread Brian Norris
+ Huang, Mark, SPI list There seem to be multiple efforts going on that are vaguely related. I'd like to see more of the same people appearing on the CC list, to keep better coordinated. On that topic, is the SPI dev list relevant, or would anybody working on the intersection of SPI and MTD be

Re: [PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Greg KH
On Wed, Nov 27, 2013 at 11:48:08AM +0800, Chen Gang wrote: > dev_*() assumes 'go' is already initialized, so need use pr_*() instead > of before 'go' initialized. Related warning (with allmodconfig under > hexagon): > > CC [M] drivers/staging/media/go7007/go7007-usb.o >

Re: [PATCH v6 4/6] gpio: davinci: add OF support

2013-11-26 Thread Sekhar Nori
On Wednesday 27 November 2013 01:11 AM, Grygorii Strashko wrote: > On 11/26/2013 07:12 PM, Sekhar Nori wrote: >> On Tuesday 26 November 2013 06:03 PM, Grygorii Strashko wrote: >>> On 11/25/2013 01:00 PM, Sekhar Nori wrote: On Thursday 21 November 2013 11:45 PM, Prabhakar Lad wrote: >

[PATCH v2] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. Related warning (with allmodconfig under hexagon): CC [M] drivers/staging/media/go7007/go7007-usb.o drivers/staging/media/go7007/go7007-usb.c: In function 'go7007_usb_probe':

[PATCH V4] cpufreq: suspend governors on system suspend/hibernate

2013-11-26 Thread Viresh Kumar
This patch adds cpufreq callbacks to dpm_{suspend|resume}_noirq() for handling suspend/resume of cpufreq governors. There are multiple problems that are fixed by this patch: - Nishanth Menon (TI) found an interesting problem on his platform, OMAP. His board wasn't working well with

[PATCH] drivers: staging: ft1000: ft1000-usb: ft1000_debug.c: check return value of get_user() in ft1000_ioctl()

2013-11-26 Thread Chen Gang
get_user() may fail and cause 'msgsz' uninitialized, so need give a check. The related warning (with allmodconfig under hexagon): CC [M] drivers/staging/ft1000/ft1000-usb/ft1000_debug.o drivers/staging/ft1000/ft1000-usb/ft1000_debug.c: In function 'ft1000_ioctl':

Re: [PATCH] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
On 11/27/2013 11:21 AM, Joe Perches wrote: > On Wed, 2013-11-27 at 11:17 +0800, Chen Gang wrote: >> dev_*() assumes 'go' is already initialized, so need use pr_*() instead >> of before 'go' initialized. > [] >> diff --git a/drivers/staging/media/go7007/go7007-usb.c >>

Re: [PATCH] MIPS: Alchemy: add missing platform_set_drvdata() in au1550nd_probe()

2013-11-26 Thread Brian Norris
Hi Jingoo, On Wed, Nov 27, 2013 at 09:14:18AM +0900, Jingoo Han wrote: > On Wednesday, November 27, 2013 8:50 AM, Brian Norris wrote: > > On Mon, Nov 11, 2013 at 02:18:29PM +0800, Wei Yongjun wrote: > > > From: Wei Yongjun > > > > > > Add missing platform_set_drvdata() in au1550nd_probe(),

[PATCH -next] platform/chrome: unregister platform driver/device when module exit

2013-11-26 Thread Wei Yongjun
From: Wei Yongjun We have registered platform driver and device when module init, and need unregister them when module exit. Signed-off-by: Wei Yongjun --- drivers/platform/chrome/chromeos_laptop.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [patch] mm: memcg: do not declare OOM from __GFP_NOFAIL allocations

2013-11-26 Thread David Rientjes
On Tue, 26 Nov 2013, David Rientjes wrote: > On Fri, 22 Nov 2013, Johannes Weiner wrote: > > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > > index 13b9d0f..cc4f9cb 100644 > > --- a/mm/memcontrol.c > > +++ b/mm/memcontrol.c > > @@ -2677,6 +2677,9 @@ static int __mem_cgroup_try_charge(struct

Re: [PATCH] kernel/fork.c : remove local 'oldmm' and retval

2013-11-26 Thread Eric W. Biederman
Daeseok Youn writes: > From cec2f201f0dc99a33a58d9d1e0452140bb0993a1 Mon Sep 17 00:00:00 2001 > From: Daeseok Youn > Date: Wed, 27 Nov 2013 09:54:41 +0900 > Subject: [PATCH] kernel/fork.c : remove local 'oldmm' and retval > > Local oldmm is used only for increaing mm_users field > in

linux-next: Tree for Nov 27

2013-11-26 Thread Stephen Rothwell
Hi all, Changes since 20131126: My fixes tree contains: Revert "powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option." The staging tree gained conflicts against the staging.current tree. Non-merge commits (relative to Linus' tree): 1374 1681 files changed, 66133

Re: [PATCH] MAINTAINERS: add HSI subsystem

2013-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 27, 2013 at 02:26:02AM +0100, Sebastian Reichel wrote: > On Tue, Nov 26, 2013 at 04:19:09PM -0800, Greg Kroah-Hartman wrote: > > On Wed, Nov 27, 2013 at 01:12:42AM +0100, Sebastian Reichel wrote: > > > On Wed, Nov 27, 2013 at 12:30:48AM +0100, Linus Walleij wrote: > > > > > +M:

Re: [PATCH] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Joe Perches
On Wed, 2013-11-27 at 11:17 +0800, Chen Gang wrote: > dev_*() assumes 'go' is already initialized, so need use pr_*() instead > of before 'go' initialized. [] > diff --git a/drivers/staging/media/go7007/go7007-usb.c > b/drivers/staging/media/go7007/go7007-usb.c [] > @@ -1057,7 +1057,7 @@ static

Re: linux-next: manual merge of the staging tree with the staging.current tree

2013-11-26 Thread Greg KH
On Wed, Nov 27, 2013 at 01:01:44PM +1100, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got conflicts in > drivers/staging/tidspbridge/pmgr/cmm.c, > drivers/staging/tidspbridge/pmgr/dbll.c, > drivers/staging/tidspbridge/pmgr/dev.c, >

[PATCH] drivers: staging: media: go7007: go7007-usb.c use pr_*() instead of dev_*() before 'go' initialized in go7007_usb_probe()

2013-11-26 Thread Chen Gang
dev_*() assumes 'go' is already initialized, so need use pr_*() instead of before 'go' initialized. Related warning (with allmodconfig under hexagon): CC [M] drivers/staging/media/go7007/go7007-usb.o drivers/staging/media/go7007/go7007-usb.c: In function 'go7007_usb_probe':

Re: [PATCH V3 1/6] cpufreq: suspend governors on system suspend/hibernate

2013-11-26 Thread Viresh Kumar
On 27 November 2013 01:53, Rafael J. Wysocki wrote: > On Tuesday, November 26, 2013 07:56:19 AM Viresh Kumar wrote: >> On 26 November 2013 04:59, Rafael J. Wysocki wrote: >> > This appears to be racy. Is it really racy, or just seemingly? >> >> Why does it look racy to you? Userspace should be

[PATCH] kernel/fork.c : remove local 'oldmm' and retval

2013-11-26 Thread Daeseok Youn
>From cec2f201f0dc99a33a58d9d1e0452140bb0993a1 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Wed, 27 Nov 2013 09:54:41 +0900 Subject: [PATCH] kernel/fork.c : remove local 'oldmm' and retval Local oldmm is used only for increaing mm_users field in current->mm. When clone_flags have a

Re: [PATCH V3 1/6] cpufreq: suspend governors on system suspend/hibernate

2013-11-26 Thread Viresh Kumar
On 27 November 2013 07:12, Rafael J. Wysocki wrote: > Anyway, if you did what I asked you to do and put the cpufreq suspend/resume > into dpm_suspend/resume_noirq(), I'd probably take this for 3.13. However, > since you've decided to put those things somewhere else thus making the > change much

Re: [PATCH v4 06/12] efi: export efi runtime memory mapping to sysfs

2013-11-26 Thread Dave Young
On 11/26/13 at 07:30pm, Matt Fleming wrote: > On Tue, 26 Nov, at 01:57:51PM, Dave Young wrote: > > kexec kernel will need exactly same mapping for > > efi runtime memory ranges. Thus here export the > > runtime ranges mapping to sysfs, kexec-tools > > will assemble them and pass to 2nd kernel via

Re: [PATCH V2] cpufreq: Make sure CPU is running on a freq from freq-table

2013-11-26 Thread Viresh Kumar
On 27 November 2013 01:51, Rafael J. Wysocki wrote: > I was talking about the case when your > > __cpufreq_driver_target(policy, policy->cur - 1, CPUFREQ_RELATION_L); > > fails. The other case is not really interesting. Okay.. I actually thought the context of this chat is about "not fixing the

[PATCH] drivers: staging: ft1000: ft1000-usb: initialize 'status' with STATUS_SUCCESS in request_code_segment()

2013-11-26 Thread Chen Gang
If "!bool_case", it returns unexpected value instead of STATUS_SUCCESS, so need fix it, the related warning (with allmodconfig under hexagon): CC [M] drivers/staging/ft1000/ft1000-usb/ft1000_download.o drivers/staging/ft1000/ft1000-usb/ft1000_download.c: In function

[PATCH RESEND] regulator: lp3971: Convert to devm_regulator_register

2013-11-26 Thread Axel Lin
Both num_regulators and **rdev are no longer required after this conversion, thus remove them from struct lp3971. Signed-off-by: Axel Lin --- Hi Mark, This patch was sent on https://lkml.org/lkml/2013/11/13/34 . Although you replied applied, it still not in your tree. So here is a resend. Axel

[PATCH v3 09/15] ARM: Make the kprobes condition_check symbol names more generic

2013-11-26 Thread David Long
From: "David A. Long" In preparation for sharing the ARM kprobes instruction interpreting code with uprobes, make the symbols names less kprobes-specific. Signed-off-by: David A. Long --- arch/arm/include/asm/probes.h | 4 ++-- arch/arm/kernel/kprobes-thumb.c | 4 ++--

[PATCH v3 02/15] ARM: move shared uprobe/kprobe definitions into new include file

2013-11-26 Thread David Long
From: "David A. Long" Separate the kprobe-only definitions from the definitions needed by both kprobes and uprobes. Signed-off-by: David A. Long --- arch/arm/include/asm/kprobes.h | 15 +-- arch/arm/include/asm/probes.h | 18 ++ 2 files changed, 19 insertions(+),

[PATCH v3 07/15] ARM: Remove use of struct kprobe from generic probes code

2013-11-26 Thread David Long
From: "David A. Long" Change the generic ARM probes code to pass in the opcode and architecture-specific structure separately instead of using struct kprobe, so we do not pollute code being used only for uprobes or other non-kprobes instruction interpretation. Signed-off-by: David A. Long ---

staging: comedi: Fix boolean/logical and mix-up.

2013-11-26 Thread Dave Jones
Introduced in commit b3ff824a81e8. Signed-off-by: Dave Jones diff --git a/drivers/staging/comedi/drivers/pcl730.c b/drivers/staging/comedi/drivers/pcl730.c index d041b714db29..2baaf1db6fbf 100644 --- a/drivers/staging/comedi/drivers/pcl730.c +++ b/drivers/staging/comedi/drivers/pcl730.c @@

[PATCH v3 10/15] ARM: Change more ARM kprobes symbol names to something more

2013-11-26 Thread David Long
From: "David A. Long" Change kprobe_emulate_none, kprobe_simulate_nop, and arm_kprobe_decode_init function names to something more appropriate for code being shared outside of the kprobes subsystem. Also, move the new arm_probes_decode_init declaration out of the kprobes.h include file and into

[PATCH v3 08/15] ARM: Use new opcode type in ARM kprobes/uprobes code

2013-11-26 Thread David Long
From: "David A. Long" For any ARM kprobes/uprobes code interfacing to the generic ARM probes code use a new probes_opcode_t type to avoid a dependency on kprobes definitions. Signed-off-by: David A. Long --- arch/arm/include/asm/probes.h| 7 ++-- arch/arm/kernel/kprobes-arm.c| 16

[PATCH v3 11/15] ARM: Rename the shared kprobes/uprobe return value enum

2013-11-26 Thread David Long
From: "David A. Long" Change the name of kprobes_insn to probes_insn so it can be shared between kprobes and uprobes without confusion. Signed-off-by: David A. Long --- arch/arm/kernel/kprobes-common.c | 2 +- arch/arm/kernel/kprobes-thumb.c | 16 arch/arm/kernel/kprobes.h

Re: [PATCH v4 05/12] efi: export more efi table variable to sysfs

2013-11-26 Thread Dave Young
On 11/26/13 at 03:57pm, Matt Fleming wrote: > On Tue, 26 Nov, at 01:57:50PM, Dave Young wrote: > > Export fw_vendor, runtime and config tables physical > > addresses to /sys/firmware/efi/systab becaue kexec > > kernel will need them. > > This commit log needs updating. Will update > > > From

[PATCH v3 14/15] ARM: add uprobes support

2013-11-26 Thread David Long
From: "David A. Long" Using Rabin Vincent's ARM uprobes patches as a base, enable uprobes support on ARM. Caveats: - Thumb is not supported - XOL abort/trap handling is not implemented Signed-off-by: David A. Long --- arch/arm/Kconfig | 4 +

Re: [PATCH V2 1/2] cpufreq: suspend governors on system suspend/hibernate

2013-11-26 Thread Viresh Kumar
On 27 November 2013 01:48, Rafael J. Wysocki wrote: > On Tuesday, November 26, 2013 08:39:02 PM Pavel Machek wrote: >> So... we freeze frequencies in whatever state they are, yes? Better go through the V3 of this patchset: https://lkml.org/lkml/2013/11/25/838 We are giving drivers and

[PATCH v3 12/15] ARM: Change the remaining shared kprobes/uprobes symbols to something generic

2013-11-26 Thread David Long
From: "David A. Long" Any more ARM kprobes/uprobes symbols which have "kprobe" in the name must be changed to the more generic "probes" or other non-kprobes specific symbol. Signed-off-by: David A. Long --- arch/arm/include/asm/probes.h| 13 ++-- arch/arm/kernel/kprobes-common.c |

[PATCH v3 13/15] ARM: Add an emulate flag to the kprobes/uprobes instruction decode functions

2013-11-26 Thread David Long
From: "David A. Long" Add an emulate flag into the instruction interpreter, primarily for uprobes support. Signed-off-by: David A. Long --- arch/arm/kernel/kprobes.c | 3 ++- arch/arm/kernel/kprobes.h | 1 + arch/arm/kernel/probes-arm.c | 4 ++-- arch/arm/kernel/probes-arm.h

[PATCH v3 06/15] ARM: Disable jprobes test when built into thumb-mode kernel

2013-11-26 Thread David Long
From: "Jon Medhurst (Tixy)" For now the jprobes tests fail on ARM for when built into a kernel compiled in thumb mode. They work fine for ARM kernels, and when built as a loadable module. Signed-off-by: David A. Long --- arch/arm/kernel/kprobes-test.c | 10 ++ 1 file changed, 10

[PATCH v3 15/15] ARM: Remove uprobes dependency on kprobes

2013-11-26 Thread David Long
From: "David A. Long" Now that arm uprobes support has been made separate from the arm kprobes code the Kconfig can be changed to reflect that. Signed-off-by: David A. Long --- arch/arm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

[PATCH v3 01/15] uprobes: allow ignoring of probe hits

2013-11-26 Thread David Long
From: "David A. Long" Allow arches to decided to ignore a probe hit. ARM will use this to only call handlers if the conditions to execute a conditionally executed instruction are satisfied. Upleveled for v3.12-rc5. Signed-off-by: David A. Long --- include/linux/uprobes.h | 1 +

[PATCH v3 00/15] uprobes: Add uprobes support for ARM

2013-11-26 Thread David Long
From: "David A. Long" This patch series adds basic uprobes support to ARM. It is based on patches developed earlier by Rabin Vincent. That approach of adding hooks into the kprobes instruction parsing code was not well received. This approach separates the ARM instruction parsing code in kprobes

Re: [RFC PATCH 0/4] sched: remove cpu_load decay.

2013-11-26 Thread Alex Shi
On 11/22/2013 02:37 PM, Alex Shi wrote: > latest kernel 527d1511310a89+ this patchset > hackbench -T -g 10 -f 40 > 23.25" 21.7" > 23.16" 19.99" > 24.24" 21.53" >

Re: Re: scsi-mq + open-iscsi support patches..?

2013-11-26 Thread kedacomkernel
Hi all, I used target-pending/scsi-mq to test intel ahci,but it can't work.I modify some places, now it can work.But still met hung task or oops. Who can receive my patch for that? Thanks! Jianpeng Ma >On Sat, 2013-11-02 at 16:10 +, Jayamohan Kallickal wrote: > > > >> >> On a related

[PATCH] WIFI: handle a neglected case in nl80211_new_interface()

2013-11-26 Thread Chao Bi
In nl80211_new_interface(), it calls rdev_add_virtual_intf() to create a new interface, however, it only checks whether returned value is err code, but doesn't check if returned value is NULL. The returned value could be NULL, for example, memory allocation failed when creating a new interface.

Re: [PATCH v3 2/6] net: rfkill: gpio: convert to descriptor-based GPIO interface

2013-11-26 Thread Alex Courbot
On 11/26/2013 07:05 PM, Mika Westerberg wrote: From: Heikki Krogerus Convert to the safer gpiod_* family of API functions. Reviewed-by: Alexandre Courbot -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[git pull] Please pull powerpc.git merge branch

2013-11-26 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a few powerpc bug fixes post -rc1. The main thing that caused problem was that CONFIG_CPU_LITTLE_ENDIAN got turned on with allyesconfig and such, which is not a very good idea especially since it requires a newer toolchain than what most people have. So we turned it into a

Re: nouveau/ NV11: 3.12 freezes if X.org is started headless

2013-11-26 Thread Dave Airlie
On Wed, Nov 27, 2013 at 12:15 PM, Ilia Mirkin wrote: > On Tue, Nov 26, 2013 at 8:35 PM, Stefan Lippers-Hollmann wrote: >> Hi >> >> On Wednesday 27 November 2013, Ilia Mirkin wrote: >>> On Tue, Nov 26, 2013 at 7:18 PM, Stefan Lippers-Hollmann >>> wrote: >>> > Hi >>> > >>> > On Tuesday 26

  1   2   3   4   5   6   7   8   9   10   >