[ 26/47] xhci: Add Lynx Point LP to list of Intel switchable hosts

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Russell Webb commit bb1e5dd7113d2fd178d3af9aca8f480ae0468edf upstream. Like Lynx Point, Lynx Point LP is also switchable. See 1c12443ab8eba71a658fae4572147e56d1f84f66 for more details. This

[ 01/80] bonding: Bonding driver does not consider the gso_max_size/gso_max_segs setting of slave devices.

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sarveshwar Bandi [ Upstream commit 0e376bd0b791ac6ac6bdb051492df0769c840848 ] Patch sets the lowest gso_max_size and gso_max_segs values of the slave devices during enslave and detach.

[ 012/123] mm: highmem: export kmap_to_page for modules

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit f0263d2d222e9e25f2587e51a9dc58c6fb2a9352 upstream. Some virtio device drivers (9p) need to translate high virtual addresses to physical addresses, which are inserted into

[ 02/80] bonding: fix race condition in bonding_store_slaves_active

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "niko...@redhat.com" [ Upstream commit e196c0e579902f42cf72414461fb034e5a1ffbf7 ] Race between bonding_store_slaves_active() and slave manipulation functions. The bond_for_each_slave use in

[ 011/123] x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Ondrej Zary commit ad68652412276f68ad4fe3e1ecf5ee6880876783 upstream. Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable A20 line but resume code assumes that KBC was

[ 25/47] genirq: Always force thread affinity

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 04aa530ec04f61875b99c12721162e2964e3318c upstream. Sankara reported that the genirq core code fails to adjust the affinity of an interrupt thread in several cases: 1)

[ 27/47] cgroup: remove incorrect dget/dput() pair in cgroup_create_dir()

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 175431635ec09b1d1bba04979b006b99e8305a83 upstream. cgroup_create_dir() does weird dancing with dentry refcnt. On success, it gets and then puts it achieving nothing. On

[ 013/123] virtio: 9p: correctly pass physical address to userspace for high pages

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit b9cdc88df8e63e81c723b82c286fc97f5d0dc325 upstream. When using a virtio transport, the 9p net device may pass the physical address of a kernel buffer to userspace via a

[ 021/123] ALSA: hda - Add stereo-dmic fixup for Acer Aspire One 522

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 63a077e27648b4043b1ca1b4e29f0c42d99616b6 upstream. Acer Aspire One 522 has the infamous digital mic unit that needs the phase inversion fixup for stereo. Bugzilla:

[ 32/47] tcp: implement RFC 5961 3.2

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 282f23c6ee343126156dd41218b22ece96d747e3 ] Implement the RFC 5691 mitigation against Blind Reset attack using RST bit. Idea is to validate incoming RST

[ 36/47] tcp: RFC 5961 5.2 Blind Data Injection Attack Mitigation

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 354e4aa391ed50a4d827ff6fc11e0667d0859b25 ] RFC 5961 5.2 [Blind Data Injection Attack].[Mitigation] All TCP stacks MAY implement the following mitigation.

[ 022/123] ALSA: hda - Always turn on pins for HDMI/DP

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6169b673618bf0b2518ce413b54925782a603f06 upstream. We've seen the broken HDMI *video* output on some machines with GM965, and the debugging session pointed that the culprit

[ 24/47] Input: walkera0701 - fix crash on startup

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Peter Popovec commit a455e2985f57e2a71566bb8850094af38b2c932d upstream. The driver's timer must be set up before enabling IRQ handler, otherwise bad things may happen. Reported-and-tested-by:

[ 37/47] ARM: mm: use pteval_t to represent page protection values

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 864aa04cd02979c2c755cb28b5f4fe56039171c0 upstream. When updating the page protection map after calculating the user_pgprot value, the base protection map is temporarily

[ 023/123] ALSA: hda - Fix the wrong pincaps set in ALC861VD dallas/hp fixup

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b78562b10fa66175e30b76073e32a0ad8d92aa83 upstream. The workaround to force VREF50 for dallas/hp model with ALC861VD was introduced in commit

[PATCH] drivers: i2c-nforce2: fix coding style issues

