[PATCH 1/2] USB: DWC3: Fix giveback of queued request in ep_dequeue

2012-06-15 Thread Pratyush Anand
In case of ep_dequeue , if dequeued request was submitted for dma transfer, then endpoint is stopped. Once endpoint is stooped, callback for the dequeued request must be called. Signed-off-by: Pratyush Anand pratyush.an...@st.com --- drivers/usb/dwc3/gadget.c |3 ++- 1 files changed, 2

[PATCH 3.4] iwlwifi: fix the Transmit Frame Descriptor rings

2012-06-15 Thread Johannes Berg
From: Emmanuel Grumbach emmanuel.grumb...@intel.com commit ebed633c61c023e5d1aa4ed159cd67406e9e37c2 upstream. The logic that allows to have a short TFD queue was completely wrong. We do maintain 256 Transmit Frame Descriptors, but they point to recycled buffers. We used to attach and de-attach

[PATCH 3.4] iwlwifi: use correct supported firmware for 6035 and 6000g2

2012-06-15 Thread Johannes Berg
From: Meenakshi Venkataraman meenakshi.venkatara...@intel.com commit d2c8b15d0cb486f4938ba7f2af349d9d1220cb10 upstream. My patch iwlwifi: use correct released ucode version did not correctly report supported firmware for the 6035 device. This patch fixes it. The minimum supported firmware

[PATCH 3.4] iwlwifi: fix TX power antenna access

2012-06-15 Thread Johannes Berg
From: Johannes Berg johannes.b...@intel.com commit a5fdde28b4f5fb756032e7ad2c6fcdcffde20958 upstream. Since my commit iwlwifi: use valid TX/RX antenna from hw_params the config values are pure overrides, not the real values for all hardware. Therefore, the EEPROM TX power reading code checks

[PATCH 1/1] ARM: ux500: Fix build errors/warnings when MACH_UX500_DT is not set

2012-06-15 Thread Lee Jones
When MACH_UX500_DT and all related Device Tree configurations are forced off the warning and error below prevent the kernel from compiling. This simple patch fixes both issues and allows for full build and boot of ST-Ericsson's low-cost development board, Snowball. Warnings fixed:

[PATCH] can: c_can: precedence error in c_can_chip_config()

2012-06-15 Thread Marc Kleine-Budde
From: Dan Carpenter dan.carpen...@oracle.com (CAN_CTRLMODE_LISTENONLY CAN_CTRLMODE_LOOPBACK) is (0x02 0x01) which is zero so the condition is never true. The intent here was to test that both flags were set. Cc: sta...@kernel.org # 2.6.39+ Signed-off-by: Dan Carpenter dan.carpen...@oracle.com

From all Hyper-V admins: Big thanks! Re: [ 41/42] libata + [ 42/42] ata_piix: defer disks to the Hyper-V drivers by default has been added to the 3.4-stable tree

2012-06-15 Thread Victor Miasnikov
Hi! == From: Greg KH Sent: Friday, June 15, 2012 2:57 AM 3.4-stable review patches: has been added to the 3.4-stable tree [ 41/42] libata: add a host flag to ignore detected ATA devices [ 42/42] ata_piix: defer disks to the Hyper-V drivers by default == From all Hyper-V admins: Big

Re: [PATCH] ACPI, cpuidle: Fix suspend/resume regression caused by cpuidle cleanup.

2012-06-15 Thread Deepthi Dharwar
Please include this in -stable tree, as this is a regression fix which affects older kernels ( 3.1 onwards ) Link to the patch : http://permalink.gmane.org/gmane.linux.power-management.general/27614 Thanks ! Deepthi On 06/14/2012 01:31 AM, Rafael J. Wysocki wrote: On Wednesday, June 13, 2012,

Re: [PATCH] ACPI, cpuidle: Fix suspend/resume regression caused by cpuidle cleanup.

