[PATCH net-next 03/21] arch: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- arch/arm/mach-davinci/board-mityomapl138.c |2 +- arch/arm/mach-pxa/colibri-pxa3xx.c |2 +- arch/avr32/boards/atngw100/setup.c |2 +-

[PATCH net-next 04/21] wireless: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/wireless/adm8211.c |2 +- drivers/net/wireless/airo.c|4 ++-- drivers/net/wireless/at76c50x-usb.c

Re: [PATCH 1/2] acpi : cpu hot-remove returns error when cpu_down() fails

2012-10-18 Thread Rafael J. Wysocki
On Friday 28 of September 2012 19:36:02 Yasuaki Ishimatsu wrote: Even if cpu_down() fails, acpi_processor_remove() continues to remove the cpu. But in this case, it should return error number since some process may run on the cpu. If the cpu has a running process and the cpu is turned the power

Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-18 Thread Sha Zhengju
On 10/18/2012 11:32 PM, Michal Hocko wrote: On Thu 18-10-12 21:51:57, Sha Zhengju wrote: On 10/18/2012 07:56 PM, Michal Hocko wrote: On Wed 17-10-12 01:14:48, Sha Zhengju wrote: On Tuesday, October 16, 2012, Michal Hockomho...@suse.cz wrote: [...] Could you be more specific about the

[PATCH net-next 06/21] staging: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/staging/ccg/u_ether.c |6 +++--- drivers/staging/csr/sme_wext.c |2 +- drivers/staging/et131x/et131x.c

[PATCH net-next 08/21] scsi: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/scsi/bnx2fc/bnx2fc_els.c |4 ++-- drivers/scsi/bnx2fc/bnx2fc_fcoe.c |2 +- drivers/scsi/fcoe/fcoe.c | 12 ++-- drivers/scsi/fcoe/fcoe_ctlr.c

[PATCH net-next 09/21] of: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/of/of_net.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index ffab033..452dcf6 100644 ---

[PATCH net-next 10/21] s390: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/s390/net/qeth_l2_main.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c

[PATCH net-next 11/21] usb: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/usb/gadget/u_ether.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index

[PATCH net-next 12/21] uwb: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/uwb/address.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/uwb/address.c b/drivers/uwb/address.c index 8739c4f..ba4e4cf 100644 ---

[PATCH net-next 13/21] Documentation: networking: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- Documentation/networking/driver.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/networking/driver.txt

[PATCH net-next 14/21] llc_if.h: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- include/net/llc_if.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/llc_if.h b/include/net/llc_if.h index b595a00..cce2942 100644 ---

[PATCH net-next 15/21] in.h: Rename ipv4_is_foo functions to ipv4_addr_foo

2012-10-18 Thread Joe Perches
Make the ipv4_is_foo tests use a similar style to ipv6_foo tests. Add backward compatibility #defines to keep current ipv4_is_foo code working until completely converted. Signed-off-by: Joe Perches j...@perches.com --- include/linux/in.h | 40 1 files

[PATCH net-next 16/21] net: Convert ipv4_is_foo uses to ipv4_addr_foo

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_foo functions to be consistent with the ipv6_addr_foo and eth_addr_foo style. Signed-off-by: Joe Perches j...@perches.com --- net/bridge/br_multicast.c |4 +- net/core/netpoll.c|2 +- net/core/pktgen.c | 10 +++---

[PATCH net-next 17/21] infiniband: Convert ipv4_is_foo uses to ipv4_addr_foo

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_foo functions to be consistent with the ipv6_addr_foo and eth_addr_foo style. Signed-off-by: Joe Perches j...@perches.com --- drivers/infiniband/core/cma.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/cma.c

[PATCH net-next 18/21] ath6kl: Convert ipv4_is_foo uses to ipv4_addr_foo

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_foo functions to be consistent with the ipv6_addr_foo and eth_addr_foo style. Signed-off-by: Joe Perches j...@perches.com --- drivers/net/wireless/ath/ath6kl/wmi.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH net-next 19/21] parisc: Convert ipv4_is_foo uses to ipv4_addr_foo

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_foo functions to be consistent with the ipv6_addr_foo and eth_addr_foo style. Signed-off-by: Joe Perches j...@perches.com --- drivers/parisc/led.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/parisc/led.c b/drivers/parisc/led.c index

[PATCH net-next 20/21] lockd: Convert ipv4_is_foo uses to ipv4_addr_foo

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_foo functions to be consistent with the ipv6_addr_foo and eth_addr_foo style. Signed-off-by: Joe Perches j...@perches.com --- include/linux/lockd/lockd.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/lockd/lockd.h

[PATCH net-next 21/21] sctp: Convert ipv4_is_foo uses to ipv4_addr_foo

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_foo functions to be consistent with the ipv6_addr_foo and eth_addr_foo style. Signed-off-by: Joe Perches j...@perches.com --- include/net/sctp/constants.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net/sctp/constants.h

