Re: [PATCH 2/2] media: davinci: vpbe: venc: move the enabling of vpss clocks to driver

2013-03-24 Thread Sekhar Nori
On 3/22/2013 1:23 PM, Prabhakar lad wrote: > From: Lad, Prabhakar > > The vpss clocks were enabled by calling a exported function from a driver > in a machine code. calling driver code from platform code is incorrect way. > > This patch fixes this issue and calls the function from driver code

Re: [PATCH] PowerPC:kernel: make additional room in exception vector area

2013-03-24 Thread Chen Gang
On 2013年03月25日 13:14, Stephen Rothwell wrote: > Hi all, > > On Mon, 25 Mar 2013 09:31:31 +0800 Chen Gang wrote: >> > >> > The FWNMI region is fixed at 0x7000 and the vector are now overflowing >> > that with allmodconfig. Fix that by moving slb_miss_realmode code out >> > of that region as

[PATCH] staging: vme: fix for a potential NULL pointer dereference

2013-03-24 Thread Kumar Amit Mehta
Audit the return value of cdev_alloc and hence fixes a potential NULL pointer dereferencing. Signed-off-by: Kumar Amit Mehta --- drivers/staging/vme/devices/vme_user.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/staging/vme/devices/vme_user.c

Re: BUG at kmem_cache_alloc

2013-03-24 Thread CAI Qian
- Original Message - > From: "David Rientjes" > To: "CAI Qian" > Cc: "linux-mm" kvack.org>, linux-kernel@vger.kernel.org, "Oleg Nesterov" > > Sent: Friday, March 22, 2013 5:35:34 PM > Subject: Re: BUG at kmem_cache_alloc > > On Fri, 22 Mar 2013, CAI Qian wrote: > > > Starting to

Re: [PATCH 1/2] media: davinci: vpss: enable vpss clocks

2013-03-24 Thread Sekhar Nori
On 3/22/2013 1:23 PM, Prabhakar lad wrote: > From: Lad, Prabhakar > > By default the VPSS clocks are only enabled in capture driver > for davinci family which creates duplicates. This > patch adds support to enable the VPSS clocks in VPSS driver. > This avoids duplication of code and also adding

Re: Submitting fbdev tree patches

2013-03-24 Thread Jingoo Han
On Monday, March 25, 2013 2:11 PM, Tony Prisk wrote: > > Is anyone taking patches for fbdev at the moment? > > I sent in some patches for 3.9 but didn't hear back - checking the lists > it doesn't appear Florian has posted much since the end of Oct 2012. CC'ed Tomi Valkeinen, Andrew Morton Hi

[RFC PATCH] sched: wake-affine throttle

2013-03-24 Thread Michael Wang
Recently testing show that wake-affine stuff cause regression on pgbench, the hiding rat was finally catched out. wake-affine stuff is always trying to pull wakee close to waker, by theory, this will benefit us if waker's cpu cached hot data for wakee, or the extreme ping-pong case. However, the

Re: [PATCH 1/1] watchdog:improve w83627hf_wdt to timeout in minutes

2013-03-24 Thread Guenter Roeck
On Sun, Mar 24, 2013 at 09:15:57PM -0700, Tony Chung wrote: > The current maximum of 255 seconds is insufficient. > For example, crash dump could take 5+ minutes. > > Signed-off-by: Tony Chung I would suggest to use the port to the watchdog infrastructure for any changes on this driver. > ---

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lin Feng
Hi, On 03/25/2013 11:44 AM, Lenky Gao wrote: >> On 03/25/2013 11:18 AM, Lenky Gao wrote: >>> The irqbalance service has been stopped. >> So try start irqbalance to see what happen? >> It should help to give what you want ;-) > > Using the irqbalance service to dynamically change the IRQ-bound?

Re: [PATCH] PowerPC:kernel: make additional room in exception vector area

