Re: [PATCH] hw_random: atmel-rng: fix race condition leading to repeated bits

2012-05-27 Thread Nicolas Ferre
On 05/25/2012 12:10 PM, Peter Korsgaard : >> "Nicolas" == Nicolas Ferre writes: > > Hi, > > Nicolas> What about a single read to ISR like this: > > Nicolas> tmp = readl(trng->base + TRNG_ODATA); > Nicolas> if (readl(trng->base + TRNG_ISR) & 1) { > Nicolas> *data = tmp; > Nicolas>

Re: [PATCH] hw_random: atmel-rng: fix race condition leading to repeated bits

2012-05-27 Thread Nicolas Ferre
On 05/25/2012 11:12 AM, Peter Korsgaard : > Data valid gets cleared by reading the ISR (status register) and NOT from > reading ODATA (data register). A new data word can become available between > checking ISR and reading ODATA, causing us to reuse the same data word next > time atmel_trng_read()

Re: [ 05/91] iwlwifi: use 6000G2B for 6030 device series

2012-05-27 Thread Ben Hutchings
On Sun, 2012-05-27 at 09:25 +0900, Greg KH wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Wey-Yi Guy > > commit 35e7adaaf6932c5ffb22c6ec521734434c65adc5 upstream. > > "iwlwifi: use correct released ucode version" change > t

Re: [ 10/94] iwlwifi: use 6000G2B for 6030 device series

2012-05-27 Thread Ben Hutchings
On Sun, 2012-05-27 at 10:04 +0900, Greg KH wrote: > 3.3-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Wey-Yi Guy > > commit 35e7adaaf6932c5ffb22c6ec521734434c65adc5 upstream. > > "iwlwifi: use correct released ucode version" change > t

Re: [ 00/91] 3.4.1-stable review

2012-05-27 Thread Willy Tarreau
Hi Greg, 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

Re: [PATCH for 3.2-] rtlwifi: Preallocate USB read buffers and eliminate kalloc in read routine

2012-05-27 Thread Ben Hutchings
On Sat, 2012-05-26 at 22:59 -0500, Larry Finger wrote: > commit a7959c1394d4126a70a53b914ce4105f5173d0aa > Author: Larry Finger > Date: Mon Mar 19 15:44:31 2012 -0500 > > rtlwifi: Preallocate USB read buffers and eliminate kalloc in read routine > > The current version of rtlwifi f

Re: [ 19/47] kmemleak: Fix the kmemleak tracking of the percpu areas with !SMP

2012-05-27 Thread Catalin Marinas
On Sat, May 26, 2012 at 11:01:40PM +0100, Ben Hutchings wrote: > On Fri, 2012-05-18 at 14:27 -0700, Greg KH wrote: > > 3.3-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Catalin Marinas > > > > commit 100d13c3b5b9410f604b86f5e0a3

Re: xfs: blocked task in xfs_buf_lock

2012-05-27 Thread Stefan Priebe
Hi, nobody who has an idea? Or what to check? Am 24.05.2012 13:14, schrieb Stefan Priebe - Profihost AG: Hi list, while testing ceph cluster and using XFS as the underlying filesystem, i've seen xfs blocking tasks several times. Kernel: 3.0.30 plus a patch labeled "xfs: don't wait for all pen

Re: [ 07/91] net/wireless: ipw2200: Fix WARN_ON occurring in wiphy_register called by ipw_pci_probe

2012-05-27 Thread Herton Ronaldo Krzesinski
On Sun, May 27, 2012 at 09:25:13AM +0900, Greg KH wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- As I see, this is not needed on 3.4.x or 3.3.x, since the commit "ipw2200: Fix order of device registration", wasn't included in 3.4 or any

Re: [PATCH for 3.2-] rtlwifi: Preallocate USB read buffers and eliminate kalloc in read routine

2012-05-27 Thread Larry Finger
On 05/27/2012 12:34 PM, Ben Hutchings wrote: On Sat, 2012-05-26 at 22:59 -0500, Larry Finger wrote: commit a7959c1394d4126a70a53b914ce4105f5173d0aa Author: Larry Finger Date: Mon Mar 19 15:44:31 2012 -0500 rtlwifi: Preallocate USB read buffers and eliminate kalloc in read routine T

Re: [ 12/94] net/wireless: ipw2200: Fix WARN_ON occurring in wiphy_register called by ipw_pci_probe

2012-05-27 Thread Herton Ronaldo Krzesinski
On Sun, May 27, 2012 at 10:04:35AM +0900, Greg KH wrote: > 3.3-stable review patch. If anyone has any objections, please let me know. > > -- Same as what I commented on this being proposed for 3.4.y, this would only be needed if "ipw2200: Fix order of device registration" was app

Re: [ 07/91] net/wireless: ipw2200: Fix WARN_ON occurring in wiphy_register called by ipw_pci_probe

2012-05-27 Thread Ben Hutchings
On Sun, 2012-05-27 at 16:24 -0300, Herton Ronaldo Krzesinski wrote: > On Sun, May 27, 2012 at 09:25:13AM +0900, Greg KH wrote: > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > As I see, this is not needed on 3.4.x or 3.3.x, since the c

Re: [ 00/91] 3.4.1-stable review

2012-05-27 Thread Greg KH
On Sun, May 27, 2012 at 07:02:48PM +0200, Willy Tarreau wrote: > Hi Greg, > > 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 pret

Re: [ 76/94] x86, realmode: 16-bit real-mode code support for relocs tool

2012-05-27 Thread Greg KH
On Sun, May 27, 2012 at 05:37:32PM +0100, Ben Hutchings wrote: > On Sun, 2012-05-27 at 10:05 +0900, Greg KH wrote: > > 3.3-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: "H. Peter Anvin" > > > > commit 6520fe5564acf07ade7b18a1272

Re: [PATCH] ixp4xx: fix compilation by adding gpiolib support

2012-05-27 Thread Krzysztof Halasa
Arnaud Patard (Rtp) writes: >> So has every kernel since 3.1 been broken, or is it just broken now >> but a good idea to backport anyway? > > every kernel since 3.1 (even 3.1-rc-something). Would be nice to see > this issue fixed as similar patches have been sent from time to time but > never bee

Re: [ 46/47] Avoid beyond bounds copy while caching ACL

2012-05-27 Thread Ben Hutchings
On Fri, 2012-05-18 at 14:27 -0700, Greg KH wrote: > 3.3-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Sachin Prabhu > > commit 5794d21ef4639f0e33440927bb903f9598c21e92 upstream. > > When attempting to cache ACLs returned from the serve

Re: [PATCH 2/7] pch_gbe: added the process of FIFO over run error

2012-05-27 Thread Tomoya MORINAGA
On Sun, May 27, 2012 at 9:12 AM, Greg KH wrote: > Sorry, I don't feel this is acceptable for 3.0 OK. > is out, and 3.3 is about to go end-of-life, Let me clarify. Is the above "3.3 is about to ..." is true ? 3.0 ? thanks -- ROHM Co., Ltd. tomoya -- To unsubscribe from this list: send the line "

Re: [PATCH 2/7] pch_gbe: added the process of FIFO over run error

2012-05-27 Thread Greg KH
On Mon, May 28, 2012 at 08:56:12AM +0900, Tomoya MORINAGA wrote: > On Sun, May 27, 2012 at 9:12 AM, Greg KH wrote: > > Sorry, I don't feel this is acceptable for 3.0 > OK. > > > is out, and 3.3 is about to go end-of-life, > Let me clarify. > Is the above "3.3 is about to ..." is true ? > 3.0 ? I

Re: [PATCH 2/7] pch_gbe: added the process of FIFO over run error

2012-05-27 Thread Tomoya MORINAGA
On Mon, May 28, 2012 at 9:47 AM, Greg KH wrote: > On Mon, May 28, 2012 at 08:56:12AM +0900, Tomoya MORINAGA wrote: >> On Sun, May 27, 2012 at 9:12 AM, Greg KH wrote: >> > Sorry, I don't feel this is acceptable for 3.0 >> OK. >> >> > is out, and 3.3 is about to go end-of-life, >> Let me clarify. >

Re: [PATCH 2/7] pch_gbe: added the process of FIFO over run error

2012-05-27 Thread Greg KH
On Mon, May 28, 2012 at 10:13:13AM +0900, Tomoya MORINAGA wrote: > On Mon, May 28, 2012 at 9:47 AM, Greg KH wrote: > > On Mon, May 28, 2012 at 08:56:12AM +0900, Tomoya MORINAGA wrote: > >> On Sun, May 27, 2012 at 9:12 AM, Greg KH wrote: > >> > Sorry, I don't feel this is acceptable for 3.0 > >> O

[ 000/117] 3.2.19-stable review

2012-05-27 Thread Ben Hutchings
This is the start of the stable review cycle for the 3.2.19 release. There are 117 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed May 30 03:11:59 UTC 2012. Anything recei

[ 008/117] bio: dont overflow in bio_get_nr_vecs()

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Kent Overstreet commit 5abebfdd02450fa1349daacf242e70b3736581e3 upstream. There were two places bio_get_nr_vecs() could overflow: First, it did a left shift to convert from sectors to bytes im

[ 017/117] [SCSI] hpsa: Fix problem with MSA2xxx devices

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "Stephen M. Cameron" commit 9bc3711cbb67ac620bf09b4a147cbab45b2c36c0 upstream. Upgraded firmware on Smart Array P7xx (and some others) made them show up as SCSI revision 5 devices and this caus

[ 014/117] arch/tile/Kconfig: remove pointless "!M386" test.

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Chris Metcalf commit 8d6951439ef524683057251f1231df232046b6b6 upstream. Looks like a cut and paste bug from the x86 version. Signed-off-by: Chris Metcalf Signed-off-by: Ben Hutchings --- ar

[ 047/117] Add missing call to uart_update_timeout()

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Lothar Waßmann commit 8b979f7c6bf13a57e7b6002f1175312a44773960 upstream. This patch fixes a problem reported here: http://article.gmane.org/gmane.linux.ports.arm.kernel/155242/match=auart Sig

[ 071/117] Input: wacom - relax Bamboo stylus ID check

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Chris Bagwell commit c5981411f60c31f0dff6f0f98d2d3711384badaf upstream. Bit 0x02 always means tip versus eraser. Bit 0x01 is something related to version of stylus and different values are star

[ 107/117] NFS4: fix compile warnings in nfs4proc.c

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit de040beccd52bb5fcac90031505384d037bc upstream. compile in nfs-for-3.3 branch shows following warnings. Fix it here. fs/nfs/nfs4proc.c: In function ‘__nfs4_get_acl_uncache

[ 112/117] x86, realmode: 16-bit real-mode code support for relocs tool

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. This is much longer than usually allowed for stable, but there doesn't seem to be any good alternative. The diff is also much smaller with rename detection on: Makefile |8 +- arc

[ 114/117] x86, relocs: When printing an error, say relative or absolute

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit 24ab82bd9bf18f3efc69a131d73577940941e1b7 upstream. When the relocs tool throws an error, let the error message say if it is an absolute or relative symbol. This should

[ 097/117] xen: do not map the same GSI twice in PVHVM guests.

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Stabellini commit 68c2c39a76b094e9b2773e5846424ea674bf2c46 upstream. PV on HVM guests map GSIs into event channels. At restore time the event channels are resumed by restore_pirqs. Dev

[ 105/117] drivers/rtc/rtc-pl031.c: configure correct wday for 2000-01-01

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Rajkumar Kasirajan commit c0a5f4a05af588a0f9951f8d24e2564b09501918 upstream. The reset date of the ST Micro version of PL031 is 2000-01-01. The correct weekday for 2000-01-01 is saturday, but

[ 074/117] ARM: 7409/1: Do not call flush_cache_user_range with mmap_sem held

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dima Zavin commit 435a7ef52db7d86e67a009b36cac1457f8972391 upstream. We can't be holding the mmap_sem while calling flush_cache_user_range because the flush can fault. If we fault on a user add

[ 069/117] mm: mempolicy: Let vma_merge and vma_split handle vma->vm_policy linkages

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 05f144a0d5c2207a0349348127f996e104ad7404 upstream. Dave Jones' system call fuzz testing tool "trinity" triggered the following bug error with slab debugging enabled

[ 089/117] mmc: sdio: avoid spurious calls to interrupt handlers

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit bbbc4c4d8c5face097d695f9bf3a39647ba6b7e7 upstream. Commit 06e8935feb ("optimized SDIO IRQ handling for single irq") introduced some spurious calls to SDIO function interrup

[ 096/117] spi/spi-fsl-spi: reference correct pdata in fsl_spi_cs_control

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Herton Ronaldo Krzesinski commit 067aa4815a9bc12a569d8a06afef50ba5773afbf upstream. Commit 178db7d3, "spi: Fix device unregistration when unregistering the bus master", changed spi device initi

[ 086/117] OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Danny Kukawka commit cc1d3e032df53d83d0ca4d537d8eb67eb5b3e808 upstream. Commit ba02fa37de80bea10d706f39f076dd848348320a disabled the venc driver registration on OMAP4. Since the driver never ge

[ 099/117] MCE: Fix vm86 handling for 32bit mce handler

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit a129a7c84582629741e5fa6f40026efcd7a65bd4 upstream. When running on 32bit the mce handler could misinterpret vm86 mode as ring 0. This can affect whether it does recovery or no

[ 108/117] Avoid reading past buffer when calling GETACL

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Prabhu commit 5a00689930ab975fdd1b37b034475017e460cf2a upstream. Bug noticed in commit bf118a342f10dafe44b14451a1392c3254629a1f When calling GETACL, if the size of the bitmap array, the

[ 085/117] dl2k: Clean up rio_ioctl

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Mahoney commit 1bb57e940e1958e40d51f2078f50c3a96a9b2d75 upstream. The dl2k driver's rio_ioctl call has a few issues: - No permissions checking - Implements SIOCGMIIREG and SIOCGMIIREG usin

[ 081/117] ACPI / PM: Add Sony Vaio VPCCW29FX to nonvs blacklist.

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Lan Tianyu commit 93f770846e8dedc5d9117bd4ad9d7efd18420627 upstream. Sony Vaio VPCCW29FX does not resume correctly without acpi_sleep=nonvs, so add it to the ACPI sleep blacklist. https://bugz

[ 104/117] block: dont mark buffers beyond end of disk as mapped

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Moyer commit 080399aaaf3531f5b8761ec0ac30ff98891e8686 upstream. Hi, We have a bug report open where a squashfs image mounted on ppc64 would exhibit errors due to trying to read beyond the

[ 103/117] ethtool: Null-terminate filename passed to ethtool_ops::flash_device

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 786f528119722f564a22ad953411374e06116333 upstream. The parameters for ETHTOOL_FLASHDEV include a filename, which ought to be null-terminated. Currently the only driver tha

[ 059/117] workqueue: skip nr_running sanity check in worker_enter_idle() if trustee is active

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 544ecf310f0e7f51fa057ac2a295fc1b3b35a9d3 upstream. worker_enter_idle() has WARN_ON_ONCE() which triggers if nr_running isn't zero when every worker is idle. This can trigger s

[ 110/117] i2c: tegra: notify transfer-complete after clearing status.

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Laxman Dewangan commit c889e91d2cc22123f20f40dde0c0a91856a20eea upstream. The notification of the transfer complete by calling complete() should be done after clearing all interrupt status. Thi

[ 054/117] USB: serial: ti_usb_3410_5052: Add support for the FRI2 serial console

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Darren Hart commit 975dc33b82cb887d75a29b1e3835c8eb063a8e99 upstream. The Kontron M2M development board, also known as the Fish River Island II, has an optional daughter card providing access t

[ 084/117] cifs: fix revalidation test in cifs_llseek()

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 48a5730e5b71201e226ff06e245bf308feba5f10 upstream. This test is always true so it means we revalidate the length every time, which generates more network traffic. When it

[ 106/117] rtlwifi: Preallocate USB read buffers and eliminate kalloc in read routine

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit a7959c1394d4126a70a53b914ce4105f5173d0aa upstream. The current version of rtlwifi for USB operations uses kmalloc to acquire a 32-bit buffer for each read of the device. Whe

[ 065/117] USB: Remove races in devio.c

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Huajun Li commit 4e09dcf20f7b5358615514c2ec8584b248ab8874 upstream. There exist races in devio.c, below is one case, and there are similar races in destroy_async() and proc_unlinkurb(). Remove

[ 077/117] memcg: free spare array to avoid memory leak

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sha Zhengju commit 8c7577637ca31385e92769a77e2ab5b428e8b99c upstream. When the last event is unregistered, there is no need to keep the spare array anymore. So free it to avoid memory leak. S

[ 113/117] x86, relocs: Workaround for binutils 2.22.52.0.1 section bug

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit a3e854d95a76862cd37937e0b0438f540536771a upstream. GNU ld 2.22.52.0.1 has a bug that it blindly changes symbols from section-relative to absolute if they are in a sectio

[ 117/117] x86, relocs: Add jiffies and jiffies_64 to the relative whitelist

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit ea17e7414bc62e8d3bde8d08e3df1d921c518c17 upstream. The symbol jiffies is created in the linker script as an alias to jiffies_64. Unfortunately this is done outside any

[ 052/117] USB: ohci-at91: add a reset function to fix race condition

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre commit 07e4e556eff4938eb2edf2591de3aa7d7fb82b52 upstream. A possible race condition appears because we are not initializing the ohci->regs before calling usb_hcd_request_irqs(). W

[ 080/117] ext4: fix error handling on inode bitmap corruption

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit acd6ad83517639e8f09a8c5525b1dccd81cd2a10 upstream. When insert_inode_locked() fails in ext4_new_inode() it most likely means inode bitmap got corrupted and we allocated again in

[ 102/117] intel-iommu: Add device info into list before doing context mapping

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit e2ad23d04c1304431ab5176c89b7b476ded2d995 upstream. Add device info into list before doing context mapping, because device info will be used by iommu_enable_dev_iotlb(). W

[ 091/117] [media] uvcvideo: Fix ENUMINPUT handling

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit 31c5f0c5e25ed71eeced170f113bb590f2f1f6f3 upstream. Properly validate the user-supplied index against the number of inputs. The code used the pin local variable instead o

[ 100/117] x86/mce: Fix check for processor context when machine check was taken.

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tony Luck commit 875e26648cf9b6db9d8dc07b7959d7c61fb3f49c upstream. Linus pointed out that there was no value is checking whether m->ip was zero - because zero is a legimate value. If we have

[ 063/117] USB: fix resource leak in xhci power loss path

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit f8a9e72d125f4e00ec529ba67b674321a1f3bf31 upstream. Some more data structures must be freed and counters reset if an XHCI controller has lost power. The failure to do so ren

[ 109/117] Avoid beyond bounds copy while caching ACL

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Prabhu commit 5794d21ef4639f0e33440927bb903f9598c21e92 upstream. When attempting to cache ACLs returned from the server, if the bitmap size + the ACL size is greater than a PAGE_SIZE but

[ 078/117] compat: Fix RT signal mask corruption via sigprocmask

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kiszka commit b7dafa0ef3145c31d7753be0a08b3cbda51f0209 upstream. compat_sys_sigprocmask reads a smaller signal mask from userspace than sigprogmask accepts for setting. So the high word of

[ 092/117] drm/i915: Avoid a double-read of PCH_IIR during interrupt handling

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 9adab8b5a7fde248504f484e197589f3e3c922e2 upstream. Currently the code re-reads PCH_IIR during the hotplug interrupt processing. Not only is this a wasted read, but introduce

[ 088/117] drm/i915: [GEN7] Use HW scheduler for fixed function shaders

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Widawsky commit a1e969e0332de7a430e62822cee8f2ec8d83cd7c upstream. This originally started as a patch from Bernard as a way of simply setting the VS scheduler. After submitting the RFC patc

[ 087/117] i2c-eg20t: change timeout value 50msec to 1000msec

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tomoya MORINAGA commit 8a52f9f347da721b199b7f9dcc0168bbe7d0baae upstream. Currently, during i2c works alone, wait-event timeout is not occurred. However, as CPU load increases, timeout occurs f

[ 116/117] x86-32, relocs: Whitelist more symbols for ld bug workaround

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit fd952815307f0f272bf49fd364a7fd2f9992bc42 upstream. As noted in checkin: a3e854d95 x86, relocs: Workaround for binutils 2.22.52.0.1 section bug ld version 2.22.52.0.[12

[ 101/117] tile: fix bug where fls(0) was not returning 0

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Chris Metcalf commit 9f1d62bed7f015d11b9164078b7fea433b474114 upstream. This is because __builtin_clz(0) returns 64 for the "undefined" case of 0, since the builtin just does a right-shift 32 a

[ 094/117] gpio: mpc8xxx: Prevent NULL pointer deref in demux handler

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit d6de85e85edcc38c9edcde45a0a568818fcddc13 upstream. commit cfadd838(powerpc/8xxx: Fix interrupt handling in MPC8xxx GPIO driver) added an unconditional call of chip->irq_e

[ 070/117] swap: dont do discard if no discard option added

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 052b1987faca3606109d88d96bce124851f7c4c2 upstream. When swapon() was not passed the SWAP_FLAG_DISCARD option, sys_swapon() will still perform a discard operation. This can ca

[ 062/117] perf/x86: Update event scheduling constraints for AMD family 15h models

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Robert Richter commit 5bcdf5e4fee3c45e1281c25e4941f2163cb28c65 upstream. This update is for newer family 15h cpu models from 0x02 to 0x1f. Signed-off-by: Robert Richter Acked-by: Peter Zijlst

[ 056/117] USB: cdc-wdm: add debug messages on cleanup

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 880bca3a2a6f159d7453e0cbcbfe2f1d8204d907 upstream. Device state cleanup is done in either wdm_disconnect or wdm_release depending on the order they are called. Adding a coupl

[ 073/117] ARM: 7365/1: drop unused parameter from flush_cache_user_range

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dima Zavin commit 4542b6a0fa6b48d9ae6b41c1efeb618b7a221b2a upstream. vma isn't used and flush_cache_user_range isn't a standard macro that is used on several archs with the same prototype. In f

[ 076/117] init: dont try mounting device as nfs root unless type fully matches

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 377485f6244af255b04d662cf19cddbbc4ae4310 upstream. Currently, we'll try mounting any device who's major device number is UNNAMED_MAJOR as NFS root. This would happen for non

[ 095/117] drm/i915: dont clobber the pipe param in sanitize_modesetting

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit a9dcf84b14ef4e9a609910367576995e6f32f3dc upstream. ... we need it later on in the function to clean up pipe <-> plane associations. This regression has been introduced in

[ 079/117] ext3: Fix error handling on inode bitmap corruption

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 1415dd8705394399d59a3df1ab48d149e1e41e77 upstream. When insert_inode_locked() fails in ext3_new_inode() it most likely means inode bitmap got corrupted and we allocated again in

[ 090/117] [media] smsusb: add autodetection support for USB ID 2040:c0a0

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Michael Krufky commit 4d1b58b84472d1d300a66e1c5fd765b21e74ba15 upstream. Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Ben Hutchings --- drivers/media/dv

[ 075/117] sony-laptop: Enable keyboard backlight by default

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Josh Boyer commit 6fe6ae56a7cebaebc2e6daa11c423e4692f9b592 upstream. When the keyboard backlight support was originally added, the commit said to default it to on with a 10 second timeout. Tha

[ 115/117] x86, relocs: Build clean fix

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Sakkinen commit b2d668da9307c4c163dd603d2bb3cadb10f9fd37 upstream. relocs was not cleaned up when "make clean" is issued. This patch fixes the issue. Signed-off-by: Jarkko Sakkinen Lin

[ 055/117] USB: cdc-wdm: poll must return POLLHUP if device is gone

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 616b6937e348ef2b4c6ea5fef2cd3c441145efb0 upstream. Else the poll will be restarted indefinitely in a tight loop, preventing final device cleanup. Cc: Oliver Neukum Signed-o

[ 111/117] i2c: davinci: Free requested IRQ in remove

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Marcus Folkesson commit 9868a060ccf769c08ec378a9829137e272e9a92c upstream. The freed IRQ is not necessary the one requested in probe. Even if it was, with two or more i2c-controllers it will fa

[ 053/117] HID: logitech: read all 32 bits of report type bitfield

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Nieder commit 44d27f7dfedd9aadc082cda31462f6600f56e4ec upstream. On big-endian systems (e.g., Apple PowerBook), trying to use a logitech wireless mouse with the Logitech Unifying Recei

[ 066/117] md: using GFP_NOIO to allocate bio for flush request

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit b5e1b8cee7ad58a15d2fa79bcd7946acb592602d upstream. A flush request is usually issued in transaction commit code path, so using GFP_KERNEL to allocate memory for flush request

[ 050/117] HID: wiimote: Fix IR data parser

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: David Herrmann commit 74b89e8a3625c17c7452532dfb997ac4f1a38751 upstream. We incorrectly parse incoming IR data. The extra byte contains the upper bits and not the lower bits of the x/y coordina

[ 049/117] USB: ffs-test: fix length argument of out function call

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Matthias Fend commit eb9c5836384cd2a276254df6254ed71117983626 upstream. The out functions should only handle actual available data instead of the complete buffer. Otherwise for example the ep0

[ 093/117] b43legacy: Fix error due to MMIO access with SSB unpowered

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 8f4b20388fa77226a3605627a33a23f90d559e50 upstream. There is a dummy read of a PCI MMIO register that occurs before the SSB bus has been powered, which is an error. This bug

[ 098/117] nouveau: nouveau_set_bo_placement takes TTM flags

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit c284815debba2f14ee2fd07b1b4cc972ab116110 upstream. This seems to be wrong to me, spotted while thinking about dma-buf. Reviewed-by: Ben Skeggs Signed-off-by: Dave Airlie S

[ 083/117] wake up s_wait_unfrozen when ->freeze_fs fails

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Kazuya Mio commit e1616300a20c80396109c1cf013ba9a36055a3da upstream. dd slept infinitely when fsfeeze failed because of EIO. To fix this problem, if ->freeze_fs fails, freeze_super() wakes up t

[ 082/117] [SCSI] hpsa: Add IRQF_SHARED back in for the non-MSI(X) interrupt handler

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "Stephen M. Cameron" commit 45bcf018d1a4779d592764ef57517c92589d55d7 upstream. IRQF_SHARED is required for older controllers that don't support MSI(X) and which may end up sharing an interrupt.

[ 060/117] xhci: Add new short TX quirk for Fresco Logic host.

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 1530bbc6272d9da1e39ef8e06190d42c13a02733 upstream. Sergio reported that when he recorded audio from a USB headset mic plugged into the USB 3.0 port on his ASUS N53SV-DH72, th

[ 051/117] usb-storage: unusual_devs entry for Yarvik PMP400 MP4 player

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit df767b71e5816692134d59c0c17e0f77cd7d upstream. This patch (as1553) adds an unusual_dev entrie for the Yarvik PMP400 MP4 music player. Signed-off-by: Alan Stern Reported-

[ 019/117] cfg80211: warn if db.txt is empty with CONFIG_CFG80211_INTERNAL_REGDB

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "Luis R. Rodriguez" commit 80007efeff0568375b08faf93c7aad65602cb97e upstream. It has happened twice now where elaborate troubleshooting has undergone on systems where CONFIG_CFG80211_INTERNAL_R

[ 057/117] USB: cdc-wdm: cannot use dev_printk when device is gone

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 6b0b79d38806481c1c8fffa7c5842f3c83679a42 upstream. We cannot dereference a removed USB interface for dev_printk. Use pr_debug instead where necessary. Flush errors are expec

[ 048/117] USB: ftdi-sio: add support for Physik Instrumente E-861

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Éric Piel commit b69cc672052540e8efb1368420f10d7d4d8b8a3d upstream. This adds VID/PID for the PI E-861. Without it, I had to do: modprobe -q ftdi-sio product=0x1008 vendor=0x1a72 http://www.p

[ 072/117] ahci: Detect Marvell 88SE9172 SATA controller

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Matt Johnson commit 642d89252201c4155fc3946bf9cdea409e5d263e upstream. The Marvell 88SE9172 SATA controller (PCI ID 1b4b 917a) already worked once it was detected, but was missing an ahci_pci_t

[ 068/117] um: Fix __swp_type()

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 2b76ebaa728f8a3967c52aa189261c72fe56a6f1 upstream. The current __swp_type() function uses a too small bitshift. Using more than one swap files causes bad pages because

[ 061/117] usbcore: enable USB2 LPM if port suspend fails

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Andiry Xu commit c3e751e4f4754793bb52bd5ae30e9cc027edbb12 upstream. USB2 LPM is disabled when device begin to suspend and enabled after device is resumed. That's because USB spec does not defin

[ 067/117] um: Implement a custom pte_same() function

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit f15b9000eb1d09bbaa4b0a6b2089d7e1f64e84b3 upstream. UML uses the _PAGE_NEWPAGE flag to mark pages which are not jet installed on the host side using mmap(). pte_same()

[ 058/117] tty: Allow uart_register/unregister/register

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Cox commit 1e66cded334e6cea596c72f6f650eec351b1e959 upstream. This is legitimate but because we don't clear the drv->state pointer in the unregister code causes a bogus BUG(). Resolves-bu

[ 041/117] usb: usbtest: two super speed fixes for usbtest

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Paul Zimmerman commit 6a23ccd216b6a8ba2c67a9f9d8969b4431ad2920 upstream. bMaxPacketSize0 field for super speed is a power of 2, not a count. The size itself is always 512. Max packet size for

[ 044/117] xhci: Avoid dead ports when CONFIG_USB_XHCI_HCD=n

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 51c9e6c7732b67769c0a514d31f505e49fa82dd4 upstream. If the user chooses to say "no" to CONFIG_USB_XHCI_HCD on a system with an Intel Panther Point chipset, the PCI quirks code

[ 064/117] xhci: Reset reserved command ring TRBs on cleanup.

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 33b2831ac870d50cc8e01c317b07fb1e69c13fe1 upstream. When the xHCI driver needs to clean up memory (perhaps due to a failed register restore on resume from S3 or resume from S4

[ 040/117] usb: add USB_QUIRK_RESET_RESUME for M-Audio 88es

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Müller commit 166cb70e97bd83d7ae9bbec6ae59a178fd9bb823 upstream. Tested-by: Steffen Müller Signed-off-by: Steffen Müller Signed-off-by: Stefan Seyfried Signed-off-by: Greg Kroah-H

[ 027/117] iommu: Fix off by one in dmar_get_fault_reason()

2012-05-27 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit fefe1ed1398b81e3fadc92d11d91162d343c8836 upstream. fault_reason - 0x20 == ARRAY_SIZE(irq_remap_fault_reasons) is one past the end of the array. Signed-off-by: Dan Carpente

  1   2   >