[PATCH v2 03/12] rbtree: fix incorrect rbtree node insertion in fs/proc/proc_sysctl.c

2012-07-12 Thread Michel Lespinasse
The recently added code to use rbtrees in sysctl did not follow the proper rbtree interface on insertion - it was calling rb_link_node() which inserts a new node into the binary tree, but missed the call to rb_insert_color() which properly balances the rbtree and establishes all expected rbtree inv

[PATCH v2 12/12] rbtree: coding style adjustments

2012-07-12 Thread Michel Lespinasse
Set comment and indentation style to be consistent with linux coding style and the rest of the file, as suggested by Peter Zijlstra Signed-off-by: Michel Lespinasse --- lib/rbtree.c | 42 +++--- 1 files changed, 23 insertions(+), 19 deletions(-) diff --git

[PATCH v2 10/12] rbtree: optimize case selection logic in __rb_erase_color()

2012-07-12 Thread Michel Lespinasse
In __rb_erase_color(), we have to select one of 3 cases depending on the color on the 'other' node children. If both children are black, we flip a few node colors and iterate. Otherwise, we do either one or two tree rotations, depending on the color of the 'other' child opposite to 'node', and then

[PATCH v2 02/12] rbtree: empty nodes have no color

2012-07-12 Thread Michel Lespinasse
Empty nodes have no color. We can make use of this property to simplify the code emitted by the RB_EMPTY_NODE and RB_CLEAR_NODE macros. Also, we can get rid of the rb_init_node function which had been introduced by commit 88d19cf37952a7e1e38b2bf87a00f0e857e63180 to avoid some issue with the empty

[PATCH v2 01/12] rbtree: reference Documentation/rbtree.txt for usage instructions

2012-07-12 Thread Michel Lespinasse
include/linux/rbtree.h included some basic usage instructions, while Documentation/rbtree.txt had some more complete and easier to follow instructions. Replacing the former with a reference to the latter. Signed-off-by: Michel Lespinasse --- include/linux/rbtree.h | 67 +--

[PATCH v2 00/12] rbtree updates

2012-07-12 Thread Michel Lespinasse
Change log since v1: - Added tree graphs as comments as suggested by Peter - Fixed coding style in rest of lib/rbtree.c as suggested by Peter - made clear rb_parent_color is private, not to be directly accessed, by renaming it to __rb_parent_color - collapsed some low level optimization patches i

Re: [PATCH 0/6] Fix for leapsecond caused hrtimer/futex issue (updated)

2012-07-12 Thread John Stultz
On 07/12/2012 03:43 PM, Jiri Bohac wrote: On Tue, Jul 10, 2012 at 03:53:59PM -0700, John Stultz wrote: On 07/10/2012 03:43 PM, John Stultz wrote: Over the weekend, Thomas got a chance to review the leap second fix in more detail and had a few additional changes he wanted to make to improve perf

Re: UIO: missing resource mapping

2012-07-12 Thread Michael S. Tsirkin
On Fri, Jul 13, 2012 at 01:40:11AM +0200, Hans J. Koch wrote: > On Fri, Jul 13, 2012 at 02:16:32AM +0300, Michael S. Tsirkin wrote: > > On Thu, Jul 12, 2012 at 09:44:33PM +0200, Hans J. Koch wrote: > > > > Looking further at the code, I cannot see where the mem fields are > > > > being filled at al

[ 010/187] ARM: SAMSUNG: Fix for S3C2412 EBI memory mapping

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jose Miguel Goncalves commit 3dca938656c7b0ff6b0717a5dde0f5f45e592be5 upstream. While upgrading the kernel on a S3C2412 based board I've noted that it was impossible to boot the

[ 012/187] ARM: 7438/1: fill possible PMD empty section gaps

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit 19b52abe3c5d759661500a1dc810924369b2ad46 upstream. On ARM with the 2-level page table format, a PMD entry is represented by two consecutive section entries

[ 015/187] media: smsusb: add autodetection support for USB ID 2040:f5a0

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Krufky commit 3e1141e2ce5667301a74ca2ef396d9bd5e995f7f upstream. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman

[ 017/187] bql: Avoid unneeded limit decrement.

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hiroaki SHIMODA [ Upstream commit 25426b794efdc70dde7fd3134dc56fac3e7d562d ] When below pattern is observed, TIME dql_que

