Re: [PATCH RFC] [INET]: Get cirtical word in first 64bit of cache line

2012-11-26 Thread Ben Hutchings
whether it's slower to start fetching from the middle, that may depend on the memory controller and memory type that are used. Drepper's benchmark showed only a small penalty (<1%) for fetching from the middle, though he didn't say anything particular about the hardware configur

Re: [PATCH 026/270] powerpc/eeh: Lock module while handling EEH event

2012-11-26 Thread Ben Hutchings
Signed-off-by: Benjamin Herrenschmidt > [ herton: backported for 3.5, adjusted driver assignments, return 0 > instead of NULL, assume dev is not NULL ] > Signed-off-by: Herton Ronaldo Krzesinski [...] Greg, you probably want this in 3.4 and 3.6. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH 028/270] ext4: remove erroneous ext4_superblock_csum_set() in update_backups()

2012-11-26 Thread Ben Hutchings
_csum_set(sb, (struct ext4_super_block *)data); > - > while ((group = ext4_list_backups(sb, &three, &five, &seven)) < last) { > struct buffer_head *bh; > -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH 036/270] kbuild: Do not package /boot and /lib in make tar-pkg

2012-11-26 Thread Ben Hutchings
t; There were reports of users destroying their Fedora installs by a kernel > tarball that replaces the /lib -> /usr/lib symlink. Let's remove the > toplevel directories from the tarball to prevent this from happening. > > Reported-by: Andi Kleen > Suggested-by: Ben Hutching

Re: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-11-26 Thread Ben Hutchings
Trond Myklebust > Signed-off-by: Herton Ronaldo Krzesinski [...] I notice that this fix is missing from 3.4, and will need backporting. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH 042/270] pnfsblock: fix non-aligned DIO read

2012-11-26 Thread Ben Hutchings
Ronaldo Krzesinski [...] This also hasn't been applied to 3.4, and presumably needs backporting. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH 1/3] tools/hv: Fix for long file names from readdir

2012-11-27 Thread Ben Hutchings
. So I think this is entirely unnecessary. Using snprintf() is a good idea, but you need to check the return value and handle the truncation case somehow. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH 053/270] mmc: sdhci-s3c: fix the wrong number of max bus clocks

2012-11-27 Thread Ben Hutchings
= 0; ptr < MAX_BUS_CLK; ptr++) { > if (sc->clk_bus[ptr]) { > clk_disable(sc->clk_bus[ptr]); > clk_put(sc->clk_bus[ptr]); -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH 055/270] ARM: OMAP: counter: add locking to read_persistent_clock

2012-11-27 Thread Ben Hutchings
: Herton Ronaldo Krzesinski [...] This is also missing from 3.4. I'm attaching the adjusted version for 3.2, which looks like it will work for 3.4. Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. From: Colin Cross Date: Mon, 8 Oct 20

Re: [PATCH 061/270] timekeeping: Cast raw_interval to u64 to avoid shift overflow

2012-11-27 Thread Ben Hutchings
ffset, > int shift) > } > > /* Accumulate raw time */ > - raw_nsecs = timekeeper.raw_interval << shift; > + raw_nsecs = (u64)timekeeper.raw_interval << shift; > raw_nsecs += timekeeper.raw_time.tv_nsec; > if (raw_nsecs >= NSEC

Re: [PATCH 187/270] net/wireless: ipw2200: Fix panic occurring in ipw_handle_promiscuous_tx()

2012-11-27 Thread Ben Hutchings
t_hdr), GFP_ATOMIC); > + dst = alloc_skb(len + sizeof(*rt_hdr) + sizeof(u16)*2, > GFP_ATOMIC); > if (!dst) > continue; > -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Re: [PATCH 188/270] iwlwifi: fix 6000 series channel switch command

