Linux on Hyper-V 1) cd006086fa5d ata_piix: defer disks to the Hyper-V drivers by default 2) db63a4c8115a libata: add a host flag to ignore detected ATA device FW: use hv_storvsc instead of ata_piix to

2012-05-29 Thread Victor Miasnikov
Hi! And it's too late for 3.4.1, as that is already out for review. Ok: Please, backport to 3.4.2 { P.S. And to 3.3.x and to 3.2.x i.e. to all actual version after 3.1 } use hv_storvsc instead of ata_piix to handle the IDE disks devices ( but not for the CD-ROM) VVM Please, backport

Re: [PATCH] pnfsblock: bail out partial page IO

2012-05-29 Thread Boaz Harrosh
On 05/28/2012 09:07 PM, Peng Tao wrote: Current block layout driver read/write code assumes page aligned IO in many places. Add a checker to validate the assumption. Cc: stable@vger.kernel.org Signed-off-by: Peng Tao tao.p...@emc.com --- This is the minimal patch for buffer IO case. I

Re: [PATCH-v3] pnfsblock: bail out partial page IO

2012-05-29 Thread Boaz Harrosh
On 05/29/2012 08:57 AM, Peng Tao wrote: Current block layout driver read/write code assumes page aligned IO in many places. Add a checker to validate the assumption. Otherwise there would be data corruption like when application does open(O_WRONLY) and page unaliged write. Please add the

[3.0.y, 3.2.y] btusb: add USB ids for Broadcom BCM20702A0