Re: [RFC PATCH 0/2] sched: Load Balancing using Per-entity-Load-tracking

2012-10-18 Thread preeti
Hi Morten, Thank you very much for your review. 1.Consider a scenario,where there are two 10% tasks running on a cpu.The present code will consider the load on this queue to be 2048,while using PJT's metric the load is calculated to be 1000,rarely exceeding this limit.Although the tasks

[PATCH net-next 07/21] infiniband: Convert is_foo_ether_addr uses to eth_addr_foo

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_foo. Adds api consistency. Signed-off-by: Joe Perches j...@perches.com --- drivers/infiniband/hw/amso1100/c2.c |2 +- drivers/infiniband/hw/nes/nes_nic.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 1/2 v4] block/throttle: remove redundant type transition

2012-10-18 Thread Robin Dong
From: Robin Dong san...@taobao.com We don't need to convert tg to blkg and then convert it back in throtl_update_dispatch_stats(). Signed-off-by: Robin Dong san...@taobao.com --- block/blk-throttle.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

[PATCH 2/2 v4] block/throttle: Add IO queued information in blkio.throttle

2012-10-18 Thread Robin Dong
From: Robin Dong san...@taobao.com Currently, if the IO is throttled by io-throttle, the system admin has no idea of the situation and can't report it to the real application user about that he/she has to do something. So this patch adds a new interface named blkio.throttle.io_queued which

Re: [PATCH v2] acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-10-18 Thread Rafael J. Wysocki
On Thursday 11 of October 2012 19:12:28 Yasuaki Ishimatsu wrote: acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when dev argument is NULL. Thus even if device

Re: [PATCH 1/2] acpi : cpu hot-remove returns error when cpu_down() fails

2012-10-18 Thread Yasuaki Ishimatsu
Hi Rafael, 2012/10/19 10:06, Rafael J. Wysocki wrote: On Friday 28 of September 2012 19:36:02 Yasuaki Ishimatsu wrote: Even if cpu_down() fails, acpi_processor_remove() continues to remove the cpu. But in this case, it should return error number since some process may run on the cpu. If the

Re: [PATCH 5/6] udf: implement extent caching while reading-writing to a file

2012-10-18 Thread Namjae Jeon
2012/10/19, Jan Kara j...@suse.cz: Hello, On Wed 10-10-12 00:10:01, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com This patch implements extent caching. Instead of reading metadata everytime from file's starting position, now we read from the cached extent. This speeds up

Re: [PATCH 0/3] x86: clear vmcss on all cpus when doing kdump if necessary

2012-10-18 Thread Zhang Yanfei
于 2012年10月18日 18:55, Avi Kivity 写道: On 10/18/2012 03:12 AM, Zhang Yanfei wrote: 于 2012年10月17日 18:16, Avi Kivity 写道: On 10/17/2012 04:28 AM, Zhang Yanfei wrote: 于 2012年10月15日 23:43, Avi Kivity 写道: On 10/12/2012 08:40 AM, Zhang Yanfei wrote: Currently, kdump just makes all the logical

Re: [RFC PATCH 0/2] sched: Load Balancing using Per-entity-Load-tracking

2012-10-18 Thread preeti
Sorry guys this mail had problems getting sent.hence the repost. Hi Morten, Thank you very much for your review. 1.Consider a scenario,where there are two 10% tasks running on a cpu.The present code will consider the load on this queue to be 2048,while using PJT's metric the load is

MAINTAINERS: Add Rafael's address to ACPI maintainers

2012-10-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since I will be maintaining ACPI together with Len from now on, add my address to the ACPI maintainers list in the MAINTAINERS file (this is the address to send patches to). Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

MDaemon Notification -- Attachment Removed

2012-10-18 Thread Postmaster
The following message contained restricted attachment(s) which have been removed: From : linux-kernel@vger.kernel.org To: charter...@jnab.se Subject : vsz zkaioojcrfuqg Message-ID: Attachment(s) removed: - document.zip (document.scr) --

Re: MAX_LOCKDEP_ENTRIES too low (called from ioc_release_fn)

2012-10-18 Thread Dave Jones
On Thu, Oct 18, 2012 at 07:53:08AM +0200, Jens Axboe wrote: On 2012-10-18 03:53, Dave Jones wrote: Triggered while fuzz testing.. BUG: MAX_LOCKDEP_ENTRIES too low! turning off the locking correctness validator. Pid: 22788, comm: kworker/2:1 Not tainted 3.7.0-rc1+ #34 Call

Re: [PATCH] remove untouched code in kfifo_in

