[PATCH 042/133] nl80211: fix mgmt tx status and testmode reporting for netns

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Kazior commit a0ec570f4f69c4cb700d743a915096c2c8f56a99 upstream. These two events were sent to the default network namespace. This caused AP mode in a non-default netns to not

[PATCH 047/133] ath9k_htc: do some initial hardware configuration

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Oleksij Rempel commit dc2a87f519a4d8cb376ab54f22b6b98a943b51ce upstream. Currently we configure harwdare and clock, only after interface start. In this case, if we reload module or

[PATCH 040/133] USB: mos7840: fix memory leak in open

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 5f8a2e68b679b41cc8e9b642f2f5aa45dd678641 upstream. Allocated urbs and buffers were never freed on errors in open. Signed-off-by: Johan Hovold Signed-off-by: Greg

[PATCH 086/133] ext4: make sure group number is bumped after a inode allocation race

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit a34eb503742fd25155fd6cff6163daacead9fbc3 upstream. When we try to allocate an inode, and there is a race between two CPU's trying to grab the same inode, _and_ this

Re: [Bug] Reproducible data corruption on i5-3340M: Please continue your great work! :-)

2013-08-16 Thread Tony Luck
On Thu, Aug 15, 2013 at 5:33 PM, Linus Torvalds wrote: > I'll probably delay committing it until tomorrow, in the hope that > somebody using one of the other architectures will at least ack that > it compiles. I'm re-attaching the patch (with the two "logn" -> "long" > fixes) just to encourage

[PATCH 083/133] x86/iommu/vt-d: Expand interrupt remapping quirk to cover x58 chipset

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Neil Horman commit 803075dba31c17af110e1d9a915fe7262165b213 upstream. Recently we added an early quirk to detect 5500/5520 chipsets with early revisions that had problems with irq

[PATCH 098/133] ACPI / PM: Fix /proc/acpi/wakeup for devices w/o bus or parent

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Andreas Fleig commit 65ab96f60621c4da8f1b4087a57b788bc4d8f27b upstream. Fix /proc/acpi/wakeup for devices without bus or parent This patch fixes printing the wakeup status for devices

[PATCH 041/133] usb: Clear both buffers when clearing a control transfer TT buffer.

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: William Gulland commit 2c7b871b9102c497ba8f972aa5d38532f05b654d upstream. Control transfers have both IN and OUT (or SETUP) packets, so when clearing TT buffers for a control transfer

[PATCH 094/133] ext4: fix retry handling in ext4_ext_truncate()

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 94eec0fc3520c759831763d866421b4d60b599b4 upstream. We tested for ENOMEM instead of -ENOMEM. Oops. Signed-off-by: "Theodore Ts'o" Signed-off-by: Kamal Mostafa

Re: System suspend states and device driver suspend() callback

2013-08-16 Thread Rafael J. Wysocki
On Friday, August 16, 2013 05:13:42 PM Li Yang-R58472 wrote: > > 在 2013-8-16,下午7:22,"Rafael J. Wysocki" 写道: > > > On Friday, August 16, 2013 04:06:26 PM Li Yang wrote: > >> Hi Guys, > >> > >> Is there a standard way for the device drivers to know if the system > >> is going to “standby” mode

[PATCH 095/133] spi: spi-davinci: Fix direction in dma_map_single()

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Christian Eggers commit 89c66ee890af18500fa4598db300cc07c267f900 upstream. Commit 048177ce3b3962852fd34a7e04938959271c7e70 (spi: spi-davinci: convert to DMA engine API) introduced a

[PATCH 046/133] iwlwifi: add DELL SKU for 5150 HMC

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit a1923f1d4723e5757cefdd60f7c7ab30e472007a upstream. This SKU was missing in the list of supported devices https://bugzilla.kernel.org/show_bug.cgi?id=60577

[PATCH 102/133] userns: limit the maximum depth of user_namespace->parent chain

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 8742f229b635bf1c1c84a3dfe5e47c814c20b5c8 upstream. Ensure that user_namespace->parent chain can't grow too much. Currently we use the hardroded 32 as limit.