2013-03-24 Thread Stephen Rothwell
Hi all, On Mon, 25 Mar 2013 09:31:31 +0800 Chen Gang wrote: > > The FWNMI region is fixed at 0x7000 and the vector are now overflowing > that with allmodconfig. Fix that by moving slb_miss_realmode code out > of that region as it doesn't need to be that close to the call sites > (it is a

Re: [PATCH v3 3/3] backlight: as3711: add OF support

2013-03-24 Thread Jingoo Han
On Saturday, March 23, 2013 1:16 AM, Guennadi Liakhovetski wrote: > > Add support for configuring AS3711 backlight driver from DT. > > Signed-off-by: Guennadi Liakhovetski > Reviwed-by: Mark Brown Acked-by: Jingoo Han But, there is a typo in comment. > + * At least one

linux-next: Tree for Mar 25

2013-03-24 Thread Stephen Rothwell
Hi all, Changes since 20130322: Linus' tree lost its build failure. The kvm tree gained a conflict against the net-next tree. The tty tree still has its build failure so I used the version from next-20130319. The akpm tree gained a conflict against Linus' tree and lost several patches that

Submitting fbdev tree patches

2013-03-24 Thread Tony Prisk
Is anyone taking patches for fbdev at the moment? I sent in some patches for 3.9 but didn't hear back - checking the lists it doesn't appear Florian has posted much since the end of Oct 2012. Regards Tony Prisk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

RE: [PATCH 0/2] Add dT support for tps6507x touchscreen.

2013-03-24 Thread Vishwanathrao Badarkhe, Manish
Hi all I am sending next version for this, as need to update commit message for some patches. Thanks Manish Badarkhe -Original Message- From: Vishwanathrao Badarkhe, Manish Sent: Saturday, March 23, 2013 6:29 PM To: devicetree-disc...@lists.ozlabs.org; linux-in...@vger.kernel.org;

Re: [patch v5 14/15] sched: power aware load balance

2013-03-24 Thread Alex Shi
On 03/22/2013 01:14 PM, Preeti U Murthy wrote: >> > >> > the value get from decay_load(): >> > sa->runnable_avg_sum = decay_load(sa->runnable_avg_sum, >> > in decay_load it is possible to be set zero. > Yes you are right, it is possible to be set to 0, but after a very long > time, to be more

Re: [PATCH] cifs: Rename cERROR and cFYI to cifs_dbg

2013-03-24 Thread Steve French
On Fri, Mar 15, 2013 at 3:43 PM, Joe Perches wrote: > On Fri, 2013-03-15 at 15:16 -0500, Steve French wrote: > >> I would like to merge the three we have (one still has to be put in >> for-next - the one from Jeff) for for-next in the next three or fouir >> days - but I can create another

Re: [PATCH -next] backlight: adp8870: fix error return code in adp8870_led_probe()

2013-03-24 Thread Jingoo Han
On Friday, March 22, 2013 8:31 PM, Wei Yongjun wrote: > > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as returned elsewhere in this function. > > Signed-off-by: Wei Yongjun CC'ed Andrdew Morton, linux-kernel@vger.kernel.org

Re: [PATCH] arch/powerpc/kernel: using %12.12s instead of %12s for avoiding memory overflow.

2013-03-24 Thread Chen Gang
Hello Maintainers: could you help check this patch whether is ok ? thanks. On 2013年02月17日 12:00, Chen Gang wrote: > Hello relative members: > > please give a glance to this patch, when you have time. > > thanks. > > :-) > > gchen. > > > 于 2013年01月24日 12:14, Chen Gang 写道: >> >>

Re: [PATCH -next] backlight: adp8860: fix error return code in adp8860_led_probe()

2013-03-24 Thread Jingoo Han
On Friday, March 22, 2013 8:30 PM, Wei Yongjun wrote: > > From: Wei Yongjun > > Fix to return a negative error code from the error handling > case instead of 0, as returned elsewhere in this function. > > Signed-off-by: Wei Yongjun CC'ed Andrdew Morton, linux-kernel@vger.kernel.org

