[ 095/171] libceph: rename socket callbacks

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 327800bdc2cb9b71f4b458ca07aa9d522668dde0) Change the names of the three socket callback functions to make it more obvious they're specifically associated w

[ 27/38] eCryptfs: Copy up POSIX ACL and read-only flags from lower mount

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 069ddcda37b2cf5bb4b6031a944c0e9359213262 upstream. When the eCryptfs mount options do not include '-o acl', but the lower filesystem's mount options do include 'acl', the MS_

[ 094/171] libceph: kill bad_proto ceph connection op

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 6384bb8b8e88a9c6bf2ae0d9517c2c0199177c34) No code sets a bad_proto method in its ceph connection operations vector, so just get rid of it. Signed-off-by:

[ 05/83] mac80211: dont send null data packet when not associated

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 20f544eea03db4b498942558b882d463ce575c3e upstream. On resume or firmware recovery, mac80211 sends a null data packet to see if the AP is still around and hasn't disconnecte

[ 107/171] libceph: have messages point to their connection

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 38941f8031bf042dba3ced6394ba3a3b16c244ea) When a ceph message is queued for sending it is placed on a list of pending messages (ceph_connection->out_queue)

[ 70/83] netfilter: nf_nat: dont check for port change on ICMP tuples

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ulrich Weber commit 38fe36a248ec3228f8e6507955d7ceb0432d2000 upstream. ICMP tuples have id in src and type/code in dst. So comparing src.u.all with dst.u.all will always fail here and ip_xfrm_m

Re: [PATCH 000/493] remove CONFIG_HOTPLUG as an option

2012-11-22 Thread Grant Likely
On Wed, Nov 21, 2012 at 7:56 AM, Andrew Morton wrote: > On Tue, 20 Nov 2012 10:46:11 + Grant Likely > wrote: > >> On Sat, Nov 17, 2012 at 12:19 AM, Bill Pemberton wrote: >> > CONFIG_HOTPLUG is no longer an optional setting. In order to remove >> > it as on option code paths that check CONF

[ 096/171] libceph: rename kvec_reset and kvec_add functions

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit e22004235a900213625acd6583ac913d5a30c155) The functions ceph_con_out_kvec_reset() and ceph_con_out_kvec_add() are entirely private functions, so drop the "

[ 06/83] mac80211: call skb_dequeue/ieee80211_free_txskb instead of __skb_queue_purge

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 1f98ab7fef48a2968f37f422c256c9fbd978c3f0 upstream. Fixes more wifi status skb leaks, leading to hostapd/wpa_supplicant hangs. Signed-off-by: Felix Fietkau Signed-off-by:

Re: i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Krzysztof Mazur
On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > Hi, > > > Since a dpms ioctl call tends to follow a modeset, this likely only > results in that dpms call enabling the hw again. Can you please add > drm.debug=0xe to your kernel cmdline and boot into a 3.6 with this > hack applied,

[ 123/171] libceph: dont use bio_iter as a flag

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit abdaa6a849af1d63153682c11f5bbb22dacb1f6b) Recently a bug was fixed in which the bio_iter field in a ceph message was not being properly re-initialized when

[ 74/83] NFC: Use dynamic initialization for rwlocks

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Szymon Janc commit fe235b58d517d623bf6d40c77afca1b0ee6fc85d upstream. If rwlock is dynamically allocated but statically initialized it is missing proper lockdep annotation. INFO: trying to reg

[ 013/171] ALSA: HDA: Fix digital microphone on CS420x

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel J Blueman commit 16337e028a6dae9fbdd718c0d42161540a668ff3 upstream. Correctly enable the digital microphones with the right bits in the right coeffecient registers on Cirrus CS4206/7 cod

[ 080/171] ceph: add auth buf in prepare_write_connect()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 3da54776e2c0385c32d143fd497a7f40a88e29dd) Move the addition of the authorizer buffer to a connection's out_kvec out of get_connect_authorizer() and into it

[ 02/38] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Huang Ying commit 90b5c1d7c45eeb622302680ff96ed30c1a2b6f0e upstream. If a PCI device and its parents are put into D3cold, unbinding the device will trigger deadlock as follow: - driver_unbind