2012-05-29 Thread Jonathan Nieder
Hi Ben and Greg, Please consider the following patches for inclusion in relevant stable trees. For 3.0.y (merged in 3.2 already): - d13431ca3eb2 Bluetooth: Add support for Broadcom BCM20702A0 c0190925dacd Bluetooth: Add support for BCM20702A0 [0a5c:21e3] (Functionality on a

Re: [ 00/91] 3.4.1-stable review

2012-05-29 Thread Greg KH
On Sun, May 27, 2012 at 10:09:03AM +0900, Greg KH wrote: Note, I've tested this release a bit differently than I have in the past. For this release, I've only tested it on one machine, my laptop, with a pretty minimal configuration to save on build times. That means, while this release works

[PATCH v2] vfs: Do not allow mnt_longterm to go negative

2012-05-29 Thread Lukas Czerner
Currently when someone calls __mnt_make_shortterm() and the mnt_longterm is already zero, it will come negative which is exactly opposite of what the function should to. So fix this by decrementing mnt_longterm only in case that it's not zero. Note that mnt_longterm should not be touched directly,

[3.0.y?, 3.2.y] btusb, ath3k: add more USB ids for AR3012

2012-05-29 Thread Jonathan Nieder
Hi again, Please consider the following patches which add additional vendor-specific IDs for the Atheros AR3012 firmware loader. Firmware support for the AR3012 was added in d9f51b51db20 during the 2.6.39 merge window, so presumably these would be relevant for all newer kernels. For 3.0.y (?)

[3.0.y, 3.2.y] Re: [PATCH 1/1] Add Foxconn / Hon Hai IDs for btusb module

2012-05-29 Thread Jonathan Nieder
Hi Ben and Greg, Steven Harms wrote: This change adds 0x0489:0xe033 to the btusb module. This bluetooth usb device is integrated in the Acer TimelineX AS4830TG-6808 notebook. [...] --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -107,6 +107,9 @@ static struct

[3.0.y, 3.2.y, 3.4.y] Re: [PATCH 1/1] bluetooth: Add support for Foxconn/Hon Hai AR5BBU22 0489:E03C

2012-05-29 Thread Jonathan Nieder
Hi Ben and Greg, Please consider 85d59726c5c6 Bluetooth: Add support for Foxconn/Hon Hai AR5BBU22 0489:E03C for inclusion if appropriate in the 3.0.y, 3.2.y, and 3.4.y trees. Michael Grützner wrote: Add Foxconn/Hon Hai AR5BBU22 Bluetooth Module( 0x489:0xE03C) to the blacklist of btusb

Re: [Xen-devel] swap: don't do discard if no discard option added

2012-05-29 Thread Konrad Rzeszutek Wilk
On Sat, May 26, 2012 at 11:29:37AM -0700, Hugh Dickins wrote: On Mon, 21 May 2012, Konrad Rzeszutek Wilk wrote: On Mon, May 21, 2012 at 12:30:45AM +0200, William Dauchy wrote: Hello, On Xen, when booting a guest with a system disk and an additional swap disk I'm getting a

[PATCH] USB: option: fix port-data abuse

2012-05-29 Thread Johan Hovold
Commit 8b4c6a3ab596961b78465 (USB: option: Use generic USB wwan code) moved option port-data allocation to usb_wwan_startup but still cast the port data to the old struct... Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold jhov...@gmail.com --- drivers/usb/serial/option.c | 34

[PATCH] USB: option: fix memory leak

2012-05-29 Thread Johan Hovold
Fix memory leak introduced by commit 383cedc3bb435de7a2 (USB: serial: full autosuspend support for the option driver) which allocates usb-serial data but never frees it. Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold jhov...@gmail.com --- drivers/usb/serial/option.c | 12 +++-

Re: [ 00/91] 3.4.1-stable review

2012-05-29 Thread Greg KH
On Sun, May 27, 2012 at 10:09:03AM +0900, Greg KH wrote: Note, I've tested this release a bit differently than I have in the past. For this release, I've only tested it on one machine, my laptop, with a pretty minimal configuration to save on build times. That means, while this release works

[patch 1/6] vfs: increment iversion when a file is truncated

2012-05-29 Thread akpm
From: Dmitry Kasatkin dmitry.kasat...@intel.com Subject: vfs: increment iversion when a file is truncated When a file is truncated with truncate()/ftruncate() and then closed, iversion is not updated. This patch uses ATTR_SIZE flag as an indication to increment iversion. Mimi said: On fput(),

[patch 003/181] mm: fix NULL ptr deref when walking hugepages

2012-05-29 Thread akpm
From: Sasha Levin levinsasha...@gmail.com Subject: mm: fix NULL ptr deref when walking hugepages A missing vlidation of the value returned by find_vma() could cause a NULL ptr dereference when walking the pagetable. This is triggerable from usermode by a simple user by trying to read a page info

[patch 016/181] mm/fork: fix overflow in vma length when copying mmap on clone

2012-05-29 Thread akpm
From: Siddhesh Poyarekar siddhesh.poyare...@gmail.com Subject: mm/fork: fix overflow in vma length when copying mmap on clone The vma length in dup_mmap is calculated and stored in a unsigned int, which is insufficient and hence overflows for very large maps (beyond 16TB). The following program

[patch 063/181] mm: consider all swapped back pages in used-once logic

2012-05-29 Thread akpm
From: Michal Hocko mho...@suse.cz Subject: mm: consider all swapped back pages in used-once logic Commit 64574746 (vmscan: detect mapped file pages used only once) made mapped pages have another round in inactive list because they might be just short lived and so we could consider them again next

[patch 065/181] hugetlb: fix resv_map leak in error path

2012-05-29 Thread akpm
From: Dave Hansen d...@linux.vnet.ibm.com Subject: hugetlb: fix resv_map leak in error path When called for anonymous (non-shared) mappings, hugetlb_reserve_pages() does a resv_map_alloc(). It depends on code in hugetlbfs's vm_ops-close() to release that allocation. However, in the mmap()

[patch 068/181] mm: pmd_read_atomic: fix 32bit PAE pmd walk vs pmd_populate SMP race condition

2012-05-29 Thread akpm
From: Andrea Arcangeli aarca...@redhat.com Subject: mm: pmd_read_atomic: fix 32bit PAE pmd walk vs pmd_populate SMP race condition When holding the mmap_sem for reading, pmd_offset_map_lock should only run on a pmd_t that has been read atomically from the pmdp pointer, otherwise we may read only

[patch 069/181] mm: fix faulty initialization in vmalloc_init()

2012-05-29 Thread akpm
From: KyongHo pullip@samsung.com Subject: mm: fix faulty initialization in vmalloc_init() The transfer of -flags causes some of the static mapping virtual addresses to be prematurely freed (before the mapping is removed) because VM_LAZY_FREE gets set if tmp-flags has VM_IOREMAP set. This

[3.0.y, 3.2.y] Re: [PATCH] btusb: typo in Broadcom SoftSailing id

2012-05-29 Thread Jonathan Nieder
Hi Ben and Greg, Please queue 2e8b506310f6 Bluetooth: btusb: typo in Broadcom SoftSailing id for 3.0.y and 3.2.y. (The patch is already in 3.4, so no need to apply it for newer kernels.) It fixes a typo in a USB id. The symptom is that bluetooth does not get activated on affected laptops.

[PATCH] net: sock: validate data_len before allocating skb in sock_alloc_send_pskb()

2012-05-29 Thread Jason Wang
We need to validate the number of pages consumed by data_len, otherwise frags array could be overflowed by userspace. So this patch validate data_len and return -EMSGSIZE when data_len may occupies more frags than MAX_SKB_FRAGS. Cc: stable@vger.kernel.org [2.6.27+] Signed-off-by: Jason Wang