Re: [PATCH] PowerPC:kernel: section mismatch from smp_release_cpus to __initdata spinning_secondaries

2013-03-24 Thread Chen Gang
Hello Maintainers: could you help check this patch whether is ok ? thanks. On 2013年03月20日 14:30, Chen Gang wrote: > > the smp_release_cpus is a normal funciton and called in normal environments, > but it calls the __initdata spinning_secondaries. > need modify spinning_secondaries

Re: [PATCH] fs: cifs: use kmemdup instead of kmalloc + memcpy

2013-03-24 Thread Steve French
Merged into cifs-2.6.git (for-next branch) On Mon, Mar 11, 2013 at 11:22 AM, Silviu-Mihai Popescu wrote: > This replaces calls to kmalloc followed by memcpy with a single call to > kmemdup. This was found via make coccicheck. > > Signed-off-by: Silviu-Mihai Popescu > --- >

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

2013-03-24 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/proc/inode.c between commit ("vfs,proc: guarantee unique inodes in /proc") from Linus' tree and commit "procfs-improve-scaling-in-proc-v5" from the akpm tree. I fixed it up (see below) and can carry the fix as necessary

Re: [PATCH] cifs: replaced kmalloc + memset with kzalloc

2013-03-24 Thread Steve French
Merged into cifs-2.6.git for-next branch On Sun, Mar 10, 2013 at 7:29 AM, Dia Vasile wrote: > From: Dia Vasile > > Signed-off-by: Diana Vasile > --- > fs/cifs/smb2pdu.c |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c > index

[PATCH 1/1] watchdog:improve w83627hf_wdt to timeout in minutes

2013-03-24 Thread Tony Chung
The current maximum of 255 seconds is insufficient. For example, crash dump could take 5+ minutes. Signed-off-by: Tony Chung --- drivers/watchdog/w83627hf_wdt.c | 73 ++ 1 files changed, 57 insertions(+), 16 deletions(-) diff --git

[RFC PATCH 5/6] ARM, mm: change meaning of max_low_pfn to maximum pfn for nobootmem

2013-03-24 Thread Joonsoo Kim
nobootmem use max_low_pfn for computing boundary in free_all_bootmem() So we need proper value to max_low_pfn. But, there is some difficulty related to max_low_pfn. max_low_pfn is used for two meanings in various architectures. One is for number of pages in lowmem and the other is for maximum

[RFC PATCH 6/6] ARM, mm: enable NO_BOOTMEM for default ARM build

2013-03-24 Thread Joonsoo Kim
If we use NO_BOOTMEM, we don't need to initialize a bitmap and we don't need to do bitmap operation, so we can boot slightly faster. Additionaly advantage of enabling NO_BOOTMEM is saving more memory. bootmem allocator manage memories as page unit, so if we request 4 bytes area to bootmem, it

[RFC PATCH 3/6] ARM, crashkernel: correct total_mem size in reserve_crashkernel()

2013-03-24 Thread Joonsoo Kim
There is some platforms which have highmem, so this equation doesn't represent total_mem size properly. In addition, max_low_pfn's meaning is different in other architecture and it is scheduled to be changed, so remove related code to max_low_pfn. Signed-off-by: Joonsoo Kim diff --git

[RFC PATCH 2/6] ARM, crashkernel: use ___alloc_bootmem_node_nopanic() for reserving memory

2013-03-24 Thread Joonsoo Kim
For crashkernel, specific address should be reserved. It can be achived by reserve_bootmem(), but this function is only for bootmem. Now, we try to enable nobootmem, therfore change it more general function, ___alloc_bootmem_node_nopanic(). It can be use for both, bootmem and nobootmem.

[RFC PATCH 1/6] ARM, TCM: initialize TCM in paging_init(), instead of setup_arch()

2013-03-24 Thread Joonsoo Kim
tcm_init() call iotable_init() and it use early_alloc variants which do memblock allocation. Directly using memblock allocation after initializing bootmem should not permitted, because bootmem can't know where are additinally reserved. So move tcm_init() to a safe place before initalizing bootmem.