Re: i915: black screen after blank when LID is closed on Linux >= 3.1

2012-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2012 at 10:35:22PM +0100, Krzysztof Mazur wrote: > On Thu, Nov 22, 2012 at 09:17:54PM +0100, Daniel Vetter wrote: > > Hi, > > > > > > Since a dpms ioctl call tends to follow a modeset, this likely only > > results in that dpms call enabling the hw again. Can you please add > > drm

[ 134/171] libceph: add some fine ASCII art

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit bc18f4b1c850ab355e38373fbb60fd28568d84b5) Sage liked the state diagram I put in my commit description so I'm putting it in with the code. Signed-off-by: A

[ 129/171] libceph: clear NEGOTIATING when done

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 3ec50d1868a9e0493046400bb1fdd054c7f64ebd) A connection state's NEGOTIATING bit gets set while in CONNECTING state after we have successfully exchanged a ce

[ 28/38] eCryptfs: check for eCryptfs cipher support at mount

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Tim Sally commit 5f5b331d5c21228a6519dcb793fc1629646c51a6 upstream. The issue occurs when eCryptfs is mounted with a cipher supported by the crypto subsystem but not by eCryptfs. The mount succ

[ 131/171] libceph: separate banner and connect writes

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit ab166d5aa3bc036fba7efaca6e4e43a7e9510acf) There are two phases in the process of linking together the two ends of a ceph connection. The first involves ex

[ 004/171] mac80211: dont send null data packet when not associated

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 20f544eea03db4b498942558b882d463ce575c3e upstream. On resume or firmware recovery, mac80211 sends a null data packet to see if the AP is still around and hasn't disconnecte

[ 155/171] libceph: fix handling of immediate socket connect failure

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 8007b8d626b49c34fb146ec16dc639d8b10c862f) If the connect() call immediately fails such that sock == NULL, we still need con_close_socket() to reset our sock

[ 65/83] xen/events: fix RCU warning, or Call idle notifier after irq_enter()

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Mojiong Qiu commit 772aebcefeff310f80e32b874988af0076cb799d upstream. exit_idle() should be called after irq_enter(), otherwise it throws: [ INFO: suspicious RCU usage. ] 3.6.5 #1 Not tainted

[ 55/83] ipv4/ip_vti.c: VTI fix post-decryption forwarding

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Saurabh Mohan [ Upstream commit b2942004fb5c9f3304b77e187b8a1977b3626c9b ] With the latest kernel there are two things that must be done post decryption so that the packet are forwarded. 1.

Re: [PATCH 000/493] remove CONFIG_HOTPLUG as an option

2012-11-22 Thread Grant Likely
Greg KH wrote: >On Wed, Nov 21, 2012 at 01:41:46PM -0500, Bill Pemberton wrote: >> Andrew Morton writes: >> > >> > On Tue, 20 Nov 2012 10:46:11 + Grant Likely > wrote: >> > >> > > On Sat, Nov 17, 2012 at 12:19 AM, Bill Pemberton > wrote: >> > > > CONFIG_HOTPLUG is no longer an optional se

[ 025/171] USB: option: add Novatel E362 and Dell Wireless 5800 USB IDs

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit fcb21645f1bd86d2be29baf48aa1b298de52ccc7 upstream. The Dell 5800 appears to be a simple rebrand of the Novatel E362. Signed-off-by: Dan Williams Signed-off-by: Greg Kroah-

Re: [PATCHv9 1/3] Runtime Interpreted Power Sequences

2012-11-22 Thread Thierry Reding
On Thu, Nov 22, 2012 at 01:39:41PM +, Grant Likely wrote: [...] > I do think that each sequence should be contained within a single > property, but I'm open to other suggestions. IIRC a very early prototype did implement something like that. However because of the resource issues this had to b

[ 13/83] cifs: fix potential buffer overrun in cifs.idmap handling code

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 36960e440ccf94349c09fb944930d3bfe4bc473f upstream. The userspace cifs.idmap program generally works with the wbclient libs to generate binary SIDs in userspace. That program

[ 136/171] libceph: initialize mon_client con only once

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 735a72ef952d42a256f79ae3e6dc1c17a45c041b) Do not re-initialize the con on every connection attempt. When we ceph_con_close, there may still be work queued