2013-01-09 Thread Laurent Navet
avoid these checkpatch.pl issues : - ERROR: "foo * bar" should be "foo *bar" - ERROR: switch and case should be at the same indent - ERROR: "(foo*)" should be "(foo *)" - ERROR: do not use assignment in if condition - ERROR: space required before the open parenthesis '(' - WARNING: suspect code

Re: [PATCH] mm: wait for congestion to clear on all zones

2013-01-09 Thread Andrew Morton
On Wed, 09 Jan 2013 22:41:48 +0100 Zlatko Calusic wrote: > Currently we take a short nap (HZ/10) and wait for congestion to clear > before taking another pass with lower priority in balance_pgdat(). But > we do that only for the highest zone that we encounter is unbalanced > and congested. > >

[ 38/47] ARM: missing ->mmap_sem around find_vma() in swp_emulate.c

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 7bf9b7bef881aac820bf1f2e9951a17b09bd7e04 upstream. find_vma() is *not* safe when somebody else is removing vmas. Not just the return value might get bogus just as you are

[ 11/80] inet_diag: avoid unsafe and nonsensical prefix matches in inet_diag_bc_run()

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit f67caec9068cee426ec23cf9005a1dee2ecad187 ] Add logic to check the address family of the user-supplied conditional and the address family of the connection

[ 12/80] inet_diag: validate port comparison byte code to prevent unsafe reads

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit 5e1f54201cb481f40a04bc47e1bc8c093a189e23 ] Add logic to verify that a port comparison byte code operation actually has the second inet_diag_bc_op from which we

[ 33/47] tcp: implement RFC 5961 4.2

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 0c24604b68fc7810d429d6c3657b6f148270e528 ] Implement the RFC 5691 mitigation against Blind Reset attack using SYN bit. Section 4.2 of RFC 5961 advises to send

[ 08/80] usb/ipheth: Add iPhone 5 support

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jay Purohit [ Upstream commit af1b85e49089f945deb46258b0fc4bc9910afb22 ] I noticed that the iPhone ethernet driver did not support iPhone 5. I quickly added support to it in my kernel, here's

[ 34/47] tcp: refine SYN handling in tcp_validate_incoming

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e371589917011efe6ff8c7dfb4e9e81934ac5855 ] Followup of commit 0c24604b68fc (tcp: implement RFC 5961 4.2) As reported by Vijay Subramanian, we should send a

[ 019/123] ALSA: usb-audio: Fix missing autopm for MIDI input

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f5f165418cabf2218eb466c0e94693b8b1aee88b upstream. The commit [88a8516a: ALSA: usbaudio: implement USB autosuspend] added the support of autopm for USB MIDI output, but it

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-09 Thread Rafael J. Wysocki
On Wednesday, January 09, 2013 12:51:07 PM Mika Westerberg wrote: > On Tue, Jan 08, 2013 at 10:33:55PM +0100, Rafael J. Wysocki wrote: > > On 1/8/2013 2:10 PM, Mark Brown wrote: > > >On Tue, Jan 08, 2013 at 02:41:53PM +0200, Mika Westerberg wrote: > > >>On Tue, Jan 08, 2013 at 11:02:28AM +,

[ 09/80] inet_diag: fix oops for IPv4 AF_INET6 TCP SYN-RECV state

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit 1c95df85ca49640576de2f0a850925957b547b84 ] Fix inet_diag to be aware of the fact that AF_INET6 TCP connections instantiated for IPv4 traffic and in the

[ 020/123] ALSA: hda - Move runtime PM check to runtime_idle callback

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6eb827d23577a4efec2b10a9c4cc9ded268a1d1c upstream. The runtime_idle callback is the right place to check the suspend capability, but currently we do it wrongly in the

[ 10/80] inet_diag: validate byte code to prevent oops in inet_diag_bc_run()

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell [ Upstream commit 405c005949e47b6e91359159c24753519ded0c67 ] Add logic to validate INET_DIAG_BC_S_COND and INET_DIAG_BC_D_COND operations. Previously we did not validate the

[ 13/80] b43legacy: Fix firmware loading when driver is built into the kernel

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 576d28a7c73013717311cfcb514dbcae27c82eeb upstream. Recent versions of udev cause synchronous firmware loading from the probe routine to fail because the request to user