[RFC PATCH 0/6] ARM: use NO_BOOTMEM on default configuration

2013-03-24 Thread Joonsoo Kim
Currently, ARM use traditional 'bootmem' allocator. It use a bitmap for managing memory space, so initialize a bitmap at first step. It is a needless overhead if we use 'nobootmem'. 'nobootmem' use a memblock allocator internally, so there is no additional initializing overhead. In addition, if we

[RFC PATCH 4/6] ARM, mm: don't do arm_bootmem_init() if CONFIG_NO_BOOTMEM

2013-03-24 Thread Joonsoo Kim
arm_bootmem_init() initialize a bitmap for bootmem and it is not needed for CONFIG_NO_BOOTMEM. So skip it when CONFIG_NO_BOOTMEM. Signed-off-by: Joonsoo Kim diff --git a/arch/arm/mm/init.c b/arch/arm/mm/init.c index ad722f1..049414a 100644 --- a/arch/arm/mm/init.c +++ b/arch/arm/mm/init.c @@

Re: [PATCH v3] ata: Fix DVD not dectected at some Haswell platforms

2013-03-24 Thread Youquan Song
> > Can you look at the patch which required by some Haswell platforms? > Hi Jeff, What's your opinion about the patch? It block the installation on some new platforms. Thanks -Youquan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
> On 03/25/2013 11:18 AM, Lenky Gao wrote: >> The irqbalance service has been stopped. > So try start irqbalance to see what happen? > It should help to give what you want ;-) Using the irqbalance service to dynamically change the IRQ-bound? It's seems a software solution. In my old machine,

Re: [PATCH 02/29] x86, tsx: Add RTM intrinsics

2013-03-24 Thread Michael Neuling
> From: Andi Kleen > > This adds the basic RTM (Restricted Transactional Memory) > intrinsics for TSX, implemented with alternative() so that they can be > transparently used without checking CPUID first. > > When the CPU does not support TSX we just always jump to the abort handler. > > These

Re: [PATCH 01/29] tsx: Add generic noop macros for RTM intrinsics

2013-03-24 Thread Michael Neuling
> From: Andi Kleen > > Add generic noop macros (act like transaction aborted) for RTM. > The main use case is an occasional _xtest() added to generic > code, without needing ifdefs. On x86+RTM this will use > real TSX instructions. > > Signed-off-by: Andi Kleen > --- > include/linux/rtm.h |

Re: [PATCH 06/29] checkpatch: Don't warn about if ((status = _xbegin()) == _XBEGIN_STARTED)

2013-03-24 Thread Michael Neuling
> From: Andi Kleen > > Writing _xbegin which is like setjmp in a if is very natural. > Stop checkpatch's whining about this. This patch should go in before the RTM tester. > > Cc: a...@canonical.com > Signed-off-by: Andi Kleen > --- > scripts/checkpatch.pl |5 - > 1 files changed,

Re: [PATCH V3 0/5] Add polling support for 64xx spi controller

2013-03-24 Thread Girish KS
Hello grant, any comments on this patch series? On Wed, Mar 13, 2013 at 12:13 PM, Girish K S wrote: > [PATCH 1/5]: fixes the error handling in the interrupt handler > [PATCH 2/5]: The existing driver support partial polling mode. > This patch modifies the current driver to support

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lin Feng
Hi, On 03/25/2013 11:18 AM, Lenky Gao wrote: > The irqbalance service has been stopped. So try start irqbalance to see what happen? It should help to give what you want ;-) thanks, linfeng -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
> Seems you bind the nic irq to second and third cpu for the bit mask > you set is 110, so now eth9's irq is working on the 3rd cpu. > Have you ever tried irqbalance service? It may help to balance irq if the > irq workload of 3rd cpu is too heavy. I need the interrupts distribute over multiple

Re: [PATCH 4/5] power: pm2301_charger: Remove __dev* annotations

