RE: [PATCH] mm: compaction: fix echo 1 compact_memory return error issue

2013-01-06 Thread Liu Hui-R64343
-Original Message- From: Wanpeng Li [mailto:liw...@linux.vnet.ibm.com] Sent: Sunday, January 06, 2013 4:00 PM To: Liu Hui-R64343 Cc: linux-kernel@vger.kernel.org; mgor...@suse.de; akpm@linux- foundation.org; r...@redhat.com; minc...@kernel.org; kamezawa.hir...@jp.fujitsu.com;

Re: [PATCHSET] cpuset: decouple cpuset locking from cgroup core, take#2

2013-01-06 Thread Li Zefan
On 2013/1/4 5:35, Tejun Heo wrote: Hello, guys. This is the second attempt at decoupling cpuset locking from cgroup core. Changes from the last take[L] are * cpuset-drop-async_rebuild_sched_domains.patch moved from 0007 to 0009. This reordering makes cpu hotplug handling async first

Re: [PATCH 10/13] cpuset: make CPU / memory hotplug propagation asynchronous

2013-01-06 Thread Li Zefan
+static void schedule_cpuset_propagate_hotplug(struct cpuset *cs) +{ + /* + * Pin @cs. The refcnt will be released when the work item + * finishes executing. + */ + if (!css_tryget(cs-css)) + return; + + /* + * Queue @cs-empty_cpuset_work.

[PATCH v6 0/4] block layer runtime pm

2013-01-06 Thread Aaron Lu
In August 2010, Jens and Alan discussed about Runtime PM and the block layer. http://marc.info/?t=12825910841r=1w=2 And then Alan has given a detailed implementation guide: http://marc.info/?l=linux-scsim=133727953625963w=2 To test: # ls -l /sys/block/sda

[PATCH v6 1/4] block: add a flag to identify PM request

2013-01-06 Thread Aaron Lu
From: Lin Ming ming.m@intel.com Add a flag REQ_PM to identify the request is PM related. As an example, modify scsi code to use this flag. Signed-off-by: Lin Ming ming.m@intel.com Signed-off-by: Aaron Lu aaron...@intel.com --- drivers/scsi/scsi_lib.c| 9 - drivers/scsi/sd.c

[PATCH v6 2/4] block: add runtime pm helpers

2013-01-06 Thread Aaron Lu
From: Lin Ming ming.m@intel.com Add runtime pm helper functions: void blk_pm_runtime_init(struct request_queue *q, struct device *dev) - Initialization function for drivers to call. int blk_pre_runtime_suspend(struct request_queue *q) - If any requests are in the queue, return -EBUSY.

[PATCH v6 4/4] sd: change to auto suspend mode

2013-01-06 Thread Aaron Lu
From: Lin Ming ming.m@intel.com Uses block layer runtime pm helper functions in scsi_runtime_suspend/resume. Remove scsi_autopm_* from sd open/release path and check_events path. And remove the quiesce call in runtime suspend path, as we know there is no request to quiesce for the device.

Re: [PATCH] drivers/power/88pm860x_battery.c: use devm_request_threaded_irq

2013-01-06 Thread Julia Lawall
On Sat, 5 Jan 2013, Anton Vorontsov wrote: On Sat, Dec 08, 2012 at 06:16:35PM +0100, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr devm_request_threaded_irq requests and irq that is freed when a driver detaches. This patch uses devm_request_threaded_irq for irqs that are

[PATCH v6 3/4] block: implement runtime pm strategy

2013-01-06 Thread Aaron Lu
From: Lin Ming ming.m@intel.com When a request is added: If device is suspended or is suspending and the request is not a PM request, resume the device. When the last request finishes: Call pm_runtime_mark_last_busy() and pm_runtime_autosuspend(). When pick a request: If

[PATCH] drivers/power/88pm860x_battery.c: eliminate possible references to released resources

2013-01-06 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr devm_kzalloc should not be followed by kfree, as this results in a double free. The problem was found using the following semantic match (http://coccinelle.lip6.fr/): // smpl @@ expression x,e; @@ x = devm_kzalloc(...) ... when != x = e ?-kfree(x,...);

RE: [PATCH] mm: compaction: fix echo 1 compact_memory return error issue

2013-01-06 Thread Liu Hui-R64343
-Original Message- From: Wanpeng Li [mailto:liw...@linux.vnet.ibm.com] Sent: Sunday, January 06, 2013 4:46 PM To: Liu Hui-R64343 Cc: linux-kernel@vger.kernel.org; mgor...@suse.de; akpm@linux- foundation.org; r...@redhat.com; minc...@kernel.org; kamezawa.hir...@jp.fujitsu.com;

Re: [PATCH -v2 19/26] batman-adv: rename random32() to prandom_u32()

2013-01-06 Thread Antonio Quartulli
On Fri, Jan 04, 2013 at 10:50:41PM +0900, Akinobu Mita wrote: 2013/1/4 Antonio Quartulli or...@autistici.org: On Thu, Jan 03, 2013 at 09:19:15PM +0900, Akinobu Mita wrote: Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita

Re: [PATCH v2] atkbd: Fix multi-char scancode handling on reconnect.

2013-01-06 Thread Dmitry Torokhov
Hi Shawn, On Thu, Dec 20, 2012 at 06:33:11PM -0800, Shawn Nematbakhsh wrote: On resume from suspend there is a possibility for multi-byte scancodes to be handled incorrectly. atkbd_reconnect disables the processing of scancodes in software by calling atkbd_disable, but the keyboard may still

[PATCH] mfd: vexpress: export global functions to fix build error

2013-01-06 Thread Guenter Roeck
Compiling vexpress client drivers as module results in error messages such as ERROR: __vexpress_config_func_get [drivers/hwmon/vexpress.ko] undefined! ERROR: vexpress_config_func_put [drivers/hwmon/vexpress.ko] undefined! This is because the global functions in drivers/mfd/vexpress-config.c are

Re: [PATCH] mm: compaction: fix echo 1 compact_memory return error issue

2013-01-06 Thread Simon Jeons
On Sun, 2013-01-06 at 08:48 +, Liu Hui-R64343 wrote: -Original Message- From: Wanpeng Li [mailto:liw...@linux.vnet.ibm.com] Sent: Sunday, January 06, 2013 4:46 PM To: Liu Hui-R64343 Cc: linux-kernel@vger.kernel.org; mgor...@suse.de; akpm@linux- foundation.org; r...@redhat.com;

RE: [PATCH] mm: compaction: fix echo 1 compact_memory return error issue

2013-01-06 Thread Liu Hui-R64343
-Original Message- From: Simon Jeons [mailto:simon.je...@gmail.com] Sent: Sunday, January 06, 2013 5:20 PM To: Liu Hui-R64343 Cc: Wanpeng Li; linux-kernel@vger.kernel.org; mgor...@suse.de; a...@linux-foundation.org; r...@redhat.com; minc...@kernel.org; kamezawa.hir...@jp.fujitsu.com;

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sat, Jan 05, 2013 at 11:35:24PM -0800, Eric Dumazet wrote: On Sun, 2013-01-06 at 03:52 +0100, Willy Tarreau wrote: OK so I observed no change with this patch, either on the loopback data rate at 16kB MTU, or on the myri. I'm keeping it at hand for experimentation anyway. Yeah,

Re: [PATCHSET] cpuset: drop cpuset-stack_list and -parent, take#2

2013-01-06 Thread Li Zefan
On 2013/1/4 5:44, Tejun Heo wrote: Hello, guys. This is the second take of drop cpuset-stack_list and -parent patchset. Other than being rebased on top of v3.8-rc2 + cpuset: decouple cpuset locking from cgroup core, take#2, nothing really has changed. The original patchset description

Re: [PATCH] modpost: Add flag -f for making section mismatches fatal

2013-01-06 Thread Sam Ravnborg
Hi Jonathan. The section mismatch warning can be easy to miss during the kernel build process. Allow it to be marked as fatal to be easily caught and prevent bugs from slipping in. Signed-off-by: Jonathan Kliegman kli...@chromium.org Another way to make them much more visible would be to

Re: [PATCH] iommu: moving initialization earlier

2013-01-06 Thread Joerg Roedel
On Fri, Jan 04, 2013 at 07:21:34PM +1100, Alexey Kardashevskiy wrote: On 16/12/12 22:20, Joerg Roedel wrote: Please resend the patch when the merge-window is closed. is it closed now? not sure I entirely understand what window you kept in mind :) Yes, it is closed now :-) The merge-window

Re: [PATCH 0/4] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2013-01-06 Thread Joerg Roedel
Hi Varun, On Thu, Jan 03, 2013 at 05:21:09AM +, Sethi Varun-B16395 wrote: It's been a while since I submitted this patch. I have tried to address your comments regarding the subwindow attribute. I would really appreciate if I can get some feedback on this patch. I have some ideas in mind

RE: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver

2013-01-06 Thread Kim, Milo
-Original Message- From: Bryan Wu [mailto:coolo...@gmail.com] Sent: Saturday, January 05, 2013 3:46 AM To: Kim, Milo Cc: linux-l...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver On Thu, Dec 20, 2012 at 4:17 PM, Kim,

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sun, Jan 06, 2013 at 10:24:35AM +0100, Willy Tarreau wrote: But before that I'll try to find the recent one causing the myri10ge to slow down, it should take less time to bisect. OK good news here, the performance drop on the myri was caused by a problem between the keyboard and the chair.

[PATCH] vfs: Replace goto with do-while

2013-01-06 Thread Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi sl...@ac.auone-net.jp --- fs/namespace.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index 55605c5..467ca80 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -71,15 +71,14 @@ static int

[v0][PATCH 1/1] powerpc/book3e: disable interrupt after preempt_schedule_irq

2013-01-06 Thread Tiejun Chen
In preempt case current arch_local_irq_restore() from preempt_schedule_irq() may enable hard interrupt but we really should disable interrupts when we return from the interrupt, and so that we don't get interrupted after loading SRR0/1. Signed-off-by: Tiejun Chen tiejun.c...@windriver.com ---

Re: [PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-06 Thread Laxman Dewangan
On Sunday 06 January 2013 04:48 AM, Dmitry Torokhov wrote: On Sat, Jan 05, 2013 at 04:50:58PM +0530, Laxman Dewangan wrote: HI Dmitry, Thanks for quick review. I will take care of your comment in next version. Some have my answer. On Saturday 05 January 2013 01:36 PM, Dmitry Torokhov wrote:

[PATCH V4 1/4] input: keyboard: tegra: fix build warning

2013-01-06 Thread Laxman Dewangan
Fix the following build warning when building driver with CONFIG_PM_SLEEP not selected. tegra-kbc.c:360:13: warning: 'tegra_kbc_set_keypress_interrupt' defined but not used [-Wunused-function] Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Changes from V1, V2 and V3: None

[PATCH V4 0/4] input: keyboard: tegra: cleanups and DT supports

2013-01-06 Thread Laxman Dewangan
This patch series: - fix build warning, - use devm_* for allocation, - make column/rows configuration through DT and - remove the rarely used key mapping table. Changes from V1: - renames the rows and pins property array. - nit cleanups. Changes from V2: - remove the error checks changes

[PATCH V4 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-06 Thread Laxman Dewangan
Use devm_* for memory, clock, irq, input device allocation. This reduces code for freeing these resources. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- Changes from V1: None Changes from V2: - remove the error checks changes from original. - return -EBUSY when reg mapping fail. -

[PATCH V4 3/4] input: keyboard: tegra: add support for rows/cols configuration from dt

2013-01-06 Thread Laxman Dewangan
The NVIDIA's Tegra KBC has maximum 24 pins to make matrix keypad. Any pin can be configured as row or column. The maximum column pin can be 8 and maximum row pin can be 16. Remove the assumption that all first 16 pins will be used as row and remaining as columns and Add the property for

[PATCH V4 4/4] input: keyboard: tegra: remove default key mapping

2013-01-06 Thread Laxman Dewangan
Tegra KBC driver have the default key mapping for 16x8 configuration. The key mapping can be provided through platform data or through DT and the mapping varies from platform to platform, hence this default mapping is not so useful. Remove the default mapping to reduce the code lines of the

[PATCH v2] xen/grant-table: correctly initialize grant table version 1

2013-01-06 Thread Matt Wilson
Commit 85ff6acb075a484780b3d763fdf41596d8fc0970 (xen/granttable: Grant tables V2 implementation) changed the GREFS_PER_GRANT_FRAME macro from a constant to a conditional expression. The expression depends on grant_table_version being appropriately set. Unfortunately, at init time

Re: [PATCH 1/2] iio: lp8788_adc: fix a parent device in _probe()

2013-01-06 Thread Jonathan Cameron
On 01/03/2013 06:28 AM, Kim, Milo wrote: The lp8788-adc is a platform driver of lp8788-mfd. The platform device is allocated when mfd_add_devices() is called in lp8788-mfd. On the other hand, 'lp-dev' is the i2c client device. Therefore, this 'platform_device' is a proper parent device

Re: [PATCH 2/2] iio: lp8788_adc: fix parent device in kernel message

2013-01-06 Thread Jonathan Cameron
On 01/03/2013 06:28 AM, Kim, Milo wrote: Use 'dev' of iio device in a kernel message rather than i2c client device node. Signed-off-by: Milo(Woogyom) Kim milo@ti.com added to togreg branch of iio.git Thanks --- drivers/iio/adc/lp8788_adc.c |2 +- 1 file changed, 1 insertion(+),

Re: Fix test relying in wrong behavior of is_printable

2013-01-06 Thread Pantelis Antoniou
Hi David Από το iPhone μου 6 Ιαν 2013, 5:58, ο/η David Gibson da...@gibson.dropbear.id.au έγραψε: On Fri, Jan 04, 2013 at 09:16:08PM +0200, Pantelis Antoniou wrote: After fixing the is_printable bug the test suite fails. Fix it with this patch Signed-off-by: Pantelis Antoniou

Re: Major network performance regression in 3.7

2013-01-06 Thread Romain Francoise
Willy Tarreau w...@1wt.eu writes: That makes me think that I should try 3.8-rc2 since LRO was removed there :-/ Better yet, find a way to automate these tests so they can run continually against net-next and find problems early... -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 4/4 RESEND] hid: iio: rename struct hid_sensor_iio_common to hid_sensor_common

2013-01-06 Thread Jonathan Cameron
On 01/03/2013 09:42 AM, Jiri Kosina wrote: On Sat, 15 Dec 2012, Alexander Holler wrote: The structure with common attributes for hid-sensors isn't specific to the iio-subsystem, so rename it to hid_sensor_common. Signed-off-by: Alexander Holler hol...@ahsoftware.de Acked-by: Jiri Kosina

Re: [PATCH 3/4 v5 RESEND] rtc: add rtc-driver for HID sensors of type time

2013-01-06 Thread Jonathan Cameron
On 01/04/2013 01:10 PM, Alexander Holler wrote: Am 04.01.2013 10:18, schrieb Jiri Kosina: On Thu, 3 Jan 2013, Andrew Morton wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Looks OK to me. It sounds like Jonathan will be

Re: [PATCH 2/4 RESEND] iio: merge hid-sensor-attributes.h into hid-sensor-hub.h

2013-01-06 Thread Jonathan Cameron
On 01/03/2013 09:41 AM, Jiri Kosina wrote: On Sat, 15 Dec 2012, Alexander Holler wrote: The stuff in hid-sensor-attributes.h is needed by every piece which uses hid-sensor-hub and merging it into hid-sensor-hub.h makes it accessible from outside the iio subdirectory. Signed-off-by:

Re: [PATCH 1/4 RESEND] iio: Add Usage IDs for HID time sensors.

2013-01-06 Thread Jonathan Cameron
On 01/03/2013 09:40 AM, Jiri Kosina wrote: On Sat, 15 Dec 2012, Alexander Holler wrote: These are Usage IDs for the attributes year, month, day, hour, minute and second, needed to read HID time sensors. Signed-off-by: Alexander Holler hol...@ahsoftware.de Signed-off-by: Jiri Kosina

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sun, Jan 06, 2013 at 12:46:58PM +0100, Romain Francoise wrote: Willy Tarreau w...@1wt.eu writes: That makes me think that I should try 3.8-rc2 since LRO was removed there :-/ Better yet, find a way to automate these tests so they can run continually against net-next and find problems

Re: oops in copy_page_rep()

2013-01-06 Thread Hillf Danton
Hi Dave On Sat, Jan 5, 2013 at 11:22 PM, Dave Jones da...@redhat.com wrote: I have no idea what happened here, but this is the first time I've seen this one. This was running a tree pulled yesterday afternoon. BUG: unable to handle kernel paging request at 880100201000 IP:

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sun, Jan 06, 2013 at 11:25:25AM +0100, Willy Tarreau wrote: OK good news here, the performance drop on the myri was caused by a problem between the keyboard and the chair. After the reboot series, I forgot to reload the firmware so the driver used the less efficient firmware from the NIC

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-06 Thread Eric Wong
Mel Gorman mgor...@suse.de wrote: Using a 3.7.1 or 3.8-rc2 kernel, can you reproduce the problem and then answer the following questions please? This is on my main machine running 3.8-rc2 1. What are the contents of /proc/vmstat at the time it is stuck? === /proc/vmstat === nr_free_pages

Re: 3.8-rc2: pciehp waitqueue hang...

2013-01-06 Thread Yijing Wang
On 2013/1/5 5:50, Bjorn Helgaas wrote: [+to Yijing, +cc Kenji] On Fri, Jan 4, 2013 at 1:01 PM, Bjorn Helgaas bhelg...@google.com wrote: On Thu, Jan 3, 2013 at 8:41 AM, Jiang Liu liu...@gmail.com wrote: Hi Daniel, It seems like an issue caused by recursive PCIe HPC. Could you please

m68k nommu: build failure in v3.8-rc2

2013-01-06 Thread Richard Cochran
I see the following error, using the .config inline, below. arch/m68k/mm/init.c: In function 'print_memmap': arch/m68k/mm/init.c:139:2: error: 'KMAP_START' undeclared (first use in this function) arch/m68k/mm/init.c:139:2: note: each undeclared identifier is reported only once for each function

Re: [PATCH] fb: udlfb: fix scheduling while atomic.

2013-01-06 Thread Alexander Holler
Am 05.01.2013 12:42, schrieb Alexander Holler: The console functions are using spinlocks while calling fb-driver ops but udlfb waits for a semaphore in many ops. This results in the BUG scheduling while atomic. One of those call flows is e.g. vt_console_print() (spinlock printing_lock)

Re: [PATCH] omap_vout: find_vma() needs -mmap_sem held

2013-01-06 Thread Mauro Carvalho Chehab
Hi Viro, Em Sat, 15 Dec 2012 20:38:29 + Al Viro v...@zeniv.linux.org.uk escreveu: On Sat, Dec 15, 2012 at 08:12:37PM +, Al Viro wrote: Walking rbtree while it's modified is a Bad Idea(tm); besides, the result of find_vma() can be freed just as it's getting returned to caller.

Re: [3.8-rc] regression: NETDEV WATCHDOG: eth0 (r8169): transmit queue 0 timed out

2013-01-06 Thread Jörg Otte
2013/1/5 Francois Romieu rom...@fr.zoreil.com: Can you check if things improve with v3.8-rc2 after removing : 1. 9ecb9aabaf634677c77af467f4e3028b09d7bcda r8169: workaround for missing extended GigaMAC registers 2. d64ec841517a25f6d468bde9f67e5b4cffdc67c7 r8169: enable internal ASPM and

Re: [PATCH V3 2/2] vhost: handle polling errors

2013-01-06 Thread Michael S. Tsirkin
On Sun, Jan 06, 2013 at 03:18:38PM +0800, Jason Wang wrote: Polling errors were ignored by vhost/vhost_net, this may lead to crash when trying to remove vhost from waitqueue when after the polling is failed. Solve this problem by: - checking the poll-wqh before trying to remove from

[PATCH] clk: remove exported function from __init section

2013-01-06 Thread Denis Efremov
The symbol of_fixed_clk_setup is exported and annotated __init. This looks like section mismatch. Fix this by removing the __init annotation of of_fixed_clk_setup. Signed-off-by: Denis Efremov yefremov.de...@gmail.com --- drivers/clk/clk-fixed-rate.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] clk: remove exported function from __init section

2013-01-06 Thread Rob Herring
On 01/06/2013 08:21 AM, Denis Efremov wrote: The symbol of_fixed_clk_setup is exported and annotated __init. This looks like section mismatch. Fix this by removing the __init annotation of of_fixed_clk_setup. Signed-off-by: Denis Efremov yefremov.de...@gmail.com Mike should take this.

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
On Sun, 2013-01-06 at 10:24 +0100, Willy Tarreau wrote: It does not change anything to the tests above unfortunately. It did not even stabilize the unstable runs. I'll check if I can spot the original commit which caused the regression for MTUs that are not n*4096+52. Since you don't post

Re: [PATCH] dma: tegra: add support for Tegra114 SoC

2013-01-06 Thread Vinod Koul
On Sat, Jan 05, 2013 at 05:36:08PM +0530, Laxman Dewangan wrote: NVIDIA's Tegra114 has APB DMA controller which supports channel wise pause control. The global pause is used for clock gating and hence DMA registers are not accessible if DMAs are globally disabled. Add support for use of

[PATCH] namei.h: Include errno.h

2013-01-06 Thread Guenter Roeck
Commit b9d6ba94 (vfs: add a retry_estale helper function to handle retries on ESTALE) intruduced the use of ESTALE in namei.h. Since namei.h does not include errno.h, this results in the following build error for callers/users which do not include errno.h directly. include/linux/namei.h:114:19:

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
Hi Eric, On Sun, Jan 06, 2013 at 06:59:02AM -0800, Eric Dumazet wrote: On Sun, 2013-01-06 at 10:24 +0100, Willy Tarreau wrote: It does not change anything to the tests above unfortunately. It did not even stabilize the unstable runs. I'll check if I can spot the original commit which

Re: [PATCH] namei.h: Include errno.h

2013-01-06 Thread Al Viro
On Sun, Jan 06, 2013 at 07:48:49AM -0800, Guenter Roeck wrote: Commit b9d6ba94 (vfs: add a retry_estale helper function to handle retries on ESTALE) intruduced the use of ESTALE in namei.h. Since namei.h does not include errno.h, this results in the following build error for callers/users

Re: [PATCH] dma: tegra: add support for Tegra114 SoC

2013-01-06 Thread Laxman Dewangan
On Sunday 06 January 2013 08:07 PM, Vinod Koul wrote: On Sat, Jan 05, 2013 at 05:36:08PM +0530, Laxman Dewangan wrote: NVIDIA's Tegra114 has APB DMA controller which supports channel wise pause control. The global pause is used for clock gating and hence DMA registers are not accessible if DMAs

Re: [PATCH] mm: compaction: fix echo 1 compact_memory return error issue

2013-01-06 Thread Michal Nazarewicz
On Sun, Jan 06 2013, Simon Jeons wrote: write(1, 1\n, 2) = 3 Here it tells it. On Sun, 2013-01-06 at 08:48 +, Liu Hui-R64343 wrote: Why this value trouble you? Because write() is supposed to return the number of bytes successfully written. -- Best regards,

Re: oops in copy_page_rep()

2013-01-06 Thread Dave Jones
On Sun, Jan 06, 2013 at 07:55:53PM +0800, Hillf Danton wrote: On Sat, Jan 5, 2013 at 11:22 PM, Dave Jones da...@redhat.com wrote: I have no idea what happened here, but this is the first time I've seen this one. This was running a tree pulled yesterday afternoon. Would you please

[PATCH 2/2] dma: tegra: add support for Tegra114 SoC

2013-01-06 Thread Laxman Dewangan
NVIDIA's Tegra114 has APB DMA controller which has 32 dma channels and support support channel wise pause control. Add support for Tegra114 which uses the channel wise pause control hardware feature. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com --- drivers/dma/tegra20-apb-dma.c | 11

[PATCH 1/2] dma: tegra: add support for channel wise pause

2013-01-06 Thread Laxman Dewangan
NVIDIA's some SoCs like Tegra114 support the channel wise pause control inplace of global pause which pauses all DMA channels. When SoCs support the channel wise pause control then it uses the global pause for clock gating for register access as well as all DMA channel pause. Hence DMA registers

[PATCH 0/2] dma: tegra: add channel wise pause control support and Tegra114 SoCs.

2013-01-06 Thread Laxman Dewangan
This patch series add the channel wise pause control on dma driver and then add support for Tegra114 SoCs. The orginal change was in single patch and based on review comment, trying to split the change to have more meaningful changelog matches with actual code change. Laxman Dewangan (2):

Re: [PATCH signal#execve2] syscalls,x86: Add execveat() system call (v3)

2013-01-06 Thread Al Viro
OK, now that sys_execve() unification has settled down, let's get back to this one. The real problem is what you are doing with bprm-filename and bprm-interp; blind use of -d_name is completely wrong. For what it's worth, how should it work for e.g. shell scripts? That's the main user of

Re: sched: Consequences of integrating the Per Entity Load Tracking Metric into the Load Balancer

2013-01-06 Thread Mike Galbraith
On Sat, 2013-01-05 at 09:13 +0100, Mike Galbraith wrote: I still have a 2.6-rt problem I need to find time to squabble with, but maybe I'll soonish see if what you did plus what I did combined works out on that 4x10 core box where current is _so_ unbelievably horrible. Heck, it can't get any

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sun, Jan 06, 2013 at 08:39:53AM -0800, Eric Dumazet wrote: Hmm, I'll have to check if this really can be reverted without hurting vmsplice() again. Looking at the code I've been wondering whether we shouldn't transform the condition to perform the push if we can't push more segments, but I

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
On Sun, 2013-01-06 at 16:51 +0100, Willy Tarreau wrote: Hi Eric, Oh sorry, I didn't really want to pollute the list with links and configs, especially during the initial report with various combined issues :-( The client is my old inject tool, available here :

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-06 Thread Federico Vaga
I have more information about DMA on the board that I'm using; probably, I can make dma-contig work with my device. Ok, the driver STA2X11 now works with a patched dma-contig allocator. So, my streaming allocator it is not mandatory. I based my work on the previous work made by Windriver,

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
On Sun, 2013-01-06 at 17:44 +0100, Willy Tarreau wrote: On Sun, Jan 06, 2013 at 08:39:53AM -0800, Eric Dumazet wrote: Hmm, I'll have to check if this really can be reverted without hurting vmsplice() again. Looking at the code I've been wondering whether we shouldn't transform the

[PATCH v4 1/3] videobuf2-dma-contig: user can specify GFP flags

2013-01-06 Thread Federico Vaga
This is useful when you need to specify specific GFP flags during memory allocation (e.g. GFP_DMA). Signed-off-by: Federico Vaga federico.v...@gmail.com --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 7 ++- include/media/videobuf2-dma-contig.h | 5 + 2 file modificati, 7

[PATCH V4 2/3] sta2x11_vip: convert to videobuf2 and control framework

2013-01-06 Thread Federico Vaga
This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi

[PATCH V4 3/3] adv7180: remove {query/g_/s_}ctrl

2013-01-06 Thread Federico Vaga
All drivers which use this subdevice use also the control framework. The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because device drivers will inherit controls from this subdevice. Signed-off-by: Federico Vaga federico.v...@gmail.com --- drivers/media/i2c/adv7180.c | 3 --- 1

Re: [PATCH] mm/huge_memory: use new hashtable implementation

2013-01-06 Thread Sasha Levin
Ping? On Fri, Dec 21, 2012 at 1:59 PM, Sasha Levin sasha.le...@oracle.com wrote: Switch hugemem to use the new hashtable implementation. This reduces the amount of generic unrelated code in the hugemem. This also removes the dymanic allocation of the hash table. The upside is that we save a

[PATCH 0/3] Add support for gpio expander pca9505 used on Mirabox

2013-01-06 Thread Gregory CLEMENT
Hello, This patch set adds the support for the i2c gpio expander pca9505 used on the JTAG/GPIO box which can be connected to the Mirabox. To be able to use the pca9505 I had to do several changes in the driver. Indeed, until now the pca953x driver accessed all the bank of a given register in a

[PATCH 1/3] gpio: pca953x: make the register access by GPIO bank

2013-01-06 Thread Gregory CLEMENT
Until now the pca953x driver accessed all the bank of a given register in a single command using only a 32 bits variable. New expanders from the pca53x family come with 40 GPIOs which no more fit in a 32 variable. This patch make access to the registers more generic by relying on an array of u8

[PATCH 3/3] arm: mvebu: enable gpio expander over i2c on Mirabox platform

2013-01-06 Thread Gregory CLEMENT
The Globalscale Mirabox platform can be connected to the JTAG/GPIO box through the Multi-IO port. The GPIO box use the NXP PCA9505 I/O port expansion IC to provide 40-bit parallel input/output GPIOs. This patch enable the use of this expander on the Mirabox. Signed-off-by: Gregory CLEMENT

[PATCH 2/3] gpio: pca953x: add support for pca9505

2013-01-06 Thread Gregory CLEMENT
Now that pca953x driver can handle GPIO expanders with more than 32 bits this patch adds the support for the pca9505 which cam with 40 GPIOs. Signed-off-by: Gregory CLEMENT gregory.clem...@free-electrons.com --- drivers/gpio/gpio-pca953x.c |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sun, Jan 06, 2013 at 09:10:55AM -0800, Eric Dumazet wrote: On Sun, 2013-01-06 at 17:44 +0100, Willy Tarreau wrote: On Sun, Jan 06, 2013 at 08:39:53AM -0800, Eric Dumazet wrote: Hmm, I'll have to check if this really can be reverted without hurting vmsplice() again. Looking at the

Re: Hangcheck timer elapsed... GPU hung in 3.8.0-rc2

2013-01-06 Thread Daniel Vetter
On Thu, Jan 03, 2013 at 06:11:23PM -0500, J. Bruce Fields wrote: On Thu, Jan 03, 2013 at 04:16:24PM -0500, Josh Boyer wrote: On Thu, Jan 3, 2013 at 3:46 PM, J. Bruce Fields bfie...@fieldses.org wrote: I got a crash after a few minutes of running 3.8.0-rc2, was able to switch to a vt

Re: [PATCH] at24: extend driver to allow writing via i2c_smbus_write_byte_data

2013-01-06 Thread Christian Gmeiner
ping -- Christian Gmeiner, MSc 2012/12/19 Christian Gmeiner christian.gmei...@gmail.com: I have a at24 EEPROM connected via i2c bus provided by ISCH i2c bus driver. This bus driver does not support I2C_FUNC_SMBUS_WRITE_I2C_BLOCK and so I was looking for a way to be able to write the eeprom.

Re: [PATCH] leds-ot200: Fix error caused by shifted mask

2013-01-06 Thread Christian Gmeiner
ping -- Christian Gmeiner, MSc 2012/12/17 Christian Gmeiner christian.gmei...@gmail.com: 2012/12/13 Christian Gmeiner christian.gmei...@gmail.com: During the development of this driver an in-house register documentation was used. The last weeks some integration tests were done and this

Re: [PATCH v3 09/22] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-06 Thread Linus Torvalds
On Sat, Jan 5, 2013 at 11:54 PM, Alex Shi alex@intel.com wrote: I just looked into the aim9 benchmark, in this case it forks 2000 tasks, after all tasks ready, aim9 give a signal than all tasks burst waking up and run until all finished. Since each of tasks are finished very quickly, a

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
On Sun, 2013-01-06 at 18:35 +0100, Willy Tarreau wrote: Unfortunately it does not work any better, which means to me that we don't leave via this code path. I tried other tricks which failed too. I need to understand this part better before randomly fiddling with it. OK, now I have your

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
On Sun, 2013-01-06 at 10:39 -0800, Eric Dumazet wrote: On Sun, 2013-01-06 at 18:35 +0100, Willy Tarreau wrote: Unfortunately it does not work any better, which means to me that we don't leave via this code path. I tried other tricks which failed too. I need to understand this part better

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
(sd-len is usually 4096, which is expected, but sd-total_len value is huge in your case, so we always set the flag in fs/splice.c) I am testing : if (sd-len sd-total_len pipe-nrbufs 1) more |= MSG_SENDPAGE_NOTLAST; -- To unsubscribe from this list: send the line

Re: [PATCH 1/4] module: add syscall to load module from fd

2013-01-06 Thread Michael Kerrisk (man-pages)
Hi Rusty, (and Lucas, and Kees) On Thu, Jan 3, 2013 at 1:12 AM, Rusty Russell ru...@rustcorp.com.au wrote: Michael Kerrisk mtk.manpa...@gmail.com writes: Hi Rusty, Hi Michael, The description here is rather thin. Could you supply a sentence or two for each of MODULE_INIT_IGNORE_MODVERSIONS

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
On Sun, 2013-01-06 at 10:51 -0800, Eric Dumazet wrote: (sd-len is usually 4096, which is expected, but sd-total_len value is huge in your case, so we always set the flag in fs/splice.c) I am testing : if (sd-len sd-total_len pipe-nrbufs 1) more |=

Re: oops in copy_page_rep()

2013-01-06 Thread Hugh Dickins
On Sun, 6 Jan 2013, Hillf Danton wrote: On Sat, Jan 5, 2013 at 11:22 PM, Dave Jones da...@redhat.com wrote: I have no idea what happened here, but this is the first time I've seen this one. This was running a tree pulled yesterday afternoon. BUG: unable to handle kernel paging request

Re: mmotm 2013-01-04-15-43 uploaded (aio)

2013-01-06 Thread Kent Overstreet
On Sat, Jan 5, 2013 at 11:52 AM, Randy Dunlap rdun...@infradead.org wrote: On 01/04/13 15:44, a...@linux-foundation.org wrote: The mm-of-the-moment snapshot 2013-01-04-15-43 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment:

Re: [PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-06 Thread Thierry Reding
On Sat, Jan 05, 2013 at 12:06:58AM -0800, Dmitry Torokhov wrote: On Sat, Jan 05, 2013 at 01:15:08PM +0530, Laxman Dewangan wrote: [...] @@ -735,25 +738,16 @@ static int tegra_kbc_probe(struct platform_device *pdev) spin_lock_init(kbc-lock); setup_timer(kbc-timer,

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sun, Jan 06, 2013 at 11:00:15AM -0800, Eric Dumazet wrote: On Sun, 2013-01-06 at 10:51 -0800, Eric Dumazet wrote: (sd-len is usually 4096, which is expected, but sd-total_len value is huge in your case, so we always set the flag in fs/splice.c) I am testing : if

Re: Major network performance regression in 3.7

2013-01-06 Thread Eric Dumazet
On Sun, 2013-01-06 at 20:34 +0100, Willy Tarreau wrote: OK it works like a charm here now ! I can't break it anymore, so it looks like you finally got it ! I noticed that the data rate was higher when the loopback's MTU is exactly a multiple of 4096 (making the 64k choice optimal) while I

Re: Major network performance regression in 3.7

2013-01-06 Thread Willy Tarreau
On Sun, Jan 06, 2013 at 11:39:31AM -0800, Eric Dumazet wrote: On Sun, 2013-01-06 at 20:34 +0100, Willy Tarreau wrote: OK it works like a charm here now ! I can't break it anymore, so it looks like you finally got it ! I noticed that the data rate was higher when the loopback's MTU is

Re: [PATCH v2 2/4] input: keyboard: tegra: use devm_* for resource allocation

2013-01-06 Thread Dmitry Torokhov
On Sun, Jan 06, 2013 at 08:27:39PM +0100, Thierry Reding wrote: On Sat, Jan 05, 2013 at 12:06:58AM -0800, Dmitry Torokhov wrote: On Sat, Jan 05, 2013 at 01:15:08PM +0530, Laxman Dewangan wrote: [...] @@ -735,25 +738,16 @@ static int tegra_kbc_probe(struct platform_device *pdev)

question about drivers/i2c/busses/i2c-davinci.c

2013-01-06 Thread Julia Lawall
The function davinci_i2c_remove in drivers/i2c/busses/i2c-davinci.c contains the following code: put_device(pdev-dev); clk_disable_unprepare(dev-clk); clk_put(dev-clk); dev-clk = NULL; davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, 0);

Re: [PATCH 00/11] Support of dual pen/multitouch and new default for win 7 certified devices

2013-01-06 Thread Henrik Rydberg
Hi Benjamin, Henrik, you told us that you have a patch set fixing these dependencies on all the hid drivers, will you prepare it for 3.9? Do you want me to continue your work? Yes, no, yes. :-) That is, it would be great if you want to pick up those patches. I will send you a pm shortly.

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-06 Thread Hugh Dickins
On Sat, 5 Jan 2013, Sha Zhengju wrote: On Wed, Jan 2, 2013 at 6:44 PM, Michal Hocko mho...@suse.cz wrote: Maybe I have missed some other locking which would prevent this from happening but the locking relations are really complicated in this area so if

Re: [PATCH] modpost: Add flag -f for making section mismatches fatal

2013-01-06 Thread Jonathan Kliegman
On Sun, Jan 6, 2013 at 4:36 AM, Sam Ravnborg s...@ravnborg.org wrote: Hi Jonathan. The section mismatch warning can be easy to miss during the kernel build process. Allow it to be marked as fatal to be easily caught and prevent bugs from slipping in. Signed-off-by: Jonathan Kliegman

Re: [PATCH 1/4] module: add syscall to load module from fd

2013-01-06 Thread Kees Cook
On Sun, Jan 6, 2013 at 11:59 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: Hi Rusty, (and Lucas, and Kees) On Thu, Jan 3, 2013 at 1:12 AM, Rusty Russell ru...@rustcorp.com.au wrote: Michael Kerrisk mtk.manpa...@gmail.com writes: Hi Rusty, Hi Michael, The description here

Re: [PATCH v4 08/18] perf/x86: add memory profiling via PEBS Load Latency

2013-01-06 Thread Stephane Eranian
On Sat, Jan 5, 2013 at 7:43 PM, Jiri Olsa jo...@redhat.com wrote: On Thu, Dec 20, 2012 at 04:41:38PM +0100, Stephane Eranian wrote: This patch adds support for memory profiling using the PEBS Load Latency facility. Load accesses are sampled by HW and the instruction address, data address,

  1   2   3   4   5   6   >