[ 027/171] drm/radeon: fix logic error in atombios_encoders.c

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit b9196395c905edec512dfd6690428084228c16ec upstream. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=50431 Reported-by: David Binderman Signed-off-by: Alex Deucher Revie

[ 077/171] ceph: use info returned by get_authorizer

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 8f43fb53894079bf0caab6e348ceaffe7adc651a) Rather than passing a bunch of arguments to be filled in with the content of the ceph_auth_handshake buffer now r

[ 80/83] selinux: fix sel_netnode_insert() suspicious rcu dereference

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Dave Jones commit 88a693b5c1287be4da937699cb82068ce9db0135 upstream. === [ INFO: suspicious RCU usage. ] 3.5.0-rc1+ #63 Not tainted --- s

[ 104/171] libceph: init monitor connection when opening

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 20581c1faf7b15ae1f8b80c0ec757877b0b53151) Hold off initializing a monitor client's connection until just before it gets opened for use. Signed-off-by: Ale

[ 79/83] intel-iommu: Fix lookup in add device

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 3da4af0affbb797e8ac4c2b4598da0c34b8cc52a upstream. We can't assume this device exists, fall back to the bridge itself. Signed-off-by: Alex Williamson Tested-by: Matthew

[ 065/171] libceph: dont reset kvec in prepare_write_banner()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit d329156f16306449c273002486c28de3fd89) Move the kvec reset for a connection out of prepare_write_banner and into its only caller. Signed-off-by: Alex E

[ 37/38] PCI : ability to relocate assigned pci-resources

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Ram Pai commit 2bbc6942273b5b3097bd265d82227bdd84b351b2 upstream. Currently pci-bridges are allocated enough resources to satisfy their immediate requirements. Any additional resource-requests

[ 057/171] crush: adjust local retry threshold

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit c90f95ed46393e29d843686e21947d1c6fcb1164) This small adjustment reflects a change that was made in ceph.git commit af6a9f30696c900a2a8bd7ae24e8ed15fb4964bb,

[ 128/171] libceph: clear CONNECTING in ceph_con_close()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit bb9e6bba5d8b85b631390f8dbe8a24ae1ff5b48a) A connection that is closed will no longer be connecting. So clear the CONNECTING state bit in ceph_con_close().

[ 60/83] tcp: handle tcp_net_metrics_init() order-5 memory allocation failures

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 976a702ac9eeacea09e588456ab165dc06f9ee83 ] order-5 allocations can fail with current kernels, we should try vmalloc() as well. Reported-by: Julien Tinnes Signe

[ 01/38] mm: bugfix: set current->reclaim_state to NULL while returning from kswapd()

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Takamori Yamaguchi commit b0a8cc58e6b9aaae3045752059e5e6260c0b94bc upstream. In kswapd(), set current->reclaim_state to NULL before returning, as current->reclaim_state holds reference to varia

Re: memory-cgroup bug

2012-11-22 Thread Michal Hocko
On Thu 22-11-12 19:05:26, azurIt wrote: [...] > My cgroups hierarchy: > /cgroups//uid/ > > where '' is system user id and 'uid' is just word 'uid'. > > Memory limits are set in /cgroups// and hierarchy is > enabled. Processes are inside /cgroups//uid/ . I'm using > hard limits for memory and swap

Re: [V2 PATCH 1/3] staging: ozwpan: Remove redundant null check before kfree in ozpd.c

2012-11-22 Thread Greg KH
On Wed, Nov 21, 2012 at 11:10:12PM +, Rupesh Gujare wrote: > On 21/11/12 21:48, Greg KH wrote: > >On Wed, Nov 21, 2012 at 05:26:12PM +, Rupesh Gujare wrote: > >>On 21/11/12 16:19, Dan Carpenter wrote: > >>>When someone sends a patch there are a several possible responses: > >>>1) Ack the pa

Re: [PATCH 0/3] pwm: lpc32xx - Various small fixes

2012-11-22 Thread Thierry Reding
On Wed, Nov 14, 2012 at 12:58:12PM +0100, Alban Bedel wrote: > A few fixes for the LPC32 PWM driver: > > * [PATCH 1/3] pwm: lpc32xx - Fix the PWM polarity > * [PATCH 2/3] pwm: lpc32xx - Properly disable the clock on device remove > * [PATCH 3/3] pwm: lpc32xx - Set the chip base for dynamic allocat