2012-06-15 Thread Deepthi Dharwar
Apologies for the confusion. Please add the Cc: stable tag for this patch as this regression affects older kernels too. Link to the patch : http://permalink.gmane.org/gmane.linux.power-management.general/27614 Thanks ! Deepthi On 06/15/2012 05:46 PM, Deepthi Dharwar wrote: Please include

Re: [PATCH] ACPI, cpuidle: Fix suspend/resume regression caused by cpuidle cleanup.

2012-06-15 Thread Deepthi Dharwar
Apologies for the confusion. Please add the Cc: stable tag for this patch as this regression affects older kernels too. Link to the patch : http://permalink.gmane.org/gmane.linux.power-management.general/27614 Thanks ! Deepthi On 06/15/2012 05:46 PM, Deepthi Dharwar wrote: Please include

Re: [PATCH] Fix the relax_domain_level boot parameter

2012-06-15 Thread Ingo Molnar
* Dimitri Sivanich sivan...@sgi.com wrote: On Thu, Jun 14, 2012 at 08:49:35AM -0700, Greg KH wrote: On Thu, Jun 14, 2012 at 07:55:07AM -0500, Dimitri Sivanich wrote: Could commit a841f8cef4bb124f0f5563314d0beaf2e1249d72 be added to the stable tree? For which stable tree? 3.0

[PATCH -stable] ntp: Correct TAI offset during leap second

