[PATCH 012/145] zram: avoid access beyond the zram device

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit 12a7ad3b810e77137d0caf97a6dd97591e075b30 upstream. Function valid_io_request() should verify the entire request are within the zram device address range. Otherwise it

[PATCH 007/145] sata_highbank: increase retry count but shorten duration for Calxeda controller

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Langsdorf commit ddfef5de3d716f77bad32dbbba6b280158dfd721 upstream. Increase the retry count for the hard reset function to 100 but shorten the time out period to 500 ms. See the

[PATCH 23/30] ACPI / hotplug / PCI: Do not check SLOT_ENABLED in enable_device()

2013-07-17 Thread Rafael J. Wysocki
From: Kirill A. Shutemov With Thunderbolt you can daisy chain devices: connect new devices to an already plugged one. In that case the "hotplug slot" is already enabled, but we still want to look for new PCI devices behind it. Reuse enable_device() to scan for new PCI devices on enabled slots

[PATCH 16/30] ACPI / hotplug / PCI: Drop handle field from struct acpiphp_bridge

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The handle field in struct acpiphp_bridge is only used by acpiphp_enumerate_slots(), but in that function the local handle variable can be used instead, so make that happen and drop handle from struct acpiphp_bridge. Signed-off-by: Rafael J. Wysocki ---

Re: [PATCH] mm/hotplug, x86: Disable ARCH_MEMORY_PROBE by default

2013-07-17 Thread KOSAKI Motohiro
On Wed, Jul 17, 2013 at 7:29 PM, Toshi Kani wrote: > On Wed, 2013-07-17 at 19:22 -0400, KOSAKI Motohiro wrote: >> On Wed, Jul 17, 2013 at 5:45 PM, Toshi Kani wrote: >> > CONFIG_ARCH_MEMORY_PROBE enables /sys/devices/system/memory/probe >> > interface, which allows a given memory address to be

[PATCH 19/30] ACPI / hotplug / PCI: Drop redundant checks from check_hotplug_bridge()

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Two checks in check_hotplug_bridge() are redundant (they have been done by the caller already), so drop them. Signed-off-by: Rafael J. Wysocki --- drivers/pci/hotplug/acpiphp_glue.c |6 -- 1 file changed, 6 deletions(-) Index:

[PATCH 18/30] ACPI / hotplug / PCI: Rework namespace scanning and trimming routines

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The acpiphp_bus_trim() and acpiphp_bus_add() functions need not return error codes that are never checked, so redefine them and simplify them a bit. Signed-off-by: Rafael J. Wysocki --- drivers/pci/hotplug/acpiphp_glue.c | 52 + 1

[PATCH 29/30] ACPI / hotplug / PCI: Clean up bridge_mutex usage

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Do not acquire bridge_mutex around the addition of a slot to its bridge's list of slots and arount the addition of a function to its slot's list of functions, because that doesn't help anything right now (those lists are walked without any locking anyway). However,

[PATCH 28/30] ACPI / hotplug / PCI: Redefine enable_device() and disable_device()

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Notice that functions enable_device() and disable_device() cannot fail and their return values are ignored in the majority of places, so redefine them as void and use the opportunity to change their names to enable_slot() and disable_slot(), respectively, which much

[PATCH 21/30] ACPI / hotplug / PCI: Do not queue up event handling work items in vain

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify handle_hotplug_event() to avoid queing up the execution of handle_hotplug_event_work_fn() as a work item on kacpi_hotplug_wq for non-hotplug events, such as ACPI_NOTIFY_DEVICE_WAKE. Move the code printing diagnostic messages for those events into

[PATCH 24/30] ACPI / hotplug / PCI: Allow slots without new devices to be rescanned

2013-07-17 Thread Rafael J. Wysocki
From: Kirill A. Shutemov Currently, enable_device() checks the return value of pci_scan_slot() and returns immediately if that's 0 (meaning that no new functions have been found in the slot). However, if one of the functions in the slot is a bridge, some new devices may appear below it even if