[ 145/171] libceph: reset connection retry on successfully negotiation

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 85effe183dd45854d1ad1a370b88cddb403c4c91) We exponentially back off when we encounter connection errors. If several errors accumulate, we will eventually w

[ 169/171] ceph: avoid 32-bit page index overflow

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 6285bc231277419255f3498d3eb5ddc9f8e7fe79) A pgoff_t is defined (by default) to have type (unsigned long). On architectures such as i686 that's a 32-bit ty

[ 047/171] sky2: Fix for interrupt handler

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mirko Lindner commit d663d181b9e92d80c2455e460e932d34e7a2a7ae upstream. Re-enable interrupts if it is not our interrupt Signed-off-by: Mirko Lindner Signed-off-by: David S. Miller Cc: Jonath

[ 30/83] UBIFS: fix mounting problems after power cuts

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit a28ad42a4a0c6f302f488f26488b8b37c9b30024 upstream. This is a bugfix for a problem with the following symptoms: 1. A power cut happens 2. After reboot, we try to mount U

[ 067/171] ceph: messenger: send banner in process_connect()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 41b90c00858129f52d08e6a05c9cfdb0f2bd074d) prepare_write_connect() has an argument indicating whether a banner should be sent out before sending out a conne

[ 068/171] ceph: drop msgr argument from prepare_write_connect()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit e825a66df97776d30a48a187e3a986736af43945) In all cases, the value passed as the msgr argument to prepare_write_connect() is just con->msgr. Just get the m

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Dmitry Torokhov
On Wed, Nov 21, 2012 at 10:38:59PM +, Russell King - ARM Linux wrote: > On Wed, Nov 21, 2012 at 12:54:24PM -0800, Dmitry Torokhov wrote: > > On Wed, Nov 21, 2012 at 12:43:24PM -0800, Mike Turquette wrote: > > > Quoting Viresh Kumar (2012-11-20 02:13:55) > > > > On 20 November 2012 14:52, Dmitry

Re: memory-cgroup bug

2012-11-22 Thread Michal Hocko
On Thu 22-11-12 10:36:18, azurIt wrote: [...] > I can look also to the data of 'freezed' proces if you need it but i > will have to wait until problem occurs again. > > The main problem is that when this problem happens, it's NOT resolved > automatically by kernel/OOM and user of cgroup, where it

[ 20/83] ALSA: hda - Force to reset IEC958 status bits for AD codecs

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ae24c3191ba2ab03ec6b4be323e730e00404b4b6 upstream. Several bug reports suggest that the forcibly resetting IEC958 status bits is required for AD codecs to get the SPDIF outp

[ 030/171] wireless: allow 40 MHz on world roaming channels 12/13

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 43c771a1963ab461a2f194e3c97fded1d5fe262f upstream. When in world roaming mode, allow 40 MHz to be used on channels 12 and 13 so that an AP that is, e.g., using HT40+ on cha

[ 36/83] ARM: dt: tegra: fix length of pad control and mux registers

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Pritesh Raithatha commit 322337b8fbd8c392246529d5db924820fc0c7381 upstream. The reg property contains not . Fix the length values to be length not last_offset. Signed-off-by: Pritesh Raithath

Re: [PATCH v4 04/11] pwm: pwm-tiecap: Add device-tree binding support for APWM driver

2012-11-22 Thread Thierry Reding
I forgot, the subject should be: pwm: tiecap: Add device-tree binding for consistency. Same applies for patches 5, 6, 7 and 8. Thierry pgpIuLv1Q00IP.pgp Description: PGP signature

[ 076/171] ceph: have get_authorizer methods return pointers

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit a3530df33eb91d787d08c7383a0a9982690e42d0) Have the get_authorizer auth_client method return a ceph_auth pointer rather than an integer, pointer-encoding an

[ 112/171] libceph: fix overflow in osdmap_decode()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang (cherry picked from commit e91a9b639a691e0982088b5954eaafb5a25c8f1c) On 32-bit systems, a large `n' would overflow `n * sizeof(u32)' and bypass the check ceph_decode_need(p, end, n * si

