[ 26/95] ath9k: fix decrypt_error initialization in ath_rx_tasklet()

2012-09-09 Thread Ben Hutchings
waste of CPU time since mac80211 tries to decrypt an already deciphered frame with ieee80211_aes_ccm_decrypt. Fix the issue initializing decrypt_error flag at the begging of the ath_rx_tasklet() loop. Signed-off-by: Lorenzo Bianconi Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings

[ 36/95] md: Dont truncate size at 4TB for RAID0 and Linear

2012-09-09 Thread Ben Hutchings
g was introduced in 3.1 and is suitable for any stable kernels from then onwards. As the offending commit was tagged for 'stable', any stable kernel that it was applied to should also get this patch. That includes at least 2.6.32, 2.6.33 and 3.0. (Thanks to Ben Hutchings for providing that list).

[ 27/95] drm/nvd0/disp: mask off high 16 bit of negative cursor x-coordinate

2012-09-09 Thread Ben Hutchings
local 'data' variable] Signed-off-by: Ben Hutchings --- drivers/gpu/drm/nouveau/nvd0_display.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/nouveau/nvd0_display.c +++ b/drivers/gpu/drm/nouveau/nvd0_display.c @@ -472,7 +472,7 @@ static int nvd0_crtc_c

[ 12/95] xhci: Switch PPT ports to EHCI on shutdown.

2012-09-09 Thread Ben Hutchings
This patch should be backported to kernels as old as 3.0, that contain the commit 69e848c2090aebba5698a1620604c7dccb448684 "Intel xhci: Support EHCI/xHCI port switching." Signed-off-by: Sarah Sharp Reported-by: Denis Turischev Tested-by: Denis Turischev Signed-off-by: Ben Hutchings -

Re: [ 25/95] mutex: Place lock in contended state after fastpath_lock failure

2012-09-09 Thread Ben Hutchings
On Sun, 2012-09-09 at 19:34 -0400, Nicolas Pitre wrote: > On Sun, 9 Sep 2012, Ben Hutchings wrote: > > > 3.2-stable review patch. If anyone has any objections, please let me know. > > Once you have this patch included, could you pick up commit a76d7bd96d > as well pl

Re: [ 12/95] xhci: Switch PPT ports to EHCI on shutdown.

2012-09-10 Thread Ben Hutchings
not &&. With this code, it > appears the quirk will always be triggered since XHCI_SPURIOUS_REBOOT is > non-zero. [...] As the typo is not fixed in mainline, I can't fix it in 3.2.y yet. So I'll defer this until that happens. Thanks for your review. Ben. -- Ben

Re: [ 84/95] virtio_blk: fix config handler race

2012-09-10 Thread Ben Hutchings
On Mon, 2012-09-10 at 11:56 +0930, Rusty Russell wrote: > Ben Hutchings writes: > > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: "Michael S. Tsirkin" > > > >

Re: [ 28/52] xHCI: add cmd_ring_state

2012-10-06 Thread Ben Hutchings
he real fix that also allows > VIA USB 3.0 hubs to consistently re-enumerate during the plug/unplug > stress tests. [...] -- Ben Hutchings You can't have everything. Where would you put it? signature.asc Description: This is a digitally signed message part

Re: [ 29/52] xHCI: add aborting command ring function

2012-10-06 Thread Ben Hutchings
u32 result; [...] I don't think it matters for stable, but since this function is now extern it should have an 'xhci_' prefix. Ben. -- Ben Hutchings You can't have everything. Where would you put it? signature.asc Description: This is a digitally signed message part

Re: [ 110/180] ext4: dont let i_reserved_meta_blocks go negative

2012-10-06 Thread Ben Hutchings
On Fri, 2012-10-05 at 07:59 -0400, Brian Foster wrote: > On 10/04/2012 05:55 PM, Ben Hutchings wrote: > > On Tue, Oct 02, 2012 at 12:53:47AM +0200, Willy Tarreau wrote: > >> 2.6.32-longterm review patch. If anyone has any objections, please

Re: Re: 3.4.10 i915 [GM45] regression

2012-10-07 Thread Ben Hutchings
mably this will also need to be reverted for 3.0 and 3.2? Or is there something very weird about i915 in 3.4? Ben. -- Ben Hutchings You can't have everything. Where would you put it? signature.asc Description: This is a digitally signed message part

Re: [STABLE][3.0][3.2][Add PATCH] phy/fixed: use an unique MDIO bus name

2012-10-07 Thread Ben Hutchings
d the bug. > > Please pull this patch into the 3.2 and 3.0 stable trees. Networking stable fixes are normally vetted, backported and bundled up by David, so I'll let him decide on this. There are a lot more MDIO bus drivers that don't play nicely with others, most of which seem

