Re: [ 3.5.y.z extended stable ] Linux 3.5.7.3 stable review

2013-01-16 Thread Herton Ronaldo Krzesinski
This one missed the first introductory paragraph..., here it goes: I am announcing the review cycle for the 3.5.7.3 release of stable patches. This new release contains 222 patches. Proposed patches are posted as a response to this message. The same patches are also available at the following

[PATCH 167/222] drm/i915: fix flags in dma buf exporting

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 5b42427fc38ecb9056c4e64deaff36d6d6ba1b67 upstream. As pointed out by Seung-Woo Kim this should have been passing flags like nouveau/radeon have. Signed-off-by: Dave

[PATCH 159/222] staging: vt6656: 64 bit fixes: use u32 for QWORD definition.

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit a552397d5e4ef0cc0bd3e9595d6acc9a3b381171 upstream. Size of long issues replace with u32. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman

[PATCH 158/222] staging: vt6656: [BUG] out of bound array reference in RFbSetPower.

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit ab1dd9963137a1e122004d5378a581bf16ae9bc8 upstream. Calling RFbSetPower with uCH zero value will cause out of bound array reference. This causes 64 bit kernels to

[PATCH 156/222] udf: fix memory leak while allocating blocks during write

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Namjae Jeon commit 2fb7d99d0de3fd8ae869f35ab682581d8455887a upstream. Need to brelse the buffer_head stored in cur_epos and next_epos. Signed-off-by: Namjae Jeon Signed-off-by: Ashish

[PATCH 151/222] usb/ipheth: Add iPhone 5 support

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jay Purohit commit af1b85e49089f945deb46258b0fc4bc9910afb22 upstream. I noticed that the iPhone ethernet driver did not support iPhone 5. I quickly added support to it in my kernel,

[PATCH 139/222] exec: do not leave bprm->interp on stack

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit b66c5984017533316fd1951770302649baf1aa33 upstream. If a series of scripts are executed, each triggering module loading via unprintable bytes in the script header, kernel

[PATCH 136/222] intel-iommu: Free old page tables before creating superpage

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: "Woodhouse, David" commit 6491d4d02893d9787ba67279595990217177b351 upstream. The dma_pte_free_pagetable() function will only free a page table page if it is asked to free the *entire*

[PATCH 135/222] cifs: don't compare uniqueids in cifs_prime_dcache unless server inode numbers are in use

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 2f2591a34db6c9361faa316c91a6e320cb4e6aee upstream. Oliver reported that commit cd60042c caused his cifs mounts to continually thrash through new inodes on readdir. His

[PATCH 134/222] ARM: 7607/1: realview: fix private peripheral memory base for EB rev. B boards

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit e6ee4b2b57a8e0d8e551031173de080b338d3969 upstream. Commit 34ae6c96a6a7 ("ARM: 7298/1: realview: fix mapping of MPCore private memory region") accidentally broke the

[PATCH 172/222] PCI: Work around Stratus ftServer broken PCIe hierarchy (fix DMI check)

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Myron Stowe commit 1278998f8ff6d66044ed00b581bbf14aacaba215 upstream. Commit 284f5f9 was intended to disable the "only_one_child()" optimization on Stratus ftServer systems, but its DMI

[PATCH 174/222] mm: Fix PageHead when !CONFIG_PAGEFLAGS_EXTENDED

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Christoffer Dall commit ad4b3fb7ff9940bcdb1e4cd62bd189d10fa636ba upstream. Unfortunately with !CONFIG_PAGEFLAGS_EXTENDED, (!PageHead) is false, and (PageHead) is true, for tail pages. If

[PATCH 177/222] drm/i915: add some barriers when changing DIPs

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 9d9740f099f2eaf309c4c9cbc0d732507140db28 upstream. On IVB and older, we basically have two registers: the control and the data register. We write a few consecutitve

[PATCH 179/222] RDMA/nes: Fix for terminate timer crash

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Tatyana Nikolova commit 7bfcfa51c35cdd2d37e0d70fc11790642dd11fb3 upstream. The terminate timer needs to be initialized just once. Signed-off-by: Tatyana Nikolova Signed-off-by: Roland