[ 013/187] powerpc/kvm: sldi should be sld

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling commit 2f584a146a2965b82fce89b8d2f95dc5cfe468d0 upstream. Since we are taking a registers, this should never have been an sldi. Talking to paulus offline, this i

[ 022/187] drop_monitor: dont sleep in atomic context

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit bec4596b4e6770c7037f21f6bd27567b152dc0d6 ] drop_monitor calls several sleeping functions while in atomic context. BUG: sleeping function called

[ 023/187] inetpeer: fix a race in inetpeer_gc_worker()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 55432d2b543a4b6dfae54f5c432a566877a85d90 ] commit 5faa5df1fa2024 (inetpeer: Invalidate the inetpeer tree along with the routing cache) added a ra

[ 025/187] l2tp: fix a race in l2tp_ip_sendmsg()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 4399a4df98a63e30fd16e9d0cecc46ea92269e8f ] Commit 081b1b1bb27f (l2tp: fix l2tp_ip_sendmsg() route handling) added a race, in case IP route cache

[ 027/187] lpc_eth: fix tx completion

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 3f16da51b0e533871d22a29682f3c3969d4f7e22 ] __lpc_handle_xmit() has two bugs : 1) It can leak skbs in case TXSTATUS_ERROR is set 2) It can wake

[ 030/187] ipv6: Move ipv6 proc file registration to end of init order

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Graf [ Upstream commit d189634ecab947c10f6f832258b103d0bbfe73cc ] /proc/net/ipv6_route reflects the contents of fib_table_hash. The proc handler is installed in ip6_rout

Re: [PATCH] extcon: Remove CONFIG_EXTCON_MODULE config to fix build break

2012-07-12 Thread Chanwoo Choi
On 07/13/2012 01:16 AM, Mark Brown wrote: > On Thu, Jul 12, 2012 at 01:32:27PM +0900, Chanwoo Choi wrote: >> This patch modify 'Kconfig' of EXTCON Subsystem to support either >> active or inactive of EXTCON Subsystem. The various subsystem refer >> to EXTCON subsystem for controlling external conn

Re: [PATCH 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-12 Thread Tony Luck
On Thu, Jul 12, 2012 at 4:36 PM, Tejun Heo wrote: > The debug patch didn't do anything for the bug itself. I suppose it's > timing dependent and doesn't always happen (it never reproduces here > for some reason). Can you please repeat several times and see whether > the warning can be triggered?

Re: [PATCH] extcon: Remove CONFIG_EXTCON_MODULE config to fix build break

2012-07-12 Thread Chanwoo Choi
Hi Greg, On 07/13/2012 12:36 AM, Greg KH wrote: > On Thu, Jul 12, 2012 at 01:32:27PM +0900, Chanwoo Choi wrote: >> This patch modify 'Kconfig' of EXTCON Subsystem to support either >> active or inactive of EXTCON Subsystem. The various subsystem refer >> to EXTCON subsystem for controlling extern

[ 031/187] sky2: fix checksum bit management on some chips

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: stephen hemminger [ Upstream commit 5ff0feac88ced864f44adb145142269196fa79d9 ] The newer flavors of Yukon II use a different method for receive checksum offload. This is indica

[ 024/187] net: l2tp_eth: fix kernel panic on rmmod l2tp_eth

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit a06998b88b1651c5f71c0e35f528bf2057188ead ] We must prevent module unloading if some devices are still attached to l2tp_eth driver. Signed-off-by

[ 011/187] ARM: SAMSUNG: Should check for IS_ERR(clk) instead of NULL

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jonghwan Choi commit a5d8f4765f0e92ef027492a8cb979c5b8d45f2c3 upstream. On the error condition clk_get() returns ERR_PTR(). Signed-off-by: Jonghwan Choi Signed-off-by: Kukjin

[ 008/187] powerpc/pseries: Fix software invalidate TCE

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling commit bc6dc752f35488160ffac07ae91bed1bddaea32a upstream. The following added support for powernv but broke pseries/BML: 1f1616e powerpc/powernv: Add TCE SW inv

[ 006/187] powerpc/ftrace: Do not trace restore_interrupts()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 2d773aa4810d4a612d1c879faacc38594cc3f841 upstream. As I was adding code that affects all archs, I started testing function tracer against PPC64 and found t