[ 15/38] wireless: allow 40 MHz on world roaming channels 12/13

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 43c771a1963ab461a2f194e3c97fded1d5fe262f upstream. When in world roaming mode, allow 40 MHz to be used on channels 12 and 13 so that an AP that is, e.g., using HT40+ on cha

[ 16/83] ARM: at91/AT91SAM9G45: fix crypto peripherals irq issue due to sparse irq support

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Royer commit 097965ee447e5ccec9776f9b075e64cf7607e5eb upstream. Spare irq support introduced by commit 8fe82a5 (ARM: at91: sparse irq support) involves to add the NR_IRQS_LEGACY offset

[ 142/171] libceph: resubmit linger ops when pg mapping changes

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 6194ea895e447fdf4adfd23f67873a32bf4f15ae) The linger op registration (i.e., watch) modifies the object state. As such, the OSD will reply with success if i

[ 063/171] ceph: messenger: update "to" in read_partial() caller

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit e6cee71fac27c946a0bbad754dd076e66c4e9dbd) read_partial() always increases whatever "to" value is supplied by adding the requested size to it, and that's th

[ 079/171] ceph: rename prepare_connect_authorizer()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit dac1e716c60161867a47745bca592987ca3a9cb2) Change the name of prepare_connect_authorizer(). The next patch is going to make this function no longer add any

[ 037/171] r8169: use unlimited DMA burst for TX

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michal Schmidt commit aee77e4accbeb2c86b1d294cd84fec4a12dde3bd upstream. The r8169 driver currently limits the DMA burst for TX to 1024 bytes. I have a box where this prevents the interface fro

[ 141/171] libceph: fix mutex coverage for ceph_con_close

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 8c50c817566dfa4581f82373aac39f3e608a7dc8) Hold the mutex while twiddling all of the state bits to avoid possible races. While we're here, make not of why w

[ 39/83] USB: keyspan: fix typo causing GPF on open

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit f0e3e35c9049087172c65302b42da8fe7ebb63a8 upstream. Commit f79b2d0f (USB: keyspan: fix NULL-pointer dereferences and memory leaks) had a small typo which made the driver use wr

Re: [PATCH v4 0/3] ACPI 5 support for GPIO, SPI and I2C

2012-11-22 Thread Jean Delvare
On Wed, 21 Nov 2012 22:31:15 +0100, Rafael J. Wysocki wrote: > > Mathias Nyman (1): > > gpio / ACPI: add ACPI support > > > > Mika Westerberg (2): > > spi / ACPI: add ACPI enumeration support > > i2c / ACPI: add ACPI enumeration support > > This patchset has been around for quite a while an

[ 137/171] libceph: allow sock transition from CONNECTING to CLOSED

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit fbb85a478f6d4cce6942f1c25c6a68ec5b1e7e7f) It is possible to close a socket that is in the OPENING state. For example, it can happen if ceph_con_close() is

[ 11/38] UBIFS: introduce categorized lprops counter

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit 98a1eebda3cb2a84ecf1f219bb3a95769033d1bf upstream. This commit is a preparation for a subsequent bugfix. We introduce a counter for categorized lprops. Signed-off-by: A

[ 162/171] libceph: delay debugfs initialization until we learn global_id

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit d1c338a509cea5378df59629ad47382810c38623) The debugfs directory includes the cluster fsid and our unique global_id. We need to delay the initialization of t

[ 66/83] SCSI: isci: Allow SSP tasks into the task management path.

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Skirvin commit 54b46677757ff8d6c282305fc7710f466b63d6dc upstream. This commit fixes a driver bug for SSP tasks that require task management in the target after they complete in the SCU har

[ 14/83] cifs: Do not lookup hashed negative dentry in cifs_atomic_open

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Prabhu commit 3798f47aa276b332c30da499cb4df4577e2f8872 upstream. We do not need to lookup a hashed negative directory since we have already revalidated it before and have found it to be

[ 044/171] usb: use usb_serial_put in usb_serial_probe errors

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Safrata commit 0658a3366db7e27fa32c12e886230bb58c414c92 upstream. The use of kfree(serial) in error cases of usb_serial_probe was invalid - usb_serial structure allocated in create_serial()