[PATCH 180/222] RDMA/nes: Fix for crash when registering zero length MR for CQ

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Tatyana Nikolova commit 7d9c199a55200c9b9fcad08e150470d02fb385be upstream. Signed-off-by: Tatyana Nikolova Signed-off-by: Roland Dreier Signed-off-by: Herton Ronaldo Krzesinski ---

[PATCH v4] context_tracking: Add comments on interface and internals

2013-01-16 Thread Frederic Weisbecker
This subsystem lacks many explanations on its purpose and design. Add these missing comments. v4: Document function parameter to be more kernel-doc friendly, as per Namhyung suggestion. Reported-by: Andrew Morton Signed-off-by: Frederic Weisbecker Cc: Alessio Igor Bogani Cc: Andrew Morton

Re: [PATCH 00/10] TTY: switch flipping functions to tty_port

2013-01-16 Thread Steven Rostedt
On Wed, 2013-01-16 at 16:59 +0100, Jiri Slaby wrote: > On 01/16/2013 04:44 PM, Steven Rostedt wrote: > > On Wed, 2013-01-16 at 14:37 +0100, Jiri Slaby wrote: > >> Steven, do you have any plans with the driver? What is its planned destiny? > > > > Well, I'm currently using the device in my main

Re: [PATCH] module, async: async_synchronize_full() on module init iff async is used

2013-01-16 Thread Arjan van de Ven
But no, it's not just some trivial one-liner. Especially the question about "when to try to load the module that is given on the kernel command line" is not trivial. Do we require that the module is in the initrd and loadable basically immediate at boot? Do we try again after switching the root

[PATCH] drivers: avoid use after free of a pinctrl context pointer

2013-01-16 Thread Guennadi Liakhovetski
During probing, pinctrl context is allocated and assigned to the struct device::pins pointer. If probing fails or if the driver is later unbound and re-probed again, the memory is freed, but the pointer is not cleared. On a repeated probing attempt a non-NULL pointer indicates an already allocated

Re: [PATCH 00/10] TTY: switch flipping functions to tty_port

2013-01-16 Thread Alan Cox
On Wed, 16 Jan 2013 16:59:58 +0100 Jiri Slaby wrote: > On 01/16/2013 04:44 PM, Steven Rostedt wrote: > > On Wed, 2013-01-16 at 14:37 +0100, Jiri Slaby wrote: > >> Steven, do you have any plans with the driver? What is its planned > >> destiny? > > > > Well, I'm currently using the device in my

[PATCH 185/222] tcp: fix MSG_SENDPAGE_NOTLAST logic

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit ae62ca7b03217be5e74759dc6d7698c95df498b3 upstream. commit 35f9c09fe9c72e (tcp: tcp_sendpages() should call tcp_push() once) added an internal flag :

Re: [RFC PATCH 5/6] uprobes: add bp_vaddr argument to consumer handler

2013-01-16 Thread Oleg Nesterov
On 01/15, Josh Stone wrote: > > On 01/12/2013 09:06 AM, Oleg Nesterov wrote: > > On 01/10, Josh Stone wrote: > >> and for uretprobes we want the original return address. > > > > Yes, Anton's v2 does this. > > > > But. Don't you also need to know the address of function we are going > > to return

[PATCH 191/222] ACPI : do not use Lid and Sleep button for S5 wakeup

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Zhang Rui commit b7e383046c2c7c13ad928cd7407eafff758ddd4b upstream. When system enters power off, the _PSW of Lid device is enabled. But this may cause the system to reboot instead of

[PATCH 194/222] Input: gpio_keys - defer probing if GPIO probing is deferred

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit e324ce61ef483dd26d03502d35666ad48a2e1b33 upstream. If of_get_gpio_flags() returns an error (as in case when GPIO probe is deferred) the driver would attempt to

[PATCH 198/222] ath9k_hw: Fix RX gain initvals for AR9485

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit a796a1dd5da9645ad77aa687d1a890ecd63ab5a6 upstream. Populate iniModesRxGain with the correct initvals array for AR9485 v1.1 Signed-off-by: Sujith Manoharan

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-16 Thread Andrew Murray
On Wed, Jan 16, 2013 at 02:00:26PM +, Arnd Bergmann wrote: > On Tuesday 15 January 2013, Thierry Reding wrote: > > Is there actually hardware that supports this? I assumed that the MSI > > controller would have to be tightly coupled to the PCI host bridge in > > order to raise an interrupt