[ 07/80] ipv4: ip_check_defrag must not modify skb before unsharing

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg [ Upstream commit 1bf3751ec90cc3174e01f0d701e8449ce163d113 ] ip_check_defrag() might be called from af_packet within the RX path where shared SKBs are used, so it must not

[ 42/47] Bluetooth: cancel power_on work when unregistering the device

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo Padovan commit b9b5ef188e5acfc16ef62a4703080750b451 upstream. We need to cancel the hci_power_on work in order to avoid it run when we try to free the hdev. [ 1434.201149]

[ 43/47] CRIS: fix I/O macros

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Corey Minyard commit c24bf9b4cc6a0f330ea355d73bfdf1dae7e63a05 upstream. The inb/outb macros for CRIS are broken from a number of points of view, missing () around parameters and they have an

[ 18/80] x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Ondrej Zary commit ad68652412276f68ad4fe3e1ecf5ee6880876783 upstream. Some MSI laptop BIOSes are broken - INT 15h code uses port 92h to enable A20 line but resume code assumes that KBC was

[ 029/123] p54usb: add USBIDs for two more p54usb devices

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 4010fe21a315b4223c25376714c6a2b61b722e5c upstream. This patch adds USBIDs for: - DrayTek Vigor 530 - Zoom 4410a It also adds a note about Gemtek

[ 028/123] p54usb: add USB ID for T-Com Sinus 154 data II

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Tomasz Guszkowski commit 3194b7fcdf6caea338b5d2c72d76fed80437649c upstream. Added USB ID for T-Com Sinus 154 data II. Signed-off-by: Tomasz Guszkowski Acked-by: Christian Lamparter

[ 19/80] virtio: force vring descriptors to be allocated from lowmem

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit b92b1b89a33c172c075edccf6afb0edc41d851fd upstream. Virtio devices may attempt to add descriptors to a virtqueue from atomic context using GFP_ATOMIC allocation. This is

[ 44/47] drivers/rtc/rtc-vt8500.c: correct handling of CR_24H bitfield

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Tony Prisk commit 532db570e5181abc8f4f7bfa6c77c69ec2240198 upstream. Control register bitfield for 12H/24H mode is handled incorrectly. Setting CR_24H actually enables 12H mode. This patch

Re: [PATCH v5] usb: phy: samsung: Add support to set pmu isolation

2013-01-09 Thread Sylwester Nawrocki
Hi, On 12/28/2012 10:13 AM, Vivek Gautam wrote: Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek Gautam ... --- a/Documentation/devicetree/bindings/usb/samsung-usbphy.txt +++

[PATCH] mm: wait for congestion to clear on all zones

2013-01-09 Thread Zlatko Calusic
From: Zlatko Calusic Currently we take a short nap (HZ/10) and wait for congestion to clear before taking another pass with lower priority in balance_pgdat(). But we do that only for the highest zone that we encounter is unbalanced and congested. This patch changes that to wait on all congested

[ 030/123] USB: chipidea: fix use after free bug

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Lothar Waßmann commit 98c35534420d3147553bd3071a5fc63cd56de5b1 upstream. The pointer to a platform_device struct must not be dereferenced after the device has been unregistered. This bug

[ 39/47] solos-pci: fix double-free of TX skb in DMA mode

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit cae49ede00ec3d0cda290b03fee55b72b49efc11 upstream. We weren't clearing card->tx_skb[port] when processing the TX done interrupt. If there wasn't another skb ready to

[ 025/123] ALSA: hda - add mute LED for HP Pavilion 17 (Realtek codec)

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit 6d3cd5d444223c41eabb70dccff14fae4e8cb8b1 upstream. The mute LED is in this case connected to the Mic1 VREF. The machine also exposes the following string in BIOS:

[ 40/47] PCI: Reduce Ricoh 0xe822 SD card reader base clock frequency to 50MHz

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 812089e01b9f65f90fc8fc670d8cce72a0e01fbb upstream. Otherwise it fails like this on cards like the Transcend 16GB SDHC card: mmc0: new SDHC card at address b368