2012-10-18 Thread Stefani Seibold
Am Freitag, den 19.10.2012, 00:37 +0200 schrieb richard -rw- weinberger: On Thu, Oct 18, 2012 at 3:59 PM, Wei Yang weiy...@linux.vnet.ibm.com wrote: In kfifo_in marco, one piece of code is arounded by if(0). This code in introduced by Stefani Seibold stef...@seibold.net to suppress a

Re: [PATCH 2/2]suppress Device nodeX does not have a release() function warning

2012-10-18 Thread Wen Congyang
At 10/17/2012 04:50 PM, KOSAKI Motohiro Wrote: On Wed, Oct 17, 2012 at 2:24 AM, Wen Congyang we...@cn.fujitsu.com wrote: At 10/12/2012 06:33 AM, KOSAKI Motohiro Wrote: On Thu, Oct 11, 2012 at 1:26 AM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When calling unregister_node(), the

[PATCH RFC] [x86] Optimize small size memcpy by avoding long latency from decode stage

2012-10-18 Thread ling . ma . program
From: Ma Ling ling.ma.prog...@gmail.com CISC code has higher instruction density, saving memory and improving i-cache hit rate. However decode become challenge, only one mulitple-uops(2~3)instruction could be decoded in one cycle, and instructions containing more 4 uops(rep movsq/b) have to be

[PATCH v2 0/2] x86: clear vmcss on all cpus when doing kdump if necessary

2012-10-18 Thread Zhang Yanfei
Currently, kdump just makes all the logical processors leave VMX operation by executing VMXOFF instruction, so any VMCSs active on the logical processors may be corrupted. But, sometimes, we need the VMCSs to debug guest images contained in the host vmcore. To prevent the corruption, we should

[PATCH 1/2] x86/kexec: VMCLEAR vmcss on all cpus if necessary

2012-10-18 Thread Zhang Yanfei
This patch provides a way to VMCLEAR vmcss related to guests on all cpus before executing the VMXOFF when doing kdump. This is used to ensure the VMCSs in the vmcore updated and non-corrupted. Signed-off-by: zhangyanfei zhangyan...@cn.fujitsu.com --- arch/x86/include/asm/kexec.h |2 ++

[PATCH v2 2/2] Do not change worker's running cpu in cmci_rediscover().

2012-10-18 Thread Tang Chen
cmci_rediscover() used set_cpus_allowed_ptr() to change the current process's running cpu, and migrate itself to the dest cpu. But worker processes are not allowed to be migrated. If current is a worker, the worker will be migrated to another cpu, but the corresponding worker_pool is still on the

[PATCH v2 0/2] Do not change worker's running cpu in cmci_rediscover().

2012-10-18 Thread Tang Chen
1. cmci_rediscover() is only called by the CPU_POST_DEAD event handler, which means the corresponding cpu has already dead. As a result, it won't be accessed in the for_each_online_cpu loop. So, we could change the if(cpu == dying) statement into a WARN_ON_ONCE(). 2. cmci_rediscover() used

[PATCH v2 1/2] Replace if statement with WARN_ON_ONCE() in cmci_rediscover().

2012-10-18 Thread Tang Chen
cmci_rediscover() is only called by the CPU_POST_DEAD event handler, which means the corresponding cpu has already dead. As a result, it won't be accessed in the for_each_online_cpu loop. So, we could change the if(cpu == dying) statement into a WARN_ON_ONCE(). Signed-off-by: Tang Chen

[PATCH 2/2] KVM: make crash_clear_loaded_vmcss valid when loading kvm_intel module

2012-10-18 Thread Zhang Yanfei
Signed-off-by: zhangyanfei zhangyan...@cn.fujitsu.com --- arch/x86/kvm/vmx.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4ff0ab9..f6a16b2 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -41,6 +41,7 @@

[PATCH] ARM: dt: tegra: ventana: define pinmux for ddc

2012-10-18 Thread Mark Zhang
Define pinmux for DDC. The DDC pinmux in Ventana is 2 pins in I2C2. Signed-off-by: Mark Zhang ma...@nvidia.com --- arch/arm/boot/dts/tegra20-ventana.dts | 70 ++--- 1 file changed, 65 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.dts

Re: [PATCH 7/7] gpio/tegra: convert to use linear irqdomain

2012-10-18 Thread Shawn Guo
On Tue, Oct 16, 2012 at 09:23:33PM +0200, Linus Walleij wrote: The MXS driver tries to do the work of irq_domain_add_linear() s/MXS/tegra by reserving a bunch of descriptors somewhere and keeping track of the base offset, then calling irq_domain_add_legacy(). Let's stop doing that and simply

[PATCH] dma: add new DMA control commands

2012-10-18 Thread Huang Shijie
From: Huang Shijie shij...@gmail.com [1] Why add these new DMA control commands? In mx6q, the gpmi-nand driver is the only user of the APBH-DMA. The dma clock is enabled when we have successfully requested a DMA channel. So even when the gpmi-nand driver does not work, the dma