[ 032/187] Revert "niu: Add support for byte queue limits."

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit 6a2b28ef036ab5c66fdc606fe97d9e5cb34ea409 ] This reverts commit efa230f2c68abab817f13473077f8d0cc74f43f3. BQL doesn't work with how this dri

[ 033/187] be2net: fix a race in be_xmit()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit cd8f76c0a0c6fce0b2cf23c9bd0123f91453f46d ] As soon as hardware is notified of a transmit, we no longer can assume skb can be dereferenced, as TX

[ 021/187] r8169: call netif_napi_del at errpaths and at driver unload

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Devendra Naga [ Upstream commit ad1be8d345416a794dea39761a374032aa471a76 ] when register_netdev fails, the init'ed NAPIs by netif_napi_add must be deleted with netif_napi_del,

[ 028/187] net: neighbour: fix neigh_dump_info()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 4bd6683bd400c8b1d2ad544bb155d86a5d10f91c ] Denys found out "ip neigh" output was truncated to about 54 neighbours. Signed-off-by: Eric Dumazet

[ 035/187] bonding: Fix corrupted queue_mapping

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5ee31c6898ea5537fcea160999d60dc63bc0c305 ] In the transmit path of the bonding driver, skb->cb is used to stash the skb->queue_mapping so that th

[ 029/187] ipv6: fib: Restore NTF_ROUTER exception in fib6_age()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Graf [ Upstream commit 8bd74516b1bd9308c17f67583134d93f777203ca ] Commit 5339ab8b1dd82 (ipv6: fib: Convert fib6_age() to dst_neigh_lookup().) seems to have mistakenly in

[ 036/187] netpoll: fix netpoll_send_udp() bugs

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 954fba0274058d27c7c07b5ea07c41b3b7477894 ] Bogdan Hamciuc diagnosed and fixed following bug in netpoll_send_udp() : "skb->len += len;" instead o

[ 039/187] net: remove skb_orphan_try()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 62b1a8ab9b3660bb820d8dfe23148ed6cda38574 ] Orphaning skb in dev_hard_start_xmit() makes bonding behavior unfriendly for applications sending big

[ 041/187] xen/netfront: teardown the device before unregistering it.

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ian Campbell [ Upstream commit 6bc96d047fe32d76ef79f3195c52a542edf7c705 ] Fixes: [ 15.470311] WARNING: at /local/scratch/ianc/devel/kernels/linux/fs/sysfs/file.c:498 sysfs_

[ 044/187] powerpc: Fix build of some debug irq code

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 21b2de341270bd7bb7a811027ffe63276d9b3b75 upstream. There was a typo, checking for CONFIG_TRACE_IRQFLAG instead of CONFIG_TRACE_IRQFLAGS causing som

[ 045/187] NFC: Return from rawsock_release when sk is NULL

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 03e934f620101ca2cfc9383bd76172dd3e1f8567 upstream. Sasha Levin reported following panic : [ 2136.383310] BUG: unable to handle kernel NULL pointer dereferen

[ 038/187] bnx2x: fix panic when TX ring is full

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit bc14786a100cc6a81cd060e8031ec481241b418c ] There is a off by one error in the minimal number of BD in bnx2x_start_xmit() and bnx2x_tx_int() befor

[ 048/187] staging: r8712u: Add new USB IDs

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lubomir Schmidt commit 3026b0e942c65c65c8fc80d391d004228b52b916 upstream. There are two new devices for this driver. Signed-off-by: Larry Finger Signed-off-by: Greg Kroah-Hart

[ 049/187] nilfs2: ensure proper cache clearing for gc-inodes

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit fbb24a3a915f105016f1c828476be11aceac8504 upstream. A gc-inode is a pseudo inode used to buffer the blocks to be moved by garbage collection. Block caches

[ 051/187] udf: Avoid run away loop when partition table length is corrupted

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit adee11b2085bee90bd8f4f52123ffb07882d6256 upstream. Check provided length of partition table so that (possibly maliciously) corrupted partition table cannot cause

[ 052/187] udf: Fortify loading of sparing table

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 1df2ae31c724e57be9d7ac00d78db8a5dabdd050 upstream. Add sanity checks when loading sparing table from disk to avoid accessing unallocated memory or writing to it.