[ 17/80] exec: do not leave bprm->interp on stack

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit b66c5984017533316fd1951770302649baf1aa33 upstream. If a series of scripts are executed, each triggering module loading via unprintable bytes in the script header, kernel stack

[ 15/80] pnpacpi: fix incorrect TEST_ALPHA() test

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Alan Cox commit cdc87c5a30f407ed1ce43d8a22261116873d5ef1 upstream. TEST_ALPHA() is broken and always returns 0. [a...@linux-foundation.org: return false for '@' as well, per Bjorn]

[ 41/47] Bluetooth: ath3k: Add support for VAIO VPCEH [0489:e027]

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Marcos Chaparro commit acd9454433e28c1a365d8b069813c35c1c3a8ac3 upstream. Added Atheros AR3011 internal bluetooth device found in Sony VAIO VPCEH to the devices list. Before this, the

[ 16/80] SGI-XP: handle non-fatal traps

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Robin Holt commit 891348ca0f66206f1dc0e30d63757e3df1ae2d15 upstream. We found a user code which was raising a divide-by-zero trap. That trap would lead to XPC connections between

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-09 Thread Anton Vorontsov
On Thu, Jan 10, 2013 at 01:20:30AM +0400, Glauber Costa wrote: [...] > Given the above, I believe that ideally we should use this pressure > mechanism in memcg replacing the current memcg notification mechanism. Just a quick wonder: why would we need to place it into memcg, when we don't need any

[ 024/123] ALSA: hda - Fix pin configuration of HP Pavilion dv7

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 8ae5865ec77c22462c736846a0679947a6953548 upstream. Fix the quirk entry for HP Pavilion dv7 in order to make the bass speaker working. Reported-and-tested-by: Tomas

[ 14/80] b43: fix tx path skb leaks

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 78f18df4b323d2ac14d6c82e2fc3c8dc4556bccc upstream. ieee80211_free_txskb() needs to be used instead of dev_kfree_skb_any for tx packets passed to the driver from mac80211

[ 026/123] qmi_wwan/cdc_ether: add Dell Wireless 5800 (Novatel E362) USB IDs

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 0370acd4d4d2595a11b0b0a793acb506e19b9d4c upstream. Signed-off-by: Dan Williams Acked-by: Bjørn Mork Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman

[ 25/80] ALSA: hda - Fix the wrong pincaps set in ALC861VD dallas/hp fixup

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b78562b10fa66175e30b76073e32a0ad8d92aa83 upstream. The workaround to force VREF50 for dallas/hp model with ALC861VD was introduced in commit

[ 035/123] usb: gadget: network: fix bind() error path

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit e79cc615a9bb44da72c499ccfa2c9c4bbea3aa84 upstream. I think this is wrong since 72c973dd ("usb: gadget: add usb_endpoint_descriptor to struct usb_ep"). If we

[ 034/123] usb: gadget: uvc: fix error path in uvc_function_bind()

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 0f9df939385527049c8062a099fbfa1479fe7ce0 upstream. The "video->minor = -1" assigment is done in V4L2 by video_register_device() so it is removed here. Now.

[ 24/80] ALSA: usb-audio: Fix missing autopm for MIDI input

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f5f165418cabf2218eb466c0e94693b8b1aee88b upstream. The commit [88a8516a: ALSA: usbaudio: implement USB autosuspend] added the support of autopm for USB MIDI output, but it

[ 26/80] ALSA: hda - Fix pin configuration of HP Pavilion dv7

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 8ae5865ec77c22462c736846a0679947a6953548 upstream. Fix the quirk entry for HP Pavilion dv7 in order to make the bass speaker working. Reported-and-tested-by: Tomas

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-09 Thread Jonathan Cameron
On 01/09/2013 08:56 PM, Lars-Peter Clausen wrote: > On 01/09/2013 08:20 PM, Jonathan Cameron wrote: >> On 01/09/2013 05:31 PM, Lars-Peter Clausen wrote: >>> Quite often the pattern used for setting up and transferring a synchronous >>> SPI >>> transaction looks very much like the following: >>>

Re: Friendlier EPERM - Request for input

