[ 016/262] Bluetooth: RFCOMM - Fix info leak in ioctl(RFCOMMGETDEVLIST)

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit f9432c5ec8b1e9a09b9b0e5569e3c73db8de432a ] The RFCOMM code fails to initialize the two padding bytes of struct rfcomm_dev_list_req inserted

[ 018/262] Bluetooth: L2CAP - Fix info leak via getsockname()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 792039c73cf176c8e39a6e8beef2c94ff46522ed ] The L2CAP code fails to initialize the l2_bdaddr_type member of struct sockaddr_l2 and the padding

[ 022/262] ipvs: fix info leak in getsockopt(IP_VS_SO_GET_TIMEOUT)

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 2d8a041b7bfe1097af21441cb77d6af95f4f4680 ] If at least one of CONFIG_IP_VS_PROTO_TCP or CONFIG_IP_VS_PROTO_UDP is not set,

[ 023/262] net: fix info leak in compat dev_ifconf()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 43da5f2e0d0c69ded3d51907d9552310a6b545e8 ] The implementation of dev_ifconf() for the compat ioctl interface uses an intermediate ifc

[ 017/262] Bluetooth: RFCOMM - Fix info leak via getsockname()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 9344a972961d1a6d2c04d9008b13617bcb6ec2ef ] The RFCOMM code fails to initialize the trailing padding byte of struct sockaddr_rc added for

[ 027/262] tcp: fix cwnd reduction for non-sack recovery

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Yuchung Cheng [ Upstream commit 7c4a56fec379ac0d7754e0d4da6a7361f1a4fe64 ] The cwnd reduction in fast recovery is based on the number of packets newly delivered per ACK. For

[ 025/262] af_netlink: force credentials passing [CVE-2012-3520]

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e0e3cea46d31d23dc40df0a49a7a2c04fe8edfea ] Pablo Neira Ayuso discovered that avahi and potentially NetworkManager accept spoofed Netlink

[ 029/262] gianfar: fix default tx vlan offload feature flag

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Claudiu Manoil [ Upstream commit e2c53be223aca36cf93eb6a0f6bafa079e78f52b ] Commit - "b852b72 gianfar: fix bug caused by 87c288c6e9aa31720b72e2bc2d665e24e1653c3e" disables by

[ 030/262] l2tp: avoid to use synchronize_rcu in tunnel free function

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: "x...@mail.ru" [ Upstream commit 99469c32f79a32d8481f87be0d3c66dad286f4ec ] Avoid to use synchronize_rcu in l2tp_tunnel_free because context may be atomic. Signed-off-by:

[ 032/262] bnx2x: fix 57840_MF pci id

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Yuval Mintz [ Upstream commit 5c879d2094946081af934739850c7260e8b25d3c ] Commit c3def943c7117d42caaed3478731ea7c3c87190e have added support for new pci ids of the 57840 board,