Re: UIO: missing resource mapping

2012-07-12 Thread Hans J. Koch
On Fri, Jul 13, 2012 at 02:16:32AM +0300, Michael S. Tsirkin wrote: > On Thu, Jul 12, 2012 at 09:44:33PM +0200, Hans J. Koch wrote: > > > Looking further at the code, I cannot see where the mem fields are > > > being filled at all. > > > Which code is supposed to write the struct uio_mem? > > > >

[ 046/187] NFC: Prevent multiple buffer overflows in NCI

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Rosenberg commit 67de956ff5dc1d4f321e16cfbd63f5be3b691b43 upstream. Fix multiple remotely-exploitable stack-based buffer overflows due to the NCI code pulling length fields

[ 056/187] rpmsg: avoid premature deallocation of endpoints

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ohad Ben-Cohen commit 5a081caa0414b9bbb82c17ffab9d6fe66edbb72f upstream. When an inbound message arrives, the rpmsg core looks up its associated endpoint and invokes the registe

[ 057/187] rpmsg: make sure inflight messages dont invoke just-removed callbacks

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ohad Ben-Cohen commit 15fd943af50dbc5f7f4de33835795c72595f7bf4 upstream. When inbound messages arrive, rpmsg core looks up their associated endpoint (by destination address) and

[ 061/187] ath9k: Fix softlockup in AR9485

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mohammed Shafi Shajakhan commit bcb7ad7bcbef030e6ba71ede1f9866368aca7c99 upstream. steps to recreate: load latest ath9k driver with AR9485 stop the network-manager and wpa_suppl

[ 054/187] iommu/amd: Initialize dma_ops for hotplug and sriov devices

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Joerg Roedel commit ac1534a55d1e87d59a21c09c570605933b551480 upstream. When a device is added to the system at runtime the AMD IOMMU driver initializes the necessary data struct

[ 065/187] ath9k_htc: configure bssid on ASSOC/IBSS change

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Rajkumar Manoharan commit 931cb03afed7b541392295f3afc4638da32f08a0 upstream. After the change "mac80211: remove spurious BSSID change flag", BSS_CHANGED_BSSID will not be passed

[ 066/187] ath9k: fix dynamic WEP related regression

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit bed3d9c0b71f9afbfec905cb6db3b9f16be29d4d upstream. commit 7a532fe7131216a02c81a6c1b1f8632da1195a58 ath9k_hw: fix interpretation of the rx KeyMiss flag This

