[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 --- drivers/dma/dmatest.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/dma/dmatest.c b/drivers/dma/dmatest.c index

[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 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 --- 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 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 --- Changes since v1: - Fix typo of the subject: __exit --> __init drivers/video/backlight/ep93xx_bl.c |2 +- 1

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 wrote: > Hi, > > On Fri, Feb 22, 2013 at 07:09:39AM +, Yuan-Hsin Chen wrote: >> From: Yuan-Hsin Chen >> >> Due to fusb300 controller modification, stall clear procedure should be >> modified consistantly. This patch also fixes software bugs:

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

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

[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 --- drivers/video/backlight/ep93xx_bl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

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

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

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

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

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

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

[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 Cc: Oliver Neukum Cc: Thomas Renninger Cc: Yinghai Lu Cc: Frederik

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

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 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 >> anything off when in

[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 --- drivers/rtc/rtc-tx4939.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-tx4939.c b/drivers/rtc/rtc-tx4939.c index

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

[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 --- drivers/rtc/rtc-tegra.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c index

[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 --- drivers/rtc/rtc-sun4v.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-sun4v.c b/drivers/rtc/rtc-sun4v.c index

[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 --- drivers/rtc/rtc-starfire.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-starfire.c b/drivers/rtc/rtc-starfire.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 --- drivers/rtc/rtc-rp5c01.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-rp5c01.c b/drivers/rtc/rtc-rp5c01.c index

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

[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 --- drivers/rtc/rtc-pxa.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c index

[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 --- drivers/rtc/rtc-ps3.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-ps3.c b/drivers/rtc/rtc-ps3.c index

[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 --- drivers/rtc/rtc-pcap.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-pcap.c b/drivers/rtc/rtc-pcap.c index

[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 --- drivers/rtc/rtc-omap.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index

[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 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 --- drivers/rtc/rtc-nuc900.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c index

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

[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 --- drivers/rtc/rtc-msm6242.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-msm6242.c b/drivers/rtc/rtc-msm6242.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 --- drivers/rtc/rtc-mc13xxx.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/rtc/rtc-mc13xxx.c b/drivers/rtc/rtc-mc13xxx.c index

[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 --- drivers/rtc/rtc-imxdi.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-imxdi.c b/drivers/rtc/rtc-imxdi.c index

[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 --- drivers/rtc/rtc-generic.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-generic.c b/drivers/rtc/rtc-generic.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 --- drivers/rtc/rtc-efi.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-efi.c b/drivers/rtc/rtc-efi.c index

[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 --- drivers/rtc/rtc-ds1302.c | 13 + 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index

[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

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