Re: [ 174/262] x86, avx: dont use avx instructions with "noxsave" boot param

2012-10-07 Thread Ben Hutchings
; + setup_clear_cpu_cap(X86_FEATURE_AVX); > + setup_clear_cpu_cap(X86_FEATURE_AVX2); > return 1; > } > __setup("noxsave", x86_xsave_setup); -- Ben Hutchings You can't have everything. Where would you put it? signature.asc Description: This is a digitally signed message part

[ 000/108] 3.2.31-stable review

2012-10-07 Thread Ben Hutchings
- net/xfrm/xfrm_policy.c |2 +- net/xfrm/xfrm_replay.c | 15 +++ net/xfrm/xfrm_user.c | 57 ++--- sound/soc/samsung/dma.c|8 +- 103 files changed, 796 insertions(+), 436 deleti

[ 003/108] fs/proc: fix potential unregister_sysctl_table hang

2012-10-07 Thread Ben Hutchings
. See also commit 076c3eed2c31 ("sysctl: Rewrite proc_sys_lookup introducing find_entry and lookup_entry") which reorganized this code in 3.4. Tested in Linux 3.4.4. Signed-off-by: Francesco Ruggeri Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- fs/proc/proc_sysct

[ 002/108] ASoC: samsung dma - Dont indicate support for pause/resume.

2012-10-07 Thread Ben Hutchings
nd leads to a proper reporting of pause not supported. Signed-off-by: Dylan Reid Signed-off-by: Mark Brown Signed-off-by: Ben Hutchings --- sound/soc/samsung/dma.c |8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c in

[ 064/108] usb: gadget: dummy_hcd: fixup error probe path

2012-10-07 Thread Ben Hutchings
ause dummy does not provide this descriptor and explodes later. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi Signed-off-by: Ben Hutchings --- drivers/usb/gadget/dummy_hcd.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/dum

[ 063/108] vfs: dcache: fix deadlock in tree traversal

2012-10-07 Thread Ben Hutchings
that the deadlock is gone with this patch. [ I rewrote the patch to be smaller and just do the "goto again" if the lock was already held, but credit goes to Miklos for the real work. - Linus ] Signed-off-by: Miklos Szeredi Cc: Al Viro Signed-off-by: Linus Torvalds Signed-off-by

[ 040/108] dj: memory scribble in logi_dj

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Cox commit 8a55ade76551e3927b4e41ee9e7751875d18bc25 upstream. Allocate a structure not a pointer to it ! Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds Signed-off-by: Ben

[ 041/108] HID: Fix logitech-dj: missing Unifying device issue

2012-10-07 Thread Ben Hutchings
y: Nestor Lopez Casado Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hid-logitech-dj.c | 45 + drivers/hid/hid-logitech-dj.h |1 + 2 files changed, 46 insertions(+) diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hi

[ 028/108] ARM: imx: armadillo5x0: Fix illegal register access

2012-10-07 Thread Ben Hutchings
variable. Fix the CCM register access in mach-armadillo5x0 by passing mx3_ccm_base and avoid illegal accesses. Also applies to v3.5 Reported-by: Arnd Bergmann Signed-off-by: Fabio Estevam Acked-by: Arnd Bergmann Signed-off-by: Sascha Hauer Signed-off-by: Ben Hutchings --- arch/arm/mach-imx

[ 046/108] dm: handle requests beyond end of device instead of using BUG_ON

2012-10-07 Thread Ben Hutchings
: Mike Snitzer Signed-off-by: Jun'ichi Nomura Signed-off-by: Alasdair G Kergon Signed-off-by: Ben Hutchings --- drivers/md/dm.c | 56 +-- 1 file changed, 38 insertions(+), 18 deletions(-) diff --git a/drivers/md/dm.c b/drivers/md/dm.c i

[ 038/108] HID: logitech: fix mask to enable DJ mode

2012-10-07 Thread Ben Hutchings
changed, 1 insertions(+), 1 deletions(-) Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hid-logitech-dj.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-logitech-dj.c b/drivers/hid/hid-logitech-dj.c index 38b12e4..2b56efc 100644

[ 030/108] cifs: fix return value in cifsConvertToUTF16

2012-10-07 Thread Ben Hutchings
contains non-ASCII characters. This seems to fix https://bugzilla.samba.org/show_bug.cgi?id=6767 Reported-by: Baldvin Kovacs Reported-and-Tested-by: Nicolas Lefebvre Signed-off-by: Jeff Layton Signed-off-by: Steve French [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings

[ 020/108] ARM: 7532/1: decompressor: reset SCTLR.TRE for VMSA ARMv7 cores