[PATCH 208/222] NFS: Ensure that we free the rpc_task after read and write cleanups are done

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 6db6dd7d3fd8f7c765dabc376493d6791ab28bd6 upstream. This patch ensures that we free the rpc_task after the cleanup callbacks are done in order to avoid a deadlock

[PATCH 207/222] SUNRPC: Ensure that we free the rpc_task after cleanups are done

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit c6567ed1402c55e19b012e66a8398baec2a726f3 upstream. This patch ensures that we free the rpc_task after the cleanup callbacks are done in order to avoid a deadlock

[PATCH 204/222] drm/nouveau: fix init with agpgart-uninorth

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen commit eda85d6ad490923152544fba0473798b6cc0edf6 upstream. Check that the AGP aperture can be mapped. This follows a similar change done for Radeon (commit 365048ff,

[PATCH 205/222] video: mxsfb: fix crash when unblanking the display

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Lothar=20Wa=C3=9Fmann?= commit 6c1ecba8d84841277d68140ef485335d5be28485 upstream. The VDCTRL4 register does not provide the MXS SET/CLR/TOGGLE feature. The write in

[PATCH 203/222] drm/radeon: Properly handle DDC probe for DP bridges

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Niels Ole Salscheider commit 0a9069d34918659bc8a89e21e69e60b2b83291a3 upstream. DDC information can be accessed using AUX CH Fixes failure to probe monitors on some systems with DP

[PATCH 202/222] drm/radeon: add connector table for Mac G4 Silver

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit cafa59b9011a7790be4ddd5979419259844a165d upstream. Apple cards do not provide data tables in the vbios so we have to hard code the connector parameters in the driver.

[PATCH 201/222] powerpc: Add missing NULL terminator to avoid boot panic on PPC40x

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Gabor Juhos commit e6449c9b2d90c1bd9a5985bf05ddebfd1631cd6b upstream. The missing NULL terminator can cause a panic on PPC405 boards during boot: Linux/PowerPC load:

[PATCH 200/222] powerpc/vdso: Remove redundant locking in update_vsyscall_tz()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Shan Hai commit ce73ec6db47af84d1466402781ae0872a9e7873c upstream. The locking in update_vsyscall_tz() is not only unnecessary because the vdso code copies the data unproteced in

[PATCH 196/222] rtlwifi: fix incorrect use of usb_alloc_coherent with usb_control_msg

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit 4c3de5920c486b8eefa6187ee6a181864c161100 upstream. Incorrect use of usb_alloc_coherent memory as input buffer to usb_control_msg can cause problems in arch DMA

[PATCH 197/222] p54usb: add USB ID for T-Com Sinus 154 data II

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Tomasz Guszkowski commit 3194b7fcdf6caea338b5d2c72d76fed80437649c upstream. Added USB ID for T-Com Sinus 154 data II. Signed-off-by: Tomasz Guszkowski Acked-by: Christian Lamparter

[PATCH 195/222] cifs: adjust sequence number downward after signing NT_CANCEL request

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 31efee60f489c759c341454d755a9fd13de8c03d upstream. When a call goes out, the signing code adjusts the sequence number upward by two to account for the request and the

[PATCH 192/222] aoe: do not call bdi_init after blk_alloc_queue

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Ed Cashin [ this is part of commit 0a41409c518083133e79015092585d68915865be upstream, kernels <= 3.6 requires this different patch ] blk_alloc_queue has already done a bdi_init, so do

[PATCH 189/222] tcp: tcp_replace_ts_recent() should not be called from tcp_validate_incoming()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit bd090dfc634ddd711a5fbd0cadc6e0ab4977bcaf upstream. We added support for RFC 5961 in latest kernels but TCP fails to perform exhaustive check of ACK sequence. We can

[PATCH 187/222] tcp: implement RFC 5961 4.2

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 0c24604b68fc7810d429d6c3657b6f148270e528 upstream. Implement the RFC 5691 mitigation against Blind Reset attack using SYN bit. Section 4.2 of RFC 5961 advises to send

[PATCH 186/222] tcp: implement RFC 5961 3.2

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 282f23c6ee343126156dd41218b22ece96d747e3 upstream. Implement the RFC 5691 mitigation against Blind Reset attack using RST bit. Idea is to validate incoming RST

[PATCH 183/222] inet: Fix kmemleak in tcp_v4/6_syn_recv_sock and dccp_v4/6_request_recv_sock

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch commit e337e24d6624e74a558aa69071e112a65f7b5758 upstream. If in either of the above functions inet_csk_route_child_sock() or __inet_inherit_port() fails, the newsk will

[PATCH 184/222] net: sched: integer overflow fix

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Stefan Hasko commit d2fe85da52e89b8012ffad010ef352a964725d5f upstream. Fixed integer overflow in function htb_dequeue Signed-off-by: Stefan Hasko Acked-by: Eric Dumazet Signed-off-by:

[PATCH 181/222] sparc: huge_ptep_set_* functions need to call set_huge_pte_at()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit 6cb9c3697585c47977c42c5cc1b9fc49247ac530 upstream. Modifying the huge pte's requires that all the underlying pte's be modified. Version 2: added missing

[PATCH 178/222] drm/i915: make sure we write all the DIP data bytes

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit adf00b26d18e1b3570451296e03bcb20e4798cdd upstream. ... even if the actual infoframe is smaller than the maximum possible size. If we don't write all the 32 DIP data

[PATCH 213/222] printk: fix incorrect length from print_time() when seconds > 99999

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Roland Dreier commit 35dac27cedd14c3b6fcd4ba7bc3c31738cfd1831 upstream. print_prefix() passes a NULL buf to print_time() to get the length of the time prefix; when printk times are

[PATCH 211/222] drivers/rtc/rtc-vt8500.c: correct handling of CR_24H bitfield

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Tony Prisk commit 532db570e5181abc8f4f7bfa6c77c69ec2240198 upstream. Control register bitfield for 12H/24H mode is handled incorrectly. Setting CR_24H actually enables 12H mode. This

[PATCH 215/222] signals: sys_ssetmask() uses uninitialized newmask

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 5ba53ff648e785445a32ba39112ed07e4cf588d0 upstream. Commit 77097ae503b1 ("most of set_current_blocked() callers want SIGKILL/SIGSTOP removed from set") removed the

[PATCH 216/222] ext4: release buffer in failed path in dx_probe()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Guo Chao commit 0ecaef0644973e9006fdbc6974301047aaff9bc6 upstream. If checksum fails, we should also release the buffer read from previous iteration. Signed-off-by: Guo Chao

[PATCH 218/222] drm/prime: drop reference on imported dma-buf come from gem

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Seung-Woo Kim commit be8a42ae60addd8b6092535c11b42d099d6470ec upstream. Increasing ref counts of both dma-buf and gem for imported dma-buf come from gem makes memory leak. release

Re: USB device cannot be reconnected and khubd "blocked for more than 120 seconds"

2013-01-16 Thread Tejun Heo
Hello, Alan. On Tue, Jan 15, 2013 at 11:01:15PM -0500, Alan Stern wrote: > > The current domain implementation is somewhere inbetween. It's not > > completely simplistic system and at the same time not developed enough > > to do properly stacked flushing. > > I like your idea of chronological

[PATCH 221/222] Revert "drm/i915: no lvds quirk for Zotac ZDBOX SD ID12/ID13"

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 48e858340dae43189a4e55647f6eac736766f828 upstream. This reverts commit 9756fe38d10b2bf90c81dc4d2f17d5632e135364. The bogus lvds output is actually a lvds->hdmi

[PATCH v2] ACPI: add support for CSRT table

2013-01-16 Thread Mika Westerberg
Core System Resources Table (CSRT) is a proprietary ACPI table that contains resources for certain devices that are not found in the DSDT table. Typically a shared DMA controller might be found here. This patch adds support for this table. We go through all entries in the table and make platform

[PATCH 220/222] [SCSI] mvsas: Fix oops when ata commond timeout.

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jianpeng Ma commit 95ab000388974d8ffef8257306b4be6e8778b768 upstream. Kernel message follows: [ 511.712011] sd 11:0:0:0: [sdf] command 8800a4e81400 timed out [ 511.712022] sas:

[PATCH 222/222] staging: comedi: Kconfig: COMEDI_NI_AT_A2150 should select COMEDI_FC

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 34ffb33e09132401872fe79e95c30824ce194d23 upstream. The 'ni_at_a2150' module links to `cfc_write_to_buffer` in the 'comedi_fc' module, so selecting 'COMEDI_NI_AT_A2150'

[PATCH 219/222] i915: ensure that VGA plane is disabled

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Mazur commit 0fde901f1ddd2ce0e380a6444f1fb7ca555859e9 upstream. Some broken systems (like HP nc6120) in some cases, usually after LID close/open, enable VGA plane, making

[PATCH 210/222] mm: limit mmu_gather batching to fix soft lockups on !CONFIG_PREEMPT

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 53a59fc67f97374758e63a9c785891ec62324c81 upstream. Since commit e303297e6c3a ("mm: extended batches for generic mmu_gather") we are batching pages to be freed until

[PATCH 212/222] drivers/rtc/rtc-vt8500.c: fix handling of data passed in struct rtc_time

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Tony Prisk commit 2f90b68309683f2c5765a1b04ca23d71e51f1494 upstream. tm_mon is 0..11, whereas vt8500 expects 1..12 for the month field, causing invalid date errors for January, and

[PATCH 214/222] PM: Move disabling/enabling runtime PM to late suspend/early resume

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 9f6d8f6ab26b42620a914d67f29822f9bba90233 upstream. Currently, the PM core disables runtime PM for all devices right after executing subsystem/driver .suspend()

[PATCH 217/222] ALSA: hda - add mute LED for HP Pavilion 17 (Realtek codec)

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit 6d3cd5d444223c41eabb70dccff14fae4e8cb8b1 upstream. The mute LED is in this case connected to the Mic1 VREF. The machine also exposes the following string in

[PATCH 206/222] nfs: fix null checking in nfs_get_option_str()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang commit e25fbe380c4e3c09afa98bcdcd9d3921443adab8 upstream. The following null pointer check is broken. *option = match_strdup(args); return !option; The pointer

[PATCH 209/222] ACPI / scan: Do not use dummy HID for system bus ACPI nodes

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 4f5f64cf0cc916220aaa055992e31195470cfe37 upstream. At one point acpi_device_set_id() checks if acpi_device_hid(device) returns NULL, but that never happens, so

[PATCH 199/222] p54usb: add USBIDs for two more p54usb devices

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit 4010fe21a315b4223c25376714c6a2b61b722e5c upstream. This patch adds USBIDs for: - DrayTek Vigor 530 - Zoom 4410a It also adds a note about

[PATCH 193/222] Input: sentelic - only report position of first finger as ST coordinates

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Christophe TORDEUX commit a25461659050b913e114d282bf58823682eb56b6 upstream. Report only the position of the first finger as absolute non-MT coordinates, instead of reporting both fingers

[PATCH 190/222] tcp: RFC 5961 5.2 Blind Data Injection Attack Mitigation

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 354e4aa391ed50a4d827ff6fc11e0667d0859b25 upstream. RFC 5961 5.2 [Blind Data Injection Attack].[Mitigation] All TCP stacks MAY implement the following mitigation.

[PATCH 188/222] tcp: refine SYN handling in tcp_validate_incoming

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit e371589917011efe6ff8c7dfb4e9e81934ac5855 upstream. Followup of commit 0c24604b68fc (tcp: implement RFC 5961 4.2) As reported by Vijay Subramanian, we should send a

[PATCH 182/222] batman-adv: fix random jitter calculation

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 143cdd8f33909ff5a153e3f02048738c5964ba26 upstream. batadv_iv_ogm_emit_send_time() attempts to calculates a random integer in the range of 'orig_interval +-

[PATCH 176/222] epoll: prevent missed events on EPOLL_CTL_MOD

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Wong commit 128dd1759d96ad36c379240f8b9463e8acfd37a1 upstream. EPOLL_CTL_MOD sets the interest mask before calling f_op->poll() to ensure events are not missed. Since the

[PATCH 175/222] tmpfs mempolicy: fix /proc/mounts corrupting memory

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit f2a07f40dbc603c15f8b06e6ec7f768af67b424f upstream. Recently I suggested using "mount -o remount,mpol=local /tmp" in NUMA mempolicy testing. Very nasty. Reading

[PATCH 173/222] PCI: Reduce Ricoh 0xe822 SD card reader base clock frequency to 50MHz

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 812089e01b9f65f90fc8fc670d8cce72a0e01fbb upstream. Otherwise it fails like this on cards like the Transcend 16GB SDHC card: mmc0: new SDHC card at address b368

[PATCH 171/222] ext4: do not try to write superblock on ro remount w/o journal

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Tokarev commit d096ad0f79a782935d2e06ae8fb235e8c5397775 upstream. When a journal-less ext4 filesystem is mounted on a read-only block device (blockdev --setro will do), each

[PATCH 168/222] jbd2: fix assertion failure in jbd2_journal_flush()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit d7961c7fa4d2e3c3f12be67e21ba8799b5a7238a upstream. The following race is possible between start_this_handle() and someone calling jbd2_journal_flush(). Process A

[PATCH 170/222] hwmon: (lm73} Detect and report i2c bus errors

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Verges commit 0602934f302e016e2ea5dc6951681bfac77455ef upstream. If an LM73 device does not exist on an I2C bus, attempts to communicate with the device result in an error code

[PATCH 164/222] drm/i915: Flush outstanding unpin tasks before pageflipping

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson If we accumulate unpin tasks because we are pageflipping faster than the system can schedule its workers, we can effectively create a pin-leak. The solution taken here is to

[PATCH 165/222] ext4: fix extent tree corruption caused by hole punch

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Forrest Liu commit c36575e663e302dbaa4d16b9c72d2c9a913a9aef upstream. When depth of extent tree is greater than 1, logical start value of interior node is not correctly updated in

[PATCH 161/222] staging: vt6656: 64 bit fixes: fix long warning messages.

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit b4dc03af5513774277c9c36b12a25cd3f25f4404 upstream. Fixes long warning messages from patch [PATCH 08/14] staging: vt6656: 64 bit fixes : correct all type sizes

[PATCH 163/222] staging: vt6656: 64bit fixes: vCommandTimerWait change calculation of timer.

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 70e227790d4ee4590023d8041a3485f8053593fc upstream. The timer appears to run too fast/race on 64 bit systems. Using msecs_to_jiffies seems to cause a deadlock on

[PATCH 160/222] staging: vt6656: 64 bit fixes : correct all type sizes

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 7730492855a2f9c828599bcd8d62760f96d319e4 upstream. After this patch all BYTE/WORD/DWORD types can be replaced with the appropriate u sizes. Signed-off-by:

[PATCH 154/222] sctp: fix memory leak in sctp_datamsg_from_user() when copy from user space fails

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Tommi Rantala commit be364c8c0f17a3dd42707b5a090b318028538eb9 upstream. Trinity (the syscall fuzzer) discovered a memory leak in SCTP, reproducible e.g. with the sendto() syscall by

[PATCH 152/222] bonding: Bonding driver does not consider the gso_max_size/gso_max_segs setting of slave devices.

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Sarveshwar Bandi commit 0e376bd0b791ac6ac6bdb051492df0769c840848 upstream. Patch sets the lowest gso_max_size and gso_max_segs values of the slave devices during enslave and detach.

[PATCH 147/222] inet_diag: fix oops for IPv4 AF_INET6 TCP SYN-RECV state

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell commit 1c95df85ca49640576de2f0a850925957b547b84 upstream. Fix inet_diag to be aware of the fact that AF_INET6 TCP connections instantiated for IPv4 traffic and in the

[PATCH 149/222] inet_diag: avoid unsafe and nonsensical prefix matches in inet_diag_bc_run()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Neal Cardwell commit f67caec9068cee426ec23cf9005a1dee2ecad187 upstream. Add logic to check the address family of the user-supplied conditional and the address family of the connection

[PATCH 146/222] ipv4: ip_check_defrag must not modify skb before unsharing

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 1bf3751ec90cc3174e01f0d701e8449ce163d113 upstream. ip_check_defrag() might be called from af_packet within the RX path where shared SKBs are used, so it must not

[PATCH 144/222] ne2000: add the right platform device

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Cox commit da9da01d9199b5bb15289d0859053c9aa3a34ac0 upstream. Without this udev doesn't have a way to key the ne device to the platform device. Signed-off-by: Alan Cox

[PATCH 145/222] irda: sir_dev: Fix copy/paste typo

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shiyan commit 2355a62bcbdcc4b567425bab036bfab6ade87eed upstream. Signed-off-by: Alexander Shiyan Signed-off-by: David S. Miller Signed-off-by: Herton Ronaldo Krzesinski ---

[PATCH 141/222] dm persistent data: rename node to btree_node

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 550929faf89e2e2cdb3e9945ea87d383989274cf upstream. This patch fixes a compilation failure on sparc32 by renaming struct node. struct node is already defined in

[PATCH 142/222] dm ioctl: prevent unsafe change to dm_ioctl data_size

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Alasdair G Kergon commit e910d7ebecd1aac43125944a8641b6cb1a0dfabe upstream. Abort dm ioctl processing if userspace changes the data_size parameter after we validated it but before we

[PATCH 138/222] mm: fix calculation of dirtyable memory

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Sonny Rao commit c8b74c2f6604923de91f8aa6539f8bb934736754 upstream. The system uses global_dirtyable_memory() to calculate number of dirtyable pages/pages that can be allocated to the

[PATCH 133/222] ARM: missing ->mmap_sem around find_vma() in swp_emulate.c

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 7bf9b7bef881aac820bf1f2e9951a17b09bd7e04 upstream. find_vma() is *not* safe when somebody else is removing vmas. Not just the return value might get bogus just as you are

[PATCH 131/222] nfsd4: fix oops on unusual readlike compound

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit d5f50b0c290431c65377c4afa1c764e2c3fe5305 upstream. If the argument and reply together exceed the maximum payload size, then a reply with a read-like operation can

[PATCH 129/222] i2400m: add Intel 6150 device IDs

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 999a7c5776a0ed2133645fa7e008bec05bda9254 upstream. Add device IDs for WiMAX function of Intel 6150 cards. Signed-off-by: Dan Williams Signed-off-by: David S. Miller

[PATCH 118/222] jffs2: hold erase_completion_lock on exit

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Alexey Khoroshilov commit 2cbba75a56ea78e6876b4e2547a882f10b3fe72b upstream. Users of jffs2_do_reserve_space() expect they still held erase_completion_lock after call to it. But there is

[PATCH 122/222] ASoC: sigmadsp: Fix endianness conversion issue

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit a3adb1432d7a3ad86bb17a1638e44414537e4118 upstream. The 'addr' field of the sigma_action struct is stored as big endian in the firmware file. Signed-off-by:

[PATCH 123/222] nfsd: avoid permission checks on EXCLUSIVE_CREATE replay

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Neil Brown commit 7007c90fb9fef593b4aeaeee57e6a6754276c97c upstream. With NFSv4, if we create a file then open it we explicit avoid checking the permissions on the file during the open

[PATCH 114/222] proc: pid/status: show all supplementary groups

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit 8d238027b87e654be552eabdf492042a34c5c300 upstream. We display a list of supplementary group for each process in /proc//status. However, we show only the first 32

[PATCH 113/222] SUNRPC: continue run over clients list on PipeFS event instead of break

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky commit cd6c5968582a273561464fe6b1e8cc8214be02df upstream. There are SUNRPC clients, which program doesn't have pipe_dir_name. These clients can be skipped on PipeFS

[PATCH 107/222] sbp-target: fix error path in sbp_make_tpg()

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Boot commit e1fe2060d7e8f58a69374135e32e90f0bb79a7fd upstream. If the TPG memory is allocated successfully, but we fail further along in the function, a dangling pointer to freed

[PATCH 112/222] Input: walkera0701 - fix crash on startup

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Popovec commit a455e2985f57e2a71566bb8850094af38b2c932d upstream. The driver's timer must be set up before enabling IRQ handler, otherwise bad things may happen.

[PATCH 104/222] nfs: don't zero out the rest of the page if we hit the EOF on a DIO READ

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 67fad106a219e083c91c79695bd1807dde1bf7b9 upstream. Eryu provided a test program that would segfault when attempting to read past the EOF on file that was opened

[PATCH 105/222] drm/radeon: fix amd afusion gpu setup aka sumo v2

2013-01-16 Thread Herton Ronaldo Krzesinski
3.5.7.3 -stable review patch. If anyone has any objections, please let me know. -- From: Jerome Glisse commit bd25f0783dc3fb72e1e2779c2b99b2d34b67fa8a upstream. Set the proper number of tile pipe that should be a multiple of pipe depending on the number of se engine. Fix:

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