2012-06-15 Thread John Stultz
Hey Greg, Forgot to cc stable on this one. Thanks to Dave Jones for noticing! -john -- From: Richard Cochranrichardcoch...@gmail.com commit dd48d708ff3e917f6d6b6c2b696c3f18c019feed upstream. When repeating a UTC time value during a leap second (when the UTC time should be

Re: [PATCH -stable] ntp: Correct TAI offset during leap second

2012-06-15 Thread John Stultz
On 06/15/2012 11:56 AM, John Stultz wrote: Hey Greg, Forgot to cc stable on this one. Thanks to Dave Jones for noticing! -john Gah. Thunderbird's preformat wrecked that one. Sorry. Here it is again. -john -- From: Richard Cochranrichardcoch...@gmail.com commit

[PATCH] staging: r8712u: Add new USB IDs

2012-06-15 Thread Larry Finger
From: Lubomir Schmidt gentoo.lubo...@googlemail.com There are two new devices for this driver. Signed-off-by: Larry Finger larry.fin...@lwfinger.net Cc: Stable stable@vger.kernel.org --- drivers/staging/rtl8712/usb_intf.c |2 ++ 1 file changed, 2 insertions(+) diff --git

patch staging: r8712u: Add new USB IDs added to staging tree

2012-06-15 Thread gregkh
This is a note to let you know that I've just added the patch titled staging: r8712u: Add new USB IDs to my staging git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git in the staging-linus branch. The patch will show up in the next release of

Re: [PATCH] driver core: fix shutdown races with probe/remove(v2)

2012-06-15 Thread Greg Kroah-Hartman
On Mon, Jun 11, 2012 at 01:13:20PM +0800, Ming Lei wrote: Firstly, .shutdown callback may touch a uninitialized hardware if dev-driver is set and .probe is not completed. Secondly, device_shutdown() may dereference a null pointer to cause oops when dev-driver is cleared after it is checked

Patch Upstream: USB: fix gathering of interface associations

2012-06-15 Thread Gregs git-bot
commit: b3a3dd074f7053ef824ad077e5331b52220ceba1 From: Daniel Mack zon...@gmail.com Date: Tue, 12 Jun 2012 20:23:52 +0200 Subject: USB: fix gathering of interface associations TEAC's UD-H01 (and probably other devices) have a gap in the interface number allocation of their descriptors:

Patch Upstream: Make hard_irq_disable() actually hard-disable interrupts

2012-06-15 Thread Gregs git-bot
commit: f948501b36c6b3d9352ce212a197098a7e958971 From: Paul Mackerras pau...@samba.org Date: Fri, 15 Jun 2012 14:51:39 +1000 Subject: Make hard_irq_disable() actually hard-disable interrupts At present, hard_irq_disable() does nothing on powerpc because of this code in include/linux/interrupt.h:

Patch Upstream: usb: cdc-acm: fix devices not unthrottled on open

2012-06-15 Thread Gregs git-bot
commit: 6c4707f3f8c44ec18282e1c014c80e1c257042f9 From: Otto Meta otto.patc...@sister-shadow.de Date: Wed, 6 Jun 2012 18:46:21 +0200 Subject: usb: cdc-acm: fix devices not unthrottled on open Currently CDC-ACM devices stay throttled when their TTY is closed while throttled, stalling further

Patch Upstream: usb-storage: Add 090c:1000 to unusal-devs

2012-06-15 Thread Gregs git-bot
commit: afff07e61a5243e14ee3f0a272a0380cd744a8a3 From: Hans de Goede hdego...@redhat.com Date: Wed, 13 Jun 2012 11:44:58 +0200 Subject: usb-storage: Add 090c:1000 to unusal-devs This device gives a bogus answer to get_capacity(16): [ 8628.278614] scsi 8:0:0:0: Direct-Access USB 2.0 USB Flash

Patch Upstream: xHCI: Increase the timeout for controller save/restore state operation

2012-06-15 Thread Gregs git-bot
commit: 622eb783fe6ff4c1baa47db16c3a5db97f9e6e50 From: Andiry Xu andiry...@gmail.com Date: Wed, 13 Jun 2012 10:51:57 +0800 Subject: xHCI: Increase the timeout for controller save/restore state operation When system software decides to power down the xHC with the intent of resuming operation at a

Patch Upstream: xhci: Don't free endpoints in xhci_mem_cleanup()

2012-06-15 Thread Gregs git-bot
commit: 32f1d2c536d0c26c5814cb0e6a0606c42d02fac1 From: Takashi Iwai ti...@suse.de Date: Fri, 1 Jun 2012 10:06:24 +0200 Subject: xhci: Don't free endpoints in xhci_mem_cleanup() This patch fixes a few issues introduced in the recent fix [f8a9e72d: USB: fix resource leak in xhci power loss path] -

Patch Upstream: USB: fix PS3 EHCI systems

2012-06-15 Thread Gregs git-bot
commit: 4f7a67e2dd49fbfba002c453bc24bf00e701cc71 From: Ricardo Martins r...@fe.up.pt Date: Tue, 22 May 2012 18:02:03 +0100 Subject: USB: fix PS3 EHCI systems After commit aaa0ef289afe9186f81e2340114ea413eef0492a PS3 EHCI QH read work-around, Terratec Grabby (em28xx) stopped working with AMD Geode

Patch Upstream: USB: add NO_D3_DURING_SLEEP flag and revert 151b61284776be2

2012-06-15 Thread Gregs git-bot
commit: c2fb8a3fa25513de8fedb38509b1f15a5bbee47b From: Alan Stern st...@rowland.harvard.edu Date: Wed, 13 Jun 2012 11:20:19 -0400 Subject: USB: add NO_D3_DURING_SLEEP flag and revert 151b61284776be2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This

Patch Upstream: USB: serial: Enforce USB driver and USB serial driver match

2012-06-15 Thread Gregs git-bot
commit: 954c3f8a5f1b7716be9eee978b3bc85bae92d7c8 From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= bj...@mork.no Date: Wed, 30 May 2012 10:00:14 +0200 Subject: USB: serial: Enforce USB driver and USB serial driver match MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit

Patch Upstream: xhci: Fix invalid loop check in xhci_free_tt_info()

2012-06-15 Thread Gregs git-bot
commit: 46ed8f00d8982e49f8fe2c1a9cea192f640cb3ba From: Takashi Iwai ti...@suse.de Date: Fri, 1 Jun 2012 10:06:23 +0200 Subject: xhci: Fix invalid loop check in xhci_free_tt_info() xhci_free_tt_info() may access the invalid memory when it removes the last entry but the list is not empty. Then

Patch Upstream: USB: mct_u232: Fix incorrect TIOCMSET return

2012-06-15 Thread Gregs git-bot
commit: 1aa3c63cf0a79153ee13c8f82e4eb6c40b66a161 From: Alan Cox a...@linux.intel.com Date: Tue, 22 May 2012 20:45:13 +0100 Subject: USB: mct_u232: Fix incorrect TIOCMSET return The low level helper returns 1 on success. The ioctl should however return 0. As this is the only user of the helper

Patch Upstream: USB: option: fix port-data abuse

2012-06-15 Thread Gregs git-bot
commit: 4273f9878b0a8271df055e3c8f2e7f08c6a4a2f4 From: Johan Hovold jhov...@gmail.com Date: Tue, 29 May 2012 17:57:52 +0200 Subject: USB: option: fix port-data abuse Commit 8b4c6a3ab596961b78465 (USB: option: Use generic USB wwan code) moved option port-data allocation to usb_wwan_startup but

Patch Upstream: USB: option: fix memory leak

2012-06-15 Thread Gregs git-bot
commit: b9c3aab315b51f81649a0d737c4c73783fbd8de0 From: Johan Hovold jhov...@gmail.com Date: Tue, 29 May 2012 18:22:48 +0200 Subject: USB: option: fix memory leak Fix memory leak introduced by commit 383cedc3bb435de7a2 (USB: serial: full autosuspend support for the option driver) which allocates

Patch Upstream: USB: mos7840: Fix compilation of usb serial driver

2012-06-15 Thread Gregs git-bot
commit: b9c87663eead64c767e72a373ae6f8a94bead459 From: Tony Zelenoff ant...@parallels.com Date: Tue, 5 Jun 2012 17:58:04 +0400 Subject: USB: mos7840: Fix compilation of usb serial driver The __devinitconst section can't be referenced from usb_serial_device structure. Thus removed it as it done in

Patch Upstream: target: Return error to initiator if SET TARGET PORT GROUPS emulation fails

2012-06-15 Thread Gregs git-bot
commit: 59e4f541baf728dbb426949bfa9f6862387ffd0e From: Roland Dreier rol...@purestorage.com Date: Mon, 4 Jun 2012 23:24:51 -0700 Subject: target: Return error to initiator if SET TARGET PORT GROUPS emulation fails The error paths in target_emulate_set_target_port_groups() are all essentially rc

Patch Upstream: USB: option: add more YUGA device ids

2012-06-15 Thread Gregs git-bot
commit: 0ef0be15fd2564767f114c249fc4af704d8e16f4 From: =?UTF-8?q?=E8=AF=B4=E4=B8=8D=E5=BE=97?= gavin...@qq.com Date: Mon, 28 May 2012 21:31:29 +0800 Subject: USB: option: add more YUGA device ids Signed-off-by: gavin zhu gavin@qq.com Cc: stable stable@vger.kernel.org Signed-off-by: Greg

Patch Upstream: USB: cdc-wdm: Add Vodafone/Huawei K5005 support

2012-06-15 Thread Gregs git-bot
commit: de102ef41f24a4c251c4a3838796bb27557d4d93 From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= bj...@mork.no Date: Sat, 19 May 2012 19:19:48 +0200 Subject: USB: cdc-wdm: Add Vodafone/Huawei K5005 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested-by:

Patch Upstream: USB: option: Add Vodafone/Huawei K5005 support

2012-06-15 Thread Gregs git-bot
commit: 4cbbb039a9719fb3bba73d255c6a95bc6dc6428b From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= bj...@mork.no Date: Sat, 19 May 2012 19:20:50 +0200 Subject: USB: option: Add Vodafone/Huawei K5005 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tested-by:

Patch Upstream: USB: qcserial: Add Sierra Wireless device IDs

2012-06-15 Thread Gregs git-bot
commit: c41444ccfa33a1c20efa319e554cb531576e64a2 From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= bj...@mork.no Date: Thu, 24 May 2012 11:19:04 +0200 Subject: USB: qcserial: Add Sierra Wireless device IDs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some additional

Patch Upstream: USB: ftdi-sio: Add support for RT Systems USB-RTS01 serial adapter

2012-06-15 Thread Gregs git-bot
commit: e00a54d772210d450e5c1a801534c3c8a448549f From: Evan McNabb e...@mcnabbs.org Date: Fri, 25 May 2012 22:46:14 -0400 Subject: USB: ftdi-sio: Add support for RT Systems USB-RTS01 serial adapter Add support for RT Systems USB-RTS01 USB to Serial adapter:

Patch Upstream: USB: serial: cp210x: add Optris MS Pro usb id

2012-06-15 Thread Gregs git-bot
commit: 5bbfa6f427c1d7244a5ee154ab8fa37265a5e049 From: Mikko Tuumanen mikko.tuuma...@qemsoftware.com Date: Fri, 1 Jun 2012 11:28:55 +0300 Subject: USB: serial: cp210x: add Optris MS Pro usb id Signed-off-by: Mikko Tuumanen mikko.tuuma...@qemsoftware.com Cc: stable stable@vger.kernel.org

Patch Upstream: USB: serial: sierra: Add support for Sierra Wireless AirCard 320U modem

2012-06-15 Thread Gregs git-bot
commit: 19a3dd1575e954e8c004413bee3e12d3962f2525 From: Tom Cassidy tomas.cass...@gmail.com Date: Wed, 6 Jun 2012 17:08:48 +1000 Subject: USB: serial: sierra: Add support for Sierra Wireless AirCard 320U modem Add support for Sierra Wireless AirCard 320U modem Signed-off-by: Tomas Cassidy

Patch Upstream: USB: option: Updated Huawei K4605 has better id

2012-06-15 Thread Gregs git-bot
commit: 42ca7da1c2363dbef4ba1b6917c4c02274b6a5e2 From: Andrew Bird a...@spheresystems.co.uk Date: Mon, 28 May 2012 12:43:06 +0100 Subject: USB: option: Updated Huawei K4605 has better id Later firmwares for this device now have proper subclass and protocol info so we can identify it nicely

Patch Upstream: NFSv4: Fix unnecessary delegation returns in nfs4_do_open

2012-06-15 Thread Gregs git-bot
commit: 2d0dbc6ae8a5194aaecb9cfffb9053f38fce8b86 From: Trond Myklebust trond.mykleb...@netapp.com Date: Fri, 8 Jun 2012 10:58:09 -0400 Subject: NFSv4: Fix unnecessary delegation returns in nfs4_do_open While nfs4_do_open() expects the fmode argument to be restricted to combinations of FMODE_READ

Patch Upstream: rpc_pipefs: allow rpc_purge_list to take a NULL waitq pointer

2012-06-15 Thread Gregs git-bot
commit: 92123e068efa310b09e9943ac1cfd10ff6b6d2e4 From: Jeff Layton jlay...@redhat.com Date: Mon, 11 Jun 2012 10:03:42 -0400 Subject: rpc_pipefs: allow rpc_purge_list to take a NULL waitq pointer In the event that we don't have a dentry for a rpc_pipefs pipe, we still need to allow the

Patch Upstream: usb: musb: davinci: Fix build breakage

2012-06-15 Thread Gregs git-bot
commit: 6594b2d7b1ef8260e6e36ddc96bd37a40e39ba80 From: Jon Povey jon.po...@racelogic.co.uk Date: Fri, 25 May 2012 10:50:18 +0900 Subject: usb: musb: davinci: Fix build breakage This appears to have been broken by commit 5cfb19ac604a68c030b245561f575c2d1bac1d49 (ARM: davinci: streamline sysmod

Patch Upstream: usb: musb_gadget: fix crash caused by dangling pointer

2012-06-15 Thread Gregs git-bot
commit: 08f75bf14fadaa81fe362d5acda9b77b113dd0a2 From: Grazvydas Ignotas nota...@gmail.com Date: Sat, 26 May 2012 00:21:33 +0300 Subject: usb: musb_gadget: fix crash caused by dangling pointer usb_ep_ops.disable must clear external copy of the endpoint descriptor, otherwise musb crashes after

Patch Upstream: [SCSI] mpt2sas: Fix unsafe using smp_processor_id() in preemptible

2012-06-15 Thread Gregs git-bot
commit: a2c658505bf5c75516ee0a79287223e86a2474af From: nagalakshmi.nandig...@lsi.com nagalakshmi.nandig...@lsi.com Date: Tue, 17 Apr 2012 11:25:04 +0530 Subject: [SCSI] mpt2sas: Fix unsafe using smp_processor_id() in preemptible When CONFIG_DEBUG_PREEMPT is enabled, bug is observed in the

Patch Upstream: tracing: Have tracing_off() actually turn tracing off

2012-06-15 Thread Gregs git-bot
commit: f2bf1f6f5f89d031245067512449fc889b2f4bb2 From: Steven Rostedt srost...@redhat.com Date: Wed, 6 Jun 2012 19:50:40 -0400 Subject: tracing: Have tracing_off() actually turn tracing off A recent update to have tracing_on/off() only affect the ftrace ring buffers instead of all ring buffers

Patch Upstream: NFSv4.1: Fix a request leak on the back channel

2012-06-15 Thread Gregs git-bot
commit: b3b02ae5865c2dcd506322e0fc6def59a042e72f From: Trond Myklebust trond.mykleb...@netapp.com Date: Thu, 31 May 2012 15:26:38 -0400 Subject: NFSv4.1: Fix a request leak on the back channel If the call to svc_process_common() fails, then the request needs to be freed before we can exit

Patch Upstream: xen/setup: filter APERFMPERF cpuid feature out

2012-06-15 Thread Gregs git-bot
commit: 5e626254206a709c6e937f3dda69bf26c7344f6f From: Andre Przywara andre.przyw...@amd.com Date: Tue, 29 May 2012 13:07:31 +0200 Subject: xen/setup: filter APERFMPERF cpuid feature out Xen PV kernels allow access to the APERF/MPERF registers to read the effective frequency. Access to the MSRs

Patch Upstream: xen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness.

2012-06-15 Thread Gregs git-bot
commit: 5842f5768599094758931b74190cdf93641a8e35 From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Wed, 23 May 2012 12:56:59 -0400 Subject: xen/hvc: Check HVM_PARAM_CONSOLE_[EVTCHN|PFN] for correctness. We need to make sure that those parameters are setup to be correct. As such the value

Patch Upstream: xen/hvc: Collapse error logic.

2012-06-15 Thread Gregs git-bot
commit: 2e5ad6b9c45d43cc4e7b8ac5ded1c55a7c4a3893 From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Wed, 23 May 2012 12:53:11 -0400 Subject: xen/hvc: Collapse error logic. All of the error paths are doing the same logic. In which case we might as well collapse them in one path. CC:

Patch Upstream: xen/hvc: Fix error cases around HVM_PARAM_CONSOLE_PFN

2012-06-15 Thread Gregs git-bot
commit: a32c88b9386ce3df87f28dd46bdc3776cd6edf75 From: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Wed, 23 May 2012 12:55:38 -0400 Subject: xen/hvc: Fix error cases around HVM_PARAM_CONSOLE_PFN We weren't resetting the parameter to be passed in to a known default. Nor were we checking the