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

[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 --- 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 @@ #include #include

[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 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 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 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 --- arch/x86/include/asm/kexec.h |2 ++ arch/x86/kernel/crash.c |

[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 RFC] [x86] Optimize small size memcpy by avoding long latency from decode stage

2012-10-18 Thread ling . ma . program
From: Ma Ling 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 handled by MS-ROM, the

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 wrote: >> At 10/12/2012 06:33 AM, KOSAKI Motohiro Wrote: >>> On Thu, Oct 11, 2012 at 1:26 AM, Yasuaki Ishimatsu >>> wrote: When calling unregister_node(), the function shows following message at

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 wrote: > > In kfifo_in marco, one piece of code is arounded by if(0). This code in > > introduced by Stefani Seibold to suppress a compiler > > warning. This warning is not there

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+

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

MAINTAINERS: Add Rafael's address to ACPI maintainers

2012-10-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki 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 --- MAINTAINERS |1 + 1 file changed, 1 insertion(+)

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

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

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 : > Hello, > > On Wed 10-10-12 00:10:01, Namjae Jeon wrote: >> From: Namjae Jeon >> >> 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 the transformation

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

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

2012-10-18 Thread Robin Dong
From: Robin Dong 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 exposes the number of

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

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

[PATCH net-next 07/21] infiniband: Convert is__ether_addr uses to eth_addr_

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

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

[PATCH net-next 21/21] sctp: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- include/net/sctp/constants.h | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h

[PATCH net-next 20/21] lockd: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- include/linux/lockd/lockd.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/lockd/lockd.h b/include/linux/lockd/lockd.h index

[PATCH net-next 19/21] parisc: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- 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 f2f501e..8951fd1 100644 ---

[PATCH net-next 18/21] ath6kl: Convert ipv4_is_ uses to ipv4_addr_

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

[PATCH net-next 17/21] infiniband: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- drivers/infiniband/core/cma.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index

[PATCH net-next 16/21] net: Convert ipv4_is_ uses to ipv4_addr_

2012-10-18 Thread Joe Perches
Use the new ipv4_addr_ functions to be consistent with the ipv6_addr_ and eth_addr_ style. Signed-off-by: Joe Perches --- net/bridge/br_multicast.c |4 +- net/core/netpoll.c|2 +- net/core/pktgen.c | 10 +++--- net/ipv4/arp.c

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

2012-10-18 Thread Joe Perches
Make the ipv4_is_ tests use a similar style to ipv6_ tests. Add backward compatibility #defines to keep current ipv4_is_ code working until completely converted. Signed-off-by: Joe Perches --- include/linux/in.h | 40 1 files changed, 28 insertions(+),

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

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- 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 13/21] Documentation: networking: Convert is__ether_addr uses to eth_addr_

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

[PATCH net-next 12/21] uwb: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- 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 11/21] usb: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- 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 6458764..d6a5577

[PATCH net-next 10/21] s390: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- 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 index

[PATCH net-next 09/21] of: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- 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 --- a/drivers/of/of_net.c

[PATCH net-next 08/21] scsi: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- 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 |8

[PATCH net-next 06/21] staging: Convert is__ether_addr uses to eth_addr_

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

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 Hocko wrote: [...] Could you be more specific about the motivation for

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

[PATCH net-next 04/21] wireless: Convert is__ether_addr uses to eth_addr_

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

[PATCH net-next 03/21] arch: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- 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 02/21] net: Convert is__ether_addr uses to eth_addr_

2012-10-18 Thread Joe Perches
Convert the old ether_addr tests to eth_addr_. Adds api consistency. Signed-off-by: Joe Perches --- net/802/stp.c |4 +- net/8021q/vlan_dev.c |6 ++-- net/8021q/vlan_netlink.c |2 +- net/batman-adv/bat_iv_ogm.c|

[PATCH net-next 00/21] treewide: Use consistent api style for address testing