2013-03-24 Thread Anton Vorontsov
On Sun, Mar 10, 2013 at 02:34:08PM +0100, Lars-Peter Clausen wrote: > The removal of __devinit and friends seems to have overlapped with the > addition > of the pm2301_charger driver. Currently the driver fails to build with the > following errors: > >

Re: Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lin Feng
Hi Gao, On 03/25/2013 10:33 AM, Lenky Gao wrote: > [root@localhost ~]# echo 6 > /proc/irq/25/smp_affinity > [root@localhost ~]# cat /proc/irq/25/smp_affinity > 06 Seems you bind the nic irq to second and third cpu for the bit mask you set is 110, so now eth9's irq is working on the 3rd cpu.

[Suggestion] scripts/checkpatch.pl: an issue about checking failed for a patch

2013-03-24 Thread Chen Gang
Hello Maintainers: when I use ./scripts/checkpatch.pl to check a patch, it reports a style issue. but after check, I can not find issue. (I use "static inline void" instead of "static void inline") please help check. thanks. the related issue is:

[PATCH] include/linux/platform_data: beautify code, 'inline' is better in front of 'void'

2013-03-24 Thread Chen Gang
better to let 'inline' in front of 'void' Signed-off-by: Chen Gang --- include/linux/platform_data/usb-ohci-s3c2410.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/platform_data/usb-ohci-s3c2410.h b/include/linux/platform_data/usb-ohci-s3c2410.h

Question: How to distribute the interrupts over multiple cores?

2013-03-24 Thread Lenky Gao
Hi everyone, I faced the same problem as this URL: http://stackoverflow.com/questions/13641440/unable-to-distrubute-the-interrupts-over-multiple-cores The question have been closed with no answer. :( My machine have 2x Xeon E5504 processors and running vanilla kernel 3.6.11 in CentOS 6.0.

linux-next: manual merge of the kvm tree with the tree

2013-03-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in drivers/s390/kvm/virtio_ccw.c between commit 9d0ca6ed6f2f ("virtio: remove obsolete virtqueue_get_queue_index()") from the net-next tree and commit 07e169335ff0 ("virtio_ccw: pass a cookie value to kvm hypercall") from the kvm

Re: [patch] mm: speedup in __early_pfn_to_nid

2013-03-24 Thread Lin Feng
On 03/24/2013 04:37 AM, Yinghai Lu wrote: > +#ifdef CONFIG_HAVE_MEMBLOCK_NODE_MAP > +int __init_memblock memblock_search_pfn_nid(unsigned long pfn, > + unsigned long *start_pfn, unsigned long *end_pfn) > +{ > + struct memblock_type *type = > + int mid =

Re: OOM triggered with plenty of memory free

2013-03-24 Thread Jonathan Woithe
This post ties up a few loose ends in this thread which remained after my 21 March 2013 post. * The memory leak was not present in 2.6.36. * The patch to 2.6.35.11 at the end of this email (based on 48e6b121605512d87f8da1ccd014313489c19630 from linux-stable) resolves the memory leak in

Re: [PATCH] vfio powerpc: implement IOMMU driver for VFIO

2013-03-24 Thread David Gibson
On Wed, Mar 20, 2013 at 09:16:24PM -0600, Alex Williamson wrote: > On Thu, 2013-03-21 at 12:55 +1100, David Gibson wrote: > > On Wed, Mar 20, 2013 at 02:45:24PM -0600, Alex Williamson wrote: > > > On Tue, 2013-03-19 at 18:08 +1100, Alexey Kardashevskiy wrote: > > > > VFIO implements platform

[PATCH] mfd:rtsx: Support RTS5249

2013-03-24 Thread wei_wang
From: Wei WANG Support new model: RTS5249 Signed-off-by: Wei WANG --- drivers/mfd/Makefile |2 +- drivers/mfd/rts5249.c| 245 ++ drivers/mfd/rtsx_pcr.c |5 + drivers/mfd/rtsx_pcr.h |1 +