2012-10-07 Thread Ben Hutchings
, ensuring that the memory region attributes are obtained from the C and B bits, not from the page tables. Cc: Nicolas Pitre Reviewed-by: Will Deacon Signed-off-by: Matthew Leach Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Ben Hutchings --- arch/arm/boot/compressed/head.S

[ 021/108] drm/i915: Reduce a pin-leak BUG into a WARN

2012-10-07 Thread Ben Hutchings
-off-by: Ben Hutchings --- drivers/gpu/drm/i915/i915_gem.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -3357,7 +3357,8 @@ i915_gem_object_pin(struct drm_i915_gem_ struct drm_i915_private *dev_priv

[ 024/108] [SCSI] mpt2sas: Fix for issue - Unable to boot from the drive connected to HBA

2012-10-07 Thread Ben Hutchings
se IO-APIC interrupt instead of MSIX, as SAS2008 B0 controller doesn't support MSIX interrupts. [jejb: fix whitespace problems] Signed-off-by: Sreekanth Reddy Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- drivers/scsi/mpt2sas/mpt2sas_base.c |7 +++ 1 file change

[ 022/108] drm/i915: HDMI - Clear Audio Enable bit for Hot Plug

2012-10-07 Thread Ben Hutchings
5 Presence_Detect=0 ELD_Valid=1 [ 187.853268] ALSA sound/pci/hda/patch_hdmi.c:990 HDMI status: Codec=3 Pin=5 Presence_Detect=0 ELD_Valid=0 Signed-off-by: Wang Xingchao Signed-off-by: Daniel Vetter Signed-off-by: Ben Hutchings --- drivers/gpu/drm/i915/intel_hdmi.c |2 +- 1 file changed, 1 in

[ 023/108] [SCSI] bnx2i: Fixed NULL ptr deference for 1G bnx2 Linux iSCSI offload

2012-10-07 Thread Ben Hutchings
0/0xa [] acpi_processor_idle_simple+0x1c5/0x341 [] acpi_processor_idle_simple+0x182/0x341 [] acpi_processor_idle_simple+0x0/0x341 [] cpu_idle+0x95/0xb8 [] start_secondary+0x479/0x488 Signed-off-by: Eddie Wai Reviewed-by: Mike Christie Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- drivers/scsi/

[ 031/108] cfg80211: fix possible circular lock on reg_regdb_search()

2012-10-07 Thread Ben Hutchings
8 [cfg80211] Reported-by: Felix Fietkau Tested-by: Felix Fietkau Signed-off-by: Luis R. Rodriguez Reviewed-by: Johannes Berg Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- net/wireless/reg.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/

[ 025/108] hwmon: (ads7871) Add name sysfs attribute

2012-10-07 Thread Ben Hutchings
Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Acked-by: Paul Thomas Signed-off-by: Ben Hutchings --- drivers/hwmon/ads7871.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/hwmon/ads7871.c b/drivers/hwmon/ads7871.c index e65c6e4..7bf4ce3 100644 --- a/drivers/hwmon

[ 054/108] net: Statically initialize init_net.dev_base_head

2012-10-07 Thread Ben Hutchings
the kernel. With thanks to Eric Dumazet for catching a bug. Signed-off-by: Mark Rustad Acked-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/core/dev.c |3 ++- net/core/net_namespace.c |4 +++- 2 files changed, 5 insertions(+), 2 deletion

[ 026/108] DMA: PL330: Check the pointer returned by kzalloc

2012-10-07 Thread Ben Hutchings
: Jassi Brar Signed-off-by: Vinod Koul [bwh: Backported to 3.2: adjust context and error label] Signed-off-by: Ben Hutchings --- drivers/dma/pl330.c |5 + 1 file changed, 5 insertions(+) --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -858,6 +858,11 @@ pl330_probe(struct amba_device

[ 050/108] asus-laptop: HRWS/HWRS typo

2012-10-07 Thread Ben Hutchings
Garrett Signed-off-by: Ben Hutchings --- drivers/platform/x86/asus-laptop.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index e38f91b..110c777 100644 --- a/drivers/platform/x86/asus-laptop.c

[ 027/108] [SCSI] hpsa: fix handling of protocol error

2012-10-07 Thread Ben Hutchings
uption, so this is quite a serious bug. This bug should not normally cause a problem for direct attached disk storage. Signed-off-by: Stephen M. Cameron Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- drivers/scsi/hpsa.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[ 029/108] hwmon: (ad7314) Add name sysfs attribute

2012-10-07 Thread Ben Hutchings
on Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Acked-by: Jonathan Cameron Signed-off-by: Ben Hutchings --- drivers/hwmon/ad7314.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/hwmon/ad7314.c b/drivers/hwmon/ad7314.c index cfec802..f915eb1 100644 --- a/dri

[ 032/108] xen/boot: Disable BIOS SMP MP table search.

2012-10-07 Thread Ben Hutchings
cle.com/bugzilla/show_bug.cgi?id=13665 Acked-by: Jan Beulich Signed-off-by: Konrad Rzeszutek Wilk [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- arch/x86/xen/enlighten.c |4 1 file changed, 4 insertions(+) --- a/arch/x86/xen/enlighten.c +++ b/arch/x86

[ 033/108] asix: Support DLink DUB-E100 H/W Ver C1

2012-10-07 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Søren Holm commit ed3770a9cd5764a575b83810ea679bbff2b03082 upstream. Signed-off-by: Søren Holm Signed-off-by: David S. Miller [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben

[ 034/108] Input: i8042 - disable mux on Toshiba C850D

2012-10-07 Thread Ben Hutchings
activation solves this issue. Signed-off-by: Anisse Astier Signed-off-by: Dmitry Torokhov Signed-off-by: Ben Hutchings --- drivers/input/serio/i8042-x86ia64io.h |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h

[ 036/108] can: janz-ican3: fix support for older hardware revisions

2012-10-07 Thread Ben Hutchings
r hardware, the code is changed to use the hardware reset register on the Janz VMOD-ICAN3 hardware itself. Signed-off-by: Ira W. Snyder Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- drivers/net/can/janz-ican3.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) di

[ 035/108] tracing: Dont call page_to_pfn() if page is NULL

2012-10-07 Thread Ben Hutchings
semem vmemmap. Link: http://lkml.kernel.org/r/505ab1ff.8020...@cn.fujitsu.com Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Andrew Morton Acked-by: Mel Gorman Reviewed-by: Minchan Kim Signed-off-by: Wen Congyang Signed-off-by: Steven Rostedt Signed-off-by: Ben Hutchings --- include/trace/events/k

[ 037/108] can: ti_hecc: fix oops during rmmod

2012-10-07 Thread Ben Hutchings
36712] [] (platform_drv_remove+0x14/0x18) from [] (__device_release_driver+0x7c/0xbc) Cc: Anant Gole Tested-by: Jan Luebbe Signed-off-by: Marc Kleine-Budde Signed-off-by: Ben Hutchings --- drivers/net/can/ti_hecc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver

[ 057/108] [libata] Prevent interface errors with Seagate FreeAgent GoFlex

2012-10-07 Thread Ben Hutchings
: Daniel J Blueman Signed-off-by: Jeff Garzik Signed-off-by: Ben Hutchings --- drivers/ata/libata-core.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index c14f88c..95a656f 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata

[ 042/108] hwmon: (fam15h_power) Tweak runavg_range on resume

2012-10-07 Thread Ben Hutchings
Signed-off-by: Jean Delvare Signed-off-by: Ben Hutchings --- drivers/hwmon/fam15h_power.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) --- a/drivers/hwmon/fam15h_power.c +++ b/drivers/hwmon/fam15h_power.c @@ -128,12 +128,12 @@ static bool __devinit fam15h_power_is_in

[ 039/108] HID: logitech: dont use stack based dj_report structures

2012-10-07 Thread Ben Hutchings
with kzalloc rather than a stack based one. Signed-off-by: Marc Dionne Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hid-logitech-dj.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/drivers/hid/hid

[ 043/108] xen/boot: Disable NUMA for PV guests.

2012-10-07 Thread Ben Hutchings
] start_kernel+0xe5/0x468 [] x86_64_start_reservations+0xba/0xc1 [] ? xen_setup_runstate_info+0x2c/0x36 [] xen_start_kernel+0x565/0x56c " so we just disable NUMA scanning by setting numa_off=1. Reported-and-Tested-by: Andre Przywara Acked-by: Andre Przywara Signed-off-by: Konrad Rzeszutek Wilk

