[PATCH 07/24] rtc: rtc-ds1302: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-ds1302.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-ds1302.c

[PATCH 08/24] rtc: rtc-efi: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-efi.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-efi.c

[PATCH 09/24] rtc: rtc-generic: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-generic.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-generic.c

[PATCH 10/24] rtc: rtc-imxdi: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-imxdi.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-imxdi.c

[PATCH 11/24] rtc: rtc-mc13xxx: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-mc13xxx.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-mc13xxx.c

[PATCH 12/24] rtc: rtc-msm6242: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-msm6242.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-msm6242.c

[PATCH 13/24] rtc: rtc-mv: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-mv.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-mv.c b/drivers/rtc/rtc-mv.c

[PATCH 14/24] rtc: rtc-nuc900: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-nuc900.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-nuc900.c

[PATCH] Revert random: Mix cputime from each thread that exits to the pool

2013-03-04 Thread Russ Dill
This reverts commit 6133705494bb02953e1e2cc3018a4373981b3c97. The above commit introduces a circular locking dependacy. Existing code takes nonblocking_port.lock and then tasklist_lock. The code in this commit takes nonblocking_port.lock while talklist_lock is already held leading to a potential

[PATCH 15/24] rtc: rtc-omap: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-omap.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-omap.c

[PATCH 16/24] rtc: rtc-pcap: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-pcap.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-pcap.c

[PATCH 17/24] rtc: rtc-ps3: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-ps3.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-ps3.c

[PATCH 18/24] rtc: rtc-pxa: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-pxa.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-pxa.c

[PATCH 19/24] rtc: rtc-rp5c01: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-rp5c01.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-rp5c01.c

[PATCH 20/24] rtc: rtc-sh: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-sh.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-sh.c b/drivers/rtc/rtc-sh.c

[PATCH 21/24] rtc: rtc-starfire: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-starfire.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-starfire.c

[PATCH 22/24] rtc: rtc-sun4v: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-sun4v.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-sun4v.c

[PATCH 23/24] rtc: rtc-tegra: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-tegra.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-tegra.c

[PATCH 24/24] rtc: rtc-tx4939: use module_platform_driver_probe()

2013-03-04 Thread Jingoo Han
This patch uses module_platform_driver_probe() macro which makes the code smaller and simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-tx4939.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-tx4939.c

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Huang Shijie
于 2013年03月04日 15:50, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 13:57 +0800, Huang Shijie wrote: The current code uses the @id to store the device id(byte 1). But if we use the 8 bytes id data as the keyword, and expand the @id field to 8byte array, the device id is the second byte now. All the

Re: [PATCH v2 06/10] usb: xhci: Enable runtime pm in xhci-plat