[ 017/104] drm/i915: Increase the RC6p threshold.

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Stéphane Marchesin commit 0920a48719f1ceefc909387a64f97563848c7854 upstream. This increases GEN6_RC6p_THRESHOLD from 10 to 15. For some reason this avoids the

[ 000/104] 3.2.42-stable review

2013-03-24 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.42 release. There are 104 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Mar 27 01:00:00 UTC 2013. Anything

[ 002/104] perf,x86: fix kernel crash with PEBS/BTS after suspend/resume

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Stephane Eranian commit 1d9d8639c063caf6efc2447f5f26aa637f844ff6 upstream. This patch fixes a kernel crash when using precise sampling (PEBS) after a suspend/resume. Turns out the CPU notifier

[ 003/104] perf,x86: fix wrmsr_on_cpu() warning on suspend/resume

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 2a6e06b2aed6995af401dcd4feb5e79a0c7ea554 upstream. Commit 1d9d8639c063 ("perf,x86: fix kernel crash with PEBS/BTS after suspend/resume") fixed a crash when doing PEBS

[ 006/104] rds: limit the size allocated by rds_message_alloc()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit ece6b0a2b25652d684a7ced4ae680a863af041e0 ] Dave Jones reported the following bug: "When fed mangled socket data, rds will trust what userspace gives it, and tries

[ 016/104] 6lowpan: Fix endianness issue in is_addr_link_local().

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: YOSHIFUJI Hideaki / 吉藤英明 [ Upstream commit 9026c4927254f5bea695cc3ef2e255280e6a3011 ] Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings ---

[ 007/104] net: ipv6: Dont purge default router if accept_ra=2

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Colitti [ Upstream commit 3e8b0ac3e41e3c88a5522d5df7212438ab51 ] Setting net.ipv6.conf..accept_ra=2 causes the kernel to accept RAs even when forwarding is enabled. However,

[ 012/104] bridging: fix rx_handlers return code

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Cristian Bercaru [ Upstream commit 3bc1b1add7a8484cc4a261c3e128dbe1528ce01f ] The frames for which rx_handlers return RX_HANDLER_CONSUMED are no longer counted as dropped. They are counted as

[ 014/104] rtnl: fix info leak on RTM_GETLINK request for VF devices

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 84d73cd3fb142bf1298a8c13fd4ca50fd2432372 ] Initialize the mac address buffer with 0 as the driver specific function will probably not fill the whole buffer. In

[ 009/104] tun: add a missing nf_reset() in tun_net_xmit()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit f8af75f3517a24838a36eb5797a1a3e60bf9e276 ] Dave reported following crash : general protection fault: [#1] SMP CPU 2 Pid: 25407, comm: qemu-kvm Not tainted

[ 015/104] dcbnl: fix various netlink info leaks

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 29cd8ae0e1a39e239a3a7b67da1986add1199fc0 ] The dcb netlink interface leaks stack memory in various places: * perm_addr[] buffer is only filled at max with 12

[ 010/104] macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich [ Upstream commit 87ab7f6f2874f1115817e394a7ed2dea1c72549e ] Macvlan already supports hw address filters. Set the IFF_UNICAST_FLT so that it doesn't needlesly enter PROMISC mode

[ 005/104] l2tp: Restore socket refcount when sendmsg succeeds

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 8b82547e33e85fc24d4d172a93c796de1fefa81a ] The sendmsg() syscall handler for PPPoL2TP doesn't decrease the socket reference counter after successful

[ 020/104] s390/mm: fix flush_tlb_kernel_range()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit f6a70a07079518280022286a1dceb797d12e1edf upstream. Our flush_tlb_kernel_range() implementation calls __tlb_flush_mm() with _mm as argument. __tlb_flush_mm() however will

[ 011/104] netlabel: correctly list all the static label mappings

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore [ Upstream commits 0c1233aba1e948c37f6dc7620cb7c253fcd71ce9 and a6a8fe950e1b8596bb06f2c89c3a1a4bf2011ba9 ] When we have a large number of static label mappings that spill across