[PATCH 100/133] regmap: Add missing header for !CONFIG_REGMAP stubs

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Krawczuk commit 49ccc142f9cbc33fdda18e8fa90c1c5b4a79c0ad upstream. regmap.h requires linux/err.h if CONFIG_REGMAP is not defined. Without it I get error. CC

Re: [PATCH RFC 1/3] spmi: Linux driver framework for SPMI

2013-08-16 Thread Josh Cartwright
On Fri, Aug 16, 2013 at 02:47:14PM -0500, Josh Cartwright wrote: > > > > Why? If debugfs isn't enabled, the functions should just compile away > > with the debugfs_() calls, so no need to do this type of thing here, > > right? > > Not sure I follow you, but it may be because this is a bit

[PATCH 089/133] virtio: console: fix race in port_fops_open() and port unplug

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Amit Shah commit 671bdea2b9f210566610603ecbb6584c8a201c8c upstream. Between open() being called and processed, the port can be unplugged. Check if this happened, and bail out. A simple

[PATCH 101/133] userns: unshare_userns() should not populate cred on failure

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit 6160968cee8b90a5dd95318d716e31d7775c4ef3 upstream. unshare_userns(new_cred) does *new_cred = prepare_creds() before create_user_ns() which can fail. However, the

[PATCH 109/133] ALSA: usb-audio: do not trust too-big wMaxPacketSize values

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit 57e6dae1087bbaa6b33d3dd8a8e90b63888939a3 upstream. The driver used to assume that the streaming endpoint's wMaxPacketSize value would be an indication of how much

[PATCH 091/133] virtio: console: fix raising SIGIO after port unplug

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Amit Shah commit 92d3453815fbe74d539c86b60dab39ecdf01bb99 upstream. SIGIO should be sent when a port gets unplugged. It should only be sent to prcesses that have the port opened, and

[PATCH 066/133] rt2x00: fix stop queue

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit e2288b66fe7ff0288382b2af671b4da558b44472 upstream. Since we clear QUEUE_STARTED in rt2x00queue_stop_queue(), following call to rt2x00queue_pause_queue() reduce

[RFC v1 0/5] ARM: Initial support for Marvell Armada 1500

2013-08-16 Thread Sebastian Hesselbarth
This is a RFC adding initial support for the Marvell Armada 1500 (88DE3100) found on various consumer devices (Chromecast, GoogleTV). Actually, it is a two-fold RFC also raising discussions on mach-mvebu cleanup roadmap to allow other SoCs to hop into it. While mach-mvebu originally was created

[PATCH 103/133] drm/cirrus: Invalidate page tables when pinning a BO

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Srb commit 109a51598869a39fdcec2d49672a9a39b6d89481 upstream. This is a cirrus version of Egbert Eich's patch for mgag200. Without bo.bdev->dev_mapping set, the

Re: [ 00/17] 3.4.58-stable review

2013-08-16 Thread Guenter Roeck
On Fri, Aug 16, 2013 at 11:55:02PM +0200, Geert Uytterhoeven wrote: > On Fri, Aug 16, 2013 at 10:27 PM, Guenter Roeck wrote: > > Still failing: > > sparc64:allmodconfig > > /opt/buildbot/slave/stable-queue-3_4/build/usr/include/linux/types.h:27:1: > > error: unknown type name ‘__u16’ >

Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2013-08-16 Thread Johannes Weiner
gt; Avoid dirtying the same cache line with every single page allocation > > by making the fair per-zone allocation batch a vmstat item, which will > > turn it into batched percpu counters on SMP. > > > > Signed-off-by: Johannes Weiner > > I bisected several boot failure

Re: [PATCH] dm: Make MIN_IOS, et al, tunable via sysctl.

2013-08-16 Thread Frank Mayhar
Sorry for the repeats, mailer issues (was supposed to go to dm-devel). -- Frank Mayhar 310-460-4042 -- 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