2013-03-04 Thread Vivek Gautam
Hi, On Sat, Mar 2, 2013 at 9:23 PM, Alan Stern st...@rowland.harvard.edu wrote: On Sat, 2 Mar 2013, Vivek Gautam wrote: By enabling runtime pm in this driver allows users of xhci-plat to enter into runtime pm. This is not full runtime pm support (AKA xhci-plat doesn't actually power

Re: [RFC PATCH 0/5] net: low latency Ethernet device polling

2013-03-04 Thread Eliezer Tamir
On 04/03/2013 09:37, Cong Wang wrote: On 02/28/2013 01:55 AM, Eliezer Tamir wrote: Open issues: 1. Find a way to avoid the need to change the sk and skb structs. One big disadvantage of how we do this right now is that when a device is removed, it's hard to prevent it from getting polled by a

[PATCH][v2] xhci: correctly enable interrupts

2013-03-04 Thread Hannes Reinecke
xhci has its own interrupt enabling routine, which will try to use MSI-X/MSI if present. So the usb core shouldn't try to enable legacy interrupts; on some machines the xhci legacy IRQ setting is invalid. Cc: Bjorn Helgaas bhelg...@google.com Cc: Oliver Neukum oneu...@suse.de Cc: Thomas Renninger

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Artem Bityutskiy
On Mon, 2013-03-04 at 16:08 +0800, Huang Shijie wrote: 于 2013年03月04日 15:50, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 13:57 +0800, Huang Shijie wrote: The current code uses the @id to store the device id(byte 1). But if we use the 8 bytes id data as the keyword, and expand the @id field

RE: [PATCH] xfs: Fix possible truncation of log data in xlog_bread_noalign()

2013-03-04 Thread Tony Lu
Thanks for you following up. My apologize that I just found that it is one change I made before that causes this problem. This change forces mkfs.xfs to format xfs partitions whose sectorsize were not smaller than 4096 bytes, which was due to a bug that earlier versions of xfs used (struct

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Artem Bityutskiy
On Mon, 2013-03-04 at 16:08 +0800, Huang Shijie wrote: 于 2013年03月04日 15:50, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 13:57 +0800, Huang Shijie wrote: The current code uses the @id to store the device id(byte 1). But if we use the 8 bytes id data as the keyword, and expand the @id field

Re: user ns: arbitrary module loading

2013-03-04 Thread Mathias Krause
On Sun, Mar 03, 2013 at 09:48:50AM -0800, Kees Cook wrote: Several subsystems already have an implicit subsystem restriction because they load with aliases. (e.g. binfmt-, net-pf=NNN, snd-card-NNN, FOO-iosched, etc). This isn't the case for filesystems and a few others, unfortunately: $

[PATCH] check for allocation failure in ioat_dma_self_test

2013-03-04 Thread Andrew Cooks
This patch fixes a warning in ioat_dma_self_test when DMA_API_DEBUG is enabled. The warning is: [1.581984] ioatdma: Intel(R) QuickData Technology Driver 4.00 [1.582095] bus: 'pci': add driver ioatdma [1.582102] bus: 'pci': driver_probe_device: matched device :00:04.0 with driver

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Huang Shijie
于 2013年03月04日 16:24, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 16:08 +0800, Huang Shijie wrote: 于 2013年03月04日 15:50, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 13:57 +0800, Huang Shijie wrote: The current code uses the @id to store the device id(byte 1). But if we use the 8 bytes id data as

Re: [RFC PATCH 1/5] net: implement support for low latency socket polling

2013-03-04 Thread Eliezer Tamir
On 03/03/2013 20:35, Eric Dumazet wrote: On Wed, 2013-02-27 at 09:55 -0800, Eliezer Tamir wrote: index 821c7f4..d1d1016 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h @@ -408,6 +408,10 @@ struct sk_buff { struct sock *sk; struct net_device

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Artem Bityutskiy
On Mon, 2013-03-04 at 16:40 +0800, Huang Shijie wrote: 于 2013年03月04日 16:24, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 16:08 +0800, Huang Shijie wrote: 于 2013年03月04日 15:50, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 13:57 +0800, Huang Shijie wrote: The current code uses the @id to store

Re: [RFC PATCH 0/5] net: low latency Ethernet device polling

2013-03-04 Thread Eliezer Tamir
A dumb question: is bypassing tcpdump/netfilters/qdisc etc. what we always want? Isn't this a security issue? We are not bypassing any of the regular stack checks/hooks, we call the normal netif_rx_skb(). correction, netif_receive_skb() -- To unsubscribe from this list: send the line

[PATCH] backlight: ep93xx_bl: remove incorrect __exit annotation

2013-03-04 Thread Jingoo Han
When platform_driver_probe() is not used, bind/unbind via sysfs is enabled. Thus, __init/__exit annotations should be removed from probe()/remove(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/ep93xx_bl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Huang Shijie
于 2013年03月04日 16:37, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 16:08 +0800, Huang Shijie wrote: 于 2013年03月04日 15:50, Artem Bityutskiy 写道: On Mon, 2013-03-04 at 13:57 +0800, Huang Shijie wrote: The current code uses the @id to store the device id(byte 1). But if we use the 8 bytes id data as

Re: [PATCH] backlight: ep93xx_bl: remove incorrect __exit annotation

2013-03-04 Thread Jingoo Han
On Monday, March 04, 2013 5:57 PM, Jingoo Han wrote: Subject: [PATCH] backlight: ep93xx_bl: remove incorrect __exit annotation Sorry, subject is wrong. __exit should be __init. I will send the v2 patch, soon. When platform_driver_probe() is not used, bind/unbind via sysfs is enabled. Thus,

Re: [PATCH V3 1/3] mtd: add new fields to nand_flash_dev{}

2013-03-04 Thread Huang Shijie
于 2013年03月04日 16:46, Artem Bityutskiy 写道: Thanks, I forgot we have this great table. BTW, please, do not forget to update it with information about these 4 chip you are adding, irrespective of the solution we end up with. I also want to update the table, but i do not know how to do it. thanks

Re: [PATCH] fusb300_udc: modify stall clear and idma reset procedure

2013-03-04 Thread Yuan-Hsin Chen
Hi, On Wed, Feb 27, 2013 at 1:59 AM, Felipe Balbi ba...@ti.com wrote: Hi, On Fri, Feb 22, 2013 at 07:09:39AM +, Yuan-Hsin Chen wrote: From: Yuan-Hsin Chen yuan...@gmail.com Due to fusb300 controller modification, stall clear procedure should be modified consistantly. This patch also

[PATCH V2] backlight: ep93xx_bl: remove incorrect __init annotation

2013-03-04 Thread Jingoo Han
When platform_driver_probe() is not used, bind/unbind via sysfs is enabled. Thus, __init/__exit annotations should be removed from probe()/remove(). Signed-off-by: Jingoo Han jg1@samsung.com --- Changes since v1: - Fix typo of the subject: __exit -- __init

[PATCH 10/10] dmatest: append verify result to results

2013-03-04 Thread Andy Shevchenko
Comparison between buffers is stored to the dedicated structure. Note that the verify result is now accessible only via file 'results' in the debugfs. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- Documentation/dmatest.txt | 6 +- drivers/dma/dmatest.c | 182

[PATCH 06/10] dmatest: run test via debugfs

2013-03-04 Thread Andy Shevchenko
Instead of doing modprobe dmatest ... modprobe -r dmatest we allow user to run tests interactively. The dmatest could be built as module or inside kernel. Let's consider those cases. 1. When dmatest is built as a module... After mounting debugfs and loading the module, the

[PATCH 03/10] dmatest: create dmatest_info to keep test parameters

2013-03-04 Thread Andy Shevchenko
The proposed change will remove usage of the module parameters as global variables. In future it helps to run different test cases sequentially. The patch introduces the run_threaded_test() and stop_threaded_test() functions that could be used later outside of dmatest_init, dmatest_exit scope.

[PATCH 08/10] dmatest: define MAX_ERROR_COUNT constant

2013-03-04 Thread Andy Shevchenko
Its meaning is to limit amount of error messages to be printed out when buffer mismatch is occured. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dmatest.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/dma/dmatest.c

[PATCH 01/10] dmatest: cancel thread immediately when asked for

2013-03-04 Thread Andy Shevchenko
If user have the timeout alike issues and wants to cancel the thread immediately, the current call of wait_event_freezable_timeout is preventing to this until timeout is expired. Thus, user will experience the unnecessary delays. Adding kthread_should_stop() check inside

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-03-04 Thread Paul Bolle
On Mon, 2013-03-04 at 07:55 +, Jan Beulich wrote: On 03.03.13 at 11:20, Paul Bolle pebo...@tiscali.nl wrote: For one, a fix for the (indeed valid) compiler warning has been in Konrad's tree for several days

[PATCH 09/10] dmatest: gather test results in the linked list

2013-03-04 Thread Andy Shevchenko
The patch provides a storage for the test results in the linked list. The gathered data could be used after test is done. The new file 'results' represents gathered data of the in progress test. The messages collected are printed to the kernel log as well. Example of output: % cat

[PATCH 04/10] dmatest: move dmatest_channels and nr_channels to dmatest_info

2013-03-04 Thread Andy Shevchenko
We don't need to have them global and later we would like to protect access to them as well. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dmatest.c | 29 - 1 file changed, 16 insertions(+), 13 deletions(-) diff --git

[PATCH 02/10] dmatest: allocate memory for pq_coefs from heap

2013-03-04 Thread Andy Shevchenko
This will help in future to hide a global variable usage. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dmatest.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index

[PATCH 05/10] dmatest: split test parameters to separate structure

2013-03-04 Thread Andy Shevchenko
Better to keep test parameters separate from internal variables. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dmatest.c | 109 -- 1 file changed, 62 insertions(+), 47 deletions(-) diff --git

[PATCH 07/10] dmatest: return actual state in 'run' file

2013-03-04 Thread Andy Shevchenko
The following command should return actual state of the test. % cat /sys/kernel/debug/dmatest/run To wait for test done the user may perform a busy loop that checks the state. % while [ $(cat /sys/kernel/debug/dmatest/run) = Y ] do echo -n .

Re: [PATCH] sched: Fix calc_cfs_shares() to consider blocked_load_avg also

2013-03-04 Thread Paul Turner
(I'm still in New Zealand and won't be on regular email until March 6th, but I just saw this and wanted to comment quickly) On Thu, Feb 28, 2013 at 7:26 PM, Namhyung Kim namhy...@kernel.org wrote: From: Namhyung Kim namhyung@lge.com The calc_tg_weight() and calc_cfs_shares() used

Re: [PATCH] tidspbridge: Fix compilation

2013-03-04 Thread Omar Ramirez Luna
Hi, On Thu, Feb 28, 2013 at 11:51 AM, Pali Rohár pali.ro...@gmail.com wrote: Fix includes and use clk_prepare_enable/clk_disable_unprepare Signed-off-by: Pali Rohár pali.ro...@gmail.com Signed-off-by: Joni Lapilainen joni.lapilai...@gmail.com ---

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-03-04 Thread Jan Beulich
On 04.03.13 at 10:11, Paul Bolle pebo...@tiscali.nl wrote: On Mon, 2013-03-04 at 07:55 +, Jan Beulich wrote: On 03.03.13 at 11:20, Paul Bolle pebo...@tiscali.nl wrote: For one, a fix for the (indeed valid) compiler warning has been in Konrad's tree for several days

[PATCH 00/10] dmatest: update the module to use debugfs

2013-03-04 Thread Andy Shevchenko
The first approach to get dmatest module more flexible and easier to play with. The amount of patches could be reduced, but I would like to get a comments first on smaller pieces. The entire series creates dmatest.txt file in the Documentation folder. Similar description is scattered through the

[PATCH Resend] dma: pl330: Convert to devm_ioremap_resource()

2013-03-04 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Reviewed-by: Thierry Reding thierry.red...@avionic-design.de --- drivers/dma/pl330.c |7 --- 1 files

Re: [PATCH v2] eCryptfs: allow userspace messaging to be disabled

2013-03-04 Thread Tyler Hicks
On 2013-02-28 00:39:37, Kees Cook wrote: When the userspace messaging (for the less common case of userspace key wrap/unwrap via ecryptfsd) is not needed, allow eCryptfs to build with it removed. This saves on kernel code size and reduces potential attack surface by removing the /dev/ecryptfs

Re: [RFC PATCH] context_tracking/rcu: don't function trace before rcu_user_exit() finishes

2013-03-04 Thread Li Zhong
This updated version adds notrace to these functions directly: I saw some RCU illegal usage from idle complaints when function tracer is enabled with forced context tracking. It seems that __schedule() might be called in function_trace_call() when it re-enables preemption(if preemption and irqs

Re: [PATCH] i2c: busses: i2c-ocores: Fix PM-related warning

2013-03-04 Thread Maxin B. John
On Tue, Feb 26, 2013 at 10:53 PM, maxin.j...@gmail.com wrote: From: Maxin B. John maxin.j...@enea.com Fixes this warning: CC drivers/i2c/busses/i2c-ocores.o drivers/i2c/busses/i2c-ocores.c:460:12: warning: 'ocores_i2c_suspend' defined but not used [-Wunused-function]

Re: [PATCH RFT] pinctrl: single: Fix build error

2013-03-04 Thread Axel Lin
= pcs_pinconf_config_dbg_show, + .is_generic = true, There's two cases for is_generic. Your fix only make thing worse. AFAICT, in current code ( linux-next 20130304, before applying this patch): if match-data is false, pcs-is_pinconf is also false which means pinconf isn't supported. In the case pcs

[PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-04 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error messages can be removed from the failure code paths. Signed-off-by: Sachin Kamat

Re: [printk A-A deadlock] possible reason: unannotated irqs-on

2013-03-04 Thread Fengguang Wu
On Mon, Mar 04, 2013 at 10:14:58AM +0100, Jan Kara wrote: On Mon 04-03-13 13:42:54, Wu Fengguang wrote: Greetings, I got the below oops and the first bad commit is Thanks for report! BTW, I didn't see any oops in the log, just complaints from lockdep about a bug in irq handling (which

Re: linux-next: build failure after merge of the final tree (akpm tree related)

2013-03-04 Thread Jan Kara
On Mon 04-03-13 14:28:21, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (arm defconfig) failed like this: kernel/built-in.o: In function `console_unlock': cpu_pm.c:(.text+0x4418): undefined reference to `__bad_udelay' Caused by commit

Re: [PATCH v13 1/8] save/load cpu runstate

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: This patch enables preservation of cpu runstate during save/load vm. So when a vm is restored from snapshot, the cpu runstate is restored, too. I don't think this feature is worth breaking backwards migration compatibility. It is usually handled at a

Re: [PATCH v13 2/8] start vm after resetting it

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: From: Wen Congyang we...@cn.fujitsu.com The guest should run after resetting it, but it does not run if its old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED. We don't set runstate to RUN_STATE_PAUSED when resetting the guest, so the

Re: [PATCH RFT] pinctrl: single: Fix build error

2013-03-04 Thread Haojian Zhuang
= pcs_pinconf_group_dbg_show, .pin_config_config_dbg_show = pcs_pinconf_config_dbg_show, + .is_generic = true, There's two cases for is_generic. Your fix only make thing worse. AFAICT, in current code ( linux-next 20130304, before applying this patch): if match-data is false, pcs-is_pinconf is also

Re: [PATCH] tty/serial: Fix uninitialized variable warning

2013-03-04 Thread Jiri Slaby
On 03/04/2013 03:36 AM, Peter Hurley wrote: On Mon, 2013-03-04 at 09:35 +0800, Grant Likely wrote: drivers/tty/serial/8250/8250.c: In function 'serial_unlink_irq_chain': drivers/tty/serial/8250/8250.c:1676:19: warning: 'i' may be used uninitialized in this function There isn't an actual bug

Re: [PATCH v13 4/8] add a new runstate: RUN_STATE_GUEST_PANICKED

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- migration.c | 1 + qapi-schema.json | 6 +- qmp.c| 3 ++- vl.c

Re: [PATCH v13 5/8] add a new qevent: QEVENT_GUEST_PANICKED

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: This event will be emited when the guest is panicked. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- include/monitor/monitor.h | 1 + monitor.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/monitor/monitor.h

Re: [PATCH 1/1] drivers/misc: Add Altera System ID driver

2013-03-04 Thread Ley Foon Tan
On Mon, 2013-03-04 at 11:44 +0800, Greg Kroah-Hartman wrote: On Mon, Mar 04, 2013 at 03:32:19AM +, Arnd Bergmann wrote: On Monday 04 March 2013, Ley Foon Tan wrote: This patch is to add Altera System ID driver. User can obtain the system ID and timestamp of the system by reading

Re: [PATCH v13 6/8] introduce a new qom device to deal with panicked event

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: If the target is x86/x86_64, the guest's kernel will write 0x01 to the port KVM_PV_EVENT_PORT when it is panciked. This patch introduces a new qom device kvm_pv_ioport to listen this I/O port, and deal with panicked event according to panicked_action's

[GIT pull] core urgent updates for 3.9-rc1

2013-03-04 Thread Thomas Gleixner
Linus, please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus * Single bugfix for a regression introduced with the conversion of the stop machine threads to the generic smpboot thread management

Re: [PATCH v3] gpio: Add device driver for GRGPIO cores and support custom accessors with gpio-generic

2013-03-04 Thread Andreas Larsson
On 2013-03-01 01:24, Linus Walleij wrote: On Tue, Feb 12, 2013 at 8:24 AM, Andreas Larsson andr...@gaisler.com wrote: This driver supports GRGPIO gpio cores available in the GRLIB VHDL IP core library from Aeroflex Gaisler. This also adds support to gpio-generic for using custom accessor

[GIT pull] irq urgent updates for 3.9-rc1

2013-03-04 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus * e5ab012: nohz: Make tick_nohz_irq_exit() irq safe is the first commit in the series and the minimal necessary bugfix, which needs to go back

Latest randconfig build errors

2013-03-04 Thread Russell King - ARM Linux
Last nights automated ARM build found the following errors with randconfig. All information as usual at http://www.arm.linux.org.uk/developer/build/ Versatile randconfig: ERROR: irq_domain_add_simple [drivers/gpio/gpio-em.ko] undefined! OMAP4430 randconfig:

Re: [PATCH v13 7/8] allower the user to disable pv event support

2013-03-04 Thread Paolo Bonzini
Il 28/02/2013 13:13, Hu Tao ha scritto: Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- hw/pc_piix.c| 9 - qemu-options.hx | 3 ++- vl.c| 4 3 files changed, 14 insertions(+), 2 deletions(-) We cannot add

[PATCH] scripts/mod: add device table offsets file to list of files to clean

2013-03-04 Thread Fernando Luis Vázquez Cao
From: Fernando Luis Vázquez Cao ferna...@oss.ntt.co.jp This file is generated so it does not get cleaned automagically. In other words we need to added to the clean-files list. Signed-off-by: Fernando Luis Vázquez Cao ferna...@oss.ntt.co.jp --- diff -urNp linux-3.9-rc1-orig/scripts/mod/Makefile

Re: [PATCH] i2c: busses: i2c-ocores: Fix PM-related warning

2013-03-04 Thread Peter Korsgaard
Maxin == Maxin B John maxin.j...@gmail.com writes: Maxin On Tue, Feb 26, 2013 at 10:53 PM, maxin.j...@gmail.com wrote: From: Maxin B. John maxin.j...@enea.com Fixes this warning: CC drivers/i2c/busses/i2c-ocores.o drivers/i2c/busses/i2c-ocores.c:460:12: warning:

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Paolo Bonzini
Il 03/03/2013 10:17, Gleb Natapov ha scritto: On Thu, Feb 28, 2013 at 08:13:10PM +0800, Hu Tao wrote: This series implements a new interface, kvm pv event, to notify host when some events happen in guest. Right now there is one supported event: guest panic. What other event do you have in

Re: [PATCH 00/40] Power: AB8500: Internal development push

2013-03-04 Thread Samuel Ortiz
Hi Anton, On Sat, Mar 02, 2013 at 03:33:35PM -0800, Anton Vorontsov wrote: Hello Lee, On Fri, Feb 15, 2013 at 12:44:30PM +, Lee Jones wrote: This is the 3rd and final instalment of the push to synchronise the ABx500 Battery Management series of internal development patches due for

Re: [PATCH] check for allocation failure in ioat_dma_self_test

2013-03-04 Thread Russell King - ARM Linux
On Mon, Mar 04, 2013 at 04:39:16PM +0800, Andrew Cooks wrote: diff --git a/drivers/dma/ioat/dma.c b/drivers/dma/ioat/dma.c index 1879a59..1f706c4 100644 --- a/drivers/dma/ioat/dma.c +++ b/drivers/dma/ioat/dma.c @@ -832,7 +832,18 @@ int ioat_dma_self_test(struct ioatdma_device *device)

[PATCH] printk/tracing: rework console tracing

2013-03-04 Thread zhangwei(Jovi)
From 0a2bd3ad03fc9acd125f4eeb585a1e09027a182a Mon Sep 17 00:00:00 2001 From: zhangwei(Jovi) jovi.zhang...@huawei.com Date: Mon, 4 Mar 2013 17:45:10 +0800 Subject: [PATCH] printk/tracing: rework console tracing commit 7ff9554bb(printk: convert byte-buffer to variable-length record buffer) removed

[3.5.y.z extended stable] Linux 3.5.7.7

2013-03-04 Thread Luis Henriques
I am announcing the release of the 3.5.7.7 tree of stable patches. This tree picks up the latest 3.5 stable release upstream, and add patches on top that were later marked for stable but can't be added to 3.5, as it is not anymore an stable series maintained upstream. The tree is maintained by

Re: linux-next: manual merge of the signal tree with Linus' tree

2013-03-04 Thread James Hogan
On 04/03/13 02:03, Stephen Rothwell wrote: Hi Al, Today's linux-next merge of the signal tree got a conflict in include/asm-generic/unistd.h between commit 4dd3c95940b8 (asm-generic/unistd.h: handle symbol prefixes in cond_syscall) from Linus' tree and commit 24a2641326f1 (consolidate

Re: [PATCH v2] gpio: palmas: add in GPIO support for palmas charger

2013-03-04 Thread Ian Lartey
On 02/03/13 19:35, Grant Likely wrote: On Sat, 2 Mar 2013 13:09:47 +0530, Laxman Dewangan ldewan...@nvidia.com wrote: On Friday 01 March 2013 10:36 PM, Ian Lartey wrote: Palmas charger has 16 GPIOs add palmas_gpio_[read|write|update] api to take account second bank of GPIOs Signed-off-by: Ian

Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-04 Thread Thierry Reding
On Mon, Mar 04, 2013 at 02:39:39PM +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages; so all explicit error messages can be

Re: sendfile and EAGAIN

2013-03-04 Thread Eric Wong
Ulrich Drepper drep...@gmail.com wrote: On Mon, Feb 25, 2013 at 2:22 PM, Eric Dumazet eric.duma...@gmail.com wrote: I don't understand the issue. sendfile() returns -EAGAIN only if no bytes were copied to the socket. There is something wrong/unexpected/... I have a program which can

[GIT PULL] SLAB changes for v3.9-rc1

2013-03-04 Thread Pekka Enberg
Hi Linus, I managed to miss the merge window. Sorry about that! Please consider pull the latest SLAB tree from: git://git.kernel.org/pub/scm/linux/kernel/git/penberg/linux.git slab/for-linus It contains more of Christoph's SLAB unification work that reduce the differences between different

Re: [PATCH v2] hlist: drop the node parameter from iterators

2013-03-04 Thread Paul Bolle
On Wed, 2013-01-30 at 21:00 -0500, Sasha Levin wrote: I'm not sure why, but the hlist for each entry iterators were conceived differently from the list ones. While the list ones are nice and elegant: list_for_each_entry(pos, head, member) The hlist ones were greedy and wanted an

Re: [PATCH v2] gpio: palmas: add in GPIO support for palmas charger

2013-03-04 Thread Samuel Ortiz
Hi Ian, On Mon, Mar 04, 2013 at 10:20:58AM +, Ian Lartey wrote: On 02/03/13 19:35, Grant Likely wrote: On Sat, 2 Mar 2013 13:09:47 +0530, Laxman Dewangan ldewan...@nvidia.com wrote: On Friday 01 March 2013 10:36 PM, Ian Lartey wrote: Palmas charger has 16 GPIOs add

Re: [PATCH v3 3/3] leds: leds-pwm: Defer led_pwm_set() if PWM can sleep

2013-03-04 Thread Florian Vaussard
Hi Bryan, Richard, On 01/30/2013 09:17 AM, Thierry Reding wrote: On Mon, Jan 28, 2013 at 03:00:59PM +0100, Florian Vaussard wrote: Call to led_pwm_set() can happen inside atomic context, like triggers. If the PWM call can sleep, defer using a worker. Cc: Peter Ujfalusi peter.ujfal...@ti.com

Re: [PATCH] mfd: palmas: is_palmas_charger needed by multiple drivers

2013-03-04 Thread Samuel Ortiz
Hi Ian, On Tue, Feb 26, 2013 at 02:47:28PM +, Ian Lartey wrote: is_palmas_charger checks for the presence of charging functionality in the device Signed-off-by: Graeme Gregory g...@slimlogic.co.uk Signed-off-by: Ian Lartey i...@slimlogic.co.uk Acked-by: Laxman

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Gleb Natapov
On Mon, Mar 04, 2013 at 11:28:05AM +0100, Paolo Bonzini wrote: Il 04/03/2013 11:21, Gleb Natapov ha scritto: Just to clarify it for Hu Tao, the read from a random ioport is how the ACPI code will detect presence of the device. Actually no (at least in the long run, for the first

[PATCH] hugetlb: fix sparse warning for hugetlb_register_node

2013-03-04 Thread Claudiu Ghioc
Removed the following sparse warnings: * mm/hugetlb.c:1764:6: warning: symbol 'hugetlb_unregister_node' was not declared. Should it be static? * mm/hugetlb.c:1808:6: warning: symbol 'hugetlb_register_node' was not declared. Should it be static? Signed-off-by: Claudiu Ghioc

e1000e: nic does not work properly after cold power on

2013-03-04 Thread Mihai Donțu
Hi, I apologize in advance for posting on two lists at once and for not even being subscribed to e1000-devel. Ever since upgrading to 3.8.x, I'm unable to use my wired connection (e1000e - Intel Corporation 82579LM Gigabit) immediately after power on. I have to boot into an older kernel (3.2.0 I

[PATCH 2/2] selftest: add a test case for PTRACE_PEEKSIGINFO

2013-03-04 Thread Andrey Vagin
* Dump signals from process-wide and per-thread queues with different sizes of buffers. * Check error paths for buffers with restricted permissions. A part of buffer or a whole buffer is for read-only. * Try to get nonexistent signal. Cc: Roland McGrath rol...@redhat.com Cc: Oleg Nesterov

Re: Inactive memory keep growing and how to release it?

2013-03-04 Thread Zlatko Calusic
On 04.03.2013 10:52, Lenky Gao wrote: Hi, When i just run a test on Centos 6.2 as follows: #!/bin/bash while true do file=/tmp/filetest echo $file dd if=/dev/zero of=${file} bs=512 count=204800 /dev/null sleep 5 done the inactive memory keep growing:

Re: [RFC PATCH v3 4/6] uretprobes: return probe entry, prepare uretprobe

2013-03-04 Thread Anton Arapov
On Sun, Mar 03, 2013 at 05:40:29PM +0100, Oleg Nesterov wrote: On 02/28, Anton Arapov wrote: @@ -69,6 +69,10 @@ struct uprobe_task { enum uprobe_task_state state; struct arch_uprobe_task autask; + /* +* list for tracking uprobes with return consumers

[PATCH 1/2] ptrace: add ability to retrieve signals without removing from a queue (v4)

2013-03-04 Thread Andrey Vagin
This patch adds a new ptrace request PTRACE_PEEKSIGINFO. This request is used to retrieve information about pending signals starting with the specified sequence number. Siginfo_t structures are copied from the child into the buffer starting at data. The argument addr is a pointer to struct

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Paolo Bonzini
Il 04/03/2013 11:43, Gleb Natapov ha scritto: Anyhow, this does not apply to the next submission of this series. I think we can agree to the compromise of using ACPI but still read the port in _STA. If you want to make ioport configurable I do not see how can we avoid patching. I want

Re: [PATCH v3 3/3] leds: leds-pwm: Defer led_pwm_set() if PWM can sleep

2013-03-04 Thread Thierry Reding
On Mon, Mar 04, 2013 at 11:44:22AM +0100, Florian Vaussard wrote: Hi Bryan, Richard, On 01/30/2013 09:17 AM, Thierry Reding wrote: On Mon, Jan 28, 2013 at 03:00:59PM +0100, Florian Vaussard wrote: Call to led_pwm_set() can happen inside atomic context, like triggers. If the PWM call can

Re: [PATCH v13 0/8] pv event interface between host and guest

2013-03-04 Thread Gleb Natapov
On Mon, Mar 04, 2013 at 11:49:07AM +0100, Paolo Bonzini wrote: Il 04/03/2013 11:43, Gleb Natapov ha scritto: Anyhow, this does not apply to the next submission of this series. I think we can agree to the compromise of using ACPI but still read the port in _STA. If you want to make

  1   2   3   4   5   6   7   >