2012-10-18 Thread Joe Perches
ethernet, ipv4, and ipv6 address testing uses 3 different api naming styles. ethernet uses: is__ether_addr ipv4 uses: ipv4_is_ ipv6 uses: ipv6_addr_ Standardize on the ipv6 style of _addr_ to reduce the number of styles to remember. The new consistent styles are: eth_addr_(const u8

[PATCH net-next 01/21] etherdevice: Rename is__ether_addr tests to eth_addr_

2012-10-18 Thread Joe Perches
Make the ether_addr tests use a similar style to ipv6_ tests. Add backward compatibility #defines to keep current is__ether_addr code working until completely converted. Signed-off-by: Joe Perches --- include/linux/etherdevice.h | 36 ++-- 1 files changed, 22

[PATCH net-next] pktgen: Use ipv6_addr_any

2012-10-18 Thread Joe Perches
Use the standard test for a non-zero ipv6 address. Signed-off-by: Joe Perches --- net/core/pktgen.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index d1dc14c..1d1c216 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@

Re: [RFC PATCH v1 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-18 Thread Ming Lei
On Thu, Oct 18, 2012 at 7:54 AM, Andrew Morton wrote: > > local_irq_save() and local_irq_restore() were mistakes :( It's silly to > write what appears to be a C function and then have it operate like > Pascal (warning: I last wrote some Pascal in 66 B.C.). Considered that

[ 03/62] NFSD: pass null terminated buf to kstrtouint()

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Malahal Naineni commit 9959ba0c241a71c7ed8133401cfbbee2720da0b5 upstream. The 'buf' is prepared with null termination with intention of using it for this purpose, but 'name' is passed instead!

[ 01/62] ARM: vfp: fix saving d16-d31 vfp registers on v6+ kernels

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 846a136881b8f73c1f74250bf6acfaa309cab1f2 upstream. Michael Olbrich reported that his test program fails when built with -O2 -mcpu=cortex-a8 -mfpu=neon, and a kernel which

[ 04/62] lockd: use rpc clients cl_nodename for id encoding

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky commit 303a7ce92064c285a04c870f2dc0192fdb2968cb upstream. Taking hostname from uts namespace if not safe, because this cuold be performind during umount operation on child

[ 08/62] ALSA: hda - Fix memory leaks at error path in patch_cirrus.c

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c5e0b6dbad9b4d18c561af90b384d02373f1c994 upstream. The proper destructor should be called at the error path. Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman

[ 12/62] iscsi-target: Correctly set 0xffffffff field within ISCSI_OP_REJECT PDU

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit f25590f39d543272f7ae7b00d533359c8d7ff331 upstream. This patch adds a missing iscsi_reject-> assignment within iscsit_send_reject() code to properly follow

[ 13/62] iscsit: remove incorrect unlock in iscsit_build_sendtargets_resp

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 904753da183566c71211d23c169a80184648c121 upstream. Fix a potential multiple spin-unlock -> deadlock scenario during the overflow check within

[ 09/62] mips,kgdb: fix recursive page fault with CONFIG_KPROBES

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wessel commit f0a996eeeda214f4293e234df33b29bec003b536 upstream. This fault was detected using the kgdb test suite on boot and it crashes recursively due to the fact that CONFIG_KPROBES

[ 06/62] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit 67bfa9b60bd689601554526d144b21d529f78a09 upstream. By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode.

[ 02/62] nfsd4: fix nfs4 stateid leak

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit cf9182e90b2af04245ac4fae497fe73fc71285b4 upstream. Processes that open and close multiple files may end up setting this oo_last_closed_stid without freeing what was

[ 00/62] 3.4.15-stable review

2012-10-18 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.15 release. There are 62 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Oct 21 02:42:38 UTC 2012. Anything

[ 10/62] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 35c2a7f4908d404c9124c2efc6ada4640ca4d5d5 upstream. Fuzzing with trinity oopsed on the 1st instruction of shmem_fh_to_dentry(), u64 inum = fid->raw[2]; which is

[ 14/62] iscsi-target: Add explicit set of cache_dynamic_acls=1 for TPG demo-mode

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 38b11bae6ba02da352340aff12ee25755977b222 upstream. We've had reports in the past about this specific case, so it's time to go ahead and explicitly set

[ 25/62] autofs4 - fix reset pending flag on mount fail

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ian Kent commit 4ab27eab6289a8e4f450e148bdab521361b2 upstream. In autofs4_d_automount(), if a mount fail occurs the AUTOFS_INF_PENDING mount pending flag is not cleared. One effect of

[ 05/62] ACPI: EC: Make the GPE storm threshold a module parameter

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit a520d52e99b14ba7db135e916348f12f2a6e09be upstream. The Linux EC driver includes a mechanism to detect GPE storms, and switch from interrupt-mode to polling mode. However,

[ 17/62] SCSI: scsi_debug: Fix off-by-one bug when unmapping region

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit bc977749e967daa56de1922cf4cb38525631c51c upstream. Currently it is possible to unmap one more block than user requested to due to the off-by-one error in unmap_region().

[ 20/62] SUNRPC: Ensure that the TCP socket is closed when in CLOSE_WAIT

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit a519fc7a70d1a918574bb826cc6905b87b482eb9 upstream. Instead of doing a shutdown() call, we need to do an actual close(). Ditto if/when the server is sending us junk RPC

[ 21/62] target: fix return code in target_core_init_configfs error path

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Senna Tschudin commit 37bb7899ca366dc212b71b150e78566d04808cc0 upstream. This patch fixes error cases within target_core_init_configfs() to properly set ret = -ENOMEM before jumping to

[ 22/62] xen/bootup: allow {read|write}_cr8 pvops call.

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit 1a7bbda5b1ab0e02622761305a32dc38735b90b2 upstream. We actually do not do anything about it. Just return a default value of zero and if the kernel tries to write

[ 27/62] video/udlfb: fix line counting in fb_write

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Holler commit b8c4321f3d194469007f5f5f2b34ec278c264a04 upstream. Line 0 and 1 were both written to line 0 (on the display) and all subsequent lines had an offset of -1. The result

[ 29/62] timers: Fix endless looping between cascade() and internal_add_timer()

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Hildner, Christian" commit 26cff4e2aa4d666dc6a120ea34336b5057e3e187 upstream. Adding two (or more) timers with large values for "expires" (they have to reside within tv5 in the same list)

[ 30/62] ath9k: use ieee80211_free_txskb

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 249ee72249140fe5b9adc988f97298f0aa5db2fc upstream. Using ieee80211_free_txskb for tx frames is required, since mac80211 clones skbs for which socket tx status is

[ 31/62] md/raid10: use correct limit variable

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 91502f099dfc5a1e8812898e26ee280713e1d002 upstream. Clang complains that we are assigning a variable to itself. This should be using bad_sectors like the similar earlier

[ 01/37] ARM: vfp: fix saving d16-d31 vfp registers on v6+ kernels

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 846a136881b8f73c1f74250bf6acfaa309cab1f2 upstream. Michael Olbrich reported that his test program fails when built with -O2 -mcpu=cortex-a8 -mfpu=neon, and a kernel which

[ 04/37] ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit 67bfa9b60bd689601554526d144b21d529f78a09 upstream. By enlarging the GPE storm threshold back to 20, that laptop's EC works fine with interrupt mode instead of polling mode.

[ 06/37] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 35c2a7f4908d404c9124c2efc6ada4640ca4d5d5 upstream. Fuzzing with trinity oopsed on the 1st instruction of shmem_fh_to_dentry(), u64 inum = fid->raw[2]; which is

[ 33/62] pktgen: fix crash when generating IPv6 packets

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Amerigo Wang commit 5aa8b572007c4bca1e6d3dd4c4820f1ae49d6bb2 upstream. For IPv6, sizeof(struct ipv6hdr) = 40, thus the following expression will result negative: datalen =

[ 23/62] xen/bootup: allow read_tscp call for Xen PV guests.

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit cd0608e71e9757f4dae35bcfb4e88f4d1a03a8ab upstream. The hypervisor will trap it. However without this patch, we would crash as the .read_tscp is set to NULL. This

[ 15/62] iscsi-target: Bump defaults for nopin_timeout + nopin_response_timeout values

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit cf0eb28d3ba60098865bf7dbcbfdd6b1cc483e3b upstream. This patch increases the default for nopin_timeout to 15 seconds (wait between sending a new NopIN ping) and

[ 24/62] block: fix request_queue->flags initialization

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 60ea8226cbd5c8301f9a39edc574ddabcb8150e0 upstream. A queue newly allocated with blk_alloc_queue_node() has only QUEUE_FLAG_BYPASS set. For request-based drivers,

[ 11/62] SCSI: hpsa: dial down lockup detection during firmware flash

2012-10-18 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Stephen M. Cameron" commit e85c59746957fd6e3595d02cf614370056b5816e upstream. Dial back the aggressiveness of the controller lockup detection thread. Currently it will declare the controller

[ 07/37] ARM: 7541/1: Add ARM ERRATA 775420 workaround

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Simon Horman commit 7253b85cc62d6ff84143d96fe6cd54f73736f4d7 upstream. arm: Add ARM ERRATA 775420 workaround Workaround for the 775420 Cortex-A9 (r2p2, r2p6,r2p8,r2p10,r3p0) erratum. In case

[ 08/37] firewire: cdev: fix user memory corruption (i386 userland on amd64 kernel)

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Richter commit 790198f74c9d1b46b6a89504361b1a844670d050 upstream. Fix two bugs of the /dev/fw* character device concerning the FW_CDEV_IOC_GET_INFO ioctl with nonzero

[ 09/37] SUNRPC: Ensure that the TCP socket is closed when in CLOSE_WAIT

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit a519fc7a70d1a918574bb826cc6905b87b482eb9 upstream. Instead of doing a shutdown() call, we need to do an actual close(). Ditto if/when the server is sending us junk RPC

[ 02/37] lockd: use rpc clients cl_nodename for id encoding

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky commit 303a7ce92064c285a04c870f2dc0192fdb2968cb upstream. Taking hostname from uts namespace if not safe, because this cuold be performind during umount operation on child

[PATCH 2/2] block: fs: move 'bdev->bd_invalidated = 0' into check_disk_size_change() instead of putting the code every time after check_disk_size_change().

2012-10-18 Thread MITSUNARI Shigeo
The following code appeares in invalidate_partitions(), rescan_partitions() and revalidate_disk(). >check_disk_size_change(disk, bdev); >bdev->bd_invalidted = 0; check_disk_size_change() is called from only those three functions. so how about setting bdev->bd_invalidated = 0 in

[ 10/37] xen/bootup: allow {read|write}_cr8 pvops call.

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit 1a7bbda5b1ab0e02622761305a32dc38735b90b2 upstream. We actually do not do anything about it. Just return a default value of zero and if the kernel tries to write

[PATCH 0/2] bd_invalidated shoud be cleared in revalidate_disk

2012-10-18 Thread MITSUNARI Shigeo
rescan_partitions() and invalidate_partitions() in block/partition-generic.c set bdev->bd_invalidated = 0 after calling check_disk_size_change(). But revalidate_disk() in fs/block_dev.c does not clear it. If bdev->bd_invalidated = 1 then rescan_partitions() is called when __blkdev_get() is

[PATCH 1/2] block: fs: bd_invalidated should be cleared in revalidate_disk

2012-10-18 Thread MITSUNARI Shigeo
rescan_partitions() and invalidate_partitions() in block/partition-generic.c set bdev->bd_invalidated = 0 after calling check_disk_size_change(). But revalidate_disk() in fs/block_dev.c does not clear it. If bdev->bd_invalidated = 1 then rescan_partitions() is called when __blkdev_get() is

[ 11/37] xen/bootup: allow read_tscp call for Xen PV guests.

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit cd0608e71e9757f4dae35bcfb4e88f4d1a03a8ab upstream. The hypervisor will trap it. However without this patch, we would crash as the .read_tscp is set to NULL. This

[ 15/37] video/udlfb: fix line counting in fb_write

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Holler commit b8c4321f3d194469007f5f5f2b34ec278c264a04 upstream. Line 0 and 1 were both written to line 0 (on the display) and all subsequent lines had an offset of -1. The result

[ 16/37] viafb: dont touch clock state on OLPC XO-1.5

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Drake commit 012a1211845eab69a5488d59eb87d24cc518c627 upstream. As detailed in the thread titled "viafb PLL/clock tweaking causes XO-1.5 instability," enabling or disabling the

[ 14/37] module: taint kernel when lve module is loaded

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Garrett commit c99af3752bb52ba3aece5315279a57a477edfaf1 upstream. Cloudlinux have a product called lve that includes a kernel module. This was previously GPLed but is now under a

[ 17/37] timers: Fix endless looping between cascade() and internal_add_timer()

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: "Hildner, Christian" commit 26cff4e2aa4d666dc6a120ea34336b5057e3e187 upstream. Adding two (or more) timers with large values for "expires" (they have to reside within tv5 in the same list)

[ 18/37] pktgen: fix crash when generating IPv6 packets

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Amerigo Wang commit 5aa8b572007c4bca1e6d3dd4c4820f1ae49d6bb2 upstream. For IPv6, sizeof(struct ipv6hdr) = 40, thus the following expression will result negative: datalen =

[ 19/37] tg3: Apply short DMA frag workaround to 5906

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Matt Carlson commit b7abee6ef888117f92db370620ebf116a38e3f4d upstream. 5906 devices also need the short DMA fragment workaround. This patch makes the necessary change. Signed-off-by: Matt

Re: RFC: sign the modules at install time

2012-10-18 Thread Stephen Rothwell
Hi Rusty, On Fri, 19 Oct 2012 11:53:15 +1030 Rusty Russell wrote: > > Linus Torvalds writes: > > On Wed, Oct 17, 2012 at 10:34 PM, Rusty Russell > > wrote: > >> > >> Hacking the keyid and signer-name to be extracted every time by > >> sign-file takes my modules_install time from 18.6 seconds

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-18 Thread HATAYAMA Daisuke
From: Vivek Goyal Subject: Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Thu, 18 Oct 2012 10:14:49 -0400 > On Thu, Oct 18, 2012 at 12:08:05PM +0900, HATAYAMA Daisuke wrote: > > [..] >> > Do you have any rough numbers on what kind of speed up we are looking >> > at. IOW, what

[ 25/37] netfilter: nf_nat_sip: fix via header translation with multiple parameters

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Patrick McHardy commit f22eb25cf5b1157b29ef88c793b71972efc47143 upstream. Via-headers are parsed beginning at the first character after the Via-address. When the address is translated first

[ 26/37] netfilter: nf_ct_expect: fix possible access to uninitialized timer

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 2614f86490122bf51eb7c12ec73927f1900f4e7d upstream. In __nf_ct_expect_check, the function refresh_timer returns 1 if a matching expectation is found and its timer is

[ 27/37] netfilter: limit, hashlimit: avoid duplicated inline

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit 7a909ac70f6b0823d9f23a43f19598d4b57ac901 upstream. credit_cap can be set to credit, which avoids inlining user2credits twice. Also, remove inline keyword and let

[ 30/37] drm/radeon: Dont destroy I2C Bus Rec in radeon_ext_tmds_enc_destroy().

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Egbert Eich commit 082918471139b07964967cfe5f70230909c82ae1 upstream. radeon_i2c_fini() walks thru the list of I2C bus recs rdev->i2c_bus[] to destroy each of them.

[ 31/37] jbd: Fix assertion failure in commit code due to lacking transaction credits

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 09e05d4805e6c524c1af74e524e5d0528bb3fef3 upstream. ext3 users of data=journal mode with blocksize < pagesize were occasionally hitting assertion failure in

[ 23/37] netfilter: nf_nat_sip: fix incorrect handling of EBUSY for RTCP expectation

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 3f509c689a07a4aa989b426893d8491a7ffcc410 upstream. We're hitting bug while trying to reinsert an already existing expectation: kernel BUG at kernel/timer.c:895!

[ 20/37] ipvs: fix oops in ip_vs_dst_event on rmmod

2012-10-18 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov commit 283283c4da91adc44b03519f434ee1e7e91d6fdb upstream. After commit 39f618b4fd95ae243d940ec64c961009c74e (3.4) "ipvs: reset ipvs pointer in netns" we can oops

  1   2   3   4   5   6   7   8   9   10   >