[PATCH 065/133] ALSA: compress: fix the return value for SNDRV_COMPRESS_VERSION

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Vinod Koul commit a8d30608eaed6cc759b8e2e8a842591f797f upstream. the return value of SNDRV_COMPRESS_VERSION always return default -ENOTTY as the return value was never updated for

[PATCH 096/133] [SCSI] megaraid_sas: megaraid_sas driver init fails in kdump kernel

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@lsi.com" commit 6431f5d7c6025f8b007af06ea090de308f7e6881 upstream. Problem: When Hardware IOMMU is on, megaraid_sas driver initialization fails in kdump kernel with LSI

[PATCH 084/133] s390/bitops: fix find_next_bit_left

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 3b0040a47ad63f7147e9e7d2febb61a3b564bb90 upstream. The find_next_bit_left function is broken if used with an offset which is not a multiple of 64. The shift to

Re: [PATCH v2] RFC: interrupt consistency check for OF GPIO IRQs

2013-08-16 Thread Linus Walleij
Hi Lars, On Tue, Aug 13, 2013 at 11:46 AM, Lars Poeschel wrote: > From: Linus Walleij > > Currently the kernel is ambigously treating GPIOs and interrupts > from a GPIO controller: GPIOs and interrupts are treated as > orthogonal. This unfortunately makes it unclear how to actually > retrieve