[PATCH 20/30] ACPI / hotplug / PCI: Consolidate slot disabling and ejecting

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg Both acpiphp_disable_slot() and acpiphp_eject_slot() are always called together so instead of calling each separately we can consolidate them into one function acpiphp_disable_and_eject_slot() that does both (but it will return success on _EJ0 failures that were ignored in

[PATCH 22/30] ACPI / hotplug / PCI: Do not exectute _PS0 and _PS3 directly

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ACPI-based PCI hotplug (acpiphp) core code need not and really should not execute _PS0 and _PS3 directly for devices it handles. First of all, it is not necessary to put devices into D3 after acpi_bus_trim() has walked through them, because acpi_device_unregister()

Re: [PATCH RFC nohz_full 6/7] nohz_full: Add full-system-idle state machine

2013-07-17 Thread Frederic Weisbecker
On Mon, Jul 08, 2013 at 06:30:05PM -0700, Paul E. McKenney wrote: > } > > /* > + * Unconditionally force exit from full system-idle state. This is > + * invoked when a normal CPU exits idle, but must be called separately > + * for the timekeeping CPU (tick_do_timer_cpu). The reason for this

[PATCH 6/30] ACPI / hotplug / PCI: Rework acpiphp_handle_to_bridge()

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Using the hotplug context objects introduced previously rework the ACPI-based PCI hotplug (ACPIPHP) core code to get to acpiphp_bridge objects associated with hotplug bridges from those context objects rather than from the global list of hotplug bridges. Signed-off-by:

[PATCH 4/30] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki When either a new hotplug bridge or a new hotplug function is added by the ACPI-based PCI hotplug (ACPIPHP) code, attach a context object to its ACPI handle to store hotplug-related information in it. To start with, put the handle's bridge and function pointers into that

[PATCH 30/30] ACPI / hotplug / PCI: Get rid of check_sub_bridges()

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg Now that acpiphp_check_bridge() always enumerates devices behind the bridge, there is no need to do that for each sub-bridge anymore like it is done in the current ACPI-based PCI hotplug (ACPIPHP) code. Given this we don't need check_sub_bridges() anymore, so drop that

[PATCH 15/30] ACPI / hotplug / PCI: Drop handle field from struct acpiphp_func

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ACPI handle stored in struct acpiphp_func is also stored in the struct acpiphp_context object containing it and it is trivial to get from a struct acpiphp_func pointer to the handle field of the outer struct acpiphp_context. Hence, the handle field of struct

[PATCH 17/30] ACPI / hotplug / PCI: Store parent in functions and bus in slots

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki To avoid chasing more pointers than necessary in some situations, move the bridge pointer from struct acpiphp_slot to struct acpiphp_func (and call it 'parent') and add a bus pointer to struct acpiphp_slot. Signed-off-by: Rafael J. Wysocki ---

[PATCH 9/30] ACPI / hotplug / PCI: Drop func field from struct acpiphp_bridge

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since the func pointer in struct acpiphp_context can always be used instead of the func pointer in struct acpiphp_bridge, drop the latter. Signed-off-by: Rafael J. Wysocki --- drivers/pci/hotplug/acpiphp.h |2 -- drivers/pci/hotplug/acpiphp_glue.c |3 +--

[PATCH 7/30] ACPI / hotplug / PCI: Pass hotplug context objects to event handlers

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Modify handle_hotplug_event() to pass the entire context object (instead of its fields individually) to work functions started by it. This change makes the subsequent consolidation of the event handling work functions a bit more straightforward. Signed-off-by: Rafael J.

Re: [PATCH] mm/hotplug, x86: Disable ARCH_MEMORY_PROBE by default

2013-07-17 Thread Toshi Kani
On Wed, 2013-07-17 at 19:22 -0400, KOSAKI Motohiro wrote: > On Wed, Jul 17, 2013 at 5:45 PM, Toshi Kani wrote: > > CONFIG_ARCH_MEMORY_PROBE enables /sys/devices/system/memory/probe > > interface, which allows a given memory address to be hot-added as > > follows. (See

[PATCH 12/30] ACPI / hotplug / PCI: Drop sun field from struct acpiphp_slot

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If the slot unique number is passed as an additional argument to acpiphp_register_hotplug_slot(), the 'sun' field in struct acpiphp_slot is only used by ibm_[s|g]et_attention_status(), but then it's more efficient to store it in struct slot. Thus move the 'sun' field

[PATCH 8/30] ACPI / hotplug / PCI: Merge hotplug event handling functions

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There are separate handling event functions for hotplug bridges and for hotplug functions, but they may be combined into one common hotplug event handling function which simplifies the code slightly. That also allows a theoretical bug to be dealt with which in principle

[PATCH 11/30] ACPI / hotplug / PCI: Register all devices under the given bridge

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rework register_slot() to create a struct acpiphp_func object for every function it is called for and to create acpiphp slots for all of them. Although acpiphp_register_hotplug_slot() is only called for the slots whose functions are identified as "ejectable", so that

[PATCH 27/30] ACPI / hotplug / PCI: Sanitize acpiphp_get_(latch)|(adapter)_status()

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg There is no need for a temporary variable and all the tricks with ternary operators in acpiphp_get_(latch)|(adapter)_status(). Change those functions to be a bit more straightforward. [rjw: Changelog] Signed-off-by: Kirill A. Shutemov Signed-off-by: Mika Westerberg

[PATCH 3/30] ACPI / hotplug / PCI: Always return success after adding a function

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki When a new ACPIPHP function is added by register_slot() and the notify handler cannot be installed for it, register_slot() returns an error status without cleaning up, which causes the entire namespace walk in acpiphp_enumerate_slots() to be aborted, although it still may

[PATCH 10/30] ACPI / hotplug / PCI: Refactor slot allocation code in register_slot()

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki To make the code in register_slot() a bit easier to follow, change the way the slot allocation part is organized. Drop one local variable that's not used any more after that modification. This code change should not lead to any changes in behavior. Signed-off-by:

[PATCH 002/145] [SCSI] zfcp: fix adapter (re)open recovery while link to SAN is down

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Hansel commit f76ccaac4f82c463a037aa4a1e4ccb85c7011814 upstream. FCP device remains in status ERP_FAILED when device is switched online or adapter recovery is triggered while

[PATCH 001/145] UBIFS: correct mount message

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Genoud commit beadadfa5467e09e36891f39cae1f5d8d3bbf17e upstream. When mounting an UBIFS R/W volume, we have the message: UBIFS: mounted UBI device 0, volume 1, name

[PATCH 14/30] ACPI / hotplug / PCI: Embed function struct into struct acpiphp_context

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since there has to be a struct acpiphp_func object for every struct acpiphp_context created by register_slot(), the struct acpiphp_func one can be embedded into the struct acpiphp_context one, which allows some code simplifications to be made. Signed-off-by: Rafael J.

[PATCH 016/145] ahci: remove pmp link online check in FBS EH

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Shane Huang commit 912b9ac683b112615d5605686f1dc086402ce9f7 upstream. ata_link_online() check in ahci_error_intr() is unnecessary, it should be removed otherwise may lead to lockup with

[PATCH 015/145] PCI: Fix refcount issue in pci_create_root_bus() error recovery path

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit 343df771e671d821478dd3ef525a0610b808dbf8 upstream. After calling device_register(>dev), the bridge is reference- counted, and it is illegal to call kfree() on it except

[PATCH 13/30] ACPI / hotplug / PCI: Drop flags field from struct acpiphp_bridge

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The only bridge flag used by the ACPI-based PCI hotplug (ACPIPHP) code is BRIDGE_HAS_EJ0, but it is only used by the event handling function hotplug_event() and if that flag is set, the corresponding function flag FUNC_HAS_EJ0 is set as well, so that bridge flag is

[PATCH 003/145] [SCSI] zfcp: block queue limits with data router

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 5fea4291deacd80188b996d2f555fc6a1940e5d4 upstream. Commit 86a9668a8d29ea711613e1cb37efa68e7c4db564 "[SCSI] zfcp: support for hardware data router" reduced the

[PATCH 128/145] ARM: 7778/1: smp_twd: twd_update_frequency need be run on all online CPUs

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Liu commit cbbe6f82b489e7ceba4ad7c833bd3a76cd0084cb upstream. When the local timer freq changed, the twd_update_frequency function should be run all the CPUs include itself,

[PATCH 1/30] ACPI / PCI: Make bus registration and unregistration symmetric

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since acpi_pci_slot_enumerate() and acpiphp_enumerate_slots() can get the ACPI device handle they need from bus->bridge, it is not necessary to pass that handle to them as an argument. Drop the second argument of acpi_pci_slot_enumerate() and acpiphp_enumerate_slots(),

[PATCH 5/30] ACPI / hotplug / PCI: Unified notify handler for hotplug events

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Using the hotplug context objects introduced previously rework the ACPI-based PCI hotplug (ACPIPHP) core code so that all notifications for ACPI device objects corresponding to the hotplug PCI devices are handled by one function, handle_hotplug_event(), which recognizes

[PATCH 126/145] [SCSI] mpt3sas: Infinite loops can occur if MPI2_IOCSTATUS_CONFIG_INVALID_PAGE is not returned

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Sreekanth Reddy commit 14be49ac965ebd3f8561d57e01ddb22f93f9b454 upstream. Infinite loop can occur if IOCStatus is not equal to MPI2_IOCSTATUS_CONFIG_INVALID_PAGE value in the while

[PATCH 130/145] dm ioctl: set noio flag to avoid __vmalloc deadlock

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka Set noio flag while calling __vmalloc() because it doesn't fully respect gfp flags to avoid a possible deadlock (see commit 502624bdad3dba45dfaacaf36b7d83e39e74b2d2).

[PATCH 26/30] ACPI / hotplug / PCI: Get rid of unused constants in acpiphp.h

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg Drop some unused symbols from acpiphp.h and redefine SLOT_ENABLED (which is the only slot flag now) as 1. [rjw: Redefinition of SLOT_ENABLED, changelog] Signed-off-by: Mika Westerberg Signed-off-by: Kirill A. Shutemov Signed-off-by: Rafael J. Wysocki ---

[PATCH 0/30] ACPI / hotplug / PCI: Major rework + Thunderbolt workarounds

2013-07-17 Thread Rafael J. Wysocki
Hi All, Now the series has been rebased on top of current linux-pm.git/linux-next and tested on two systems with Thunderbolt. Some changes have been made too. -> On Friday, July 12, 2013 01:34:20 AM Rafael J. Wysocki wrote: > Hi, > > I've made some progress with my ACPIPHP rework since I

[PATCH 2/30] ACPI / hotplug / PCI: Consolidate acpiphp_enumerate_slots()

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The acpiphp_enumerate_slots() function is now split into two parts, acpiphp_enumerate_slots() proper and init_bridge_misc() which is only called by the former. If these functions are combined, it is possible to make the code easier to follow and to clean up the error

[PATCH 004/145] [SCSI] zfcp: status read buffers on first adapter open with link down

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 9edf7d75ee5f21663a0183d21f702682d0ef132f upstream. Commit 64deb6efdc5504ce97b5c1c6f281fffbc150bd93 "[SCSI] zfcp: Use status_read_buf_num provided by FCP channel"

[PATCH 132/145] CIFS: Fix a deadlock when a file is reopened

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Pavel Shilovsky commit 689c3db4d57a73bee6c5ad7797fce7b54d32a87c upstream. If we request reading or writing on a file that needs to be reopened, it causes the deadlock: we are already

[PATCH 101/145] [media] media: dmxdev: remove dvb_ringbuffer_flush() on writer side

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Soeren Moch commit 414abbd2cd4c2618895f02ed3a76ec6647281436 upstream. In dvb_ringbuffer lock-less synchronizationof reader and writer threads is done with separateread and write

[PATCH 105/145] rtlwifi: rtl8723ae: Fix typo in firmware names

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 73e088ed17c2880a963cc760a78af8a06d4a4d9d upstream. The driver loads its firmware from files rtlwifi/rtl8723fw*.bin, but the MODULE_FIRMWARE macros refer to

[PATCH 143/145] ext4: don't show usrquota/grpquota twice in /proc/mounts

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit ad065dd01662ae22138899e6b1c8eeb3a529964f upstream. We now print mount options in a generic fashion in ext4_show_options(), so we shouldn't be explicitly printing

[PATCH 118/145] libceph: Fix NULL pointer dereference in auth client code

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 2cb33cac622afde897aa02d3dcd9fbba8bae839e upstream. A malicious monitor can craft an auth reply message that could cause a NULL function pointer dereference in the

Re: [PATCH] irqchip: gic: Don't complain in gic_get_cpumask() if UP system

2013-07-17 Thread Nicolas Pitre
On Wed, 17 Jul 2013, Stephen Boyd wrote: > On 07/17/13 15:34, Nicolas Pitre wrote: > > On Wed, 17 Jul 2013, Stephen Boyd wrote: > > > >> On 07/12/13 05:10, Stephen Boyd wrote: > >>> On 07/12, Javi Merino wrote: > I agree, we should drop the check. It's annoying in uniprocessors and >

Re: [PATCH -next 2/2] kbuild: fix for updated LZ4 tool with the new streaming format

2013-07-17 Thread H. Peter Anvin
On 07/17/2013 03:30 PM, Yann E. MORIN wrote: > > At the very least we'd have to decide if this is available only for > booleans/tristates, or for any type? Your implementation seems to make > it valid for strings/ints, too. > I feel the test should *export* a boolean. It is worth noting that

[PATCH 102/145] MIPS: Octeon: Don't clobber bootloader data structures.

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: David Daney commit d949b4fe6d23dd92b5fa48cbf7af90ca32beed2e upstream. Commit abe77f90dc (MIPS: Octeon: Add kexec and kdump support) added a bootmem region for the kernel image itself.

[PATCH 125/145] [SCSI] mpt3sas: fix for kernel panic when driver loads with HBA conected to non LUN 0 configured expander

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Sreekanth Reddy commit b65cfedf4560af65305bd7b3b9f26c02c6fb3660 upstream. With some enclosures when LUN 0 is not created but LUN 1 or LUN X is created then SCSI scan procedure calls

Re: [PATCH] mm/hotplug, x86: Disable ARCH_MEMORY_PROBE by default

2013-07-17 Thread KOSAKI Motohiro
On Wed, Jul 17, 2013 at 5:45 PM, Toshi Kani wrote: > CONFIG_ARCH_MEMORY_PROBE enables /sys/devices/system/memory/probe > interface, which allows a given memory address to be hot-added as > follows. (See Documentation/memory-hotplug.txt for more detail.) > > # echo start_address_of_new_memory >

[PATCH 107/145] drm/i915: Fix context sizes on HSW

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Widawsky commit a0de80a0e07032a111230ec92eca563f9d93648d upstream. With updates to the spec, we can actually see the context layout, and how many dwords are allocated. That table

[PATCH 100/145] rtlwifi: rtl8192cu: Add new USB ID for TP-Link TL-WN8200ND

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit c4d827c5ccc3a49227dbf9d4b248a2e86f388023 upstream. This is a new device for this driver. Reported-by: Tobias Kluge Signed-off-by: Larry Finger Cc: Tobias Kluge

[PATCH 060/145] Input: bcm5974 - add support for the 2013 MacBook Air

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Henrik Rydberg commit 148c1c8ad3c4170186ebe6ea5900adde27d2a0e7 upstream. The June 2013 Macbook Air (13'') has a new trackpad protocol; four new values are inserted in the header, and

[PATCH 144/145] ext4: don't allow ext4_free_blocks() to fail due to ENOMEM

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit e7676a704ee0a1ef71a6b23760b5a8f6896cb1a1 upstream. The filesystem should not be marked inconsistent if ext4_free_blocks() is not able to allocate memory.

[PATCH 097/145] ath9k: Do not assign noise for NULL caldata

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit d3bcb7b24bbf09fde8405770e676fe0c11c79662 upstream. ah->noise is maintained globally and not per-channel. This is updated in the reset() routine after the NF

[PATCH 066/145] drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 29ecd78c0fd6ee05f2c6b07b23823a6ae43c13ff upstream. In the disable AIE irq code path, current code passes "1" to enable parameter of rv3029c2_rtc_i2c_alarm_set_irq().

[PATCH 091/145] drivers/cdrom/cdrom.c: use kzalloc() for failing hardware

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Salwan commit 542db01579fbb7ea7d1f7bb9ddcef1559df660b2 upstream. In drivers/cdrom/cdrom.c mmc_ioctl_cdrom_read_data() allocates a memory area with kmalloc in line 2885. 2885

[PATCH 056/145] jbd2: fix theoretical race in jbd2__journal_restart

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 39c04153fda8c32e85b51c96eb5511a326ad7609 upstream. Once we decrement transaction->t_updates, if this is the last handle holding the transaction from closing, and

[PATCH 098/145] iwlwifi: pcie: fix race in queue unmapping

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit b967613d7e7c7bad176f5627c55e2d8c5aa2480e upstream. When a queue is disabled, it frees all its entries. Later, the op_mode might still get notifications from the

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Guenter Roeck
On Wed, Jul 17, 2013 at 04:08:31PM -0700, Paul E. McKenney wrote: > On Wed, Jul 17, 2013 at 03:49:23PM -0700, Randy Dunlap wrote: > > On 07/17/13 15:02, Guenter Roeck wrote: > > > On Wed, Jul 17, 2013 at 07:40:43AM -0700, Sarah Sharp wrote: > > > > > > [ ... ] > > >> > > >> The result: 75% of

[PATCH 068/145] hpfs: better test for errors

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 3ebacb05044f82c5f0bb456a894eb9dc57d0ed90 upstream. The test if bitmap access is out of bound could errorneously pass if the device size is divisible by 16384

[PATCH 133/145] perf: Clone child context from parent context pmu

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit 734df5ab549ca44f40de0f07af1c8803856dfb18 upstream. Currently when the child context for inherited events is created, it's based on the pmu object of the first event of

[PATCH 063/145] block: do not pass disk names as format strings

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit ffc8b30866879ed9ba62bd0a86fecdbd51cd3d19 upstream. Disk names may contain arbitrary strings, so they must not be interpreted as format strings. It seems that only md

[PATCH 145/145] svcrdma: underflow issue in decode_write_list()

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit b2781e1021525649c0b33fffd005ef219da33926 upstream. My static checker marks everything from ntohl() as untrusted and it complains we could have an underflow problem

[PATCH 095/145] b43: ensue that BCMA is "y" when B43 is "y"

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Hauke Mehrtens commit 693026ef2e751fd94d2e6c71028e68343cc875d5 upstream. When b43 gets build into the kernel and it should use bcma we have to ensure that bcma was also build into the

[PATCH 142/145] lockd: protect nlm_blocked access in nlmsvc_retry_blocked

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: David Jeffery commit 1c327d962fc420aea046c16215a552710bde8231 upstream. In nlmsvc_retry_blocked, the check that the list is non-empty and acquiring the pointer of the first entry is

[PATCH 083/145] ipvs: SCTP ports should be writable in ICMP packets

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov commit 06f3d7f973ec04290d86b7dd91b48d38d90433dc upstream. Make sure that SCTP ports are writable when embedded in ICMP from client, so that ip_vs_nat_icmp can translate

[PATCH 090/145] dma: tegra: avoid channel lock up after free

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Osipenko commit 7bdc1e272a471062e8f310137c896e2355b46d13 upstream. Lock scenario: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma

[PATCH 069/145] Drivers: hv: Execute shutdown in a thread context

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: "K. Y. Srinivasan" commit 3dd6cb497198a0533a2530b6a345c60c9a29b9bc upstream. Execute the shutdown code in a thread context. With recent changes made to the shutdown code, shutdown code

[PATCH 064/145] crypto: sanitize argument for format string

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 1c8fca1d92e14859159a82b8a380d220139b7344 upstream. The template lookup interface does not provide a way to use format strings, so make sure that the interface cannot be

[PATCH 086/145] ext4: fix data offset overflow in ext4_xattr_fiemap() on 32-bit archs

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a60697f411eb365fb09e639e6f183fe33d1eb796 upstream. On 32-bit architectures with 32-bit sector_t computation of data offset in ext4_xattr_fiemap() can overflow resulting

[PATCH 061/145] drivers/dma/pl330.c: fix locking in pl330_free_chan_resources()

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Bartlomiej Zolnierkiewicz commit da331ba8e9c5de72a27e50f71105395bba6eebe0 upstream. tasklet_kill() may sleep so call it before taking pch->lock. Fixes following lockup: BUG:

[PATCH 067/145] nbd: correct disconnect behavior

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Clements commit c378f70adbc1bbecd9e6db145019f14b2f688c7c upstream. Currently, when a disconnect is requested by the user (via NBD_DISCONNECT ioctl) the return from NBD_DO_IT is

[PATCH 059/145] HID: apple: Add support for the 2013 Macbook Air

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Henrik Rydberg commit 9d9a04ee758b4c1fcc7586d065cdde7a7607e156 upstream. This patch adds keyboard support for MacbookAir6,2 as WELLSPRING8 (0x0291, 0x0292, 0x0293). The touchpad is

[PATCH 080/145] netfilter: xt_TCPOPTSTRIP: don't use tcp_hdr()

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit ed82c437320c48a4032492f4a55a7e2c934158b6 upstream. In (bc6bcb5 netfilter: xt_TCPOPTSTRIP: fix possible mangling beyond packet boundary), the use of tcp_hdr was

[PATCH 092/145] printk: Fix rq->lock vs logbuf_lock unlock lock inversion

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: "Bu, Yitian" commit dbda92d16f8655044e082930e4e9d244b87fde77 upstream. commit 07354eb1a74d1 ("locking printk: Annotate logbuf_lock as raw") reintroduced a lock inversion problem which

[PATCH 111/145] svcrpc: don't error out on small tcp fragment

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit 1f691b07c5dc51b2055834f58c0f351defd97f27 upstream. Though clients we care about mostly don't do this, it is possible for rpc requests to be sent in multiple

[PATCH 113/145] Btrfs: fix unlock after free on rewinded tree blocks

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Schmidt commit 47fb091fb787420cd195e66f162737401cce023f upstream. When tree_mod_log_rewind decides to make a copy of the current tree buffer for its modifications, it subsequently

[PATCH 123/145] [SCSI] megaraid_sas: fix memory leak if SGL has zero length entries

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 7a6a731bd00ca90d0e250867c3b9c05b5ff0fa49 upstream. commit 98cb7e44 ([SCSI] megaraid_sas: Sanity check user supplied length before passing it to

[PATCH 110/145] svcrpc: fix handling of too-short rpc's

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit cf3aa02cb4a0c5af5557dd47f15a08a7df33182a upstream. If we detect that an rpc is too short, we abort and close the connection. Except, there's a bug here: we're

[PATCH 120/145] drm/nouveau: use vmalloc for pgt allocation

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Marcin Slusarz commit d005f51eb93d71cd40ebd11dd377453fa8c8a42a upstream. Page tables on nv50 take 48kB, which can be hard to allocate in one piece. Let's use vmalloc. Signed-off-by:

Re: [PATCH RFC] lib: Make radix_tree_node_alloc() irq safe

2013-07-17 Thread Andrew Morton
On Tue, 16 Jul 2013 19:06:30 +0200 Jan Kara wrote: > With users of radix_tree_preload() run from interrupt (CFQ is one such > possible user), the following race can happen: > > radix_tree_preload() > ... > radix_tree_insert() > radix_tree_node_alloc() > if (rtp->nr) { > ret =

[PATCH 089/145] iommu/vt-d: add quirk for broken interrupt remapping on 55XX chipsets

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Neil Horman commit 03bbcb2e7e292838bb0244f5a7816d194c911d62 upstream. A few years back intel published a spec update:

[PATCH 108/145] drm/i915: Only clear write-domains after a successful wait-seqno

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit daa13e1ca587bc773c1aae415ed1af6554117bd4 upstream. In the introduction of the non-blocking wait, I cut'n'pasted the wait completion code from normal locked path.

[PATCH 117/145] module: do percpu allocation after uniqueness check. No, really!

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Rusty Russell commit 8d8022e8aba85192e937f1f0f7450e256d66ae5c upstream. v3.8-rc1-5-g1fb9341 was supposed to stop parallel kvm loads exhausting percpu memory on large machines: Now

[PATCH 114/145] Btrfs: hold the tree mod lock in __tree_mod_log_rewind

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit f1ca7e98a67da618d8595866e0860308525154da upstream. We need to hold the tree mod log lock in __tree_mod_log_rewind since we walk forward in the tree mod entries,

[PATCH 106/145] writeback: Fix periodic writeback after fs mount

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a5faeaf9109578e65e1a32e2a3e76c8b47e7dcb6 upstream. Code in blkdev.c moves a device inode to default_backing_dev_info when the last reference to the device is put and

Re: [PATCH RFC] lib: Make radix_tree_node_alloc() irq safe

2013-07-17 Thread David Daney
On 07/17/2013 04:12 PM, Andrew Morton wrote: On Tue, 16 Jul 2013 19:06:30 +0200 Jan Kara wrote: With users of radix_tree_preload() run from interrupt (CFQ is one such possible user), the following race can happen: radix_tree_preload() ... radix_tree_insert() radix_tree_node_alloc()

[PATCH 109/145] nfsd4: fix decoding of compounds across page boundaries

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: "J. Bruce Fields" commit 247500820ebd02ad87525db5d9b199e5b66f6636 upstream. A freebsd NFSv4.0 client was getting rare IO errors expanding a tarball. A network trace showed the server

[PATCH 119/145] [CIFS] use sensible file nlink values if unprovided

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 6658b9f70ebca5fc0795b1d6d733996af1e2caa7 upstream. Certain servers may not set the NumberOfLinks field in query file/path info responses. In such a case,

[PATCH 094/145] drm/radeon: add backlight quirk for hybrid mac

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 80101790670385a85aca35ecae4b89e3f2fceecc upstream. Mac laptops with multiple GPUs apparently use the gmux driver for backlight control. Don't register a radeon

[PATCH 084/145] tracing: Use current_uid() for critical time tracing

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit f17a5194859a82afe4164e938b92035b86c55794 upstream. The irqsoff tracer records the max time that interrupts are disabled. There are hooks in the

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Paul E. McKenney
On Wed, Jul 17, 2013 at 03:49:23PM -0700, Randy Dunlap wrote: > On 07/17/13 15:02, Guenter Roeck wrote: > > On Wed, Jul 17, 2013 at 07:40:43AM -0700, Sarah Sharp wrote: > > > > [ ... ] > >> > >> The result: 75% of their developers are women. If you give a flying > >> fuck about diversity, and

[PATCH 070/145] ext3: fix data=journal fast mount/umount hang

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit e643692138cfa33528f054b071ba2583509bb217 upstream. In data=journal mode, if we unmount the file system before a transaction has a chance to complete, when the journal

[PATCH 076/145] ipvs: info leak in __ip_vs_get_dest_entries()

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit a8241c63517ec0b900695daa9003cddc41c536a1 upstream. The entry struct has a 2 byte hole after ->port and another 4 byte hole after ->stats.outpkts. You must have

[PATCH 032/145] [SCSI] mpt2sas: Fix for device scan following host reset could get stuck in a infinite loop

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Sreekanth Reddy commit 6241f22ca12a26ee149cbe31b27bac97dbdc8bc4 upstream. Modified device scan routine so each configuration page read breaks from the while loop when the ioc_status is

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