[ 001/104] TTY: do not reset masters packet mode

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit b81273a132177edd806476b953f6afeb17b786d5 upstream. Now that login from util-linux is forced to drop all references to a TTY which it wants to hangup (to reach reference count

[ 008/104] tcp: fix double-counted receiver RTT when leaving receiver fast path

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit aab2b4bf224ef8358d262f95b568b8ad0cecf0a0 ] We should not update ts_recent and call tcp_rcv_rtt_measure_ts() both before and after going to step5. That wastes

[ 102/104] KMS: fix EDID detailed timing vsync parsing

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Torsten Duwe commit 16dad1d743d31a104a849c8944e6b9eb479f6cd7 upstream. EDID spreads some values across multiple bytes; bit-fiddling is needed to retrieve these. The current code to parse

[ 100/104] vfs,proc: guarantee unique inodes in /proc

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 51f0885e5415b4cc6535e9cdcc5145bfbc134353 upstream. Dave Jones found another /proc issue with his Trinity tool: thanks to the namespace model, we can have multiple /proc

[ 103/104] KMS: fix EDID detailed timing frame rate

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Torsten Duwe commit c19b3b0f6eed552952845e4ad908dba2113d67b4 upstream. When KMS has parsed an EDID "detailed timing", it leaves the frame rate zeroed. Consecutive (debug-) output of that mode

[ 095/104] USB: pl2303: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 40509ca982c00c4b70fc00be887509feca0bff15 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 104/104] efivars: pstore: Do not check size when erasing variable

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings In 3.2, unlike mainline, efi_pstore_erase() calls efi_pstore_write() with a size of 0, as the underlying EFI interface treats a size of 0 as meaning deletion. This was not taken

[ 097/104] USB: ssu100: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 43a66b4c417ad15f6d2f632ce67ad195bdf999e8 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 096/104] USB: spcp8x5: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit dbcea7615d8d7d58f6ff49d2c5568113f70effe9 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 093/104] USB: mos7840: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit a14430db686b8e459e1cf070a6ecf391515c9ab9 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 094/104] USB: oti6858: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 8edfdab37157d2683e51b8be5d3d5697f66a9f7b upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 092/104] USB: mos7840: fix broken TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit e670c6af12517d08a403487b1122eecf506021cf upstream. Make sure waiting processes are woken on modem-status changes. Currently processes are only woken on termios changes

[ 089/104] USB: io_edgeport: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 333576255d4cfc53efd056aad438568184b36af6 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 087/104] USB: cypress_m8: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 356050d8b1e526db093e9d2c78daf49d6bf418e3 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 101/104] mm/hugetlb: fix total hugetlbfs pages count when using memory

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit d00285884c0892bb1310df96bce6056e9ce9b9d9 upstream. hugetlb_total_pages is used for overcommit calculations but the current implementation considers only the default hugetlb

[ 086/104] USB: ch341: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit fa1e11d5231c001c80a479160b5832933c5d35fb upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 090/104] USB: io_ti: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 7b2459690584f239650a365f3411ba2ec1c6d1e0 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 098/104] USB: ti_usb_3410_5052: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit fc98ab873aa3dbe783ce56a2ffdbbe7c7609521a upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 091/104] USB: mct_u232: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit cf1d24443677a0758cfa88ca40f24858b89261c0 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 085/104] USB: ark3116: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 5018860321dc7a9e50a75d5f319bc981298fb5b7 upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[ 099/104] i2c: tegra: check the clk_prepare_enable() return value

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Laxman Dewangan commit 132c803f7b70b17322579f6f4f3f65cf68e55135 upstream. NVIDIA's Tegra SoC allows read/write of controller register only if controller clock is enabled. System hangs if