[ 61/83] tmpfs: change final i_blocks BUG to WARNING

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 0f3c42f522dc1ad7e27affc0a4aa8c790bce0a66 upstream. Under a particular load on one machine, I have hit shmem_evict_inode()'s BUG_ON(inode->i_blocks), enough times to narrow i

[ 058/171] crush: be more tolerant of nonsensical crush maps

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit a1f4895be8bf1ba56c2306b058f51619e9b0e8f8) If we get a map that doesn't make sense, error out or ignore the badness instead of BUGging out. This reflects th

[ 061/171] ceph: osd_client: fix endianness bug in osd_req_encode_op()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 065a68f9167e20f321a62d044cb2c3024393d455) >From Al Viro Al Viro noticed that we were using a non-cpu-encoded value in a switch statement in osd_req_encod

[ 078/171] ceph: return pointer from prepare_connect_authorizer()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit 729796be9190f57ca40ccca315e8ad34a1eb8fef) Change prepare_connect_authorizer() so it returns a pointer (or pointer-coded error). Signed-off-by: Alex Elder

[ 056/171] crush: clean up types, const-ness

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 8b12d47b80c7a34dffdd98244d99316db490ec58) Move various types from int -> __u32 (or similar), and add const as appropriate. This reflects changes that have

[ 163/171] libceph: avoid truncation due to racing banners

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jim Schutt (cherry picked from commit 6d4221b53707486dfad3f5bfe568d2ce7f4c9863) Because the Ceph client messenger uses a non-blocking connect, it is possible for the sending of the client banne

[ 034/171] net: correct check in dev_addr_del()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Pirko [ Upstream commit a652208e0b52c190e57f2a075ffb5e897fe31c3b ] Check (ha->addr == dev->dev_addr) is always true because dev_addr_init() sets this. Correct the check to behave properly

[ 113/171] libceph: fix overflow in osdmap_apply_incremental()

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang (cherry picked from commit a5506049500b30dbc5edb4d07a3577477c1f3643) On 32-bit systems, a large `pglen' would overflow `pglen*sizeof(u32)' and bypass the check ceph_decode_need(p, end,

[ 149/171] libceph: drop gratuitous socket close calls in con_work

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil (cherry picked from commit 2e8cb10063820af7ed7638e3fd9013eee21266e7) If the state is CLOSED or OPENING, we shouldn't have a socket. Signed-off-by: Sage Weil Signed-off-by: Greg Kroa

[ 020/171] ASoC: dapm: Use card_list during DAPM shutdown

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Misael Lopez Cruz commit 445632ad6dda42f4d3f9df2569a852ca0d4ea608 upstream. DAPM shutdown incorrectly uses "list" field of codec struct while iterating over probed components (codec_dev_list).

[ 31/83] UBIFS: introduce categorized lprops counter

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit 98a1eebda3cb2a84ecf1f219bb3a95769033d1bf upstream. This commit is a preparation for a subsequent bugfix. We introduce a counter for categorized lprops. Signed-off-by: A

Re: [PATCH] Tell the world we gave up on pushing CC_OPTIMIZE_FOR_SIZE

2012-11-22 Thread Kirill Smelkov
On Fri, Nov 02, 2012 at 03:41:01PM +0400, Kirill Smelkov wrote: > [continuing 281dc5c5 "Give up on pushing CC_OPTIMIZE_FOR_SIZE"] > > Recently I've been beaten hard by CC_OPTIMIZE_FOR_SIZE=y on X86 > performance-wise. The problem turned out to be for -Os gcc wants to > inline __builtin_memcpy, to

[ 52/83] Bluetooth: Fix having bogus entries in mgmt_read_index_list reply

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hedberg commit 476e44cb19f1fbf2d5883dddcc0ce31b33b45915 upstream. The mgmt_read_index_list uses one loop to calculate the max needed size of its response with the help of an upper-bound o

[ 06/38] ALSA: hda: Cirrus: Fix coefficient index for beep configuration

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Stein commit 5a83b4b5a391f07141b157ac9daa51c409e71ab5 upstream. Signed-off-by: Alexander Stein Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/pat