2013-01-09 Thread Casey Schaufler
On 1/9/2013 1:13 PM, Eric Paris wrote: > On Wed, 2013-01-09 at 12:53 -0800, Casey Schaufler wrote: > >> Let me try again, I think I didn't quite get the idea across. >> >> I'm suggesting that the string returned by get_extended_error_info() >> ought to be the audit record the system call would

[ 46/47] mm: limit mmu_gather batching to fix soft lockups on !CONFIG_PREEMPT

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 53a59fc67f97374758e63a9c785891ec62324c81 upstream. Since commit e303297e6c3a ("mm: extended batches for generic mmu_gather") we are batching pages to be freed until either

[ 21/80] mm: Fix PageHead when !CONFIG_PAGEFLAGS_EXTENDED

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall commit ad4b3fb7ff9940bcdb1e4cd62bd189d10fa636ba upstream. Unfortunately with !CONFIG_PAGEFLAGS_EXTENDED, (!PageHead) is false, and (PageHead) is true, for tail pages. If this

[ 032/123] usb: gadget: phonet: free requests in pn_bind()s error path

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit d0eca719dd11ad0619e8dd6a1f3eceb95b0216dd upstream. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman

[ 47/47] can: Do not call dev_put if restart timer is running upon close

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Stein commit ab48b03ec9ae1840a1e427e2375bd0d9d554b4ed upstream. If the restart timer is running due to BUS-OFF and the device is disconnected an dev_put will decrease the usage

[ 20/80] mm: fix calculation of dirtyable memory

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sonny Rao commit c8b74c2f6604923de91f8aa6539f8bb934736754 upstream. The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the page

[ 28/80] p54usb: add USB ID for T-Com Sinus 154 data II

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tomasz Guszkowski commit 3194b7fcdf6caea338b5d2c72d76fed80437649c upstream. Added USB ID for T-Com Sinus 154 data II. Signed-off-by: Tomasz Guszkowski Acked-by: Christian Lamparter

[ 22/80] tmpfs mempolicy: fix /proc/mounts corrupting memory

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit f2a07f40dbc603c15f8b06e6ec7f768af67b424f upstream. Recently I suggested using "mount -o remount,mpol=local /tmp" in NUMA mempolicy testing. Very nasty. Reading

[ 033/123] usb: gadget: tcm_usb_gadget: NULL terminate the FS descriptor list

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit fad8deb274edcef1c8ca38946338f5f4f8126fe2 upstream. The descriptor list for FS speed was not NULL terminated. This patch fixes this. While here one of the twe

[ 23/80] ALSA: usb-audio: Avoid autopm calls after disconnection

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 59866da9e4ae54819e3c4e0a8f426bdb0c2ef993 upstream. Add a similar protection against the disconnection race and the invalid use of usb instance after disconnection, as well

[ 27/80] rtlwifi: fix incorrect use of usb_alloc_coherent with usb_control_msg

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit 4c3de5920c486b8eefa6187ee6a181864c161100 upstream. Incorrect use of usb_alloc_coherent memory as input buffer to usb_control_msg can cause problems in arch DMA code, for

[ 031/123] usb: gadget: midi: free hs descriptors

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit d185039f7982eb82cf8d03b6fb6689587ca5af24 upstream. The HS descriptors are only created if HS is supported by the UDC but we never free them. Signed-off-by:

[ 038/123] ACPI / scan: Do not use dummy HID for system bus ACPI nodes

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 4f5f64cf0cc916220aaa055992e31195470cfe37 upstream. At one point acpi_device_set_id() checks if acpi_device_hid(device) returns NULL, but that never happens, so

Re: Friendlier EPERM - Request for input

2013-01-09 Thread Jakub Jelinek
On Wed, Jan 09, 2013 at 12:53:40PM -0800, Casey Schaufler wrote: > I'm suggesting that the string returned by get_extended_error_info() > ought to be the audit record the system call would generate, regardless > of whether the audit system would emit it or not. What system call would that info be

[ 45/47] drivers/rtc/rtc-vt8500.c: fix handling of data passed in struct rtc_time

2013-01-09 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Tony Prisk commit 2f90b68309683f2c5765a1b04ca23d71e51f1494 upstream. tm_mon is 0..11, whereas vt8500 expects 1..12 for the month field, causing invalid date errors for January, and causing the