[ 033/262] cs89x0 : packet reception not working

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaccon Bastiaansen [ Upstream commit b72c200975a4ed579dbf3353019e19528745a29a ] The RxCFG register of the CS89x0 could be configured incorrectly (because of misplaced

[ 036/262] cpufreq/powernow-k8: workqueue user shouldnt migrate the kworker to another CPU

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 6889125b8b4e09c5e53e6ecab3433bed1ce198c9 upstream. powernowk8_target() runs off a per-cpu work item and if the cpufreq_policy->cpu is different from the

[ 038/262] vfs: make O_PATH file descriptors usable for fstat()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 55815f70147dcfa3ead5738fd56d3574e2e3c1c2 upstream. We already use them for openat() and friends, but fstat() also wants to be able to use O_PATH file

[ 040/262] netconsole: remove a redundant netconsole_target_put()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Amerigo Wang commit 72d3eb13b5c0abe7d63efac41f39c5b644c7bbaa upstream. This netconsole_target_put() is obviously redundant, and it causes a kernel segfault when removing a

[ 043/262] target: simplify code around transport_get_sense_data

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 27a2709912ac19c755d34c79fe11994b0bf8082b upstream. The error conditions in transport_get_sense_data are superfluous and complicate the code unnecessarily:

[ 044/262] ARM: 7496/1: hw_breakpoint: dont rely on dfsr to show watchpoint access type

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit bf8801145c01ab600f8df66e8c879ac642fa5846 upstream. >From ARM debug architecture v7.1 onwards, a watchpoint exception causes the DFAR to be updated with the

[ 046/262] ARM: 7513/1: Make sure dtc is built before running it

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: David Brown commit 70b0476a2394de4f4e32e0b67288d80ff71ca963 upstream. 'make dtbs' in a clean tree will try running the dtc before actually building it. Make these rules depend

[ 048/262] ARM: 7527/1: uaccess: explicitly check __user pointer when !CPU_USE_DOMAINS

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 8404663f81d212918ff85f493649a7991209fa04 upstream. The {get,put}_user macros don't perform range checking on the provided __user address when

[ 050/262] ARM: OMAP: timer: obey the !CONFIG_OMAP_32K_TIMER

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Igor Grinberg commit 45caae74d238ef6583e9402cb8c550cc0b0f7dbd upstream. Currently, omap2_sync32k_clocksource_init() function initializes the 32K timer as the system clock

[ 052/262] ARM: clk-imx35: Fix SSI clock registration

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit 48540058612786d365602f3324ed97f9071092de upstream. SSI block has two types of clock: ipg: bus clock, the clock needed for accessing registers. per:

[ 054/262] ALSA: hda - Fix missing Master volume for STAC9200/925x

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ab548d2dba63ba947287965e525cc02a15d9853d upstream. With the commit [2faa3bf: ALSA: hda - Rewrite the mute-LED hook with vmaster hook in patch_sigmatel.c],

[ 056/262] ALSA: hda - Fix Oops at codec reset/reconfig

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 07dc59f0988cb54fd87bd373b3b27eb2401dd811 upstream. snd_hda_codec_reset() calls restore_pincfgs() where the codec is powered up again, which eventually tries

[ 057/262] ALSA: ice1724: Use linear scale for AK4396 volume control.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Matteo Frigo commit 3737e2be505d872bf2b3c1cd4151b2d2b413d7b5 upstream. The AK4396 DAC has a linear-scale attentuator, but sound/pci/ice1712/prodigy_hifi.c used a log scale

Re: [PATCH 30/57] power: ab8500: Flush & sync all works

2012-09-28 Thread Anton Vorontsov
On Fri, Sep 28, 2012 at 12:28:03PM -0600, Mathieu Poirier wrote: [...] > >> + flush_delayed_work_sync(>attach_work); > >> + flush_delayed_work_sync(>usb_charger_attached_work); > >> + flush_delayed_work_sync(>ac_charger_attached_work); > >> + flush_delayed_work_sync(>check_usbchgnotok_work); >

[ 062/262] staging: r8712u: fix bug in r8712_recv_indicatepkt()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit abf02cfc179bb4bd30d05f582d61b3b8f429b813 upstream. 64bit arches have a buggy r8712u driver, let's fix it. skb->tail must be set properly or network stack

[ 060/262] staging: zcache: fix cleancache race condition with shrinker

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Seth Jennings commit 6d7d9798ad5c97ee4e911dd070dc12dc5ae55bd0 upstream. This patch fixes a race condition that results in memory corruption when using cleancache. The race

[ 064/262] staging: comedi: das08: Correct AO output for das08jr-16-ao

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 61ed59ed09e6ad2b8395178ea5ad5f653bba08e3 upstream. Don't zero out bits 15..12 of the data value in `das08jr_ao_winsn()` as that knobbles the upper

[ 058/262] ALSA: hda - Workaround for silent output on VAIO Z with ALC889

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit e427c2375646789ecd0ccaef1a1e41458559ab2d upstream. On recent kernels, Realtek codec parser tries to optimize the routing aggressively and take the headphone

[ 067/262] fs/proc: fix potential unregister_sysctl_table hang

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Francesco Ruggeri commit 6bf6104573482570f7103d3e5ddf9574db43a363 upstream. The unregister_sysctl_table() function hangs if all references to its ctl_table_header structure are

[ 069/262] perf_event: Switch to internal refcount, fix race with close()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit a6fa941d94b411bbd2b6421ffbde6db3c93e65ab upstream. Don't mess with file refcounts (or keep a reference to file, for that matter) in perf_event. Use explicit

[ 072/262] ACPI / PM: Use KERN_DEBUG when no power resources are found

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Lu commit f25b70613c048ceb1df052576fda03321ebf41cf upstream. commit a606dac368eed5696fb38e16b1394f1d049c09e9 adds support to link devices which have _PRx, if a device

[ 073/262] mmc: mxs-mmc: fix deadlock in SDIO IRQ case

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Lauri Hintsala commit 1af36b2a993dddfa3d6860ec4879c9e8abc9b976 upstream. Release the lock before mmc_signal_sdio_irq is called by mxs_mmc_irq_handler. Backtrace: [

[ 074/262] mmc: mxs-mmc: fix deadlock caused by recursion loop

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Lauri Hintsala commit fc108d24d3a6da63576a460e122fa1df0cbdea20 upstream. Release the lock before mmc_signal_sdio_irq is called by mxs_mmc_enable_sdio_irq. Backtrace: [

[ 066/262] USB: option: replace ZTE K5006-Z entry with vendor class rule

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit ba9edaa468869a8cea242a411066b0f490751798 upstream. Fix the ZTE K5006-Z entry so that it actually matches anything commit f1b5c997 USB:

[ 088/262] digsig: add hash size comparision on signature verification

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Kasatkin commit bc01637a80f5b670bd70a0279d3f93fa8de1c96d upstream. When pkcs_1_v1_5_decode_emsa() returns without error and hash sizes do not match, hash comparision is

[ 079/262] usb: chipidea: udc: add pullup fuction, needed by the uvc gadget

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Michael Grzeschik commit c0a48e6c75f2ac190d812bea5fc339696e434c2e upstream. Add function to physicaly enable or disable of pullup connection on the USB-D+ line. The uvc gaget

[ 083/262] usb: gadget: at91udc: Dont check for ep->ep.desc

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit f3bb8e63a8ee0398dffe412e774d8801db7e1bf1 upstream. Earlier we used to check for ep->ep.desc to figure out if this ep has already been enabled

[ 081/262] usb: gadget: dummy_hcd: add support for USB_DT_BOS on rh

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 3b9c1c5ba7a95caae8440ea47308496b14f7301a upstream. Without a reply for USB_DT_BOS the USB3 mode does not work since 448b6eb1 ("USB: Make sure

Probable false positive in checkpatch

2012-09-28 Thread Alan Stern
Andy: Here's what I just got from checkpatch: ERROR: space prohibited after that '-' (ctx:BxW) #22: FILE: drivers/usb/host/ehci-sched.c:1419: + start += (next - start + period - 1) & (- period); ^ This seems

[ 085/262] kobject: fix oops with "input0: bad kobj_uevent_env content in show_uevent()"

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 60e233a56609fd963c59e99bd75c663d63fa91b6 upstream. Fengguang Wu writes: > After the __devinit* removal series, I can still get kernel panic in >

[ 091/262] md/raid10: fix problem with on-stack allocation of r10bio structure.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit e0ee778528bbaad28a5c69d2e219269a3a096607 upstream. A 'struct r10bio' has an array of per-copy information at the end. This array is declared with size [0] and

[ 092/262] md: make sure metadata is updated when spares are activated or removed.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 6dafab6b1383e912cd252fa809570b484eb6e0dc upstream. It isn't always necessary to update the metadata when spares are removed as the presence-or-not of a spare

[ 086/262] dyndbg: fix for SOH in logging messages

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Markus Trippelsdorf commit ebdc82899ec5ed35af1c79ed6a4eeda69dad9b90 upstream. commit af7f2158fde was done against master, and clashed with structured logging's change of

[ 077/262] mmc: card: Skip secure erase on MoviNAND; causes unrecoverable corruption.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Ian Chen commit 3550ccdb9d8d350e526b809bf3dd92b550a74fe1 upstream. For several MoviNAND eMMC parts, there are known issues with secure erase and secure trim. For these

[ 071/262] ACPI / PM: Fix resource_lock dead lock in acpi_power_on_device

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Lin Ming commit 40bf66ec9791f1452b90b82aadc3b6e6aee201f5 upstream. Commit 0090def("ACPI: Add interface to register/unregister device to/from power resources") used

[ 063/262] staging: comedi: amplc_pci224: Fix PCI ref count

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit cadf84bfeb80e216fde328d357fe856160157d2c upstream. When attaching a PCI device manually via the comedi driver `attach` hook (`pci224_attach()`) (called by the

[ 055/262] ALSA: usb-audio: Fix bogus error messages for delay accounting

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 1213a205f9ed27d97de3d5bed28fb085ef4853e2 upstream. The recent fix for the missing fine delayed time adjustment gives strange error messages at each start of

[ 051/262] ARM: clk-imx25: Fix SSI clock registration

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit 912bfe76528c287bc4812521b8d53366954b39a5 upstream. SSI block has two types of clock: ipg: bus clock, the clock needed for accessing registers. per:

[ 042/262] target: Fix ->data_length re-assignment bug with SCSI overflow

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 4c054ba63ad47ef244cfcfa1cea38134620a5bae upstream. This patch fixes a long-standing bug with SCSI overflow handling where se_cmd->data_length was

[ 035/262] workqueue: reimplement work_on_cpu() using system_wq

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit ed48ece27cd3d5ee0354c32bbaec0f3e1d4715c3 upstream. The existing work_on_cpu() implementation is hugely inefficient. It creates a new kthread, execute that

[ 021/262] dccp: fix info leak via getsockopt(DCCP_SOCKOPT_CCID_TX_INFO)

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit 7b07f8eb75aa3097cdfd4f6eac3da49db787381d ] The CCID3 code fails to initialize the trailing padding bytes of struct tfrc_tx_info added for

[ 009/262] af_packet: remove BUG statement in tpacket_destruct_skb

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: "danborkm...@iogearbox.net" [ Upstream commit 7f5c3e3a80e6654cf48dfba7cf94f88c6b505467 ] Here's a quote of the comment about the BUG macro from asm-generic/bug.h: Don't use

[ 013/262] Bluetooth: HCI - Fix info leak in getsockopt(HCI_FILTER)

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause [ Upstream commit e15ca9a0ef9a86f0477530b0f44a725d67f889ee ] The HCI code fails to initialize the two padding bytes of struct hci_ufilter before copying it to

[ 093/262] md/raid5: fix calculate of degraded when a replacement becomes active.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit e5c86471f933608db5d43679f84cb4346c32033e upstream. When a replacement device becomes active, we mark the device that it replaces as 'faulty' so that it can

[ 096/262] mm/page_alloc: fix the page address of higher pages buddy calculation

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Li Haifeng commit 0ba8f2d59304dfe69b59c034de723ad80f7ab9ac upstream. The heuristic method for buddy has been introduced since commit 43506fad21ca ("mm/page_alloc.c: simplify

[ 095/262] ASoC: samsung dma - Dont indicate support for pause/resume.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Dylan Reid commit 57b2d68863f281737d8596cb3d76d89d9cc54fd8 upstream. The pause and resume operations indicate that the stream can be un-paused/resumed from the exact location

[ 089/262] SUNRPC: Fix a UDP transport regression

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit f39c1bfb5a03e2d255451bff05be0d7255298fa4 upstream. Commit 43cedbf0e8dfb9c5610eb7985d5f21263e313802 (SUNRPC: Ensure that we grab the XPRT_LOCK before

[ 099/262] hwmon: (ina2xx) Fix word size register read and write operations

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 080b98e9ab30734bda2f1b8b33cd55a4c4ef406a upstream. The driver uses be16_to_cpu and cpu_to_be16 to convert data in SMBus word operations from chip to host

[ 101/262] gma500: Fix regression on Oaktrail devices

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Alan Cox commit 26df641eac05abe1a3276eea441359b4d1120816 upstream. The register map patches didn't set one value for the GMA600 which means the Fujitsu Q550 dies on boot with

Re: [ 089/262] SUNRPC: Fix a UDP transport regression

2012-09-28 Thread Myklebust, Trond
On Fri, 2012-09-28 at 11:50 -0700, Greg Kroah-Hartman wrote: > From: Greg KH > > 3.5-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Trond Myklebust > > commit f39c1bfb5a03e2d255451bff05be0d7255298fa4 upstream. > > Commit

[ 103/262] can: mcp251x: avoid repeated frame bug

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Benoît Locher commit cab32f39dcc5b35db96497dc0a026b5dea76e4e7 upstream. The MCP2515 has a silicon bug causing repeated frame transmission, see section 5 of MCP2515 Rev. B

[ 105/262] memory hotplug: fix section info double registration bug

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: qiuxishi commit f14851af0ebb32745c6c5a2e400aa0549f9d20df upstream. There may be a bug when registering section info. For example, on my Itanium platform, the pfn range of

[ 097/262] drivers/rtc/rtc-twl.c: ensure all interrupts are disabled during probe

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Hilman commit 8dcebaa9a0ae8a0487f4342f3d56d2cb1c980860 upstream. On some platforms, bootloaders are known to do some interesting RTC programming. Without going into the

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

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit 8d54db795dfb1049d45dc34f0dddbc5347ec5642 upstream. The hypervisor is in charge of allocating the proper "NUMA" memory and dealing with the CPU

[ 111/262] hwmon: (ad7314) Add name sysfs attribute

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 3ceefe4319636d89d4bdf40dca9471970f942e4f upstream. The 'name' sysfs attribute is mandatory for hwmon devices, but was missing in this driver. Cc: Jonathan

Re: [PATCH 52/57] power: abx500_chargalg: Use hrtimer

2012-09-28 Thread Anton Vorontsov
On Fri, Sep 28, 2012 at 12:33:51PM -0600, Mathieu Poirier wrote: [...] > >> @@ -413,11 +428,10 @@ static void > >> abx500_chargalg_start_safety_timer(struct abx500_chargalg *di) > >>} > >> > >>di->events.safety_timer_expired = false; > >> - di->safety_timer.expires = timer_expiration;

Re: mtd: kernel BUG at arch/x86/mm/pat.c:279!

2012-09-28 Thread Sasha Levin
On 09/28/2012 09:13 PM, Linus Torvalds wrote: > On Fri, Sep 28, 2012 at 11:05 AM, Artem Bityutskiy > wrote: >> >> I am not the maintainer, but please, go ahead an push your fix. I do not >> have time to test it myself and it does not look like anyone else in the >> small mtd community does. > >

[ 112/262] dj: memory scribble in logi_dj

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-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

[ 114/262] cifs: fix return value in cifsConvertToUTF16

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit c73f693989d7a7d99ec66a7065295a0c93d0b127 upstream. This function returns the wrong value, which causes the callers to get the length of the resulting

Re: [PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-28 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Sep 28, 2012 at 8:42 PM, Cousson, Benoit wrote: > On 9/28/2012 3:07 AM, ABRAHAM, KISHON VIJAY wrote: >> >> Hi, >> >> On Fri, Sep 28, 2012 at 4:18 AM, Cousson, Benoit wrote: >>> >>> On 9/27/2012 7:24 AM, Rob Herring wrote: On 09/25/2012 05:06 AM, ABRAHAM, KISHON VIJAY

[ 107/262] xen/boot: Disable BIOS SMP MP table search.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit bd49940a35ec7d488ae63bd625639893b3385b97 upstream. As the initial domain we are able to search/map certain regions of memory to harvest

[ 117/262] ibmveth: Fix alignment of rx queue bug

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Santiago Leon commit d90c92fee89ccd75ef2646f3bde0b4c0450666c3 upstream. This patch fixes a bug found by Nish Aravamudan (https://lkml.org/lkml/2012/5/15/220) where the driver

[ 119/262] brcmfmac: fix big endian bug in i-scan.

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Hante Meuleman commit ed205b361956c96e0d8c09a8c9135a6a79cd9541 upstream. ssid len is 32 bit and needs endian conversion for big endian systems. Signed-off-by: Hante Meuleman

[ 121/262] SCSI: lpfc: fix problems with -Werror

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: James Bottomley commit 4bdd03e61b7a5c4c6bc2b25d46fcd491788fdfb3 upstream. Commit d38bd3aef ("Add -Werror compilation flag") is causing build breakage with random gcc

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

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: "sreekanth.re...@lsi.com" commit 10cce6d8b5af0b32bc4254ae4a28423a74c0921c upstream. This patch checks whether HBA is SAS2008 B0 controller. if it is a SAS2008 B0 controller

[ 124/262] SCSI: hpsa: fix handling of protocol error

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: "Stephen M. Cameron" commit 256d0eaac87da1e993190846064f339f4c7a63f5 upstream. If a command status of CMD_PROTOCOL_ERR is received, this information should be conveyed to the

[ 126/262] Bluetooth: mgmt: Fix enabling SSP while powered off

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Kaczmarek commit 3d1cbdd6aefff711bcf389fdabc4af9bc22e8201 upstream. When new BT USB adapter is plugged in it's configured while still being powered off (HCI_AUTO_OFF

[ 129/262] c/r: prctl: fix build error for no-MMU case

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Mark Salter commit be8cfc4af15cf611dfeb66a1fb5df43d5f1e280a upstream. Commit 1ad75b9e1628 ("c/r: prctl: add minimal address test to PR_SET_MM") added some address checking to

[PATCH v2 1/7] uio: uio_pruss: replace private SRAM API with genalloc

2012-09-28 Thread Matt Porter
Remove the use of the private DaVinci SRAM API in favor of genalloc. The pool to be used is provided by platform data. Signed-off-by: Matt Porter --- drivers/uio/Kconfig |1 + drivers/uio/uio_pruss.c | 24 +---

[PATCH v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-09-28 Thread Matt Porter
L3RAM (shared SRAM) is needed for use by several drivers. This creates a genalloc pool and a hook for the platform code to provide the struct gen_pool * in platform data. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/include/mach/common.h |2 ++

[PATCH v2 5/7] ARM: davinci: Add support for PRUSS on DA850

2012-09-28 Thread Matt Porter
Adds PRUSS clock, registers the L3RAM pool, and registers the platform device for uio_pruss on DA850. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/board-da850-evm.c| 12 + arch/arm/mach-davinci/da850.c |9 arch/arm/mach-davinci/devices-da8xx.c | 66

[PATCH v2 6/7] ARM: omap: add DT support for deasserting hardware reset lines

2012-09-28 Thread Matt Porter
This optional binding extension allows specification of a hwmod and associate hardware reset line which should be deasserted for the device to be functional. The implementation works for reference as to the problem that exists for utilizing uio_pruss on AM33xx but is suboptimal. The problem is

[PATCH v2 2/7] uio: uio_pruss: add support for am33xx

2012-09-28 Thread Matt Porter
Adds DT, pinctrl, and runtime PM support to enable AM33xx. Signed-off-by: Matt Porter --- drivers/uio/Kconfig |4 +-- drivers/uio/uio_pruss.c | 90 +-- 2 files changed, 73 insertions(+), 21 deletions(-) diff --git a/drivers/uio/Kconfig

[ 127/262] Bluetooth: Fix not removing power_off delayed work

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Vinicius Costa Gomes commit 78c04c0bf52360dc2f7185e99c8e9aa05d73ae5a upstream. For example, when a usb reset is received (I could reproduce it running something very similar to

[ 125/262] SCSI: scsi: virtio-scsi: Fix address translation failure of HighMem pages used by sg list

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Wang Sen commit 27e99ade81368e6fdda3212bff9345177cf9e57a upstream. When using the commands below to write some data to a virtio-scsi LUN of the QEMU guest(32-bit) with 1G

[ 115/262] vmwgfx: add dumb ioctl support

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 5e1782d224c79b26ab7d5c31e3f87657000714fb upstream. Testing and works with the -modesetting driver, Reviewed-by: Jakob Bornecrantz Signed-off-by: Dave

[ 116/262] net: usbnet: fix softirq storm on suspend

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 85e87870fa18ec9f5df98e2d3b48f3699560a570 upstream. Suspending an open usbnet device results in constant rescheduling of usbnet_bh. commit 65841fd5 "usbnet:

[ 109/262] hwmon: (fam15h_power) Tweak runavg_range on resume

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Herrmann commit 5f0ecb907deb1e6f28071ee3bd568903b9da1be4 upstream. The quirk introduced with commit 00250ec90963b7ef667843f3244985ecde14 (hwmon: fam15h_power: fix

[PATCH v2 7/7] ARM: dts: AM33xx PRUSS support

2012-09-28 Thread Matt Porter
Adds a pruss node and an example of use on Beaglebone. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am335x-bone.dts |4 arch/arm/boot/dts/am33xx.dtsi | 11 +++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/am335x-bone.dts

[PATCH v2 3/7] uio: dt: add TI PRUSS binding

2012-09-28 Thread Matt Porter
Adds a DT binding definition for the TI PRUSS. Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/uio/pruss.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/uio/pruss.txt diff --git

[PATCH v2 0/7] uio_pruss cleanup and platform support

2012-09-28 Thread Matt Porter
Changes since v1: - Replaced uio_pruss private SRAM API use with genalloc - Added DA850 platform device and clock support - Added DA850 L3 RAM gen_pool support - Split out DT binding This series enables uio_pruss on both DA850 and AM33xx. The driver previously was

[ 130/262] hpwdt: Fix kdump issue in hpwdt

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit 308b135e4fcc00c80c07e0e04e7afa8edf78583c upstream. kdump can be interrupted by watchdog timer when the timer is left activated on the crash kernel. Changed

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

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Leach commit e1e5b7e4251c7538ca08c2c5545b0c2fbd8a6635 upstream. This patch zeroes the SCTLR.TRE bit prior to setting the mapping as cacheable for ARMv7 cores in the

[ 135/262] MIPS: mm: Add compound tail page _mapcount when mapped

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Jovi Zhang commit af89fa3986b9d034a286544ab1ed95096496a2f9 upstream. See commit b6999b191 which did the same modification for x86's mm/gup, Quote from commit b6999b191:

[ 136/262] perf/x86/ibs: Check syscall attribute flags

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Robert Richter commit bad9ac2d7f878a31cf1ae8c1ee3768077d222bcb upstream. Current implementation simply ignores attribute flags. Thus, there is no notification to userland of

[ 137/262] rtlwifi: rtl8192ce: Log message that B_CUT device may not work

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 022e1d0680c7b4366017393417b8758be5abcee8 upstream. There are a number of problems that occur for the latest version of the Realtek RTL8188CE device with the

[ 131/262] ARM: imx: armadillo5x0: Fix illegal register access

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit 35495173e1df621dff0e9a244accbe32cd28a98f upstream. Since commit eb92044eb (ARM i.MX3: Make ccm base address a variable ) it is necessary to pass the CCM

[ 142/262] DMA: PL330: Fix potential NULL pointer dereference in pl330_submit_req()

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Kamat commit 2e2c682becb20416c140aa0d6d3137b51a5c76da upstream. 'r->cfg' is being checked for NULL. However, it is dereferenced in the previous statements. Thus moving

[ 143/262] DMA: PL330: Check the pointer returned by kzalloc

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Kamat commit 61c6e7531d3b66b33187b8cdd700fd8ab93ffd62 upstream. kzalloc could return NULL. Hence add a check to avoid NULL pointer dereference. Signed-off-by: Sachin

[ 145/262] dmaengine: at_hdmac: check that each sg data length is non-null

2012-09-28 Thread Greg Kroah-Hartman
From: Greg KH 3.5-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Ferre commit c456797681db814f4f5b36909e8e94047bf53d9c upstream. Avoid the construction of a malformed DMA request sent to the DMA controller. Log message is for debug

<    1   2   3   4   5   6   7   8   9   10   >