[ 04/38] crypto: cryptd - disable softirqs in cryptd_queue_worker to prevent data corruption

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit 9efade1b3e981f5064f9db9ca971b4dc7557ae42 upstream. cryptd_queue_worker attempts to prevent simultaneous accesses to crypto workqueue by cryptd_enqueue_request using preem

Re: Tagging of -stable patches

2012-11-22 Thread Ben Hutchings
On Wed, Nov 21, 2012 at 06:44:45PM +0100, Jan Kara wrote: > Hello, > > I have a question regarding tagging of patches targetted in -stable > kernels. We have this 'CC: sta...@vger.kernel.org # something' tag. Now > inconvenient thing is that when I create a patch and have such tag in it, > the

[ 01/83] mm: bugfix: set current->reclaim_state to NULL while returning from kswapd()

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Takamori Yamaguchi commit b0a8cc58e6b9aaae3045752059e5e6260c0b94bc upstream. In kswapd(), set current->reclaim_state to NULL before returning, as current->reclaim_state holds reference to varia

[ 23/83] ALSA: hda - Improve HP depop when system enter to S3

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 1387e2d12799e554df2f60e7ae7fe01384bcb96f upstream. alc269_toggle_power_output() was only use in ALC269VB. I rename it to alc269vb_toggle_power_output(). Signed-off-by: Kai

[ 69/83] r8169: allow multicast packets on sub-8168f chipset.

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Nathan Walp commit 0481776b7a70f09acf7d9d97c288c3a8403fbfe4 upstream. RTL_GIGA_MAC_VER_35 includes no multicast hardware filter. Signed-off-by: Nathan Walp Suggested-by: Hayes Wang Acked-by:

[ 47/83] ttm: Clear the ttm page allocated from high memory zone correctly

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Zhao Yakui commit ac207ed2471150e06af0afc76e4becc701fa2733 upstream. The TTM page can be allocated from high memory. In such case it is wrong to use the page_address(page) as the virtual addres

[ 48/83] memcg: oom: fix totalpages calculation for memory.swappiness==0

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 9a5a8f19b43430752067ecaee62fc59e11e88fa6 upstream. oom_badness() takes a totalpages argument which says how many pages are available and it uses it as a base for the score c

[ 011/171] ptp: update adjfreq callback description

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller commit 87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 upstream. This patch updates the adjfreq callback description to include a note that the delta in ppb is always relative to the base

[ 126/171] libceph: just set SOCK_CLOSED when state changes

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder (cherry picked from commit d65c9e0b9eb43d14ece9dd843506ccba06162ee7) When a TCP_CLOSE or TCP_CLOSE_WAIT event occurs, the SOCK_CLOSED connection flag bit is set, and if it had not be

[ 04/83] mac80211: sync acccess to tx_filtered/ps_tx_buf queues

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Arik Nemtsov commit 987c285c2ae2e4e32aca3a9b3252d28171c75711 upstream. These are accessed without a lock when ending STA PSM. If the sta_cleanup timer accesses these lists at the same time, we

[ 015/171] ALSA: hda - Fix empty DAC filling in patch_via.c

2012-11-22 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 5b3761954dac2d1393beef8210eb8cee81d16b8d upstream. In via_auto_fill_adc_nids(), the parser tries to fill dac_nids[] at the point of the current line-out (i). When no valid

[ 21/83] ALSA: hda - Fix empty DAC filling in patch_via.c

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 5b3761954dac2d1393beef8210eb8cee81d16b8d upstream. In via_auto_fill_adc_nids(), the parser tries to fill dac_nids[] at the point of the current line-out (i). When no valid

[ 44/83] drm/radeon: fix logic error in atombios_encoders.c

2012-11-22 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit b9196395c905edec512dfd6690428084228c16ec upstream. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=50431 Reported-by: David Binderman Signed-off-by: Alex Deucher Revie

[ 21/38] r8169: use unlimited DMA burst for TX

2012-11-22 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Michal Schmidt commit aee77e4accbeb2c86b1d294cd84fec4a12dde3bd upstream. The r8169 driver currently limits the DMA burst for TX to 1024 bytes. I have a box where this prevents the interface fro

<    2   3   4   5   6   7   8   9   10   11   >