[ 34/80] ACPI: do acpisleep dmi check when CONFIG_ACPI_SLEEP is set

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Zhang Rui commit 0ac1b1d7b7424cd6f129b5454b504b3cae746f0e upstream. The current acpisleep DMI checks only run when CONFIG_SUSPEND is set. And this may break hibernation on some platforms when

[ 35/80] ACPI / scan: Do not use dummy HID for system bus ACPI nodes

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 4f5f64cf0cc916220aaa055992e31195470cfe37 upstream. At one point acpi_device_set_id() checks if acpi_device_hid(device) returns NULL, but that never happens, so

[ 044/123] NFS: Fix calls to drop_nlink()

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 1f018458b30b0d5c535c94e577aa0acbb92e1395 upstream. It is almost always wrong for NFS to call drop_nlink() after removing a file. What we really want is to mark the

[ 046/123] nfs: fix wrong object type in lockowner_slab

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Yanchuan Nian commit 3c40794b2dd0f355ef4e6bf8d85af5dcd7da7ece upstream. The object type in the cache of lockowner_slab is wrong, and it is better to fix it. Signed-off-by: Yanchuan Nian

[ 047/123] nfsd: fix v4 reply caching

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit 57d276d71aef7d8305ff002a070cb98deb2edced upstream. Very embarassing: 1091006c5eb15cba56785bd5b498a8d0b9546903 "nfsd: turn on reply cache for NFSv4" missed a line,