[PATCH 061/133] USB: mos7840: fix pointer casts

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 683a0e4d7971c3186dc4d429027debfe309129aa upstream. Silence compiler warnings on 64-bit systems introduced by commit 05cf0dec ("USB: mos7840: fix race in led

[PATCH 072/133] ARM: poison the vectors page

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit f928d4f2a86f46b030fa0850385b4391fc2b5918 upstream. Fill the empty regions of the vectors page with an exception generating instruction. This ensures that any

[PATCH 062/133] ixgbe: Fix Tx Hang issue with lldpad on 82598EB

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller commit 1eb9ac14c34a948bf1538bfb9034e8ab29099a64 upstream. This patch fixes an issue with the 82598EB device, where lldpad is causing Tx Hangs on the card as soon as it

[PATCH 060/133] dma: pl330: Fix cyclic transfers

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit fc51446021f42aca8906e701fc2292965aafcb15 upstream. Allocate a descriptor for each period of a cyclic transfer, not just the first. Also since the callback

[PATCH 068/133] drm/nouveau: fix semaphore dmabuf obj

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 7a7da592cbb22a1d360638dbecc393470c5effe3 upstream. Fixes some dmabuf object errors on nv50 chipset and below. Signed-off-by: Maarten Lankhorst Signed-off-by:

Re: [ 00/17] 3.4.58-stable review

2013-08-16 Thread Greg Kroah-Hartman
On Fri, Aug 16, 2013 at 03:39:50PM -0700, Guenter Roeck wrote: > On Fri, Aug 16, 2013 at 11:55:02PM +0200, Geert Uytterhoeven wrote: > > On Fri, Aug 16, 2013 at 10:27 PM, Guenter Roeck wrote: > > > Still failing: > > > sparc64:allmodconfig > > >

[PATCH 069/133] ACPI / battery: Fix parsing _BIX return value

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Lan Tianyu commit 016d5baad04269e8559332df05f89bd95b52d6ad upstream. The _BIX method returns extended battery info as a package. According the ACPI spec (ACPI 5, Section 10.2.2.2), the

[PATCH 105/133] drm/ast: invalidate page tables when pinning a BO

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 3ac65259328324de323dc006b52ff7c1a5b18d19 upstream. same fix as cirrus and mgag200. Signed-off-by: Dave Airlie Signed-off-by: Kamal Mostafa ---

[PATCH 097/133] [SCSI] Don't attempt to send extended INQUIRY command if skip_vpd_pages is set

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Martin K. Petersen" commit 7562523e84ddc742fe1f9db8bd76b01acca89f6b upstream. If a device has the skip_vpd_pages flag set we should simply fail the scsi_get_vpd_page() call.

[PATCH 106/133] drm/i915: do not disable backlight on vgaswitcheroo switch off

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 3f577573cd5482a32f85bd131e52f7cb4b9ac518 upstream. On muxed systems, the other vgaswitcheroo client may depend on i915 to handle the backlight. We began switching off

[PATCH 067/133] USB: serial: ftdi_sio: add more RT Systems ftdi devices

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Rick Farina (Zero_Chaos)" commit fed1f1ed90bce42ea010e2904cbc04e7b8304940 upstream. RT Systems makes many usb serial cables based on the ftdi_sio driver for programming various amateur

[PATCH 058/133] serial: arc_uart: Fix module alias

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit d5a12ea7a9e58d9e5c19d25cb668aadb396423ec upstream. Platform drivers use "platform:" prefix in module alias. Also use DRIVER_NAME in MODULE_ALIAS to make module

[PATCH 064/133] Revert "cpuidle: Quickly notice prediction failure for repeat mode"

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 148519120c6d1f19ad53349683aeae9f228b0b8d upstream. Revert commit 69a37bea (cpuidle: Quickly notice prediction failure for repeat mode), because it has been

[PATCH 034/133] xhci: Avoid NULL pointer deref when host dies.

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 203a86613fb3bf2767335659513fa98563a3eb71 upstream. When the host controller fails to respond to an Enable Slot command, and the host fails to respond to the register

[PATCH 063/133] Revert "cpuidle: Quickly notice prediction failure in general case"

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 228b30234f258a193317874854eee1ca7807186e upstream. Revert commit e11538d1 (cpuidle: Quickly notice prediction failure in general case), since it depends on

[PATCH 059/133] firewire: fix libdc1394/FlyCap2 iso event regression

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit 0699a73af3811b66b1ab5650575acee5eea841ab upstream. Commit 18d627113b83 (firewire: prevent dropping of completed iso packet header data) was intended to be an

[PATCH 031/133] md/raid10: remove use-after-free bug.

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 0eb25bb027a100f5a9df8991f2f628e7d851bc1e upstream. We always need to be careful when calling generic_make_request, as it can start a chain of events which might free

[PATCH v2] x86, perf: Fix arch_perf_out_copy_user and copy_from_user_nmi return values

2013-08-16 Thread Jed Davis
All architectures except x86 use __copy_from_user_inatomic to provide arch_perf_out_copy_user; like the other copy_from routines, it returns the number of bytes not copied. perf was expecting the number of bytes that had been copied. This change corrects that, and thereby allows

[PATCH] MAINTAINERS: Change ownership for SGI specific modules.

2013-08-16 Thread Robin Holt
I have taken a different job. I am removing myself as maintainer of GRU. Dimitri will continue to maintain the SGI GRU driver, changing the XP/XPC/XPNET maintainer to Cliff Whickman, but leaving behind my personal email address to answer any questions about the design or operation of the XP

[PATCH 021/133] [SCSI] qla2xxx: Properly set the tagging for commands.

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Saurav Kashyap commit c3ccb1d7cf4c4549151876dd37c0944a682fd9e1 upstream. This fixes a regression where Xyratex controllers and disks were lost by the driver:

[PATCH 027/133] staging: android: logger: Correct write offset reset on error

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Karlis Ogsts commit 72bb99cfe9c57d205fb34bbc95b4c0bae6f2 upstream. In the situation that a writer fails to copy data from userspace it will reset the write offset to the value it

please fetch new git-based DM 'for-next' branch [was: Re: [git pull] device-mapper changes for 3.11]

2013-08-16 Thread Mike Snitzer
On Thu, Jul 11 2013 at 9:03pm -0400, Stephen Rothwell wrote: > Hi Alasdair, > > On Thu, 11 Jul 2013 14:55:22 +0100 Alasdair G Kergon wrote: > > > > On Thu, Jul 11, 2013 at 04:20:40PM +1000, Stephen Rothwell wrote: > > > Alistair, is there some reason that you cannot maintain some relatively >

[PATCH 119/133] perf/arm: Fix armpmu_map_hw_event()

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit b88a2595b6d8aedbd275c07dfa784657b4f757eb upstream. Fix constraint check in armpmu_map_hw_event(). Reported-and-tested-by: Vince Weaver Signed-off-by: Ingo Molnar

[PATCH 054/133] USB: mos7840: fix race in led handling

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 05cf0dec5ccc696a7636c84b265b477173498156 upstream. Fix race in LED handling introduced by commit 0eafe4de ("USB: serial: mos7840: add support for MCS7810 devices")

Re: linux-next: Tree for Aug 16 (lustre)

2013-08-16 Thread Randy Dunlap
On 08/16/13 00:16, Stephen Rothwell wrote: > Hi all, > > Changes since 20130815: > lustre needs to depend on PROC_FS or provide stub functions for when CONFIG_PROC_FS is not enabled, otherwise there are build errors and warnings: drivers/staging/lustre/lustre/lmv/lproc_lmv.c: In function

[PATCH 035/133] usb: host: xhci: Enable XHCI_SPURIOUS_SUCCESS for all controllers with xhci 1.0

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: George Cherian commit 07f3cb7c28bf3f4dd80bfb136cf45810c46ac474 upstream. Xhci controllers with hci_version > 0.96 gives spurious success events on short packet completion. During webcam

Improve preempt-scheduling and x86 user access v3

2013-08-16 Thread Andi Kleen
Various optimizations related to CONFIG_PREEMPT_VOLUNTARY and x86 uaccess - Optimize copy_*_inatomic on x86-64 to handle 1-8 bytes without string instructions - Inline might_sleep and other preempt code to optimize various preemption paths This costs about 10k text size, but generates far

[PATCH 6/6] sched: Inline the need_resched test into the caller for _cond_resched

2013-08-16 Thread Andi Kleen
From: Andi Kleen _cond_resched does at least two explicit calls just to decide to do nothing: _cond_resched and should_resched(). Inline a need_resched() into the caller to avoid these calls in the common case of no reschedule being needed. Signed-off-by: Andi Kleen --- include/linux/sched.h

[PATCH] um: Implement probe_kernel_read()

2013-08-16 Thread Richard Weinberger
UML needs it's own probe_kernel_read() to handle kernel mode faults correctly. The implementation uses mincore() on the host side to detect whether a page is owned by the UML kernel process. This fixes also a possible crash when sysrq-t is used. Starting with 3.10 sysrq-t calls

[PATCH 2/6] x86: Include linux/sched.h in asm/uaccess.h

2013-08-16 Thread Andi Kleen
From: Andi Kleen uaccess.h uses might_sleep, but there is currently no explicit include for this. Since a upcoming patch moves might_sleep into sched.h include sched.h here. Signed-off-by: Andi Kleen --- arch/x86/include/asm/uaccess.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 1/4] input: ti_am335x_tsc: correct step mask update after IRQ