[PATCH 1/3] lp8788-charger: use consumer device name on setting IIO channels

2012-10-18 Thread Kim, Milo
To get the ADC value for the battery voltage and temperature, LP8788 ADC driver is used. LP8788 charger driver is the consumer of LP8788 ADC driver. Thus, specific ADC driver name is required on getting the channel using iio_channel_get(). Signed-off-by: Milo(Woogyom) Kim milo@ti.com ---

[PATCH 2/3] lp8788-charger: fix ADC channel names

2012-10-18 Thread Kim, Milo
LP8788 IIO ADC driver and platform data have specific naming convention for ADC channels. That is using prefix 'lp8788_'. To keep this rule, ADC channel names are changed. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/power/lp8788-charger.c | 14 +++--- 1 file

[PATCH 3/3] lp8788-charger: fix wrong ADC conversion

2012-10-18 Thread Kim, Milo
To get the battery voltage and temperature, IIO ADC functions are used. LP8788 ADC driver provides RAW and SCALE channel information. Both RAW with SCALE values are used for the ADC calculation. The scale is micro unit, additional conversions are required in each case. This patch fixes wrong

Re: [PATCH v5 09/14] memcg: kmem accounting lifecycle management

2012-10-18 Thread Michal Hocko
On Wed 17-10-12 16:28:38, David Rientjes wrote: On Tue, 16 Oct 2012, Glauber Costa wrote: [...] + +static void memcg_kmem_mark_dead(struct mem_cgroup *memcg) +{ + if (test_bit(KMEM_ACCOUNTED_ACTIVE, memcg-kmem_accounted)) + set_bit(KMEM_ACCOUNTED_DEAD, memcg-kmem_accounted);

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

2012-10-18 Thread Takashi Iwai
At Thu, 18 Oct 2012 14:16:44 +1100, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from sound/pci/ice1712/psc724.c:29:0: sound/pci/ice1712/ice1712.h: In function 'snd_ice1712_write':

Re: [PATCH 4/7] gpio/mxs: convert to use linear irqdomain

2012-10-18 Thread Shawn Guo
On Tue, Oct 16, 2012 at 09:22:56PM +0200, Linus Walleij wrote: The MXS driver tries to do the work of irq_domain_add_linear() by reserving a bunch of descriptors somewhere and keeping track of the base offset, then calling irq_domain_add_legacy(). Let's stop doing that and simply use the

linux-next: build failure after merge of the final tree (tip/s390 trees related)

2012-10-18 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (s390 allyesconfig) failed like this: mm/huge_memory.c:1424:2: error: implicit declaration of function 'pmd_pgprot' [-Werror=implicit-function-declaration] mm/huge_memory.c:1424:7: error: incompatible types when assigning to type

RE: [PATCH 1/3] mmc: esdhc: enable polling to detect card by itself

2012-10-18 Thread Yong Ding
Shawn, Thanks. Oh, sorry I really have missed the fact u mentioned. U are right in the current code, the bit will also be cleared for ESDHC_CD_GPIO. But I think this is improper since for GPIO detection type, we don't use the host controller internal card detection(ESDHC_CD_CONTROLLER), but

Re: [PATCH v9 05/12] x86, hotplug, suspend: Online CPU0 for suspend or hibernate

2012-10-18 Thread Rafael J. Wysocki
On Wednesday 17 of October 2012 17:39:48 Yu, Fenghua wrote: On Tuesday, October 16, 2012 10:19 PM Rafael J. Wysocki wrote: On Tuesday 16 of October 2012 22:12:27 Yu, Fenghua wrote: On 10/16/2012 09:47 PM, Rafael J. Wysocki wrote: On Tuesday 16 of October 2012 11:05:18 Srivatsa S.

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Vinod Koul
On Thu, 2012-10-18 at 13:32 +0800, Huang Shijie wrote: From: Huang Shijie shij...@gmail.com [1] Why add these new DMA control commands? In mx6q, the gpmi-nand driver is the only user of the APBH-DMA. The dma clock is enabled when we have successfully requested a DMA channel. So

CONFIG_SYSFS_DEPRECATED CONFIG_SYSFS_DEPRECATED_V2 appear to not work

2012-10-18 Thread Steven Haigh
Hi all, Firstly, please CC me in replies as I am not subscribed to the list. I'm trying to build kernel 3.5.4 and 3.6.2 to work with EL5. Each time I try to boot this kernel, I get a panic stating it can't find / The same kernel config works correctly in EL6 (without the

Re: kexec/kdump kernel fails to start

2012-10-18 Thread Dave Young
On 10/18/2012 10:16 AM, Dave Young wrote: On Sat, Sep 29, 2012 at 3:13 PM, Ingo Molnar mi...@kernel.org wrote: * Yinghai Lu ying...@kernel.org wrote: On Sun, Sep 23, 2012 at 1:27 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Wed, Sep 05, 2012 at 11:34:25PM +0800, Cong Wang wrote:

Re: [PATCH 1/3] mmc: esdhc: enable polling to detect card by itself

2012-10-18 Thread Shawn Guo
Can you fix your mailer to use bottom posting rather than top posting, and have texts wrap around column 70? Otherwise, you message stands a good chance to be ignored by people. On Wed, Oct 17, 2012 at 11:27:17PM -0700, Yong Ding wrote: Shawn, Thanks. Oh, sorry I really have missed the fact u

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Huang Shijie
于 2012年10月18日 14:18, Vinod Koul 写道: Why cant you do start (prepare clock etc) when you submit the descriptor to dmaengine. Can be done in tx_submit callback. Similarly remove the clock when dma transaction gets completed. I ever thought this method too. But it will become low efficient in the

Re: [PATCH 0/5] x86,idle: Enhance menu governor C-state prediction

2012-10-18 Thread Rafael J. Wysocki
Hi, On Tuesday 16 of October 2012 21:04:35 Youquan Song wrote: The prediction for future is difficult and when the cpuidle governor prediction fails and govenor possibly choose the shallower C-state than it should. How to quickly notice and find the failure becomes important for power

Re: [PATCH v9 12/12] x86, topology: Debug CPU00 hotplug

2012-10-18 Thread Srivatsa S. Bhat
On 10/17/2012 05:36 AM, Yu, Fenghua wrote: +#ifdef CONFIG_DEBUG_HOTPLUG_CPU0 + case PM_RESTORE_PREPARE: + /* +* When system resumes from hibernation, online CPU0 because +* 1. it's required for resume and +* 2. the CPU was online before

Re: [PATCH V4 1/4] [SCSI] drivers/scsi/ufs: Seggregate PCI Specific Code

2012-10-18 Thread Venkatraman S
On Wednesday 17 October 2012 05:23 PM, Vinayak Holikatti wrote: This patch seggregates the PCI specific code in ufshcd.c to make it ready for splitting into core ufs driver and PCI glue driver. Also copyright header modification to remove extra warranty disclaim. Reviewed-by: Arnd Bergmann

Re: [PATCH] Input: serio - Add ARC PS/2 driver

2012-10-18 Thread Dmitry Torokhov
Hi Mischa, On Wed, Oct 17, 2012 at 12:10:19PM +0200, Mischa Jonker wrote: This adds support for the PS/2 block that is used in various ARC FPGA platforms. Thank you for making changes. A few more comments below. Signed-off-by: Mischa Jonker mischa.jon...@synopsys.com ---

Re: [PATCH v9 05/12] x86, hotplug, suspend: Online CPU0 for suspend or hibernate

2012-10-18 Thread Srivatsa S. Bhat
On 10/18/2012 12:03 PM, Rafael J. Wysocki wrote: On Wednesday 17 of October 2012 17:39:48 Yu, Fenghua wrote: On Tuesday, October 16, 2012 10:19 PM Rafael J. Wysocki wrote: On Tuesday 16 of October 2012 22:12:27 Yu, Fenghua wrote: On 10/16/2012 09:47 PM, Rafael J. Wysocki wrote: On Tuesday 16

Re: usb issue on Intel chipset: abrupt mouse movements, usb keyboard loosing key events

2012-10-18 Thread Martin Vysny
Good day, thank you for your response, please see the answers below. On 10/17/2012 08:05 PM, Alan Stern wrote: On Wed, 17 Oct 2012, Martin Vysny wrote: Good day, thank you for your mail. I was finally able to reproduce the issue. I am attaching a dmesg output of a correct boot (please

Re: [PATCH] remove untouched code in kfifo_in

2012-10-18 Thread Jiri Kosina
On Thu, 18 Oct 2012, Stefani Seibold wrote: This was introduce by me to suppress a compiler warning, so don't remove it. Which warning? I compile by removing this, but not find warning. I compile it on x86_64 platform. Sorry, i can't remember, it is three years and two gcc major

Re: [PATCH 2/2] uprobes: Use brw_mutex to fix register/unregister vs dup_mmap() race

2012-10-18 Thread Srikar Dronamraju
This was always racy, but 268720903f87e0b84b161626c4447b81671b5d18 uprobes: Rework register_for_each_vma() to make it O(n) should be blamed anyway, it made everything worse and I didn't notice. register/unregister call build_map_info() and then do install/remove breakpoint for every mm

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Marek Vasut
Dear Huang Shijie, Why such massive CC ? 于 2012年10月18日 14:18, Vinod Koul 写道: Why cant you do start (prepare clock etc) when you submit the descriptor to dmaengine. Can be done in tx_submit callback. Similarly remove the clock when dma transaction gets completed. I ever thought this

[PATCH] AppArmor: Modify Makefile to avoid Oops

2012-10-18 Thread Hiromu Yakura
In my environment, AppArmor cause Oops every time when cupsd launch. This is the log of Oops: [ 114.876511] general protection fault: [#1] SMP [ 114.876540] Modules linked in: usbhid bnep rfcomm parport_pc ppdev parport dm_crypt binfmt_misc arc4 b43 mac80211 uvcvideo videobuf2_core

Re: [PATCH 6/6] xen: x86 pvh: use XENMEM_add_to_physmap_range for foreign gmfn mappings

2012-10-18 Thread Ian Campbell
On Thu, 2012-10-18 at 00:57 +0100, Mukesh Rathor wrote: On Wed, 17 Oct 2012 12:32:12 +0100 Ian Campbell ian.campb...@citrix.com wrote: Squeezing the necessary fields into the existing XENMEM_add_to_physmap interface was proving to be a bit tricky so we have decided to go with a new

RE: [PATCH 1/3] mmc: esdhc: enable polling to detect card by itself

2012-10-18 Thread Yong Ding
Shawn, Thanks, I will update the patch for sdhci-esdhc-imx.c and also fix my mail ASAP:-) -Original Message- From: Shawn Guo [mailto:shawn@linaro.org] Sent: 2012年10月18日 14:38 To: Yong Ding Cc: Chris Ball; Anton Vorontsov; Marek Szyprowski; Wolfram Sang; Daniel Drake; Sascha Hauer;

Re: [PATCH v2 1/4] mfd: add viperboard driver

2012-10-18 Thread Lars Poeschel
On Tuesday 16 October 2012 at 12:58:48, Lars-Peter Clausen wrote: On 10/16/2012 11:43 AM, Lars Poeschel wrote: On Tuesday 16 October 2012 at 10:40:26, Lars-Peter Clausen wrote: On 10/12/2012 04:34 PM, Lars Poeschel wrote: Btw. I'm wondering why is the extra platform device required? Can't

[PATCH RFC] sched: boost throttled entities on wakeups

2012-10-18 Thread Vladimir Davydov
If several tasks in different cpu cgroups are contending for the same resource (e.g. a semaphore) and one of those task groups is cpu limited (using cfs bandwidth control), the priority inversion problem is likely to arise: if a cpu limited task goes to sleep holding the resource (e.g. trying to

Re: [PATCH] drm/i915: disable cpu relocs on ilk and earlier

2012-10-18 Thread Daniel Vetter
On Mon, Oct 15, 2012 at 5:11 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Oct 15, 2012 at 10:11:22AM +0200, Daniel Vetter wrote: Hi Gregstable-team, The below patch papers over a graphics corruption issue in 3.5/3.6. The regression happened due to pwrite tunings in 3.5, which made

Re: [PATCH 5/5] Thermal: Add ST-Ericsson db8500 thermal dirver.

2012-10-18 Thread Hongbo Zhang
Viresh, thanks a lot for all of your comments. I accept them _by_default_ if no comment from me under them. On 17 October 2012 23:23, Viresh Kumar viresh.ku...@linaro.org wrote: On 16 October 2012 17:14, hongbo.zhang hongbo.zh...@linaro.org wrote: From: hongbo.zhang hongbo.zh...@linaro.com

Re: [PATCH] procfs: Improve Scaling in proc

2012-10-18 Thread Eric Dumazet
On Wed, 2012-10-17 at 15:25 -0500, Nathan Zimmer wrote: I am currently tracking a hotlock reported by a customer on a large, 512 cores, system, I am currently running 3.7.0 rc1 but the issue looks like it has been this way for a very long time. The offending lock is

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Huang Shijie
于 2012年10月18日 15:14, Marek Vasut 写道: Dear Huang Shijie, Why such massive CC ? 于 2012年10月18日 14:18, Vinod Koul 写道: Why cant you do start (prepare clock etc) when you submit the descriptor to dmaengine. Can be done in tx_submit callback. Similarly remove the clock when dma transaction gets

[PATCH v3] posix timers: allocate timer id per process

2012-10-18 Thread Stanislav Kinsbursky
v3: 1) hash calculation simlified to improve perfomance. v2: 1) Hash table become RCU-friendly. Hash table search now done under RCU lock protection. I've tested scalability on KVM with 4 CPU. The testing environment was build of 10 processes, each had 512 posix timers running (SIGSEV_NONE) and

Re: [PATCH] AppArmor: Modify Makefile to avoid Oops

2012-10-18 Thread John Johansen
On 10/18/2012 12:19 AM, Hiromu Yakura wrote: In my environment, AppArmor cause Oops every time when cupsd launch. This is the log of Oops: [ 114.876511] general protection fault: [#1] SMP snip It seems that bad address was passed for the second argument of

Re: [PATCH v3] posix timers: allocate timer id per process

2012-10-18 Thread Eric Dumazet
On Thu, 2012-10-18 at 11:49 +0400, Stanislav Kinsbursky wrote: + +static struct k_itimer *__posix_timers_find(struct hlist_head *head, struct signal_struct *sig, timer_t id) This line is too long Please use scripts/checkpatch.pl Other than that, your patch seems fine to me Thanks -- To

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

2012-10-18 Thread Michael Kerrisk (man-pages)
On Thu, Oct 18, 2012 at 6:24 AM, H. Peter Anvin h...@zytor.com wrote: On 10/11/2012 03:16 PM, Rusty Russell wrote: H. Peter Anvin h...@zytor.com writes: On 10/10/2012 06:03 AM, Michael Kerrisk (man-pages) wrote: Good point. A whole hog openat()-style interface is worth thinking about too.

Re: [PATCH 5/5] Thermal: Add ST-Ericsson db8500 thermal dirver.

2012-10-18 Thread Viresh Kumar
On 18 October 2012 13:05, Hongbo Zhang hongbo.zh...@linaro.org wrote: On 17 October 2012 23:23, Viresh Kumar viresh.ku...@linaro.org wrote: On 16 October 2012 17:14, hongbo.zhang hongbo.zh...@linaro.org wrote: +static struct db8500_trip_point db8500_trips_table[] = { + [0] = { +

Re: [PATCHv2 3/4] dw_dmac: change {dev_}printk() to corresponding macros

2012-10-18 Thread Andy Shevchenko
On Wed, 2012-10-17 at 16:53 +0300, Felipe Balbi wrote: On Wed, Oct 17, 2012 at 04:36:58PM +0300, Andy Shevchenko wrote: On Wed, 2012-10-17 at 16:09 +0300, Felipe Balbi wrote: Hi, diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c @@ -492,10 +491,8 @@ static void

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Marek Vasut
Dear Huang Shijie, 于 2012年10月18日 15:14, Marek Vasut 写道: Dear Huang Shijie, Why such massive CC ? 于 2012年10月18日 14:18, Vinod Koul 写道: Why cant you do start (prepare clock etc) when you submit the descriptor to dmaengine. Can be done in tx_submit callback. Similarly remove the

Re: [PATCH] cpuidle: reinitialize power_usage values when adding/removing C-states

2012-10-18 Thread Daniel Lezcano
On 10/17/2012 08:43 PM, Julius Werner wrote: This is specific to the acpi and should be handled in the processor_idle.c file instead of the cpuidle core code. Could be the function 'acpi_processor_cst_has_changed' the right place to set a dummy power value for the power in the new C-state ?

[PATCH v2 0/8] pstore: add interface for dumpers and add task list dumper

2012-10-18 Thread dragos . tatulea
From: Dragos Tatulea dragos.tatu...@intel.com This patchset adds an interface for registering various clients (dumpers) that can save info into pstore at crash time. Such a dumper is added which does task list dumping. v2 changes: v1 patchset was corrupted. Adrian Hunter (4): pstore: add

[PATCH v2 2/8] pstore: add debugfs support for causing dumps and panics

2012-10-18 Thread dragos . tatulea
From: Adrian Hunter adrian.hun...@intel.com There are 2 debugfs files: pstore/dump writing a kmsg dump reason code will cause a dump to persistent storage pstore/panicwriting anything will cause a

[PATCH v2 5/8] pstore: add task list dumper

2012-10-18 Thread dragos . tatulea
From: Dragos Tatulea dragos.tatu...@intel.com The task dumper can dump task information during a panic. This is equivalent to a magic sysrq 't' command but the result is captured from the console and written to persistent storage. Note that this happens after pstore dumps kernel messages because

[PATCH v2 7/8] pstore: make sure pstore_write exists on flush error

2012-10-18 Thread dragos . tatulea
From: Dragos Tatulea dragos.tatu...@intel.com Return error if flushing to backend failed. Signed-off-by: Dragos Tatulea dragos.tatu...@intel.com --- fs/pstore/platform.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c

[PATCH v2 8/8] pstore: max out console log level during sysfs dump switch

2012-10-18 Thread dragos . tatulea
From: Dragos Tatulea dragos.tatu...@intel.com Otherwise we might miss out on some pstore dumpers that use printks below current log level. Signed-off-by: Dragos Tatulea dragos.tatu...@intel.com --- fs/pstore/platform.c |4 1 file changed, 4 insertions(+) diff --git

[PATCH v2 6/8] pstore: do not run timer while pstore is not mounted

2012-10-18 Thread dragos . tatulea
From: Adrian Hunter adrian.hun...@intel.com A timer is used to periodically check for new dumps. The timer is not needed unless pstore is mounted, so disable it otherwise. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- fs/pstore/inode.c|3 +++ fs/pstore/internal.h |2 ++

Re: [PATCH] dma: add new DMA control commands

2012-10-18 Thread Huang Shijie
于 2012年10月18日 16:16, Marek Vasut 写道: So we can't stream data from the chip? About time to adjust the MTD framework to allow that. Maybe implement a command queue? to Artem David: is this possible to stream the data out with a command queue? thanks Huang Shijie -- To unsubscribe from

Re: [tip:sched/core] sched: Fix race in task_group()

2012-10-18 Thread cwillu
On Tue, Jul 24, 2012 at 8:21 AM, tip-bot for Peter Zijlstra pet...@infradead.org wrote: Commit-ID: 8323f26ce3425460769605a6aece7a174edaa7d1 Gitweb: http://git.kernel.org/tip/8323f26ce3425460769605a6aece7a174edaa7d1 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Fri, 22 Jun

[PATCH v2 4/8] pstore: allow storing different type id's in ram backend

2012-10-18 Thread dragos . tatulea
From: Dragos Tatulea dragos.tatu...@intel.com Added pstore_type_id in message header when storing to ram. On write, take into account the contents of this header and set the type accordingly. Signed-off-by: Dragos Tatulea dragos.tatu...@intel.com --- fs/pstore/ram.c | 18 +++--- 1

[PATCH v2 3/8] pstore: add support for external writers

2012-10-18 Thread dragos . tatulea
From: Adrian Hunter adrian.hun...@intel.com Other modules that may wish to write to persistent storage are supported by adding a notifier and write function. The notifier has 3 events: PSTORE_BEGIN, PSTORE_DUMP and PSTORE_END. External writers use the PSTORE_DUMP event whereas the PSTORE_BEGIN

[PATCH v2 1/8] pstore: add flags

2012-10-18 Thread dragos . tatulea
From: Adrian Hunter adrian.hun...@intel.com Let the back end tweak pstore behaviour. Flags added are: PSTORE_NO_HEADINGS Omit pstore heading lines from dumped data PSTORE_MAX_KMSG_BYTES Default kmsg_bytes to ULONG_MAX Signed-off-by: Adrian

[PATCH-v2] sched: Prevent wakeup to enter critical section needlessly

2012-10-18 Thread Ivo Sieben
Check the waitqueue task list to be non empty before entering the critical section. This prevents locking the spin lock needlessly in case the queue was empty, and therefor also prevent scheduling overhead on a PREEMPT_RT system. Signed-off-by: Ivo Sieben meltedpiano...@gmail.com --- v2: - We

Re: [PATCH 5/6] memcg: make mem_cgroup_reparent_charges non failing

2012-10-18 Thread Li Zefan
static int mem_cgroup_force_empty_write(struct cgroup *cont, unsigned int event) @@ -5013,13 +5011,9 @@ free_out: static int mem_cgroup_pre_destroy(struct cgroup *cont) { struct mem_cgroup *memcg = mem_cgroup_from_cont(cont); - int ret; - css_get(memcg-css); - ret

Re: [PATCH v2] perf probe: convert_name_to_addr() allocated the wrong size buffers for names

2012-10-18 Thread Masami Hiramatsu
(2012/10/18 10:17), Hyeoncheol Lee wrote: The function allocated wrong size buffers for names Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Signed-off-by: Hyeoncheol Lee hyc@gmail.com Acked-by: Masami Hiramatsu

[PATCH] Input: serio - Add ARC PS/2 driver

2012-10-18 Thread Mischa Jonker
Hi Dmitry, Thanks again for your quick reply. +void *data, *status; These 2 should be annotated as __iomem. May I also suggest calling them data_addt and status_addr? I assume you meant data_addr. +dev_err(pdev-dev, memory allocation failed cannot get the I/O addr 0x%x\n,

RE: [PATCH] SUNRPC: Prevent kernel stack corruption on long values of flush

2012-10-18 Thread David Laight
... long is always the same or bigger then a pointer (A pointer must always fit in a long) ... Linux may make that assumption, but it doesn't have to be true. 64bit windows still has 32bit long. C99 inttypes.h defines [u]intptr_t to be an integral type that is large enough to hold a pointer

Re: [PATCH 5/6] memcg: make mem_cgroup_reparent_charges non failing

2012-10-18 Thread Michal Hocko
On Thu 18-10-12 16:30:19, Li Zefan wrote: static int mem_cgroup_force_empty_write(struct cgroup *cont, unsigned int event) @@ -5013,13 +5011,9 @@ free_out: static int mem_cgroup_pre_destroy(struct cgroup *cont) { struct mem_cgroup *memcg = mem_cgroup_from_cont(cont); - int

  1   2   3   4   5   6   7   8   9   10   >