[ 37/80] NFS: avoid NULL dereference in nfs_destroy_server

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit f259613a1e4b44a0cf85a5dafd931be96ee7c9e5 upstream. In rare circumstances, nfs_clone_server() of a v2 or v3 server can get an error between setting server->destory (to

[ 29/80] p54usb: add USBIDs for two more p54usb devices

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 4010fe21a315b4223c25376714c6a2b61b722e5c upstream. This patch adds USBIDs for: - DrayTek Vigor 530 - Zoom 4410a It also adds a note about Gemtek

[ 045/123] NFS: Dont use SetPageError in the NFS writeback code

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit ada8e20d044c0fa5610e504ce6fb4578ebd3edd9 upstream. The writeback code is already capable of passing errors back to user space by means of the open_context->error. In the

[ 36/80] NFS: Add sequence_priviliged_ops for nfs4_proc_sequence()

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Schumaker commit 6bdb5f213c4344324f600dde885f25768fbd14db upstream. If I mount an NFS v4.1 server to a single client multiple times and then run xfstests over each mountpoint I usually

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 09:43:05PM +0100, Thierry Reding wrote: > The I/O map cache is used to map large regions of physical memory in > smaller chunks to avoid running out of vmalloc()/ioremap() space. > > Signed-off-by: Thierry Reding We already have a means where we record the mappings which

[ 043/123] NFS: avoid NULL dereference in nfs_destroy_server

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit f259613a1e4b44a0cf85a5dafd931be96ee7c9e5 upstream. In rare circumstances, nfs_clone_server() of a v2 or v3 server can get an error between setting server->destory (to

[ 040/123] nfs: dont extend writes to cover entire page if pagecache is invalid

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 81d9bce5309288086b58b4d97a644e495fef75f2 upstream. Jian reported that the following sequence would leave "testfile" with corrupt data: # mount localhost:/export

[ 33/80] usb: gadget: network: fix bind() error path

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit e79cc615a9bb44da72c499ccfa2c9c4bbea3aa84 upstream. I think this is wrong since 72c973dd ("usb: gadget: add usb_endpoint_descriptor to struct usb_ep"). If we

[ 31/80] usb: gadget: phonet: free requests in pn_bind()s error path

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit d0eca719dd11ad0619e8dd6a1f3eceb95b0216dd upstream. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Eric Wong
Mel Gorman wrote: > When I looked at it for long enough I found a number of problems. Most > affect timing but two serious issues are in there. One affects how long > kswapd spends compacting versus reclaiming and the other increases lock > contention meaning that async compaction can abort

[ 039/123] NFS: Add sequence_priviliged_ops for nfs4_proc_sequence()

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Schumaker commit 6bdb5f213c4344324f600dde885f25768fbd14db upstream. If I mount an NFS v4.1 server to a single client multiple times and then run xfstests over each mountpoint I usually

[ 054/123] nfs: avoid dereferencing null pointer in initiate_bulk_draining

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Nickolai Zeldovich commit ecf0eb9edbb607d74f74b73c14af8b43f3729528 upstream. Fix an inverted null pointer check in initiate_bulk_draining(). Signed-off-by: Nickolai Zeldovich Signed-off-by:

[ 041/123] NFSv4: Check for buffer length in __nfs4_get_acl_uncached

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Sven Wegener commit 7d3e91a89b7adbc2831334def9e494dd9892f9af upstream. Commit 1f1ea6c "NFSv4: Fix buffer overflow checking in __nfs4_get_acl_uncached" accidently dropped the checking for too

[Alternative][PATCH] ACPI / PCI: Set root bridge ACPI handle in advance, v2

2013-01-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ACPI handles of PCI root bridges need to be known to acpi_bind_one(), so that it can create the appropriate "firmware_node" and "physical_node" files for them, but currently the way it gets to know those handles is not exactly straightforward (to put it lightly).

[ 44/80] Input: walkera0701 - fix crash on startup

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Peter Popovec commit a455e2985f57e2a71566bb8850094af38b2c932d upstream. The driver's timer must be set up before enabling IRQ handler, otherwise bad things may happen. Reported-and-tested-by:

[ 042/123] nfs: dont zero out the rest of the page if we hit the EOF on a DIO READ

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 67fad106a219e083c91c79695bd1807dde1bf7b9 upstream. Eryu provided a test program that would segfault when attempting to read past the EOF on file that was opened O_DIRECT.

Re: [PATCH 1/4] arm: vt8500: Add support for Wondermedia WM8750/WM8850

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Tony Prisk wrote: > I'm quite happy to send a pull request if that's what you prefer. > > Generally people have just taken the patches straight from email, so > everytime I've done a pull-request I get a reply back saying the patches > have already been applied. > >

Re: [PATCH v5 11/11] sched: introduce cgroup file stat_percpu

2013-01-09 Thread Glauber Costa
On 01/10/2013 01:17 AM, Andrew Morton wrote: > On Thu, 10 Jan 2013 01:10:02 +0400 > Glauber Costa wrote: > >> The main advantage I see in this approach, is that there is way less >> data to be written using a header. Although your way works, it means we >> will write the strings "nice",

[ 055/123] vfs: d_obtain_alias() needs to use "/" as default name.

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit b911a6bdeef5848c468597d040e3407e0aee04ce upstream. NFS appears to use d_obtain_alias() to create the root dentry rather than d_make_root. This can cause 'prepend_path()' to

[ 30/80] usb: gadget: midi: free hs descriptors

2013-01-09 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit d185039f7982eb82cf8d03b6fb6689587ca5af24 upstream. The HS descriptors are only created if HS is supported by the UDC but we never free them. Signed-off-by:

[ 056/123] Input: walkera0701 - fix crash on startup

2013-01-09 Thread Greg Kroah-Hartman
3.7-stable review patch. If anyone has any objections, please let me know. -- From: Peter Popovec commit a455e2985f57e2a71566bb8850094af38b2c932d upstream. The driver's timer must be set up before enabling IRQ handler, otherwise bad things may happen. Reported-and-tested-by:

Re: [PATCH 00/14] Rewrite Tegra PCIe driver

2013-01-09 Thread Thomas Petazzoni
Dear Thierry Reding, On Wed, 9 Jan 2013 21:43:00 +0100, Thierry Reding wrote: > This patch series contains an almost complete rewrite of the Tegra PCIe > driver. The code is moved to the drivers/pci/host directory and turned > into a proper platform driver, adding MSI and DT support while at it.

Re: [PATCH 8/8] mm: remove free_area_cache

2013-01-09 Thread Rik van Riel
On 01/08/2013 08:28 PM, Michel Lespinasse wrote: Since all architectures have been converted to use vm_unmapped_area(), there is no remaining use for the free_area_cache. Signed-off-by: Michel Lespinasse Yay Acked-by: Rik van Riel -- To unsubscribe from this list: send the line

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