2013-08-16 Thread Zubair Lutfullah :
On Fri, Aug 16, 2013 at 10:53:50AM +0200, Sebastian Andrzej Siewior wrote: > * Zubair Lutfullah | 2013-08-13 17:48:16 [+0100]: > > >@@ -316,7 +318,7 @@ static irqreturn_t titsc_irq(int irq, void *dev) > > > > if (irqclr) { > > titsc_writel(ts_dev, REG_IRQSTATUS, irqclr); > >-

[PATCH 032/133] md/raid5: fix interaction of 'replace' and 'recovery'.

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit f94c0b6658c7edea8bc19d13be321e3860a3fa54 upstream. If a device in a RAID4/5/6 is being replaced while another is being recovered, then the writes to the replacement

Re: [PATCH] um: Implement probe_kernel_read()

2013-08-16 Thread Richard Weinberger
Am 16.08.2013 21:44, schrieb Richard Weinberger: > UML needs it's own probe_kernel_read() to handle kernel > mode faults correctly. > The implementation uses mincore() on the host side to detect > whether a page is owned by the UML kernel process. > > This fixes also a possible crash when sysrq-t

[PATCH 026/133] staging: comedi: fix a race between do_cmd_ioctl() and read/write

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 4b18f08be01a7b3c7b6df497137b6e3cb28adaa3 upstream. `do_cmd_ioctl()` is called with the comedi device's mutex locked to process the `COMEDI_CMD` ioctl to set up

[PATCH 5/6] sched: mark should_resched() __always_inline

2013-08-16 Thread Andi Kleen
From: Andi Kleen At least gcc 4.6 and some earlier ones does not inline this function. Since it's small and on relatively hot paths force inline it. Signed-off-by: Andi Kleen --- kernel/sched/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/core.c

[PATCH 028/133] usb: option: add TP-LINK MA260

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 94190301ffa059c2d127b3a67ec5d161d5c62681 upstream. Signed-off-by: Bjørn Mork Signed-off-by: Greg Kroah-Hartman Signed-off-by: Kamal Mostafa ---

[PATCH 048/133] ath9k_htc: reboot firmware if it was loaded

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Oleksij Rempel commit 4928bd2ef8ece262f4f31463021a91eaa440 upstream. Currently ath9k_htc will reboot firmware only if interface was ever started. Which lead to the problem in case

[PATCH 057/133] serial/mxs-auart: increase time to wait for transmitter to become idle

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= commit 079a036f4283e2b0e5c26080b8c5112bc0cc1831 upstream. Without this patch the driver waits ~1 ms for the UART to become idle. At 115200n8 this

Re: [PATCH v3 0/3] qrwlock: Introducing a queue read/write lock implementation

2013-08-16 Thread Waiman Long
On 08/14/2013 11:57 AM, Ingo Molnar wrote: * Waiman Long wrote: On 08/14/2013 06:20 AM, Ingo Molnar wrote: * Waiman Long wrote: I would like to share with you a rwlock related system crash that I encountered during my testing with hackbench on an 80-core DL980. The kernel crash because

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-16 Thread Mark Brown
On Fri, Aug 16, 2013 at 04:39:47PM -0400, Alan Stern wrote: > On Fri, 16 Aug 2013, Mark Brown wrote: > > The device in this context is a running instance of the driver. > It's kind of difficult to understand what you're saying. Obviously the > literal meaning is not what you had in mind,

Re: [PATCH RFC 1/3] spmi: Linux driver framework for SPMI

2013-08-16 Thread Greg Kroah-Hartman
On Fri, Aug 16, 2013 at 03:40:55PM -0500, Josh Cartwright wrote: > On Fri, Aug 16, 2013 at 12:58:49PM -0700, Greg Kroah-Hartman wrote: > > On Fri, Aug 16, 2013 at 02:47:15PM -0500, Josh Cartwright wrote: > > > > > +#ifdef CONFIG_DEBUG_FS > > > > > > > > Why? If debugfs isn't enabled, the

[PATCH 033/133] drm/i915: initialize gt_lock early with other spin locks

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 14c5cec5d0cd73e7e9d4fbea2bbfeea8f3ade871 upstream. commit 181d1b9e31c668259d3798c521672afb8edd355c Author: Daniel Vetter Date: Sun Jul 21 13:16:24 2013 +0200

[PATCH 1/6] x86: Add 1/2/4/8 byte optimization to 64bit __copy_{from,to}_user_inatomic

2013-08-16 Thread Andi Kleen
From: Andi Kleen The 64bit __copy_{from,to}_user_inatomic always called copy_from_user_generic, but skipped the special optimizations for 1/2/4/8 byte accesses. This especially hurts the futex call, which accesses the 4 byte futex user value with a complicated fast string operation in a

Re: [PATCH 1/8] THP: Use real address for NUMA policy

2013-08-16 Thread Alex Thorlton
On Fri, Aug 16, 2013 at 09:46:35PM +0200, Peter Zijlstra wrote: > On Fri, Aug 16, 2013 at 01:17:28PM -0500, Alex Thorlton wrote: > > I actually didn't write these patches (made a few tweaks to get them > > running on the latest kernel though). They were submitted last July by > > Peter Zijlstra.

[PATCH 029/133] USB: ti_usb_3410_5052: fix dynamic-id matching

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 1fad56424f5ad3ce4973505a357212b2e2282b3f upstream. The driver failed to take the dynamic ids into account when determining the device type and therefore all devices

[PATCH 3/6] tree-sweep: Include linux/sched.h for might_sleep users

2013-08-16 Thread Andi Kleen
From: Andi Kleen might_sleep is moving from linux/kernel.h to linux/sched.h, so any users need to include linux/sched.h This was done with a mechanistic script and some uses may be redundant (already included in some other include file). However it's good practice to always include any needed

[PATCH 025/133] staging: comedi: COMEDI_CANCEL ioctl should wake up read/write

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 69acbaac303e8cb948801a9ddd0ac24e86cc4a1b upstream. Comedi devices can do blocking read() or write() (or poll()) if an asynchronous command has been set up, blocking

[PATCH 050/133] ARM: 7791/1: a.out: remove partial a.out support

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit acfdd4b1f7590d02e9bae3b73bdbbc4a31b05d38 upstream. a.out support on ARM requires that argc, argv and envp are passed in r0-r2 respectively, which requires hacking

[PATCH 023/133] nfsd: nfsd_open: when dentry_open returns an error do not propagate as struct file

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Harshula Jayasuriya commit e4daf1ffbe6cc3b12aab4d604e627829e93e9914 upstream. The following call chain: nfs4_get_vfs_file -

[PATCH 055/133] serial/mxs-auart: fix race condition in interrupt handler

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= commit d970d7fe65adff5efe75b4a73c4ffc9be57089f7 upstream. The handler needs to ack the pending events before actually handling them. Otherwise a new

[PATCH 4/6] Move might_sleep and friends from kernel.h to sched.h

2013-08-16 Thread Andi Kleen
From: Andi Kleen These are really related to scheduling, so they should be in sched.h Users usually will need to schedule anyways. The advantage of having them there is that we can access some of the scheduler inlines to make their fast path more efficient. This will come in a followon patch.

[PATCH 056/133] serial: mxs: fix buffer overflow

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 4829e7650f8a40645e4e32b26a37fb833a5e75f0 upstream. SMATCH correctly found an off-by-one error: drivers/tty/serial/mxs-auart.c:889 auart_console_write() error:

[PATCH 030/133] usb: serial: option: Add ONYX 3G device support

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Enrico Mioso commit 63b5df963f52ccbab6fabedf05b7ac6b465789a4 upstream. This patch adds support for the ONYX 3G device (version 1) from ALFA NETWORK. Signed-off-by: Enrico Mioso

[PATCH 049/133] ARM: 7790/1: Fix deferred mm switch on VIVT processors

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit bdae73cd374e28db544fdd9b77de689a36e3c129 upstream. As of commit b9d4d42ad9 (ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on pre-ARMv6 CPUs), the mm switching on

[PATCH 052/133] USB: mos7840: fix race in register handling

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit d8a083cc746664916d9d36ed9e4d08a29525f245 upstream. Fix race in mos7840_get_reg which unconditionally manipulated the control urb (which may already be in use) by

Re: [RFC v1 4/5] ARM: mvebu: add Armada 1500 and Sony NSZ-GS7 device tree files

2013-08-16 Thread Jason Cooper
On Fri, Aug 16, 2013 at 09:41:37PM +0200, Sebastian Hesselbarth wrote: > This adds very basic device tree files for the Marvell Armada 1500 SoC > and the Sony NSZ-GS7 GoogleTV board. Currently, SoC only has nodes for > cpus, some clocks, l2 cache controller, local timer, apb timers, uart, > and

[PATCH 053/133] USB: mos7840: fix device-type detection

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 40c24f2893ba0ba7df485871f6aac0c197ceef5b upstream. Fix race in device-type detection introduced by commit 0eafe4de ("USB: serial: mos7840: add support for MCS7810

Re: [PATCH v3 1/3] usb: dwc3: msm: Add device tree binding information

2013-08-16 Thread Stephen Warren
On 08/14/2013 06:59 AM, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > MSM USB3.0 core wrapper consist of USB3.0 IP from Synopsys > (SNPS) and HS, SS PHY's control and configuration registers. > > It could operate in device mode (SS, HS, FS) and host > mode (SS, HS, FS, LS). > diff --git

[PATCH 108/133] drm: Don't pass negative delta to ktime_sub_ns()

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Michel=20D=C3=A4nzer?= commit e91abf80a0998f326107874c88d549f94839f13c upstream. It takes an unsigned value. This happens not to blow up on 64-bit architectures, but it does

[git pull] m68k updates for 3.11-rc6

2013-08-16 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11 18:04:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git for-3.11 for you to fetch changes up to

Re: page fault scalability (ext3, ext4, xfs)

2013-08-16 Thread J. Bruce Fields
On Fri, Aug 16, 2013 at 07:37:25AM +1000, Dave Chinner wrote: > On Thu, Aug 15, 2013 at 08:17:18AM -0700, Andy Lutomirski wrote: > > On Thu, Aug 15, 2013 at 12:11 AM, Dave Chinner wrote: > > > On Wed, Aug 14, 2013 at 11:14:37PM -0700, Andy Lutomirski wrote: > > >> On Wed, Aug 14, 2013 at 11:01

[PATCH 022/133] [SCSI] sd: fix crash when UA received on DIF enabled device

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Ewan D. Milne" commit 085b513f97d8d799d28491239be4b451bcd8c2c5 upstream. sd_prep_fn will allocate a larger CDB for the command via mempool_alloc for devices using DIF type 2

[PATCH 070/133] drm/radeon/atom: initialize more atom interpretor elements to 0

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 42a21826dc54583cdb79cc8477732e911ac9c376 upstream. The ProcessAuxChannel table on some rv635 boards assumes the divmul members are initialized to 0 otherwise we get

[PATCH 051/133] mwifiex: Add missing endian conversion.

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Tomasz=20Mo=C5=84?= commit 83e612f632c3897be29ef02e0472f6d63e258378 upstream. Both type and pkt_len variables are in host endian and these should be in Little Endian in the

[PATCH 104/133] drm/mgag200: Invalidate page tables when pinning a BO

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Egbert Eich commit ecaac1c866bcda4780a963b3d18cd310d971aea3 upstream. When a BO gets pinned the placement may get changed. If the memory is mapped into user space and user space has

[PATCH 024/133] USB: option: add D-Link DWM-152/C1 and DWM-156/C1

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Alexandr \\\"Sky\\\" Ivanov" commit ca24763588844b14f019ffc45c7df6d9e8f932c5 upstream. Adding support for D-Link DWM-152/C1 and DWM-156/C1 devices. DWM-152/C1: T: Bus=01

[PATCH 099/133] ACPI / PM: Walk physical_node_list under physical_node_lock

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 623cf33cb055b1e81fa47e4fc16789b2c129e31e upstream. The list of physical devices corresponding to an ACPI device object is walked by

[PATCH 044/133] mac80211: fix duplicate retransmission detection

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 6b0f32745dcfba01d7be33acd1b40306c7a914c6 upstream. The duplicate retransmission detection code in mac80211 erroneously attempts to do the check for every frame,

[RFC v1 2/5] ARM: mvebu: add Armada 1500 to defconfig

2013-08-16 Thread Sebastian Hesselbarth
This adds the Armada 1500 to the list of Marvell MVEBU SoCs built by default config. Signed-off-by: Sebastian Hesselbarth --- Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: Thomas Petazzoni Cc: Arnd Bergmann Cc: linux-arm-ker...@lists.infradead.org Cc:

[PATCH 039/133] usb: serial: option.c: remove ONDA MT825UP product ID fromdriver

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Enrico Mioso commit 878c69aae986ae97084458c0183a8c0a059865b1 upstream. Some (very few) early devices like mine, where not exposting a proper CDC descriptor. This was fixed with an

[PATCH 117/133] ext4: allow the mount options nodelalloc and data=journal

2013-08-16 Thread Kamal Mostafa
3.8.13.7 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 59d9fa5c2e9086db11aa287bb4030151d0095a17 upstream. Commit 26092bf ("ext4: use a table-driven handler for mount options") wrongly disallows the specifying the mount

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