[ 044/108] gpio-lpc32xx: Fix value handling of gpio_direction_output()

2012-10-07 Thread Ben Hutchings
fixes this by setting the level accordingly. Signed-off-by: Roland Stigge Acked-by: Alexandre Pereira da Silva Signed-off-by: Linus Walleij Signed-off-by: Ben Hutchings --- drivers/gpio/gpio-lpc32xx.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers

[ 045/108] sb_edac: Avoid overflow errors at memory size calculation

2012-10-07 Thread Ben Hutchings
()] Signed-off-by: Ben Hutchings --- drivers/edac/sb_edac.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- a/drivers/edac/sb_edac.c +++ b/drivers/edac/sb_edac.c @@ -554,7 +554,8 @@ static int get_dimm_config(const struct { struct sbridge_pvt *pvt = mci->pvt_i

[ 047/108] dm table: clear add_random unless all devices have it set

2012-10-07 Thread Ben Hutchings
same as for the rotational flag, share the iteration function with device_is_nonrot(). Signed-off-by: Milan Broz Signed-off-by: Alasdair G Kergon Signed-off-by: Ben Hutchings --- drivers/md/dm-table.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff

[ 073/108] bnx2x: fix rx checksum validation for IPv6

2012-10-07 Thread Ben Hutchings
by: Michal Schmidt Acked-by: Eric Dumazet Acked-by: Eilon Greenstein Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnx2x/b

[ 069/108] HID: hidraw: fix list->buffer memleak

2012-10-07 Thread Ben Hutchings
lso list->buffer are not free on release. After this patch, kmemleak report nothing. Signed-off-by: Matthieu CASTET Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hidraw.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/hid

[ 075/108] xfrm_user: return error pointer instead of NULL

2012-10-07 Thread Ben Hutchings
. Signed-off-by: Mathias Krause Acked-by: Steffen Klassert Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_user.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 7cae73e..a092828 100644 --- a/net

[ 048/108] md/raid10: fix "enough" function for detecting if array is failed.

2012-10-07 Thread Ben Hutchings
ropriate for an -stable kernel, but will almost certainly need to be modified for some of them. Reported-by: Jakub Husák Signed-off-by: NeilBrown [bwh: Backported to 3.2: s/geo->/conf->/] Signed-off-by: Ben Hutchings --- drivers/md/raid10.c |8 +--- 1 file changed, 5 insertions(+), 3

[ 049/108] USB: Fix race condition when removing host controllers

2012-10-07 Thread Ben Hutchings
ng the flag, so that usb_device_read() will become aware of new root hubs as soon as they are registered. Signed-off-by: Alan Stern Reported-by: Don Zickus Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/core/devices.c |2 +- drivers/usb/core/hcd.c

[ 053/108] Bluetooth: Add support for Apple vendor-specific devices

2012-10-07 Thread Ben Hutchings
Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan Signed-off-by: Ben Hutchings --- drivers/bluetooth/btusb.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index e791b20..654e248 100644 --- a/drivers/bluetooth/btusb.c

[ 055/108] Fix a dead loop in async_synchronize_full()

2012-10-07 Thread Ben Hutchings
by: Li Zhong Tested-by: Paul E. McKenney Tested-by: Christian Kujau Cc: Andrew Morton Cc: Dan Williams Cc: Christian Kujau Cc: Andrew Morton Cc: Cong Wang Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- kernel/async.c | 13 + 1 file changed, 9 insertions(+),

[ 058/108] mmc: Prevent 1.8V switch for SD hosts that dont support UHS modes.

2012-10-07 Thread Ben Hutchings
R104, SDR50 or DDR50 is set in the host capabilities register. This will prevent the switch to 1.8V later. Signed-off-by: Al Cooper Acked-by: Arindam Nath Acked-by: Philip Rakity Acked-by: Girish K S Signed-off-by: Chris Ball Signed-off-by: Ben Hutchings --- drivers/mmc/host/sdhci.c |5 +

[ 052/108] Bluetooth: Use USB_VENDOR_AND_INTERFACE() for Broadcom devices

2012-10-07 Thread Ben Hutchings
with this behavior. We also remove old rules to that matches product id for Broadcom devices. Tested-by: John Hommel Signed-off-by: Gustavo Padovan Signed-off-by: Ben Hutchings --- drivers/bluetooth/btusb.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers

[ 051/108] Bluetooth: btusb: Add vendor specific ID (0a5c:21f4) BCM20702A0

2012-10-07 Thread Ben Hutchings
-by: Ben Hutchings --- drivers/bluetooth/btusb.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index e272214..da6aa39 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -98,6 +98,7 @@ static struct usb_device_id

[ 090/108] 8021q: fix mac_len recomputation in vlan_untag()

2012-10-07 Thread Ben Hutchings
uch pointer to be recalculated before computing the new mac_len value. Signed-off-by: Antonio Quartulli Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/8021q/vlan_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/8021q/vlan_core.c b/net/80

[ 093/108] sctp: Dont charge for data in sndbuf again when transmitting packet

2012-10-07 Thread Ben Hutchings
off-by: Thomas Graf CC: Vlad Yasevich CC: Neil Horman CC: David Miller Acked-by: Vlad Yasevich Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/sctp/output.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/net/sctp/output.c b/ne

[ 087/108] net-sched: sch_cbq: avoid infinite loop

2012-10-07 Thread Ben Hutchings
dev $DEV_OUT parent 1: prio 3 $U32 \ $ICMP $DST 192.168.3.234 flowid 1: Reported-by: Denys Fedoryschenko Tested-by: Denys Fedoryschenko Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/sched/sch_cbq.c | 5 +++-- 1 file changed, 3 inser

[ 082/108] xfrm_user: dont copy esn replay window twice for new states

2012-10-07 Thread Ben Hutchings
: Steffen Klassert Signed-off-by: Mathias Krause Acked-by: Steffen Klassert Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_user.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 8f916a7

[ 079/108] xfrm_user: fix info leak in copy_to_user_state()

2012-10-07 Thread Ben Hutchings
compiler for alignment (7 for amd64, 3 for i386). Add an explicit memset(0) before filling the buffer to avoid the info leak. Signed-off-by: Mathias Krause Acked-by: Steffen Klassert Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_user.c | 1 + 1 file changed, 1

[ 061/108] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-10-07 Thread Ben Hutchings
Kroah-Hartman [bwh: Backported to 3.2: - Adjust context - Drop changes to pch_console_write()] Signed-off-by: Ben Hutchings --- drivers/tty/serial/pch_uart.c | 38 ++ 1 file changed, 26 insertions(+), 12 deletions(-) --- a/drivers/tty/serial/pch_u

[ 059/108] Bluetooth: Change signature of smp_conn_security()

2012-10-07 Thread Ben Hutchings
connection parameter, to receive a hci_conn. This also makes it clear that it is checking the security of the link. Signed-off-by: Vinicius Costa Gomes Signed-off-by: Gustavo Padovan Signed-off-by: Ben Hutchings --- include/net/bluetooth/smp.h |2 +- net/bluetooth/l2cap_core.c | 11

[ 056/108] rds: set correct msg_namelen

2012-10-07 Thread Ben Hutchings
n); printf("new socket fd=%d\n", sock_fd); strcat(recvBuffer, "--data from server"); if (sendmsg(sock_fd, &msg, 0) == -1) { perror("sendmsg()\n"); close(sock_fd);

[ 060/108] Bluetooth: Fix sending a HCI Authorization Request over LE links

2012-10-07 Thread Ben Hutchings
, hci_conn_security() would be called but it was not considering LE links. Reported-by: João Paulo Rechi Vita Signed-off-by: Vinicius Costa Gomes Signed-off-by: Gustavo Padovan Signed-off-by: Ben Hutchings --- net/bluetooth/hci_conn.c |4 1 file changed, 4 insertions(+) --- a/net

[ 062/108] irq_remap: disable IRQ remapping if any IOAPIC lacks an IOMMU

2012-10-07 Thread Ben Hutchings
th Forshee Acked-by: Yinghai Lu Signed-off-by: Joerg Roedel [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- drivers/iommu/intr_remapping.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) --- a/drivers/iommu/intr_remapping.c +++ b/drivers/io

[ 065/108] CPU hotplug, cpusets, suspend: Dont modify cpusets during suspend/resume

2012-10-07 Thread Ben Hutchings
ned-off-by: Peter Zijlstra Cc: Linus Torvalds Cc: Andrew Morton Cc: Thomas Gleixner Link: http://lkml.kernel.org/r/20120524141611.3692.20155.st...@srivatsabhat.in.ibm.com [Preeti U Murthy: Please apply this patch to the stable tree 3.0.y] Signed-off-by: Preeti U Murthy Signed-off-by: Ben

[ 066/108] Revert "drm/radeon: rework pll selection (v3)"

2012-10-07 Thread Ben Hutchings
others due to limitations in the current KMS API. A proper fix is too invasive for 3.6. Push it back to 3.7. Reported-by: Andres Freund Signed-off-by: Alex Deucher [bwh: Backported to 3.2: drop the DCE6 case] Signed-off-by: Ben Hutchings --- drivers/gpu/drm/radeon/atombios_crtc.c | 163

[ 067/108] x86/alternatives: Fix p6 nops on non-modular kernels

2012-10-07 Thread Ben Hutchings
Cc: Alan Cox Cc: Alan Cox Link: http://lkml.kernel.org/r/5034ae84.90...@redhat.com Signed-off-by: Ingo Molnar Signed-off-by: Ben Hutchings --- arch/x86/kernel/alternative.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/alternative.c b/arch/x86/kernel

[ 100/108] l2tp: fix a typo in l2tp_eth_dev_recv()

2012-10-07 Thread Ben Hutchings
. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/l2tp/l2tp_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c index 3c55f63..2cef50b 100644 --- a/net/l2tp/l2tp_eth.c +++ b/net/l2tp

[ 091/108] ipv6: release reference of ip6_null_entrys dst entry in __ip6_del_rt

2012-10-07 Thread Ben Hutchings
rt6_info is ip6_null_entry. and we already hold the dst entry, so I think it's safe to call dst_release out of the write-read lock. Signed-off-by: Gao feng Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/ipv6/route.c | 11 ++- 1 file changed, 6 insertions(

[ 068/108] HID: hidraw: add proper error handling to raw event reporting

2012-10-07 Thread Ben Hutchings
hid_report_raw_event() return an error value to the caller. Reported-by: Oliver Neukum Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hid-core.c | 16 +++- drivers/hid/hidraw.c | 19 +-- include/linux/hid.h|2 +- include/linux

[ 071/108] HID: hidraw: dont deallocate memory when it is in use

2012-10-07 Thread Ben Hutchings
. Signed-off-by: Ratan Nalumasu Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hidraw.c | 69 +++--- 1 file changed, 26 insertions(+), 43 deletions(-) diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 3b6f7bf

[ 074/108] xfrm: Workaround incompatibility of ESN and async crypto

2012-10-07 Thread Ben Hutchings
. Miller Signed-off-by: Ben Hutchings --- include/net/xfrm.h | 3 +++ net/xfrm/xfrm_input.c | 2 +- net/xfrm/xfrm_replay.c | 15 +++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/include/net/xfrm.h b/include/net/xfrm.h index b203e14..921f627 100644 --- a/include

[ 070/108] HID: hidraw: improve error handling in hidraw_init()

2012-10-07 Thread Ben Hutchings
code of cdev_add() - use unregister_chrdev_region() instead of unregister_chrdev() if class_create() failed Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hidraw.c | 15

[ 081/108] xfrm_user: fix info leak in copy_to_user_tmpl()

2012-10-07 Thread Ben Hutchings
: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_user.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index 1d222e9..8f916a7 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c @@ -1405,6 +1405,7 @@ static int

[ 083/108] xfrm_user: ensure user supplied esn replay window is valid

2012-10-07 Thread Ben Hutchings
mum size of bmp_len is limited to 128 by this patch -- resulting in a maximum replay window of 4096 packets. This should be sufficient for all real life scenarios (RFC 4303 recommends a default replay window size of 64). Cc: Steffen Klassert Cc: Martin Willi Cc: Ben Hutchings Signed-off-by: Mat

[ 076/108] xfrm_user: return error pointer instead of NULL #2

2012-10-07 Thread Ben Hutchings
, xfrm_policy_netlink() returns NULL instead of an error pointer. But its caller expects an error pointer and therefore continues to operate on a NULL skbuff. Signed-off-by: Mathias Krause Acked-by: Steffen Klassert Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_user.c | 6

[ 078/108] xfrm_user: fix info leak in copy_to_user_auth()

2012-10-07 Thread Ben Hutchings
memory via netlink to userland. Use strncpy() instead of strcpy() to fill the trailing bytes of alg_name with null bytes. Signed-off-by: Mathias Krause Acked-by: Steffen Klassert Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_user.c | 2 +- 1 file changed, 1

[ 072/108] PCI: acpiphp: check whether _ADR evaluation succeeded

2012-10-07 Thread Ben Hutchings
the stack as the device and function number. We return AE_OK so that we ignore only this slot and continue looking for other slots. Found by Coverity (CID 113981). Signed-off-by: Bjorn Helgaas Signed-off-by: Ben Hutchings --- drivers/pci/hotplug/acpiphp_glue.c | 13 + 1 file

[ 080/108] xfrm_user: fix info leak in copy_to_user_policy()

2012-10-07 Thread Ben Hutchings
(padding bytes in struct xfrm_selector and struct xfrm_userpolicy_info). Add an explicit memset(0) before filling the buffer to avoid the heap info leak. Signed-off-by: Mathias Krause Acked-by: Steffen Klassert Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_user.c

[ 077/108] xfrm: fix a read lock imbalance in make_blackhole

2012-10-07 Thread Ben Hutchings
again. Signed-off-by: Li RongQing Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/xfrm/xfrm_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 0174034..113d20e 100644 --- a/net/xfrm

[ 106/108] Bluetooth: add support for atheros 0930:0219

2012-10-07 Thread Ben Hutchings
=100mA I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb I: If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb Signed-off-by: Giancarlo Formicuccia Signed-off-by: Gustavo Padovan Signed-off-by: Ben Hutchings --- drivers/bluetooth/ath3k.c |2 ++ drivers/bluetooth

[ 101/108] netrom: copy_datagram_iovec can fail

2012-10-07 Thread Ben Hutchings
-by: Ben Hutchings --- net/netrom/af_netrom.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index 732152f..f156382 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c @@ -1170,7 +1170,12 @@ static int

[ 005/108] nbd: clear waiting_queue on shutdown

2012-10-07 Thread Ben Hutchings
local nbd_device pointers are called 'lo' not 'nbd'] Signed-off-by: Ben Hutchings --- drivers/block/nbd.c |9 + 1 file changed, 9 insertions(+) --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c @@ -445,6 +445,14 @@ static void nbd_clear_que(struct nbd_dev

[ 010/108] vfs: dcache: use DCACHE_DENTRY_KILLED instead of DCACHE_DISCONNECTED in d_kill()

2012-10-07 Thread Ben Hutchings
This patch introduces a separate flag: DCACHE_DENTRY_KILLED, which is only set in d_kill() and makes try_to_ascend() test only this flag. IBM reported successful test results with this patch. Signed-off-by: Miklos Szeredi Cc: Trond Myklebust Signed-off-by: Linus Torvalds Signed-off-by: Ben

[ 092/108] tcp: flush DMA queue before sk_wait_data if rcv_wnd is zero

2012-10-07 Thread Ben Hutchings
l the tcp_service_net_dma() call, sk_wait_data() cannot receive any data and blocks forever. If zero receive window and non-empty sk_async_wait_queue is detected before calling sk_wait_data(), process the queue first. Signed-off-by: Michal Kubecek Signed-off-by: David S. Miller Signed-off-by: Ben Hutc

[ 011/108] workqueue: reimplement work_on_cpu() using system_wq

2012-10-07 Thread Ben Hutchings
needed to fix a workqueue related bug in cpufreq/powernow-k8. AFAICS, this shouldn't break other existing users. Signed-off-by: Tejun Heo Acked-by: Jiri Kosina Cc: Linus Torvalds Cc: Bjorn Helgaas Cc: Len Brown Cc: Rafael J. Wysocki Signed-off-by: Ben Hutchings --- kerne

[ 004/108] mm/ia64: fix a memory block size bug

2012-10-07 Thread Ben Hutchings
x80 ia64_bad_break+0x3d0/0x6e0 ia64_native_leave_kernel+0x0/0x270 offline_pages+0x210/0xee0 alloc_pages_current+0x180/0x2a0 Signed-off-by: Jianguo Wu Signed-off-by: Jiang Liu Cc: "Luck, Tony" Reviewed-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Sign

[ 103/108] aoe: assert AoE packets marked as requiring no checksum

2012-10-07 Thread Ben Hutchings
requiring no checksum, so we make this requirement explicit with the assertion. Signed-off-by: Ed Cashin Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/block/aoe/aoecmd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe

[ 088/108] pkt_sched: fix virtual-start-time update in QFQ

2012-10-07 Thread Ben Hutchings
time into the bucket list corrupts the data structure and may eventually lead to crashes. This patch limits the maximum start time assigned to a class. Signed-off-by: Paolo Valente Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/sched/sch_qfq.c | 5 - 1 file changed, 4

[ 084/108] net: ethernet: davinci_cpdma: decrease the desc count when cleaning up the remaining packets

2012-10-07 Thread Ben Hutchings
lue written to the rxfree register in cpdma_chan_start will be incorrect. Signed-off-by: Tao Hou Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/ti/davinci_cpdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/ti/davinci_cpdma.c b/driv

[ 007/108] mm/page_alloc: fix the page address of higher pages buddy calculation

2012-10-07 Thread Ben Hutchings
Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- mm/page_alloc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index c66fb87..c13ea75 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -584,

[ 086/108] netxen: check for root bus in netxen_mask_aer_correctable

2012-10-07 Thread Ben Hutchings
e root bus and the guest would crash in netxen_mask_aer_correctable() because of a NULL pointer dereference if CONFIG_PCIEAER is present. Signed-off-by: Nikolay Aleksandrov Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c | 4 +

[ 105/108] Bluetooth: Support AR3011 in Acer Iconia Tab W500

2012-10-07 Thread Ben Hutchings
: Gustavo Padovan Signed-off-by: Ben Hutchings --- drivers/bluetooth/ath3k.c |1 + drivers/bluetooth/btusb.c |1 + 2 files changed, 2 insertions(+) diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c index ad591bd..f0f6202 100644 --- a/drivers/bluetooth/ath3k.c +++ b/drivers

[ 085/108] ixp4xx_hss: fix build failure due to missing linux/module.h inclusion

2012-10-07 Thread Ben Hutchings
river since it uses macros from linux/module.h without including this file. Signed-off-by: Florian Fainelli Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- drivers/net/wan/ixp4xx_hss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wan/ixp4xx_hss.c b/drivers/

[ 108/108] Bluetooth: Add support for Sony Vaio T-Series

2012-10-07 Thread Ben Hutchings
Ivl=1ms Signed-off-by: Yevgeniy Melnichuk Signed-off-by: Mohammed Shafi Shajakhan Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan Signed-off-by: Ben Hutchings --- drivers/bluetooth/ath3k.c |2 ++ drivers/bluetooth/btusb.c |1 + 2 files changed, 3 insertions(+) diff --git a

<    4   5   6   7   8   9   10   11   12   13   >