2012-11-27 Thread Ben Hutchings
get_channel_info(priv, priv->band, ch); > if (ch_info) > - cmd.expect_beacon = is_channel_radar(ch_info); > + cmd->expect_beacon = is_channel_radar(ch_info); > else { > IWL_ERR(priv, "invalid channel switch from %u to %u\n&qu

Re: [PATCH 245/270] USB: mct_u232: fix broken close

2012-11-27 Thread Ben Hutchings
that > generic close therefore fails to kill it. > > Compile-only tested. > > Signed-off-by: Johan Hovold > Signed-off-by: Greg Kroah-Hartman > Signed-off-by: Herton Ronaldo Krzesinski [...] This is missing on 3.4; the version I used for 3.2 (attached) should be applic

RE: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-11-27 Thread Ben Hutchings
will allow setting MPS above the device's MaxPayloadSizeSupported (MPSS). (These parameters are not documented in Documentation/kernel-parameters.txt! Someone ought to fix that.) Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing dep

Re: [PATCH 1/3] tools/hv: Fix for long file names from readdir

2012-11-27 Thread Ben Hutchings
n > > value and handle the truncation case somehow. > > By using PATH_MAX sized buffer there is no need for handling the truncation > case. You are claiming two contradictory things: sprintf() may overrun the buffer, so we need the length check provided by snprintf(), but

Re: [PATCH 09/11] asus-laptop: Do not call HWRS on init

2012-11-29 Thread Ben Hutchings
On Thu, 2012-11-29 at 09:12 +0100, Corentin Chary wrote: > From: Ben Hutchings > > Since commit 8871e99f89b7 ('asus-laptop: HRWS/HWRS typo'), module > initialisation is very slow on the Asus UL30A. The HWRS method takes > about 12 seconds to run, and subsequent initiali

Re: [PATCH 036/270] kbuild: Do not package /boot and /lib in make tar-pkg

2012-11-29 Thread Ben Hutchings
On Thu, 2012-11-29 at 17:38 -0800, Greg Kroah-Hartman wrote: > On Tue, Nov 27, 2012 at 02:26:27AM +0000, Ben Hutchings wrote: > > On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > > > 3.5.7u1 -stable review patch. If anyone has any objections, please

Re: [ 052/100] drm/i915: Increase the RC6p threshold.

2013-03-17 Thread Ben Hutchings
p_THRESHOLD, 64000); /* unused */ > > /* Check if we are enabling RC6 */ Is there any reason why this shouldn't be applied to 3.2.y and 3.4.y? The same function and writes are present, only in intel_display.c rather than intel_pm.c. Ben. -- Ben Hutchings Never attribute to consp

[ 02/82] btrfs: Init io_lock after cloning btrfs device struct

2013-03-17 Thread Ben Hutchings
homas Gleixner Signed-off-by: Chris Mason Signed-off-by: Ben Hutchings --- fs/btrfs/volumes.c |1 + 1 file changed, 1 insertion(+) --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -543,6 +543,7 @@ static int __btrfs_close_devices(struct new_device->write

[ 13/82] ath9k: fix RSSI dummy marker value

2013-03-17 Thread Ben Hutchings
, was supposed to have been set to 127, but ended up being set to 0x127 because of a code cleanup mistake. This could lead to invalid signal strength values in a few places. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- drivers/net/wireless/ath/ath9k

[ 05/82] SUNRPC: Dont start the retransmission timer when out of socket space

2013-03-17 Thread Ben Hutchings
eason why we generally don't want to time out is that the call to xprt->ops->release_xprt() will trigger a connection reset, which isn't helpful... Let's make an exception for soft RPC calls, since they have to provide timeout guarantees. Signed-off-by: Trond Myklebust Si

[ 04/82] NFS: Dont allow NFS silly-renamed files to be deleted, no signal

2013-03-17 Thread Ben Hutchings
ult in ESTALE errors for any other process doing operations on the file. To fix this, go back to using d_move on success. For the signal case, it's unclear what we may safely do beyond d_drop. Reported-by: Dave Wysochanski Signed-off-by: Trond Myklebust Acked-by: Jeff Layton Signed-off-by: Ben

[ 56/82] ext3: Fix format string issues

2013-03-17 Thread Ben Hutchings
and potentially harmful behavior. The issue was introduced in commit 4cf46b67eb("ext3: Unify log messages in ext3") and is fixed by this patch. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jan Kara Signed-off-by: Ben Hutchings --- fs/ext3/super.c |4 ++-- 1 file changed, 2

[ 37/82] tty: Correct tty buffer flush.

2013-03-17 Thread Ben Hutchings
It is repeat behavior of flush_to_ldisc(), only without feeding data to ldisc. Signed-off-by: Ilya Zykov Signed-off-by: Ben Hutchings --- --- a/drivers/tty/tty_buffer.c +++ b/drivers/tty/tty_buffer.c @@ -114,11 +114,14 @@ static void __tty_buffer_flush(struct tt { struct tty_buffer *

[ 42/82] decnet: Fix disappearing sysctl entries

2013-03-17 Thread Ben Hutchings
Biederman" Signed-off-by: Ben Hutchings --- net/decnet/af_decnet.c |4 net/decnet/sysctl_net_decnet.c | 28 2 files changed, 32 insertions(+), 0 deletions(-) --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c @@ -2354,6 +2354,8

[ 64/82] USB: cdc-wdm: fix buffer overflow

2013-03-17 Thread Ben Hutchings
user space has read all remaining data. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/usb/class/cdc-wdm.c | 23 --- 1 file changed, 20 insertions(+), 3 deletions(-) --- a

[ 54/82] staging: vt6656: Fix oops on resume from suspend.

2013-03-17 Thread Ben Hutchings
functions. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/staging/vt6656/main_usb.c |4 1 file changed, 4 deletions(-) --- a/drivers/staging/vt6656/main_usb.c +++ b/drivers/staging/vt6656/main_usb.c @@ -718,8 +718,6

[ 61/82] tty: serial: fix typo "ARCH_S5P6450"

2013-03-17 Thread Ben Hutchings
t;ARM: S5P64X0: Add UART serial support for S5P6450") - which added this typo - makes clear this should be CPU_S5P6450. Signed-off-by: Paul Bolle Acked-by: Kukjin Kim Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/tty/seri

[ 45/82] USB: EHCI: dont check DMA values in QH overlays

2013-03-17 Thread Ben Hutchings
on reported at: https://bugs.launchpad.net/bugs/1088733 Signed-off-by: Alan Stern Reported-by: Joseph Salisbury Reported-and-tested-by: Stephen Thirlwall Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/host/ehci-q.c | 18 +- 1 file changed,

[ 55/82] qcaux: add Franklin U600

2013-03-17 Thread Ben Hutchings
. Signed-off-by: Dan Williams Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/qcaux.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/qcaux.c +++ b/drivers/usb/serial/qcaux.c @@ -69,6 +69,7 @@ static struct usb_device_id id_table

[ 59/82] Fix 4 port and add support for 8 port Unknown PCI serial port cards

2013-03-17 Thread Ben Hutchings
ontext] Signed-off-by: Ben Hutchings --- drivers/tty/serial/8250_pci.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) --- a/drivers/tty/serial/8250_pci.c +++ b/drivers/tty/serial/8250_pci.c @@ -1154,6 +1154,7 @@ pci_xr17c154_setup(struct serial_private /* Unknown vendor

[ 41/82] ftrace: Update the kconfig for DYNAMIC_FTRACE

2013-03-17 Thread Ben Hutchings
Signed-off-by: Ben Hutchings --- kernel/trace/Kconfig | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -386,24 +386,28 @@ config KPROBE_EVENT If you want to use perf tools, this option is stron

[ 47/82] USB: option: add Huawei E5331

2013-03-17 Thread Ben Hutchings
-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/option.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -579,6 +579,7 @@ static const struct usb_device_id option { USB_DEVICE(QUANTA_VENDOR_ID

[ 70/82] USB: Dont use EHCI port sempahore for USB 3.0 hubs.

2013-03-17 Thread Ben Hutchings
Signed-off-by: Sarah Sharp Acked-by: Alan Stern Signed-off-by: Ben Hutchings --- drivers/usb/core/hub.c | 15 +++ 1 files changed, 7 insertions(+), 8 deletions(-) --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -2271,17 +2271,16 @@ static int hub_port_reset(stru

[ 79/82] loopdev: fix a deadlock

2013-03-17 Thread Ben Hutchings
p bd_mutex at this site. Signed-off-by: Guo Chao Cc: Alexander Viro Cc: Guo Chao Cc: M. Hindess Cc: Nikanth Karthikesan Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe Signed-off-by: Ben Hutchings --- drivers/block/loop.c |2 -- 1 file changed, 2 deletions(-) --- a/dri

[ 63/82] w1: fix oops when w1_search is called from netlink connector

2013-03-17 Thread Ben Hutchings
akov Cc: Josh Boyer Tested-by: Sven Geggus Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/w1/w1.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -918,7 +918,8 @@ v

[ 21/82] ARM: 7663/1: perf: fix ARMv7 EVTYPE_MASK to include NSH bit

2013-03-17 Thread Ben Hutchings
patch fixes the broken mask. Reported-by: Christoffer Dall Signed-off-by: Will Deacon Signed-off-by: Russell King Signed-off-by: Ben Hutchings --- arch/arm/kernel/perf_event_v7.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/kernel/perf_event_v7.c +++ b/arch/arm/k

[ 20/82] drm/i915: Dont clobber crtc->fb when queue_flip fails

2013-03-17 Thread Ben Hutchings
ble. v2: Update crtc->fb before queue_flip and restore it back after a failure. Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson Reported-and-Tested-by: Mika Kuoppala Signed-off-by: Daniel Vetter [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/g

[ 24/82] hwmon: (sht15) Check return value of regulator_enable()

2013-03-17 Thread Ben Hutchings
x27;t. Signed-off-by: Mark Brown Signed-off-by: Guenter Roeck [bwh: Backported to 3.2: driver does not use the devm API to manage memory, so goto err_free_data rather than returning on error] Signed-off-by: Ben Hutchings --- drivers/hwmon/sht15.c |8 +++- 1 file changed, 7 insertions(+), 1 del

[ 19/82] dm snapshot: add missing module aliases

2013-03-17 Thread Ben Hutchings
"snapshot-merge" targets. Reference: https://bugzilla.redhat.com/889973 Reported-by: Chao Yang Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon Signed-off-by: Ben Hutchings --- drivers/md/dm-snap.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/md/dm-snap.c

[ 81/82] btrfs: use rcu_barrier() to wait for bdev puts at unmount

2013-03-17 Thread Ben Hutchings
k Signed-off-by: Chris Mason Signed-off-by: Ben Hutchings --- fs/btrfs/volumes.c |6 ++ 1 file changed, 6 insertions(+) --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -577,6 +577,12 @@ int btrfs_close_devices(struct btrfs_fs_ __btrfs_close_devices(fs_devices);

[ 23/82] hwmon: (pmbus/ltc2978) Use detected chip ID to select supported functionality

2013-03-17 Thread Ben Hutchings
if wrong. We should also use the correct chip ID to select supported functionality. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Signed-off-by: Ben Hutchings --- drivers/hwmon/pmbus/ltc2978.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/hwmon/pmbus/ltc2978.c

[ 22/82] hwmon: (pmbus/ltc2978) Fix peak attribute handling

2013-03-17 Thread Ben Hutchings
not need to be an array. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- drivers/hwmon/pmbus/ltc2978.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) --- a/drivers/hwmon/pmbus

[ 26/82] ALSA: vmaster: Fix slave change notification

2013-03-17 Thread Ben Hutchings
ue is changed. Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/core/vmaster.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- a/sound/core/vmaster.c +++ b/sound/core/vmaster.c @@ -209,7 +209,10 @@ static int slave_put(struct snd_kcontrol } if (!ch

[ 30/82] HID: add support for Sony RF receiver with USB product id 0x0374

2013-03-17 Thread Ben Hutchings
: Jiri Kosina Signed-off-by: Ben Hutchings --- drivers/hid/hid-core.c |1 + drivers/hid/hid-ids.h |1 + drivers/hid/hid-sony.c |4 +++- 3 files changed, 5 insertions(+), 1 deletion(-) --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1533,6 +1533,7 @@ static const struct

[ 29/82] iwlwifi: always copy first 16 bytes of commands

2013-03-17 Thread Ben Hutchings
addresses and lengths for tracepoint, but otherwise leave it unchanged] Signed-off-by: Ben Hutchings --- --- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h +++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h @@ -180,6 +180,15 @@ struct iwl_queue { #define TFD_TX_CMD_SLOTS 256 #define

[ 25/82] hw_random: make buffer usable in scatterlist.

2013-03-17 Thread Ben Hutchings
ow how much the core will want to read). Reported-by: Aurelien Jarno Tested-by: Aurelien Jarno Signed-off-by: Rusty Russell Signed-off-by: Ben Hutchings --- drivers/char/hw_random/core.c | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) --- a/drivers/char/hw_rand

[ 28/82] dmi_scan: fix missing check for _DMI_ signature in smbios_present()

2013-03-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit a40e7cf8f06b4e322ba902e4e9f6a6b0c2daa907 upstream. Commit 9f9c9cbb6057 ("drivers/firmware/dmi_scan.c: fetch dmi version from SMBIOS if it exists") hoisted the

[ 39/82] efivars: Disable external interrupt while holding efivars->lock

2013-03-17 Thread Ben Hutchings
Acked-by: Matt Fleming Signed-off-by: Tony Luck [bwh: Backported to 3.2: - Drop efivarfs changes - Adjust context - Drop change to efi_pstore_erase(), which is implemented using efi_pstore_write() here] Signed-off-by: Ben Hutchings --- drivers/firmware/efiva

[ 32/82] ahci: AHCI-mode SATA patch for Intel Lynx Point DeviceIDs

2013-03-17 Thread Ben Hutchings
: Jeff Garzik Signed-off-by: Ben Hutchings --- drivers/ata/ahci.c |8 1 file changed, 8 insertions(+) --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -262,6 +262,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x1e06), board_ahci }, /* Panther Point

[ 16/82] cifs: ensure that cifs_get_root() only traverses directories

2013-03-17 Thread Ben Hutchings
org/show_bug.cgi?id=53221 Reported-and-tested-by: Kjell Braden Signed-off-by: Jeff Layton Signed-off-by: Steve French Signed-off-by: Ben Hutchings --- fs/cifs/cifsfs.c |5 + 1 file changed, 5 insertions(+) --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c @@ -561,6 +561,11 @@ c

[ 12/82] proc connector: reject unprivileged listener bumps

2013-03-17 Thread Ben Hutchings
: adjust context] Signed-off-by: Ben Hutchings --- drivers/connector/cn_proc.c |8 1 file changed, 8 insertions(+) --- a/drivers/connector/cn_proc.c +++ b/drivers/connector/cn_proc.c @@ -303,6 +303,12 @@ static void cn_proc_mcast_ctl(struct cn_ if (msg->len != sizeof(*mc

[ 31/82] HID: clean up quirk for Sony RF receivers

2013-03-17 Thread Ben Hutchings
interface that corresponds to the mouse (sony_report_fixup() is called once per interface during probing). Cc: linux-in...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Fernando Luis Vazquez Cao Signed-off-by: Jiri Kosina Signed-off-by: Ben Hutchings

[ 27/82] drm/radeon: add primary dac adj quirk for R200 board

2013-03-17 Thread Ben Hutchings
Deucher Signed-off-by: Ben Hutchings --- drivers/gpu/drm/radeon/radeon_combios.c |9 + 1 file changed, 9 insertions(+) --- a/drivers/gpu/drm/radeon/radeon_combios.c +++ b/drivers/gpu/drm/radeon/radeon_combios.c @@ -958,6 +958,15 @@ struct radeon_encoder_primary_dac *radeo

[ 34/82] ahci: AHCI-mode SATA patch for Intel Avoton DeviceIDs

2013-03-17 Thread Ben Hutchings
-by: Jeff Garzik Signed-off-by: Ben Hutchings --- drivers/ata/ahci.c | 16 1 file changed, 16 insertions(+) --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -278,6 +278,22 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x9c07), board_ahci

[ 35/82] ahci: Add Device IDs for Intel Wellsburg PCH

2013-03-17 Thread Ben Hutchings
: Jeff Garzik Signed-off-by: Ben Hutchings --- drivers/ata/ahci.c |8 1 file changed, 8 insertions(+) --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -294,6 +294,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x1f37), board_ahci }, /* Avoton RAID

[ 38/82] efi_pstore: Check remaining space with QueryVariableInfo() before writing data

2013-03-17 Thread Ben Hutchings
[Patch Description] To avoid handling the situation above, this patch checks if there is a space enough to log with QueryVariableInfo() before writing data. Signed-off-by: Seiji Aguchi Acked-by: Mike Waychison Signed-off-by: Tony Luck Signed-off-by: Ben Hutchings --- drivers/fi

[ 33/82] ahci: Add Device IDs for Intel Lynx Point-LP PCH

2013-03-17 Thread Ben Hutchings
-by: Jeff Garzik Signed-off-by: Ben Hutchings --- drivers/ata/ahci.c |8 1 file changed, 8 insertions(+) --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -270,6 +270,14 @@ static const struct pci_device_id ahci_p { PCI_VDEVICE(INTEL, 0x8c07), board_ahci }, /* Lynx Point

[ 11/82] md: raid0: fix error return from create_stripe_zones.

2013-03-17 Thread Ben Hutchings
-by: NeilBrown Signed-off-by: Ben Hutchings --- drivers/md/raid0.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/md/raid0.c +++ b/drivers/md/raid0.c @@ -286,7 +286,7 @@ abort: kfree(conf->strip_zone); kfree(conf->devlist); k

[ 36/82] iommu/amd: Initialize device table after dma_ops

2013-03-17 Thread Ben Hutchings
devices is blocked by default. This opens a short window in time where DMA to unity mapped regions is blocked by the IOMMU. Make sure this does not happen by initializing the device table after dma_ops. Tested on 3.2.38 Signed-off-by: Joerg Roedel Signed-off-by: Shuah Khan Signed-off-by: Ben

[ 40/82] efi: be more paranoid about available space when creating variables

2013-03-17 Thread Ben Hutchings
error if we fail to read a variable')] Signed-off-by: Ben Hutchings --- drivers/firmware/efivars.c | 106 + 1 file changed, 79 insertions(+), 27 deletions(-) --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c @@ -406,6 +406,30 @@ ge

[ 07/82] [SCSI] dc395x: uninitialized variable in device_alloc()

2013-03-17 Thread Ben Hutchings
ized. Signed-off-by: Dan Carpenter Acked-by: Oliver Neukum Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- drivers/scsi/dc395x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c @@ -3747,13 +3747,13 @@

[ 03/82] md: protect against crash upon fsync on ro array

2013-03-17 Thread Ben Hutchings
el to which it applies. Cc: Christoph Hellwig Cc: Ben Hutchings Cc: NeilBrown Signed-off-by: Sebastian Riemer Reported-by: Ben Hutchings Acked-by: Paul Menzel Signed-off-by: NeilBrown Signed-off-by: Ben Hutchings --- drivers/md/md.c |4 1 file changed, 4 insertions(+) --- a/drive

[ 43/82] Fix memory leak in cpufreq stats.

2013-03-17 Thread Ben Hutchings
but it is not freed when the CPU is going down. This will cause memory leak. Signed-off-by: xiaobing tu Signed-off-by: guifang tang Signed-off-by: Rafael J. Wysocki Signed-off-by: Ben Hutchings --- drivers/cpufreq/cpufreq_stats.c |1 + 1 file changed, 1 insertion(+) --- a/drive

[ 44/82] vfs: fix pipe counter breakage

2013-03-17 Thread Ben Hutchings
cks, let's just disallow this case, the same way we already do for the named pipe ("fifo") case. This is ancient going back to pre-2.4 days, and until trinity, nobody naver noticed. Reported-by: Dave Jones Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- fs/pipe.c

[ 08/82] ARM: VFP: fix emulation of second VFP instruction

2013-03-17 Thread Ben Hutchings
uot; but fail to properly take account of the FPEXC_FP2V flag in FPEXC. This is because the test for the second instruction register being valid is bogus, and will always skip emulation of the second instruction. Reported-by: Martin Storsjö Tested-by: Martin Storsjö Signed-off-by: Russell King

[ 15/82] mwifiex: correct sleep delay counter

2013-03-17 Thread Ben Hutchings
bug. Signed-off-by: Avinash Patil Signed-off-by: Amitkumar Karwar Signed-off-by: Yogesh Ashok Powar Signed-off-by: Bing Zhao Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- drivers/net/wireless/mwifiex/pcie.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a

[ 53/82] usb: cp210x new Vendor/Device IDs

2013-03-17 Thread Ben Hutchings
g Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/cp210x.c | 19 +++ 1 file changed, 19 insertions(+) --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -156,6 +156,25 @@ static const struct usb_device_id id_tab { USB_DEVICE

[ 50/82] e1000e: fix pci-device enable-counter balance

2013-03-17 Thread Ben Hutchings
J. Wysocki Tested-by: Borislav Petkov Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher Signed-off-by: Ben Hutchings --- drivers/net/ethernet/intel/e1000e/netdev.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/intel/e1000e/netdev.c +++ b/drivers/net/ethe

[ 48/82] USB: storage: fix Huawei mode switching regression

2013-03-17 Thread Ben Hutchings
ne.linux.usb.general/28543 Cc: Signed-off-by: Bjørn Mork Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/storage/initializers.c | 76 + drivers/usb/storage/initializers.h |4 +- drivers/usb/storage/unusual_devs.h | 329 +

[ 06/82] [SCSI] storvsc: Initialize the sglist

2013-03-17 Thread Ben Hutchings
Bottomley [bwh: Backported to 3.2: adjust filename] Signed-off-by: Ben Hutchings --- drivers/staging/hv/storvsc_drv.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/staging/hv/storvsc_drv.c +++ b/drivers/staging/hv/storvsc_drv.c @@ -815,6 +815,7 @@ static struct scatterlist *cre

[ 49/82] USB: added support for Cinterions products AH6 and PLS8

2013-03-17 Thread Ben Hutchings
ff-by: Christian Schmiedl Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/option.c |4 1 file changed, 4 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -341,6 +341,8 @@ static void option_instat_callback(struc #d

[ 46/82] xen/pciback: Dont disable a PCI device that is already disabled.

2013-03-17 Thread Ben Hutchings
. Reported-and-Tested-by: Sander Eikelenboom Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Ben Hutchings --- drivers/xen/xen-pciback/pciback_ops.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/xen/xen-pciback/pciback_ops.c +++ b/drivers/xen/xen-pciback/pciback_ops.c

[ 58/82] tty/serial: Add support for Altera serial port

2013-03-17 Thread Ben Hutchings
[bwh: Backported to 3.2: adjust filenames, context] Signed-off-by: Ben Hutchings --- --- a/Documentation/devicetree/bindings/tty/serial/of-serial.txt +++ b/Documentation/devicetree/bindings/tty/serial/of-serial.txt @@ -10,6 +10,9 @@ Required properties: - "ns16850"

[ 51/82] virtio: rng: disallow multiple device registrations, fixes crashes

2013-03-17 Thread Ben Hutchings
blow up. Check if we've already registered and initialised the driver. Also cleanup in case of registration errors or hot-unplug so that a new device can be used. Reported-by: Peter Krempa Reported-by: Signed-off-by: Amit Shah Signed-off-by: Rusty Russell Signed-off-by: Ben Hutc

[ 52/82] ALSA: seq: Fix missing error handling in snd_seq_timer_open()

2013-03-17 Thread Ben Hutchings
igned-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- sound/core/seq/seq_timer.c |8 1 file changed, 4 insertions(+), 4 deletions(-) --- a/sound/core/seq/seq_timer.c +++ b/sound/core/seq/seq_timer.c @@ -290,10 +290,10 @@ int snd_seq_timer_open(struct snd_s

[ 57/82] keys: fix race with concurrent install_user_keyrings()

2013-03-17 Thread Ben Hutchings
since the mutex is global, that may not be the best way. Signed-off-by: David Howells Reported-by: Mateusz Guzik Signed-off-by: Andrew Morton Signed-off-by: James Morris Signed-off-by: Ben Hutchings --- security/keys/process_keys.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[ 60/82] serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller

2013-03-17 Thread Ben Hutchings
[1000:0012] Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust filename] Signed-off-by:

[ 09/82] ARM: fix scheduling while atomic warning in alignment handling code

2013-03-17 Thread Ben Hutchings
-off-by: Russell King Signed-off-by: Ben Hutchings --- arch/arm/mm/alignment.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) --- a/arch/arm/mm/alignment.c +++ b/arch/arm/mm/alignment.c @@ -749,7 +749,6 @@ do_alignment(unsigned long addr, unsigne unsigned long instr

[ 62/82] usb: serial: Add Rigblaster Advantage to device table

2013-03-17 Thread Ben Hutchings
interface but the device ID is not in the driver. Signed-off-by: Steve Conklin Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- drivers/usb/serial/cp210x.c |1 + 1 file changed, 1 insertion(+) --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -91,6 +91,7

[ 76/82] mm/hotplug: correctly add new zone to all other nodes zone lists

2013-03-17 Thread Ben Hutchings
o Cc: Minchan Kim Cc: Rusty Russell Cc: Yinghai Lu Cc: Tony Luck Cc: KAMEZAWA Hiroyuki Cc: KOSAKI Motohiro Cc: David Rientjes Cc: Keping Chen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- mm/m

[ 67/82] hwmon: (pmbus/ltc2978) Fix temperature reporting

2013-03-17 Thread Ben Hutchings
. On LTC3880, READ_TEMPERATURE and READ_TEMPERATURE2 are supported. READ_TEMPERATURE is paged and reports external temperatures. READ_TEMPERATURE2 is unpaged and reports the internal junction temperature. Signed-off-by: Guenter Roeck Acked-by: Jean Delvare Signed-off-by: Ben Hutchings

[ 18/82] dm: fix truncated status strings

2013-03-17 Thread Ben Hutchings
tatus_flags parameter - Bump the last component of each current version (verified not to match any version used in mainline) - Drop changes to dm-verity] Signed-off-by: Ben Hutchings --- --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c @@ -1262,20 +1262,6 @@ static int crypt_de

[ 65/82] signal: always clear sa_restorer on execve

2013-03-17 Thread Ben Hutchings
: Serge Hallyn Cc: Julien Tinnes Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- kernel/signal.c |3 +++ 1 file changed, 3 insertions(+) --- a/kernel/signal.c +++ b/kernel/signal.c @@ -481,6 +481,9 @@ flush_signal_handlers(struct task_s

[ 68/82] crypto: user - fix info leaks in report API

2013-03-17 Thread Ben Hutchings
CRYPTO_MAX_ALG_NAME. Also switch to use strncpy() to copy the algorithm's name and driver_name. They are strings, after all. Signed-off-by: Mathias Krause Cc: Steffen Klassert Signed-off-by: Herbert Xu [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- crypto/ablkcip

[ 17/82] xen/pci: We dont do multiple MSIs.

2013-03-17 Thread Ben Hutchings
d with error -22 That is b/c in ahci_host_activate the second call to devm_request_threaded_irq would return -EINVAL as we passed in (on the second run) an IRQ that was never initialized. Reported-and-Tested-by: Sander Eikelenboom Signed-off-by: Konrad Rzeszutek Wilk Signed-off-by: Ben Hu

[ 80/82] loopdev: remove an user triggerable oops

2013-03-17 Thread Ben Hutchings
Viro Cc: Guo Chao Cc: M. Hindess Cc: Nikanth Karthikesan Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe Signed-off-by: Ben Hutchings --- drivers/block/loop.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) --- a/drivers/block/loop.c

[ 78/82] block: use i_size_write() in bd_set_size()

2013-03-17 Thread Ben Hutchings
intermediate result in some machines and configurations. Use i_size_write() instead. Signed-off-by: Guo Chao Cc: Alexander Viro Cc: Guo Chao Cc: M. Hindess Cc: Nikanth Karthikesan Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe Signed-off-by: Ben Hutchings --- fs

[ 77/82] xen-netfront: delay gARP until backend switches to Connected

2013-03-17 Thread Ben Hutchings
eople/ianc/linux-2.6.git#upstream/dom0/backend/netback-history [2] http://old-list-archives.xen.org/xen-devel/2011-06/msg01969.html [3] http://old-list-archives.xen.org/xen-devel/2011-07/msg00484.html Signed-off-by: Laszlo Ersek Reviewed-by: Ian Campbell Signed-off-by: David S. Miller Signed-o

[ 75/82] batman-adv: Only write requested number of byte to user buffer

2013-03-17 Thread Ben Hutchings
rwise unrelated userspace memory might get overridden by the kernel. Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Signed-off-by: Ben Hutchings --- net/batman-adv/icmp_socket.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/net/batman-adv/icmp_socket.c +++ b/net/b

[ 72/82] USB: Rip out recursive call on warm port reset.

2013-03-17 Thread Ben Hutchings
issue multiple warm resets for a device, that bit may have been set if the device went into SS.Inactive and then was successfully warm reset. Signed-off-by: Sarah Sharp Acked-by: Alan Stern Signed-off-by: Ben Hutchings --- drivers/usb/core/hub.c | 150 ++--

[ 74/82] batman-adv: bat_socket_read missing checks

2013-03-17 Thread Ben Hutchings
TASK_SIZE. Signed-off-by: Paul Kot [s...@narfation.org: made it checkpatch clean] Signed-off-by: Sven Eckelmann Signed-off-by: Marek Lindner Signed-off-by: Ben Hutchings --- net/batman-adv/icmp_socket.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/net/batman-adv

[ 66/82] hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attributes

2013-03-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit df069079c153d22adf6c28dcc0b1cf62bba75167 upstream. Signed-off-by: Axel Lin Acked-by: Jean Delvare Signed-off-by: Guenter Roeck Signed-off-by: Ben Hutchings --- drivers

[ 71/82] USB: Prepare for refactoring by adding extra udev checks.

2013-03-17 Thread Ben Hutchings
-by: Sarah Sharp Acked-by: Alan Stern Signed-off-by: Ben Hutchings --- drivers/usb/core/hub.c | 21 + 1 files changed, 13 insertions(+), 8 deletions(-) --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -2194,6 +2194,9 @@ static int hub_port_wait_reset(struct us

[ 82/82] NLS: improve UTF8 -> UTF16 string conversion routine

2013-03-17 Thread Ben Hutchings
e new capabilities. The two conversion routines are still annoyingly inconsistent in the way they handle invalid byte combinations. But that's a subject for a different patch. Signed-off-by: Alan Stern CC: Clemens Ladisch Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings ---

[ 73/82] USB: Fix connected device switch to Inactive state.

2013-03-17 Thread Ben Hutchings
e out whether it should issue a warm reset or a hot reset. Remove the FIXME note about needing disconnect() for a NOTATTACHED device. This patch fixes that. Signed-off-by: Sarah Sharp Acked-by: Alan Stern Signed-off-by: Ben Hutchings --- drivers/usb/core/hub.c |

[ 69/82] Fix: compat_rw_copy_check_uvector() misuse in aio, readv, writev, and security keys

2013-03-17 Thread Ben Hutchings
bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- fs/compat.c| 15 +++ mm/process_vm_access.c |8 security/keys/compat.c |4 ++-- 3 files changed, 9 insertions(+), 18 deletions(-) --- a/fs/compat.c +++ b/fs/compat.c @@ -572,6 +57

[ 14/82] ath9k_htc: fix signal strength handling issues

2013-03-17 Thread Ben Hutchings
) only tracks beacons of the AP that we're connected to. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville [bwh: Backported to 3.2: use compare_ether_addr() instead of ether_addr_equal(), with opposite sense] Signed-off-by: Ben Hutchings --- drivers/net/wireless/ath/ath9k/

[ 00/82] 3.2.41-stable review

2013-03-17 Thread Ben Hutchings
counter [3e7a4ff7c5b6423ddb644df9c41b8b6d2fb79d30] Axel Lin (1): hwmon: (lineage-pem) Add missing terminating entry for pem_[input|fan]_attributes [df069079c153d22adf6c28dcc0b1cf62bba75167] Ben Hutchings (2): Revert "powerpc/eeh: Fix crash when adding a device in a slot with DDW"

[ 01/82] Revert "powerpc/eeh: Fix crash when adding a device in a slot with DDW"

2013-03-17 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit 066f289835f09a3f744d6bac96f25e25d20b3ded which was 6a040ce72598159a74969a2d01ab0ba5ee6536b3 upstream. This was not needed and is not suitable for 3.2.y

  1   2   3   4   5   6   7   8   9   10   >