[ 083/104] USB: serial: fix interface refcounting

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit d7971051e4df825e0bc11b995e87bfe86355b8e5 upstream. Make sure the interface is not released before our serial device. Note that drivers are still not allowed to access the

[ 082/104] USB: io_ti: fix get_icount for two port adapters

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 5492bf3d5655b4954164f69c02955a7fca267611 upstream. Add missing get_icount field to two-port driver. The two-port driver was not updated when switching to the new icount

[ 080/104] cifs: ignore everything in SPNEGO blob after mechTypes

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit f853c616883a8de966873a1dab283f1369e275a1 upstream. We've had several reports of people attempting to mount Windows 8 shares and getting failures with a return code of

[ 088/104] USB: ftdi_sio: fix use-after-free in TIOCMIWAIT

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 71ccb9b01981fabae27d3c98260ea4613207618e upstream. Use the port wait queue and make sure to check the serial disconnected flag before accessing private port data after

[PATCH] PowerPC:kernel: make additional room in exception vector area

2013-03-24 Thread Chen Gang
The FWNMI region is fixed at 0x7000 and the vector are now overflowing that with allmodconfig. Fix that by moving slb_miss_realmode code out of that region as it doesn't need to be that close to the call sites (it is a _GLOBAL function) Signed-off-by: Chen Gang ---

[ 069/104] ALSA: snd-usb: mixer: ignore -EINVAL in snd_usb_mixer_controls()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack commit 83ea5d18d74f032a760fecde78c0210f66f7f70c upstream. Creation of individual mixer controls may fail, but that shouldn't cause the entire mixer creation to fail. Even worse, if

[ 071/104] ALSA: hda - Fix typo in checking IEC958 emphasis bit

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit a686fd141e20244ad75f80ad54706da07d7bb90a upstream. There is a typo in convert_to_spdif_status() about checking the emphasis IEC958 status bit. It should check the given

[ 084/104] USB: serial: add modem-status-change wait queue

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit e5b33dc9d16053c2ae4c2c669cf008829530364b upstream. Add modem-status-change wait queue to struct usb_serial_port that subdrivers can use to implement TIOCMIWAIT. Currently

[ 068/104] ALSA: snd-usb: mixer: propagate errors up the call chain

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack commit 4d7b86c98e445b075c2c4c3757eb6d3d6efbe72e upstream. In check_input_term() and parse_audio_feature_unit(), propagate the error value that has been returned by a failing

[ 066/104] USB: xhci - fix bit definitions for IMAN register

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit f8264340e694604863255cc0276491d17c402390 upstream. According to XHCI specification (5.5.2.1) the IP is bit 0 and IE is bit 1 of IMAN register. Previously their

[ 081/104] USB: garmin_gps: fix memory leak on disconnect

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 618aa1068df29c37a58045fe940f9106664153fd upstream. Remove bogus disconnect test introduced by 95bef012e ("USB: more serial drivers writing after disconnect") which

[ 076/104] efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit ca0ba26fbbd2d81c43085df49ce0abfe34535a90 upstream. The 'CONFIG_' prefix is not implicit in IS_ENABLED(). Signed-off-by: Ben Hutchings Cc: Seth Forshee Signed-off-by:

[ 059/104] tracing: Protect tracer flags with trace_types_lock

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 69d34da2984c95b33ea21518227e1f9470f11d95 upstream. Seems that the tracer flags have never been protected from synchronous writes. Luckily, admins don't

[ 072/104] usb: gadget: udc-core: fix a regression during gadget driver

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 511f3c5326eabe1ece35202a404c24c0aeacc246 upstream. This patch (as1666) fixes a regression in the UDC core. The core takes care of unbinding gadget drivers, and it does the

[ 067/104] x86-64: Fix the failure case in copy_user_handle_tail()

2013-03-24 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: CQ Tang commit 66db3feb486c01349f767b98ebb10b0c3d2d021b upstream. The increment of "to" in copy_user_handle_tail() will have incremented before a failure has been noted. This causes us to

  1   2   3   4   5   6   7   8   >