Re: [PATCH 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-12 Thread Tejun Heo
Hello, Tony. On Thu, Jul 12, 2012 at 04:24:47PM -0700, Tony Luck wrote: > On Thu, Jul 12, 2012 at 3:32 PM, Tejun Heo wrote: > > Can you please try the following debug patch instead? Yours is > > different from Fengguang's. > > New dmesg from mext-20120712 + this new

[ 069/187] ASoC: tlv320aic3x: Fix codec pll configure bug

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Hebbar, Gururaja" commit c9fe573a6584034670c1a55ee8162d623519cbbf upstream. In sound/soc/codecs/tlv320aic3x.c data = snd_soc_read(codec, AIC3X_PLL_PROGA_REG);

[ 071/187] drm/edid: dont return stack garbage from supports_rb

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit b196a4980ff7bb54db478e2a408dc8b12be15304 upstream. We need to initialize this to false, because the is_rb callback only ever sets it to true. Noticed while

[ 073/187] drm/i915: Fix eDP blank screen after S3 resume on HP desktops

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6db65cbb941f9d433659bdad02b307f6d94465df upstream. This patch fixes the problem on some HP desktop machines with eDP which give blank screens after S3 resume

[ 075/187] ACPI video: Still use ACPI backlight control if _DOS doesnt exist

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Zhang Rui commit b03738430c7537d5f87948e0b35d8aaf2688c6b4 upstream. This fixes a regression in 3.4-rc1 caused by commit ea9f8856bd6d4ed45885b06a338f7362cd6c60e5 (ACPI video: Har

[ 077/187] ACPI, APEI, Avoid too much error reporting in runtime

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Huang Ying commit 34ddeb035d704eafdcdb3cbc781894300136c3c4 upstream. This patch fixed the following bug. https://bugzilla.kernel.org/show_bug.cgi?id=43282 This is caused by a

[ 078/187] ACPI: Make acpi_skip_timer_override cover all source_irq==0 cases

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit ae10ccdc3093486f8c2369d227583f9d79f628e5 upstream. Currently when acpi_skip_timer_override is set, it only cover the (source_irq == 0 && global_irq == 2) cases.

[ 081/187] ACPI, x86: fix Dell M6600 ACPI reboot regression via DMI

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Zhang Rui commit 76eb9a30db4bc8fd172f9155247264b5f2686d7b upstream. Dell Precision M6600 is known to require PCI reboot, so add it to the reboot blacklist in pci_reboot_dmi_tabl

[ 083/187] ARM: Orion: Fix Virtual/Physical mixup with watchdog

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn commit 0fa1f0609a0c1fe8b2be3c0089a2cb48f7fda521 upstream. The orion watchdog is expecting to be passed the physcial address of the hardware, and will ioremap() it to

[ 084/187] ARM: Orion: Fix WDT compile for Dove and MV78xx0

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn commit 1e0c1ce00d83834d03f4d8d039734ca4703298df upstream. Commit 0fa1f0609a0c1fe8b2be3c0089a2cb48f7fda521 (ARM: Orion: Fix Virtual/Physical mixup with watchdog) brok

[ 086/187] umem: fix up unplugging

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tao Guo commit 32587371ad3db2f9d335de10dbd8cffd4fff5669 upstream. Fix a regression introduced by 7eaceaccab5f40 ("block: remove per-queue plugging"). In that patch, Jens remove

[ 079/187] ACPI: Remove one board specific WARN when ignoring timer overriding

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit 7f68b4c2e158019c2ec494b5cfbd9c83b4e5b253 upstream. Current WARN msg is only for the ati_ixp4x0 board, while this function is used by mulitple platforms. So this

[ 090/187] dmaengine: pl330: dont complete descriptor for cyclic dma

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tushar Behera commit 30c1dc0ff30b5552e8af555265dbeac5637cbb48 upstream. Commit eab215855803 ("dmaengine: pl330: dont complete descriptor for cyclic dma") wrongly completes descr

[ 091/187] NFS: Force the legacy idmapper to be single threaded

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Schumaker commit b1027439dff844675f6c0df97a1b1d190791a699 upstream. It was initially coded under the assumption that there would only be one request at a time, so use a lo

[ 092/187] clk: Allow late cache allocation for clk->parents

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Rajendra Nayak commit 7975059db572eb47f0fb272a62afeae272a4b209 upstream. Parent clocks for muxes are cached in clk->parents to avoid frequent lookups, however the cache allocati

[ 094/187] gpiolib: wm8994: Pay attention to the value set when enabling as output

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mark Brown commit 8cd578b6e28693f357867a77598a88ef3deb6b39 upstream. Not paying attention to the value being set is a bad thing because it means that we'll not set the hardware

Re: [ 42/68] vfs: make O_PATH file descriptors usable for fchdir()

2012-07-12 Thread ольга крыжановская
Just to be sure, has any one tested the patch (I can't, I am not doing Linux kernel development and the closest here to me here only does Solaris/Illumos and SUPERUX kernel development)? My test case, which works on Solaris and AIX is below. You will have to do a s/O_SEARCH/O_PATH/ snip -

[ 087/187] stable: Allow merging of backports for serious user-visible performance issues

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit eb3979f64d25120d60b9e761a4c58f70b1a02f86 upstream. Distribution kernel maintainers routinely backport fixes for users that were deemed important but not "somet

[ 097/187] USB: CP210x Add 10 Device IDs

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Craig Shelley commit 3fcc8f96829776cf181918461923d1e3bbb831a2 upstream. This patch adds 10 device IDs for CP210x based devices from the following manufacturers: Timewave Clipsa

[ 098/187] SCSI & usb-storage: add try_rc_10_first flag

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 6a0bdffa0073857870a4ed1b4489762146359eb4 upstream. Several bug reports have been received recently for USB mass-storage devices that don't handle READ CAPACITY

[ 100/187] cfg80211: fix potential deadlock in regulatory

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Eliad Peller commit fe20b39ec32e975f1054c0b7866c873a954adf05 upstream. reg_timeout_work() calls restore_regulatory_settings() which takes cfg80211_mutex. reg_set_request_proces

[ 104/187] can: c_can: precedence error in c_can_chip_config()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit d9cb9bd63eb27ac19f26a8547128c053f43a5da8 upstream. (CAN_CTRLMODE_LISTENONLY & CAN_CTRLMODE_LOOPBACK) is (0x02 & 0x01) which is zero so the condition is neve

[ 105/187] can: flexcan: use be32_to_cpup to handle the value of dt entry

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 85f2f834e85517307f13e30e630a5fc86f757cb5 upstream. The freescale arm i.MX series platform can support this driver, and usually the arm cpu works in the little en

[ 108/187] net: qmi_wwan: fix Gobi device probing

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit b9f90eb2740203ff2592efe640409ad48335d1c2 upstream. Ignoring interfaces with additional descriptors is not a reliable method for locating the

[ 110/187] oprofile: perf: use NR_CPUS instead or nr_cpumask_bits for static array

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit e734568b675c985db2026848fefaac01c22977a5 upstream. The OProfile perf backend uses a static array to keep track of the perf events on the system. When compilin

[ 112/187] x86, cpufeature: Rename X86_FEATURE_DTS to X86_FEATURE_DTHERM

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit 4ad33411308596f2f918603509729922a1ec4411 upstream. It makes sense to label "Digital Thermal Sensor" as "DTS", but unfortunately the string "dts" was alre

[ 113/187] igbvf: fix divide by zero

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mitch A Williams commit 0e90b49ca4b891f085b57559a3071a4feefb496c upstream. Using ethtool -C ethX rx-usecs 0 crashes with a divide by zero. Refactor this function to fix this iss

[ 114/187] rtlwifi: rtl8192cu: New USB IDs

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit f63d7dabd5da9ef41f28f6d69b29bc084db0ca5a upstream. The latest Realtek driver for the RTL8188CU and RTL8192CU chips adds three new USB IDs. Reported-by: Xose

[ 116/187] mac80211: correct behaviour on unrecognised action frames

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 4b5ebccc40843104d980f0714bc86bfcd5568941 upstream. When receiving an "individually addressed" action frame, the receiver is required to return it to the sen

[ 117/187] mwifiex: fix 11n rx packet drop issue

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stone Piao commit 925839243dc9aa4ef25305f5afd10ed18258a4ac upstream. Currently we check the sequence number of last packet received against start_win. If a sequence hole is dete

[ 118/187] mwifiex: fix WPS eapol handshake failure

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Stone Piao commit f03ba7e9a24e5e9efaad56bd1713b994ea556b16 upstream. After association, STA will go through eapol handshake with WPS enabled AP. It's observed that WPS handshake

[ 106/187] USB: qmi_wwan: Make forced int 4 whitelist generic

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Andrew Bird (Sphere Systems)" commit 1880cd8faaa349fe2ebb158f7e0cd8026048 upstream. Change the forced interface 4 whitelist to use the generic shared binder instead of the

[ 107/187] USB: qmi_wwan: Add ZTE (Vodafone) K3520-Z

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Andrew Bird (Sphere Systems)" commit f7142e6c226076fd40c2ebaad9fb0c9a631b790e upstream. Signed-off-by: Andrew Bird Acked-by: Bj??rn Mork Signed-off-by: David S. Miller Signe

[ 095/187] USB: option: add id for Cellient MEN-200

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Shmygov commit 1e2c4e59d2b8797973471b4a287a43eac12a0f40 upstream. Add vendor and product ID to option.c driver for Cellient MEN-200 EVDO Rev.B 450MHz data module. http://

[ 088/187] mm: correctly synchronize rss-counters at exit/exec

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 4fe7efdbdfb1c7e7a7f31decfd831c0f31d37091 upstream. do_exit() and exec_mmap() call sync_mm_rss() before mm_release() does put_user(clear_child_tid) w

[ 080/187] ACPI: Add a quirk for "AMILO PRO V2030" to ignore the timer overriding

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit f6b54f083cc66cf9b11d2120d8df3c2ad4e0836d upstream. This is the 2nd part of fix for kernel bugzilla 40002: "IRQ 0 assigned to VGA" https://bugzilla.kernel.or

[ 072/187] drm/nouveau/fbcon: using nv_two_heads is not a good idea

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ben Skeggs commit 9bd0c15fcfb42f6245447c53347d65ad9e72080b upstream. nv_two_heads() was never meant to be used outside of pre-nv50 code. The code checks for >= NV_10 for 2 CRTC

[ 067/187] ath9k: enable serialize_regmode for non-PCIE AR9287

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Panayiotis Karabassis commit 7508b657967cf664b5aa0f6367d05016e7e3bc2a upstream. https://bugzilla.kernel.org/show_bug.cgi?id=42903 Based on the work of Signed-off-by: Panayiot

[ 064/187] ath9k_hw: avoid possible infinite loop in ar9003_get_pll_sqsum_dvc

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mohammed Shafi Shajakhan commit f18e3c6b67f448ec47b3a5b242789bd3d5644879 upstream. "ath9k: Fix softlockup in AR9485" with commit id 64bc1239c790e051ff677e023435d770d2ffa174 fixe

[ 042/187] mm: fix slab->page _count corruption when using slub

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.4-stable review patch. If anyone has any objections, please let me know. -- From: Pravin B Shelar commit abca7c4965845924f65d40e0aa1092bdd895e314 upstream. On arches that do not support this_cpu_cmpxchg_double() slab_lock is used to do atomic cmpxchg() on dou

[ 05/68] net: sock: validate data_len before allocating skb in sock_alloc_send_pskb()

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit cc9b17ad29ecaa20bfe426a8d4dbfb94b13ff1cc ] We need to validate the number of pages consumed by data_len, otherwise frags array could be overflowed

[ 07/68] net: l2tp_eth: fix kernel panic on rmmod l2tp_eth

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit a06998b88b1651c5f71c0e35f528bf2057188ead ] We must prevent module unloading if some devices are still attached to l2tp_eth driver. Signed-off-by

Re: [PATCH 6/6] workqueue: reimplement WQ_HIGHPRI using a separate worker_pool

2012-07-12 Thread Tony Luck
On Thu, Jul 12, 2012 at 3:32 PM, Tejun Heo wrote: > Can you please try the following debug patch instead? Yours is > different from Fengguang's. New dmesg from mext-20120712 + this new patch (instead of previous one) [Note - I see some XXX traces, but no WARN_ON stack dump this t

[ 08/68] dummy: fix rcu_sched self-detected stalls

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 16b0dc29c1af9df341428f4c49ada4f626258082 ] Trying to "modprobe dummy numdummies=3" triggers : INFO: rcu_sched self-detected stall on CPU { 8

[ 04/68] ARM: fix rcu stalls on SMP platforms

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 7deabca0acfe02b8e18f59a4c95676012f49a304 upstream. We can stall RCU processing on SMP platforms if a CPU sits in its idle loop for a long time. This happens

[ 09/68] ethtool: allow ETHTOOL_GSSET_INFO for users

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Micha=C5=82=20Miros=C5=82aw?= [ Upstream commit f80400a26a2e8bff541de12834a1134358bb6642 ] Allow ETHTOOL_GSSET_INFO ethtool ioctl() for unprivileged users. ETHTOOL_GS

[ 11/68] bonding: Fix corrupted queue_mapping

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5ee31c6898ea5537fcea160999d60dc63bc0c305 ] In the transmit path of the bonding driver, skb->cb is used to stash the skb->queue_mapping so that th

[ 13/68] sky2: fix checksum bit management on some chips

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: stephen hemminger [ Upstream commit 5ff0feac88ced864f44adb145142269196fa79d9 ] The newer flavors of Yukon II use a different method for receive checksum offload. This is indica

[ 16/68] hwmon: (applesmc) Limit key length in warning messages

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Henrik Rydberg commit ac852edb47b15900886ba2564eeeb13b3b526e3e upstream. Key lookups may call read_smc() with a fixed-length key string, and if the lookup fails, trailing stack

[ 17/68] nilfs2: ensure proper cache clearing for gc-inodes

2012-07-12 Thread Greg Kroah-Hartman
From: Greg KH 3.0-stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit fbb24a3a915f105016f1c828476be11aceac8504 upstream. A gc-inode is a pseudo inode used to buffer the blocks to be moved by garbage collection. Block caches

<    1   2   3   4   5   6   7   8   >