[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 emmanuel.grumb...@intel.com commit b967613d7e7c7bad176f5627c55e2d8c5aa2480e upstream. When a queue is disabled, it frees all its entries. Later, the op_mode might still

[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 jonathan.sal...@gmail.com commit 542db01579fbb7ea7d1f7bb9ddcef1559df660b2 upstream. In drivers/cdrom/cdrom.c mmc_ioctl_cdrom_read_data() allocates a memory area with

[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 ty...@mit.edu commit e7676a704ee0a1ef71a6b23760b5a8f6896cb1a1 upstream. The filesystem should not be marked inconsistent if ext4_free_blocks() is not able to allocate

[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 c_man...@qca.qualcomm.com commit d3bcb7b24bbf09fde8405770e676fe0c11c79662 upstream. ah-noise is maintained globally and not per-channel. This is updated in the reset()

[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 rydb...@euromail.se commit 148c1c8ad3c4170186ebe6ea5900adde27d2a0e7 upstream. The June 2013 Macbook Air (13'') has a new trackpad protocol; four new values are inserted in

[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 axel@ingics.com commit 29ecd78c0fd6ee05f2c6b07b23823a6ae43c13ff upstream. In the disable AIE irq code path, current code passes 1 to enable parameter of

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 toshi.k...@hp.com 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

[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 b...@bwidawsk.net commit a0de80a0e07032a111230ec92eca563f9d93648d upstream. With updates to the spec, we can actually see the context layout, and how many dwords are

[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 larry.fin...@lwfinger.net commit c4d827c5ccc3a49227dbf9d4b248a2e86f388023 upstream. This is a new device for this driver. Reported-by: Tobias Kluge zielsche...@gmail.com

[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 david.da...@cavium.com commit d949b4fe6d23dd92b5fa48cbf7af90ca32beed2e upstream. Commit abe77f90dc (MIPS: Octeon: Add kexec and kdump support) added a bootmem region for the

[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 sreekanth.re...@lsi.com commit b65cfedf4560af65305bd7b3b9f26c02c6fb3660 upstream. With some enclosures when LUN 0 is not created but LUN 1 or LUN X is created then SCSI

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 one of

[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 ty...@mit.edu commit ad065dd01662ae22138899e6b1c8eeb3a529964f upstream. We now print mount options in a generic fashion in ext4_show_options(), so we shouldn't be

[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 tyhi...@canonical.com commit 2cb33cac622afde897aa02d3dcd9fbba8bae839e upstream. A malicious monitor can craft an auth reply message that could cause a NULL function pointer

[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 larry.fin...@lwfinger.net commit 73e088ed17c2880a963cc760a78af8a06d4a4d9d upstream. The driver loads its firmware from files rtlwifi/rtl8723fw*.bin, but the MODULE_FIRMWARE

[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 pshilov...@samba.org commit 689c3db4d57a73bee6c5ad7797fce7b54d32a87c upstream. If we request reading or writing on a file that needs to be reopened, it causes 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 unlikely to be found in

[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 sm...@web.de commit 414abbd2cd4c2618895f02ed3a76ec6647281436 upstream. In dvb_ringbuffer lock-less synchronizationof reader and writer threads is done with separateread and

[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 posted

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

[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 ma...@linux.vnet.ibm.com commit 9edf7d75ee5f21663a0183d21f702682d0ef132f upstream. Commit 64deb6efdc5504ce97b5c1c6f281fffbc150bd93 [SCSI] zfcp: Use status_read_buf_num

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

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg mika.westerb...@linux.intel.com 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 mika.westerb...@linux.intel.com Signed-off-by: Kirill A.

[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 shane.hu...@amd.com commit 912b9ac683b112615d5605686f1dc086402ce9f7 upstream. ata_link_online() check in ahci_error_intr() is unnecessary, it should be removed otherwise may

[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 liu...@gmail.com commit 343df771e671d821478dd3ef525a0610b808dbf8 upstream. After calling device_register(bridge-dev), the bridge is reference- counted, and it is illegal to

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

[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 ma...@linux.vnet.ibm.com commit 5fea4291deacd80188b996d2f555fc6a1940e5d4 upstream. Commit 86a9668a8d29ea711613e1cb37efa68e7c4db564 [SCSI] zfcp: support for hardware data

[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 r64...@freescale.com commit cbbe6f82b489e7ceba4ad7c833bd3a76cd0084cb upstream. When the local timer freq changed, the twd_update_frequency function should be run all the CPUs

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

[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 richard.gen...@gmail.com commit beadadfa5467e09e36891f39cae1f5d8d3bbf17e upstream. When mounting an UBIFS R/W volume, we have the message: UBIFS: mounted UBI device 0,

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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.

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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,

[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 sreekanth.re...@lsi.com commit 14be49ac965ebd3f8561d57e01ddb22f93f9b454 upstream. Infinite loop can occur if IOCStatus is not equal to MPI2_IOCSTATUS_CONFIG_INVALID_PAGE

[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 mpato...@redhat.com Set noio flag while calling __vmalloc() because it doesn't fully respect gfp flags to avoid a possible deadlock (see commit

[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 daniel.han...@linux.vnet.ibm.com commit f76ccaac4f82c463a037aa4a1e4ccb85c7011814 upstream. FCP device remains in status ERP_FAILED when device is switched online or adapter

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

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg mika.westerb...@linux.intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

[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 rafael.j.wyso...@intel.com 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 rafael.j.wyso...@intel.com 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 rafael.j.wyso...@intel.com --- drivers/pci/hotplug/acpiphp.h |2

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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.

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 toshi.k...@hp.com 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 4/30] ACPI / hotplug / PCI: Hotplug context objects for bridges and functions

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg mika.westerb...@linux.intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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.

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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 8/30] ACPI / hotplug / PCI: Merge hotplug event handling functions

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Mika Westerberg mika.westerb...@linux.intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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 rafael.j.wyso...@intel.com --- drivers/pci/hotplug/acpiphp_glue.c |6 -- 1 file changed, 6

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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 rafael.j.wyso...@intel.com ---

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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(),

[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 rafael.j.wyso...@intel.com 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

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

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com 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.

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 toshi.k...@hp.com wrote: On Wed, 2013-07-17 at 19:22 -0400, KOSAKI Motohiro wrote: On Wed, Jul 17, 2013 at 5:45 PM, Toshi Kani toshi.k...@hp.com wrote: CONFIG_ARCH_MEMORY_PROBE enables /sys/devices/system/memory/probe interface, which allows a

[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 kirill.shute...@linux.intel.com 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

[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 kirill.shute...@linux.intel.com 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

[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 mark.langsd...@calxeda.com commit ddfef5de3d716f77bad32dbbba6b280158dfd721 upstream. Increase the retry count for the hard reset function to 100 but shorten the time out

[PATCH 013/145] zram: protect sysfs handler from invalid memory access

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 liu...@gmail.com commit 5863e10b441e7ea4b492f930f1be180a97d026f3 upstream. Use zram-init_lock to protect access to zram-meta, otherwise it may cause invalid memory access if

[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 liu...@gmail.com commit 12a7ad3b810e77137d0caf97a6dd97591e075b30 upstream. Function valid_io_request() should verify the entire request are within the zram device address

[PATCH 010/145] zram: use zram-lock to protect zram_free_page() in swap free notify 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 liu...@gmail.com commit 57ab048532c0d975538cebd4456491b5c34248f4 upstream. zram_slot_free_notify() is free-running without any protection from concurrent operations. So there

[PATCH 005/145] ahci: Add AMD CZ SATA device ID

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 shane.hu...@amd.com commit fafe5c3d82a470d73de53e6b08eb4e28d974d895 upstream. To add AMD CZ SATA controller device ID of IDE mode. [bhelgaas: drop pci_ids.h update]

[PATCH 25/30] ACPI / hotplug / PCI: Check for new devices on enabled slots

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The current implementation of acpiphp_check_bridge() is pretty dumb: - It enables a slot if it's not enabled and the slot status is ACPI_STA_ALL. - It disables a slot if it's enabled and the slot status is not ACPI_STA_ALL. This behavior

Re: linux-next: Tree for Jul 17

2013-07-17 Thread Stephen Rothwell
Hi Mark, [Sorry for the delay, I had to go into work to find the logs of yesterday's builds.] On Wed, 17 Jul 2013 09:31:34 +0100 Mark Brown broo...@kernel.org wrote: On Wed, Jul 17, 2013 at 02:13:35PM +1000, Stephen Rothwell wrote: The sound-asoc tree still has its build failure so I used

[PATCH 006/145] i2c-piix4: Add AMD CZ SMBus device ID

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 shane.hu...@amd.com commit b996ac90f595dda271cbd858b136b45557fc1a57 upstream. To add AMD CZ SMBus controller device ID. [bhelgaas: drop pci_ids.h update] Signed-off-by:

[PATCH 019/145] libata: skip SRST for all SIMG [34]7x port-multipliers

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo t...@kernel.org commit 7a87718d92760fc688628ad6a430643dafa16f1f upstream. For some reason, a lot of port-multipliers have issues with softreset. SIMG [34]7x series

[PATCH 011/145] zram: destroy all devices on error recovery path in zram_init()

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 liu...@gmail.com commit 39a9b8ac9333e4268ecff7da6c9d1ab3823ff243 upstream. On error recovery path of zram_init(), it leaks the zram device object causing the failure. So change

[PATCH 008/145] clocksource: dw_apb: Fix error check

2013-07-17 Thread Kamal Mostafa
3.8.13.5 -stable review patch. If anyone has any objections, please let me know. -- From: Baruch Siach bar...@tkos.co.il commit 1a33bd2be705cbb3f57d7223b60baea441039307 upstream. irq_of_parse_and_map() returns 0 on error, while the code checks for NO_IRQ. This breaks on

Re: splice vs execve lockdep trace.

2013-07-17 Thread Ben Myers
Linus, On Wed, Jul 17, 2013 at 09:03:11AM -0700, Linus Torvalds wrote: On Tue, Jul 16, 2013 at 10:51 PM, Dave Chinner da...@fromorbit.com wrote: But When i say stale data I mean that the data being returned might not have originally belonged to the underlying file you are reading.

[no subject]

2013-07-17 Thread mercdezben2013prmo
Did you receive my Notification?. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] staging/lustre/libcfs: removed dead code from libcfs_string

2013-07-17 Thread Dilger, Andreas
On 2013/07/17 5:05 AM, Dragos Foianu dragos.foi...@gmail.com wrote: Confirmed by cscope that the functions are not used anymore. A fresh compilation does not yield any errors. Signed-off-by: Dragos Foianu dragos.foi...@gmail.com Reviewed-by: Andreas Dilger andreas.dil...@intel.com ---

[PATCH 1/1] Drivers: hv: balloon: Initialize the transaction ID just before sending the packet

2013-07-17 Thread K. Y. Srinivasan
Each message sent from the guest carries with it a transaction ID. Assign the transaction ID just before putting the message on the VMBUS. This would help in debugging on the host side. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/hv_balloon.c |4 ++-- 1 files changed, 2

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

2013-07-17 Thread Toshi Kani
On Wed, 2013-07-17 at 19:33 -0400, KOSAKI Motohiro wrote: On Wed, Jul 17, 2013 at 7:29 PM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2013-07-17 at 19:22 -0400, KOSAKI Motohiro wrote: On Wed, Jul 17, 2013 at 5:45 PM, Toshi Kani toshi.k...@hp.com wrote: CONFIG_ARCH_MEMORY_PROBE enables

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-07-17 Thread Laurent Pinchart
Hi Luciano, On Monday 01 July 2013 15:39:30 Luciano Coelho wrote: On Fri, 2013-06-28 at 16:21 +0300, Luciano Coelho wrote: On Fri, 2013-06-28 at 15:18 +0300, Felipe Balbi wrote: On Fri, Jun 28, 2013 at 03:13:52PM +0300, Luciano Coelho wrote: On Fri, 2013-06-28 at 14:41 +0300, Felipe

Re: [v3.11-rc1 PATCH 0/5] printk: Initial restructuring

2013-07-17 Thread Joe Perches
On Wed, 2013-07-17 at 15:31 -0700, Andrew Morton wrote: On Tue, 16 Jul 2013 18:56:39 -0700 Joe Perches j...@perches.com wrote: There were a few 9 months ago. Mostly it was a timing issue as to who takes it and when. Well it also broke the build a bit, iirc. V1 did with a

Re: [PATCH v2] arch: tile: include: asm: add cmpxchg64() definition

2013-07-17 Thread Chen Gang
On 07/18/2013 12:46 AM, Chris Metcalf wrote: On 6/30/2013 10:21 PM, Chen Gang wrote: Need add cmpxchg64(), or will cause compiling issue. Need define it as cmpxchg() only for 64-bit operation, since cmpxchg() can support 8 bytes. The related error (with allmodconfig):

Re: hugepage related lockdep trace.

2013-07-17 Thread Minchan Kim
Ccing people get_maintainer says. On Wed, Jul 17, 2013 at 11:32:23AM -0400, Dave Jones wrote: [128095.470960] = [128095.471315] [ INFO: inconsistent lock state ] [128095.471660] 3.11.0-rc1+ #9 Not tainted [128095.472156] -

[Update][PATCH 0/3] Fix backlight issues on some Windows 8 systems

2013-07-17 Thread Rafael J. Wysocki
On Sunday, June 09, 2013 07:01:36 PM Matthew Garrett wrote: Windows 8 introduced new policy for backlight control by pushing it out to graphics drivers. This appears to have coincided with a range of vendors adding Windows 8 checks to their backlight control code which trigger either awkward

[PATCH 1/3] ACPICA: expose OSI version

2013-07-17 Thread Rafael J. Wysocki
From: Aaron Lu aaron...@intel.com Expose acpi_gbl_osi_data so that code outside of ACPICA can check the value of the last successfull _OSI call. The definitions for OSI versions are moved to actypes.h so that other components can access them too. Based on a patch from Matthew Garrett which in

[PATCH 2/3] ACPI / video: Always call acpi_video_init_brightness() on init

2013-07-17 Thread Rafael J. Wysocki
From: Matthew Garrett matthew.garr...@nebula.com We have to call acpi_video_init_brightness() even if we're not going to initialise the backlight - Thinkpads seem to use this as the trigger for enabling ACPI notifications rather than handling it in firmware. [rjw: Drop the brightness object

[PATCH 3/3] ACPI / video / i915: No ACPI backlight if firmware expects Windows 8

2013-07-17 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com According to Matthew Garrett, Windows 8 leaves backlight control up to individual graphics drivers rather than making ACPI calls itself. There's plenty of evidence to suggest that the Intel driver for Windows [8] doesn't use the ACPI interface,

Re: [PATCH 0/5] initmpfs v2: use tmpfs instead of ramfs for rootfs

2013-07-17 Thread Hugh Dickins
On Wed, 17 Jul 2013, Andrew Morton wrote: On Tue, 16 Jul 2013 08:31:13 -0700 (PDT) Rob Landley r...@landley.net wrote: Use tmpfs for rootfs when CONFIG_TMPFS=y and there's no root=. Specify rootfstype=ramfs to get the old initramfs behavior. The previous initramfs code provided a

Re: splice vs execve lockdep trace.

2013-07-17 Thread Linus Torvalds
On Wed, Jul 17, 2013 at 4:40 PM, Ben Myers b...@sgi.com wrote: We're still talking at cross purposes then. How the hell do you handle mmap() and page faulting? __xfs_get_blocks serializes access to the block map with the i_lock on the xfs_inode. This appears to be racy with respect to hole

[PATCH 0/2] Platform: x86: chromeos_laptop - Deferred Probing

2013-07-17 Thread Benson Leung
The following patch series refactors the dmi check system and returns -EPROBE_DEFER when an expected i2c adapter is not present at probe time. This will allow the touchpad, touchscreen, and light sensors on Pixel to load even if the i915 DDC and PANEL buses are instantiated after chromeos_laptop.

[PATCH 2/2] Platform: x86: chromeos_laptop - Use deferred probing

2013-07-17 Thread Benson Leung
Further refactor chromeos_laptop, adding a probe function. Init will call dmi_check_system, but will only use the match to select a chromeos_laptop structure of the current board. Probe will add the devices, and on errors return -EPROBE_DEFER. If i2c adapters are loaded after chromeos_laptop

[PATCH 1/2] Platform: x86: chromeos_laptop - Restructure device associations

2013-07-17 Thread Benson Leung
From: Aaron Durbin adur...@chromium.org The previous code had a single DMI matching entry for each device on a board. Instead provide a single DMI entry for each board which references a structure about each board that lists the associated peripherals. This allows for a lower number of DMI

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

2013-07-17 Thread KOSAKI Motohiro
On Wed, Jul 17, 2013 at 7:51 PM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2013-07-17 at 19:33 -0400, KOSAKI Motohiro wrote: On Wed, Jul 17, 2013 at 7:29 PM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2013-07-17 at 19:22 -0400, KOSAKI Motohiro wrote: On Wed, Jul 17, 2013 at 5:45 PM, Toshi

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

2013-07-17 Thread Felipe Contreras
On Wed, Jul 17, 2013 at 5:24 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: On Wed, Jul 17, 2013 at 07:42:44PM +0100, Al Viro wrote: On Wed, Jul 17, 2013 at 06:56:16PM +0100, Stefano Stabellini wrote: Abuse is never justified, I hope that's clear for everybody. Depends on details of

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

2013-07-17 Thread Toshi Kani
On Wed, 2013-07-17 at 20:24 -0400, KOSAKI Motohiro wrote: On Wed, Jul 17, 2013 at 7:51 PM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2013-07-17 at 19:33 -0400, KOSAKI Motohiro wrote: On Wed, Jul 17, 2013 at 7:29 PM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2013-07-17 at 19:22 -0400,

Re: [PATCH] ALSA: usb-audio: Add quirk for Focusrite Scarlett 18i8

2013-07-17 Thread Torstein Hegge
On Wed, Jul 17, 2013 at 16:12:12 -0500, Chris J Arges wrote: This patch is similar to commit 1762a59d8e8b5e99f6f4a0f292b40f3cacb108ba. The same non-standard interface descriptor causes snd_usb_create_mixer() to fail for the Focusrite Scarlett 18i8 as well. Did you test this on a recent kernel?

[PATCH] kaudit: prevent an older auditd shutdown from orphaning a newer auditd startup

2013-07-17 Thread Richard Guy Briggs
There have been reports of auditd restarts resulting in kaudit not being able to find a newly registered auditd. It results in reports such as: kernel: [ 2077.233573] audit: *NO* daemon at audit_pid=1614 kernel: [ 2077.234712] audit: audit_lost=97 audit_rate_limit=0

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

2013-07-17 Thread Paul E. McKenney
On Thu, Jul 18, 2013 at 01:31:21AM +0200, Frederic Weisbecker wrote: 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

Re: [ 00/19] 3.10.1-stable review

2013-07-17 Thread Thomas Gleixner
On Mon, 15 Jul 2013, Sarah Sharp wrote: On Mon, Jul 15, 2013 at 12:07:56PM -0700, Linus Torvalds wrote: On Mon, Jul 15, 2013 at 11:46 AM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: Bullshit. I've seen you be polite, and explain to clueless maintainers why there's no way you

[PATCH 0/2] ext4: increase mbcache scalability

2013-07-17 Thread T Makphaibulchoke
This patch intends to improve the scalability of an ext4 filesystem by introducing higher degree of parallelism to the usages of its mb_cache and mb_cache_entries. Here are some of the benchmark results with the changes. On a 90 core machine: Here are the performance improvements in some of

[PATCH 0/2] ext4: increase mbcache scalability

2013-07-17 Thread T Makphaibulchoke
This patch intends to improve the scalability of an ext4 filesystem by introducing higher degree of parallelism to the usages of its mb_cache and mb_cache_entries. Here are some of the benchmark results with the changes. On a 90 core machine: Here are the performance improvements in some of

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

2013-07-17 Thread Paul E. McKenney
On Wed, Jul 17, 2013 at 04:19:34PM -0700, Guenter Roeck wrote: 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

Re: [PATCH 5/8] thp, mm: locking tail page is a bug

2013-07-17 Thread Hugh Dickins
On Wed, 17 Jul 2013, Dave Hansen wrote: On 07/17/2013 02:09 PM, Andrew Morton wrote: lock_page() is a pretty commonly called function, and I assume quite a lot of people run with CONFIG_DEBUG_VM=y. Is the overhead added by this patch really worthwhile? I always thought of it as a

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