[CFT][PATCH 2/3] userns: Add a knob to disable setgroups on a per user namespace basis

2014-12-02 Thread Eric W. Biederman
- Expose the knob to user space through a proc file /proc//setgroups A value of 0 means the setgroups system call is disabled in the current processes user namespace and can not be enabled in the future in this user namespace. A value of 1 means the segtoups system call is enabled. - De

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Dave Jones
On Mon, Dec 01, 2014 at 12:36:34PM -0800, Linus Torvalds wrote: > On Mon, Dec 1, 2014 at 12:28 PM, Dâniel Fraga wrote: > > > > Hi Paul. Please, I'd like the patch, because without > > preemption, I'm unable to trigger this bug. > > Ok, that's already interesting information. And yes

[CFT][PATCH 1/3] userns: Avoid problems with negative groups

2014-12-02 Thread Eric W. Biederman
Classic unix permission checks have an interesting feature, the group permissions for a file can be set to less than the other permissions on a file. Occassionally this is used deliberately to give a certain group of users fewer permissions than the default. Overlooking negative groups has resul

[PATCH 3.18] kernel: avoid overflow in cmp_range()

2014-12-02 Thread Louis Langholtz
Avoid overflow possibility. Signed-off-by: Louis Langholtz --- diff --git a/kernel/range.c b/kernel/range.c index 322ea8e..06d9ee7 100644 --- a/kernel/range.c +++ b/kernel/range.c @@ -113,12 +113,16 @@ static int cmp_range(const void *x1, const void *x2) { const struct range *r1 = x1;

[PATCH v4 0/2] xen/pci: Use APIC for MSIs when APIC virtualization is supported

2014-12-02 Thread Boris Ostrovsky
Changes in v4: * Added comment describing what we check for in pci_xen_init() Changes in v3: * Explicitly include asm/apic.h in arch/x86/pci/xen.c for !CONFIG_SMP. Changes in v2: * New version of cpuid.h file from Xen tree (with a couple of style adjustments) * Whitespace cleanup Currently HVM g

[PATCH v4 1/2] xen/pci: Defer initialization of MSI ops on HVM guests until after x2APIC has been set up

2014-12-02 Thread Boris Ostrovsky
If the hardware supports APIC virtualization we may decide not to use pirqs and instead use APIC/x2APIC directly, meaning that we don't want to set x86_msi.setup_msi_irqs and x86_msi.teardown_msi_irq to Xen-specific routines. However, x2APIC is not set up by the time pci_xen_hvm_init() is called so

[PATCH v4 2/2] xen/pci: Use APIC directly when APIC virtualization is supported by hardware

2014-12-02 Thread Boris Ostrovsky
When hardware supports APIC/x2APIC virtualization we don't need to use pirqs for MSI handling and instead use APIC since most APIC accesses (MMIO or MSR) will now be processed without VMEXITs. As an example, netperf on the original code produces this profile (collected wih 'xentrace -e 0x0008

Re: net-PA Semi: Deletion of unnecessary checks before the function call "pci_dev_put"

2014-12-02 Thread Luis R. Rodriguez
On Tue, Dec 02, 2014 at 09:35:09PM +0300, Dan Carpenter wrote: > On Tue, Dec 02, 2014 at 05:53:28PM +0100, Johannes Berg wrote: > > On Mon, 2014-12-01 at 21:34 +0100, Julia Lawall wrote: > > > > > > So this kind of evolution is no problem for the (automated) backports > > > > using the backports p

Re: [PATCH v2] userns: Disallow setgroups unless the gid_map writer is privileged

2014-12-02 Thread Andy Lutomirski
On Tue, Dec 2, 2014 at 11:45 AM, Eric W. Biederman wrote: > Andy Lutomirski writes: > >> On Tue, Dec 2, 2014 at 4:09 AM, Eric W. Biederman >> wrote: >>> Andy Lutomirski writes: >>> Classic unix permission checks have an interesting feature. The group permissions for a file can be se

[PATCHv2] perf hists: change print format from lu to PRIu64

2014-12-02 Thread Tom Huynh
nr_events in tools/perf/ui/browsers/hists.c is of type u64, so the print format (%lu) causes perf report to show 0 event count when running with 32-bit userspace without redirection. This patch fixes that problem by printing nr_events as PRIu64. Signed-off-by: Tom Huynh --- change since v1: rep

Re: [PATCH] SSB / B44: fix WOL for BCM4401

2014-12-02 Thread Michael Büsch
On Tue, 2 Dec 2014 23:01:29 +0300 Andrey Skvortsov wrote: > On Mon, Dec 01, 2014 at 10:10:23PM +0100, Michael Büsch wrote: > > On Mon, 1 Dec 2014 23:46:38 +0300 > > Andrey Skvortsov wrote: > > > > > Wake On Lan was not working on laptop DELL Vostro 1500. > > > If WOL was turned on, BCM4401 was

Re: [PATCH v2] [LBR] Dump LBRs on Exception

2014-12-02 Thread Andy Lutomirski
On Tue, Dec 2, 2014 at 11:56 AM, Thomas Gleixner wrote: > On Tue, 2 Dec 2014, Andy Lutomirski wrote: >> TBH, I'm wondering whether this is actually a good idea. It might be >> more valuable and less scary to try to make this work for BUG instead. >> To get the most impact, it might be worth alloc

Re: [PATCH 1/2] tpm/tpm_ibmvtpm: Fail in ibmvtpm_get_data if driver_data is bad

2014-12-02 Thread Ashley Lai
I recommend not applying this patch until we hear back from IBM. Thanks, --Ashley On Tue, 2 Dec 2014, Peter Hüwe wrote: Hi, so shall I apply this patch? or not? Thanks, Peter Am Dienstag, 2. Dezember 2014, 20:22:35 schrieb Ashley Lai: @@ -63,9 +63,9 @@ static int ibmvtpm_send_crq(struct vi

Re: [PATCH] SSB / B44: fix WOL for BCM4401

2014-12-02 Thread Andrey Skvortsov
On Mon, Dec 01, 2014 at 10:10:23PM +0100, Michael Büsch wrote: > On Mon, 1 Dec 2014 23:46:38 +0300 > Andrey Skvortsov wrote: > > > Wake On Lan was not working on laptop DELL Vostro 1500. > > If WOL was turned on, BCM4401 was powered up in suspend mode. LEDs blinked. > > But the laptop could not

Re: [PATCH v3 0/5] ARM64: Add kernel probes(Kprobes) support

2014-12-02 Thread William Cohen
On 12/02/2014 02:27 PM, William Cohen wrote: > Hi Masami and Dave, > > I have applied the suggested patch above to my local kernel. However, I have > noticed systemtap testsuite consistently getting panics when running both > before AND after applying that patch to the kernel. Any thoughts on

[PATCH 3.13.y-ckt 014/121] ARM: pxa: fix hang on startup with DEBUG_LL

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Robert Jarzmik commit cde7fc879969f933614b1256df2625d6ff637bab upstream. The commit 2111667b4677 ("ARM: pxa: call debug_ll_io_init for earlyprintk") triggers in the current kernel t

[PATCH 3.13.y-ckt 003/121] ALSA: hda - Add mute LED pin quirk for HP 15 touchsmart

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit 423044744aa4c250058e976474856a7a41972182 upstream. This makes the mute LED work on a HP 15 touchsmart machine (and a HP 14 touchsmart machine). BugLink: ht

[PATCH 3.13.y-ckt 009/121] rcu: Use rcu_gp_kthread_wake() to wake up grace period kthreads

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Pranith Kumar commit 2aa792e6faf1a00f5accf1f69e87e11a390ba2cd upstream. The rcu_gp_kthread_wake() function checks for three conditions before waking up grace period kthreads: * Is

[PATCH 3.13.y-ckt 006/121] drm/i915: provide interface for audio driver to query cdclk

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit c149dcb5c60bfea8871f16dfcc0690255eeb825f upstream. For Haswell and Broadwell, if the display power well has been disabled, the display audio controller divider va

[PATCH 3.13.y-ckt 007/121] ALSA: hda - restore BCLK M/N value as per CDCLK for HSW/BDW display HDA controller

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Mengdong Lin commit e4d9e513dedb5ac4e166c1053314fa935ddecc8c upstream. For HSW/BDW display HD-A controller, hda_set_bclk() is defined to set BCLK by programming the M/N values as pe

[PATCH 3.13.y-ckt 002/121] [3.13-stable only] regmap: fix kernel hang on regmap_bulk_write with zero val_count.

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Quentin Casasnovas If val_count is zero we return -EINVAL with map->lock_arg locked, which will deadlock the kernel next time we try to acquire this lock. This was introduced by 6ae

[PATCH 3.13.y-ckt 013/121] arm64: __clear_user: handle exceptions on strb

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Kyle McMartin commit 97fc15436b36ee3956efad83e22a557991f7d19d upstream. ARM64 currently doesn't fix up faults on the single-byte (strb) case of __clear_user... which means that we c

[PATCH 3.13.y-ckt 015/121] samsung-laptop: Add broken-acpi-video quirk for NC210/NC110

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 5a1426c99f9b7aa11d60c4e6b7a3211bb5321696 upstream. The acpi-video backlight interface on the NC210 does not work, blacklist it and use the samsung-laptop interf

[PATCH 3.13.y-ckt 017/121] acer-wmi: Add acpi_backlight=video quirk for the Acer KAV80

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 183fd8fcd7f8afb7ac5ec68f83194872f9fecc84 upstream. The acpi-video backlight interface on the Acer KAV80 is broken, and worse it causes the entire machine to slo

[PATCH 3.13.y-ckt 020/121] powerpc: do_notify_resume can be called with bad thread_info flags argument

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 808be31426af57af22268ef0fcb42617beb3d15b upstream. Back in 7230c5644188 ("powerpc: Rework lazy-interrupt handling") we added a call out to restore_interrupts(

[PATCH 3.13.y-ckt 010/121] net: sctp: fix NULL pointer dereference in af->from_addr_param on malformed packet

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit e40607cbe270a9e8360907cb1e62ddf0736e4864 upstream. An SCTP server doing ASCONF will panic on malformed INIT ping-of-death in the form of: INIT

[PATCH 3.13.y-ckt 016/121] acer-wmi: Add Aspire 5741 to video_vendor_dmi_table

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 9404cd95507de0a61f2a000fbd76748a9cae33b4 upstream. The Aspire 5741 has broken acpi-video backlight control, so add it to the quirk table. References: https://b

Re: [PATCH v2] [LBR] Dump LBRs on Exception

2014-12-02 Thread Thomas Gleixner
On Tue, 2 Dec 2014, Andy Lutomirski wrote: > TBH, I'm wondering whether this is actually a good idea. It might be > more valuable and less scary to try to make this work for BUG instead. > To get the most impact, it might be worth allocating a new exception > vector for BUG and using 'int 0xwhatev

[PATCH 3.13.y-ckt 011/121] KVM: x86: Don't report guest userspace emulation error to userspace

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Nadav Amit commit a2b9e6c1a35afcc0973acb72e591c714e78885ff upstream. Commit fc3a9157d314 ("KVM: X86: Don't report L2 emulation failures to user-space") disabled the reporting of L2

[PATCH 3.13.y-ckt 012/121] [media] ttusb-dec: buffer overflow in ioctl

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f2e323ec96077642d397bb1c355def536d489d16 upstream. We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter Signed-off-

[PATCH 3.13.y-ckt 019/121] [media] ds3000: fix LNB supply voltage on Tevii S480 on initialization

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Ulrich Eckhardt commit 8c5bcded11cb607b1bb5920de3b9c882136d27db upstream. The Tevii S480 outputs 18V on startup for the LNB supply voltage and does not automatically power down. Thi

[PATCH 3.13.y-ckt 004/121] Revert "ALSA: hda - restore BCLK M/N values when resuming HSW/BDW display controller"

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Kamal Mostafa This reverts commit 72f0c0f47341ac4c86132fe7f7338a3122ac1418. [ kamal: 3.13-stable: to be replaced by Takashi backport ] Signed-off-by: Kamal Mostafa --- sound/pci/

[PATCH 3.13.y-ckt 061/121] drm/radeon: set correct CE ram size for CIK

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Jammy Zhou commit dc4edad6530a9b7b66c3d905e2bc06021a05dcad upstream. CE ram size is 32k/0k/0k for GFX/CS0/CS1 with CIK Ported from amdgpu driver. Signed-off-by: Jammy Zhou Signed

[PATCH 3.13.y-ckt 008/121] rcu: Make callers awaken grace-period kthread

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" commit 48a7639ce80cf279834d0d44865e49ecd714f37d upstream. The rcu_start_gp_advanced() function currently uses irq_work_queue() to defer wakeups of the RCU grace-p

[PATCH 3.13.y-ckt 058/121] KVM: x86: Fix uninitialized op->type for some immediate values

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Nadav Amit commit d29b9d7ed76c0b961603ca692b8a562556a20212 upstream. The emulator could reuse an op->type from a previous instruction for some immediate values. If it mistakenly co

[PATCH 3.13.y-ckt 048/121] ahci: disable MSI instead of NCQ on Samsung pci-e SSDs on macbooks

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 66a7cbc303f4d28f201529b06061944d51ab530c upstream. Samsung pci-e SSDs on macbooks failed miserably on NCQ commands, so 67809f85d31e ("ahci: disable NCQ on Samsung p

Re: [PATCH] tracing: Add NOT to filtering logic

2014-12-02 Thread Steven Rostedt
On Tue, 2 Dec 2014 11:49:58 -0800 Alexei Starovoitov wrote: > On Tue, Dec 2, 2014 at 9:04 AM, Steven Rostedt wrote: > > \ > > - return match; \ > > + return match

[PATCH 3.13.y-ckt 060/121] hwrng: pseries - port to new read API and fix stack corruption

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Greg Kurz commit 24c65bc7037e7d0f362c0df70d17dd72ee64b8b9 upstream. The add_early_randomness() function in drivers/char/hw_random/core.c passes a 16-byte buffer to pseries_rng_data_

[PATCH 3.13.y-ckt 054/121] mac80211: fix use-after-free in defragmentation

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit b8fff407a180286aa683d543d878d98d9fc57b13 upstream. Upon receiving the last fragment, all but the first fragment are freed, but the multicast check for statistic

[PATCH 3.13.y-ckt 052/121] mac80211: schedule the actual switch of the station before CSA count 0

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit ff1e417c7c239b7abfe70aa90460a77eaafc7f83 upstream. Due to the time it takes to process the beacon that started the CSA process, we may be late for the switch i

[PATCH 3.13.y-ckt 067/121] Input: alps - ignore potential bare packets when device is out of sync

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Pali=20Roh=C3=A1r?= commit 4ab8f7f320f91f279c3f06a9795cfea5c972888a upstream. 5th and 6th byte of ALPS trackstick V3 protocol match condition for first byte of PS/2 3 byte

[PATCH 3.13.y-ckt 055/121] tun: Fix csum_start with VLAN acceleration

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit a8f9bfdf982e2b1fb9f094e4de9ab08c57f3d2fd upstream. When VLAN acceleration is in use on the xmit path, we end up setting csum_start to the wrong place. The result

[PATCH 3.13.y-ckt 059/121] crypto: caam - fix missing dma unmap on error path

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Cristian Stoica commit 738459e3f88538f2ece263424dafe5d91799e46b upstream. If dma mapping for dma_addr_out fails, the descriptor memory is freed but the previous dma mapping for dma_

[PATCH 3.13.y-ckt 069/121] scsi: only re-lock door after EH on devices that were reset

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 48379270fe6808cf4612ee094adc8da2b7a83baa upstream. Setups that use the blk-mq I/O path can lock up if a host with a single device that has its door locked e

Re: [PATCH 1/1] esas2r: Correct typos of "validate" in a comment

2014-12-02 Thread Bradley Grove
Acked-by: Bradley Grove Thanks, Brad On 11/27/2014 11:13 AM, Boris Bodemann wrote: From: Boris Bodemann Correct typos of "validate" in a comment Signed-off-by: Boris Bodemann --- diff -up a/drivers/scsi/esas2r/esas2r_flash.c b/drivers/scsi/esas2r/esas2r_flash.c --- a/drivers/scsi/esas2r/e

[PATCH 3.13.y-ckt 053/121] mac80211: properly flush delayed scan work on interface removal

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 46238845bd609a5c0fbe076e1b82b4c5b33360b2 upstream. When an interface is deleted, an ongoing hardware scan is canceled and the driver must abort the scan, at the

[PATCH 3.13.y-ckt 064/121] drm/radeon: add missing crtc unlock when setting up the MC

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit f0d7bfb9407fccb6499ec01c33afe43512a439a2 upstream. Need to unlock the crtc after updating the blanking state. Signed-off-by: Alex Deucher Signed-off-by: Kamal

[PATCH 3.13.y-ckt 065/121] ALSA: hda_intel: Add Device IDs for Intel Sunrise Point PCH

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: James Ralston commit c8b00fd2f4c504a564adcad5b8bd6952ab850b02 upstream. This patch adds the HD Audio Device IDs for the Intel Sunrise Point PCH. [the item position rearranged by ti

Re: [PATCH 2/2] iio: dht11: IRQ fixes

2014-12-02 Thread Harald Geyer
Richard Weinberger writes: > Harald, > > Am 02.12.2014 um 13:58 schrieb Harald Geyer: > > Richard Weinberger writes: > >> Harald, > >> > >> Am 02.12.2014 um 11:19 schrieb Harald Geyer: > >>> Hi Richard, > >>> > >>> thanks for the patch. > >>> > >>> I think (haven't tried yet) that your patch chang

Re: [PATCH] tracing: Add NOT to filtering logic

2014-12-02 Thread Alexei Starovoitov
On Tue, Dec 2, 2014 at 9:04 AM, Steven Rostedt wrote: > \ > - return match; \ > + return match == !pred->not; \ are you sure th

[PATCH 3.13.y-ckt 075/121] nfs: Fix use of uninitialized variable in nfs_getattr()

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 16caf5b6101d03335b386e77e9e14136f989be87 upstream. Variable 'err' needn't be initialized when nfs_getattr() uses it to check whether it should call generic_fillattr(

[PATCH 3.13.y-ckt 078/121] NFSv4: Fix races between nfs_remove_bad_delegation() and delegation return

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 869f9dfa4d6d57b79e0afc3af14772c2a023eeb1 upstream. Any attempt to call nfs_remove_bad_delegation() while a delegation is being returned is currently a no-op.

Re: [PATCH v2] userns: Disallow setgroups unless the gid_map writer is privileged

2014-12-02 Thread Eric W. Biederman
Andy Lutomirski writes: > On Tue, Dec 2, 2014 at 4:09 AM, Eric W. Biederman > wrote: >> Andy Lutomirski writes: >> >>> Classic unix permission checks have an interesting feature. The >>> group permissions for a file can be set to less than the other >>> permissions on a file. Occasionally th

[PATCH 3.13.y-ckt 080/121] NFS: Don't try to reclaim delegation open state if recovery failed

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit f8ebf7a8ca35dde321f0cd385fee6f1950609367 upstream. If state recovery failed, then we should not attempt to reclaim delegated state. http://lkml.kernel.org/r/

[PATCH 3.13.y-ckt 084/121] zram: avoid kunmap_atomic() of a NULL pointer

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Weijie Yang commit c406515239376fc93a30d5d03192182160cbd3fb upstream. zram could kunmap_atomic() a NULL pointer in a rare situation: a zram page becomes a full-zeroed page after a p

[PATCH 3.13.y-ckt 073/121] audit: keep inode pinned

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 799b601451b21ebe7af0e6e8f6e2ccd4683c5064 upstream. Audit rules disappear when an inode they watch is evicted from the cache. This is likely not what we want.

Re: [RFC PATCH 00/14] nfsd/sunrpc: add support for a workqueue-based nfsd

2014-12-02 Thread Jeff Layton
On Tue, 2 Dec 2014 14:26:55 -0500 Tejun Heo wrote: > On Tue, Dec 02, 2014 at 02:18:14PM -0500, Tejun Heo wrote: > ... > > unbound. If strict cpu locality is likely to be beneficial and each > > work item isn't likely to consume huge amount of cpu cycles, > > WQ_CPU_INTENSIVE would fit better; ot

[PATCH 3.13.y-ckt 121/121] x86_64, traps: Rework bad_iret

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit b645af2d5905c4e32399005b867987919cbfc3ae upstream. It's possible for iretq to userspace to fail. This can happen because of a bad CS, SS, or RIP. Historical

[PATCH 3.13.y-ckt 072/121] ALSA: usb-audio: Fix memory leak in FTU quirk

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 1a290581ded60e87276741f8ca97b161d2b226fc upstream. M-audio FastTrack Ultra quirk doesn't release the kzalloc'ed memory. This patch adds the private_free callback

[PATCH 3.13.y-ckt 090/121] target: Don't call TFO->write_pending if data_length == 0

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Roland Dreier commit 885e7b0e181c14e4d0ddd26c688bad2b84c1ada9 upstream. If an initiator sends a zero-length command (e.g. TEST UNIT READY) but sets the transfer direction in the tra

[PATCH 3.13.y-ckt 111/121] x86, mm: Set NX across entire PMD at boot

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 45e2a9d4701d8c624d4a4bcdd1084eae31e92f58 upstream. When setting up permissions on kernel memory at boot, the end of the PMD that was split from bss remained executa

[PATCH 3.13.y-ckt 107/121] ASoC: wm_adsp: Avoid attempt to free buffers that might still be in use

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Charles Keepax commit 9da7a5a9fdeeb76b2243f6b473363a7e6147ab6f upstream. We should not free any buffers associated with writing out coefficients to the DSP until all the async write

[PATCH 3.13.y-ckt 085/121] Input: alps - ignore bad data on Dell Latitudes E6440 and E7440

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Pali=20Roh=C3=A1r?= commit a7ef82aee91f26da79b981b9f5bca43b8817d3e4 upstream. Sometimes on Dell Latitude laptops psmouse/alps driver receive invalid ALPS protocol V3 packe

[PATCH 3.13.y-ckt 106/121] drm/i915: drop WaSetupGtModeTdRowDispatch:snb

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 2208d655a91f9879bd9a39ff9df05dd668b3512c upstream. This reverts the regressing commit 6547fbdbfff62c99e4f7b4f985ff8b3454f33b0f Author: Daniel Vetter Date: F

[PATCH 3.13.y-ckt 102/121] ASoC: sgtl5000: Fix SMALL_POP bit definition

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit c251ea7bd7a04f1f2575467e0de76e803cf59149 upstream. On a mx28evk with a sgtl5000 codec we notice a loud 'click' sound to happen 5 seconds after the end of a pla

[PATCH 3.13.y-ckt 099/121] rt2x00: do not align payload on modern H/W

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit cfd9167af14eb4ec21517a32911d460083ee3d59 upstream. RT2800 and newer hardware require padding between header and payload if header length is not multiple of

[PATCH 3.13.y-ckt 104/121] bitops: Fix shift overflow in GENMASK macros

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Maxime COQUELIN commit 00b4d9a14125f1e51874def2b9de6092e007412d upstream. On some 32 bits architectures, including x86, GENMASK(31, 0) returns 0 instead of the expected ~0UL. This

[PATCH 3.13.y-ckt 118/121] drm/radeon: fix endian swapping in vbios fetch for tdp table

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 28731d5818ae25b92d1fb82fe0ac196e97102c1b upstream. Value needs to be swapped on BE. Signed-off-by: Alex Deucher Signed-off-by: Kamal Mostafa --- drivers/gpu/

[PATCH 3.13.y-ckt 103/121] ALSA: usb-audio: Add ctrl message delay quirk for Marantz/Denon devices

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Jurgen Kramer commit 6e84a8d7ac3ba246ef44e313e92bc16a1da1b04a upstream. This patch adds a USB control message delay quirk for a few specific Marantz/Denon devices. Without the dela

[PATCH 3.13.y-ckt 108/121] can: dev: avoid calling kfree_skb() from interrupt context

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Thomas=20K=C3=B6rper?= commit 5247a589c24022ab34e780039cc8000c48f2035e upstream. ikfree_skb() is Called in can_free_echo_skb(), which might be called from (TX Error) inter

[PATCH 3.13.y-ckt 100/121] ath9k: Add version/revision macros for QCA9531

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit f5ee2b18e44d8752ea6e6fba978a873ed5f562bd upstream. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville Signed-off-by: Kamal Mostafa --- drive

[PATCH 3.13.y-ckt 096/121] iser-target: Handle DEVICE_REMOVAL event on network portal listener correctly

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg commit 3b726ae2de02a406cc91903f80132daee37b6f1b upstream. In this case the cm_id->context is the isert_np, and the cm_id->qp is NULL, so use that to distinct the cases

[PATCH 3.13.y-ckt 095/121] ib_isert: Add max_send_sge=2 minimum for control PDU responses

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Or Gerlitz commit f57915cfa5b2b14c1cffa2e83c034f55e3f0e70d upstream. This patch adds a max_send_sge=2 minimum in isert_conn_setup_qp() to ensure outgoing control PDU responses with

Re: [PATCH 1/2] tpm/tpm_ibmvtpm: Fail in ibmvtpm_get_data if driver_data is bad

2014-12-02 Thread Peter Hüwe
Hi, so shall I apply this patch? or not? Thanks, Peter Am Dienstag, 2. Dezember 2014, 20:22:35 schrieb Ashley Lai: > > @@ -63,9 +63,9 @@ static int ibmvtpm_send_crq(struct vio_dev *vdev, u64 > > w1, u64 w2) static struct ibmvtpm_dev *ibmvtpm_get_data(const struct > > device *dev) { > > > >

[PATCH 3.13.y-ckt 094/121] ASoC: rsnd: remove unsupported PAUSE flag

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Kuninori Morimoto commit 706c66213e5e623e23f521b1acbd8171af7a3549 upstream. R-Car sound doesn't support PAUSE. Remove SNDRV_PCM_INFO_PAUSE flags from snd_pcm_hardware info Signed-o

[PATCH 3.13.y-ckt 115/121] MIPS: oprofile: Fix backtrace on 64-bit kernel

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen commit bbaf113a481b6ce32444c125807ad3618643ce57 upstream. Fix incorrect cast that always results in wrong address for the new frame on 64-bit kernels. Signed-off-by:

[PATCH 3.13.y-ckt 114/121] clockevent: sun4i: Fix race condition in the probe code

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Maxime Ripard commit 6bab4a8a1888729f17f4923cc5867e4674f66333 upstream. The interrupts were activated and the handler registered before the clockevent was registered in the probe fu

[PATCH 3.13.y-ckt 110/121] x86, microcode: Update BSPs microcode on resume

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit fb86b97300d930b57471068720c52bfa8622eab7 upstream. In the situation when we apply early microcode but do *not* apply late microcode, we fail to update the BSP

[PATCH 3.13.y-ckt 112/121] of/irq: Drop obsolete 'interrupts' vs 'interrupts-extended' text

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit 66865de4314caca30598244b86817e774c188afa upstream. a9ecdc0fdc54 ("of/irq: Fix lookup to use 'interrupts-extended' property first") updated the description to sa

[PATCH 3.13.y-ckt 074/121] nfs: fix pnfs direct write memory leak

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit 8c393f9a721c30a030049a680e1bf896669bb279 upstream. For pNFS direct writes, layout driver may dynamically allocate ds_cinfo.buckets. So we need to take care to free t

[PATCH 3.13.y-ckt 098/121] mac80211: Fix regression that triggers a kernel BUG with CCMP

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Ronald Wahl commit 4f031fa9f188b2b0641ac20087d9e16bcfb4e49d upstream. Commit 7ec7c4a9a686c608315739ab6a2b0527a240883c (mac80211: port CCMP to cryptoapi's CCM driver) introduced a re

RE: [PATCH v2] [LBR] Dump LBRs on Exception

2014-12-02 Thread Berthier, Emmanuel
> From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Friday, November 28, 2014 4:15 PM > To: Berthier, Emmanuel > Cc: Thomas Gleixner; H. Peter Anvin; X86 ML; Jarzmik, Robert; LKML > Subject: Re: [PATCH v2] [LBR] Dump LBRs on Exception > > On Fri, Nov 28, 2014 at 12:44 AM, Berthier, Emmanu

[PATCH 3.13.y-ckt 101/121] ath9k: Fix RTC_DERIVED_CLK usage

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Miaoqing Pan commit 4e6ce4dc7ce71d0886908d55129d5d6482a27ff9 upstream. Based on the reference clock, which could be 25MHz or 40MHz, AR_RTC_DERIVED_CLK is programmed differently for

[PATCH 3.13.y-ckt 109/121] can: esd_usb2: fix memory leak on disconnect

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Alexey Khoroshilov commit efbd50d2f62fc1f69a3dcd153e63ba28cc8eb27f upstream. It seems struct esd_usb2 dev is not deallocated on disconnect. The patch adds the missing deallocation.

[PATCH 1/1] mm: Fix a deadlock in the hotplug code

2014-12-02 Thread K. Y. Srinivasan
Andy Whitcroft initially saw this deadlock. We have seen this as well. Here is the original description of the problem (and a potential solution) from Andy: https://lkml.org/lkml/2014/3/14/451 Here is an excerpt from that mail: "We are seeing machines lockup with what appears to be an ABBA dead

[PATCH 3.13.y-ckt 037/121] tty: Fix high cpu load if tty is unreleaseable

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit 37b164578826406a173ca7c20d9ba7430134d23e upstream. Kernel oops can cause the tty to be unreleaseable (for example, if n_tty_read() crashes while on the read_wait

[PATCH 3.13.y-ckt 029/121] of: Fix overflow bug in string property parsing functions

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Grant Likely commit a87fa1d81a9fb5e9adca9820e16008c40ad09f33 upstream. The string property read helpers will run off the end of the buffer if it is handed a malformed string propert

[PATCH 3.13.y-ckt 032/121] staging:iio:ade7758: Fix NULL pointer deref when enabling buffer

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit e10554738cab4224e097c2f9d975ea781a4fcde4 upstream. In older versions of the IIO framework it was possible to pass a completely different set of channels to

Re: [PATCH 3.10] cgroup: break infinite loop in __css_tryget()

2014-12-02 Thread Tejun Heo
On Tue, Dec 02, 2014 at 09:40:45PM +0300, Roman Gushchin wrote: > Hi, Tejun! > > 02.12.2014, 19:56, "Tejun Heo" : > > Hello, Roman. > > > > On Fri, Nov 28, 2014 at 07:47:54PM +0300, Roman Gushchin wrote: > >>  If cgroup_destroy_locked() sets the css refcount to a negative value, > >>  we get an in

[PATCH 3.13.y-ckt 040/121] spi: pxa2xx: toggle clocks on suspend if not disabled by runtime PM

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit 2b9375b91bef65b837bed61a05fb387159b38ddf upstream. If PM_RUNTIME is enabled, it is easy to trigger the following backtrace on pxa2xx hosts: -

[PATCH 3.13.y-ckt 025/121] usb: Do not allow usb_alloc_streams on unconfigured devices

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 90a646c770c50cc206ceba0d7b50453c46c13c36 upstream. This commit fixes the following oops: [10238.622067] scsi host3: uas_eh_bus_reset_handler start [10240.76616

Re: [PATCH] media: v4l2-subdev.h: drop the guard CONFIG_VIDEO_V4L2_SUBDEV_API for v4l2_subdev_get_try_*()

2014-12-02 Thread Hans Verkuil
Hi Laurent, On 12/02/2014 01:59 PM, Laurent Pinchart wrote: Basically, 1. Create a subdev pad configuration store structure to store the formats and selection rectangles for each pad. >>> >>> I wouldn't call it a 'store'. Just call it fmt_config or pad_config >>> something like

[PATCH 3.13.y-ckt 038/121] tty: Prevent "read/write wait queue active!" log flooding

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit 494c1eac7e73f719af9d474a96ec8494c33efd6a upstream. Only print one warning when a task is on the read_wait or write_wait wait queue at final tty release. Signed-

Re: [PATCH 3.13.y-ckt 119/121] x86_64, traps: Fix the espfix64 #DF fixup and rewrite it in C

2014-12-02 Thread Andy Lutomirski
As before, this and "Reword bad_iret" may want to wait a week or two. They're not very urgent. --Andy On Tue, Dec 2, 2014 at 11:19 AM, Kamal Mostafa wrote: > 3.13.11-ckt12 -stable review patch. If anyone has any objections, please let > me know. > > -- > > From: Andy Lutomirski

Re: [PATCH v2] [LBR] Dump LBRs on Exception

2014-12-02 Thread Andy Lutomirski
On Tue, Dec 2, 2014 at 11:09 AM, Berthier, Emmanuel wrote: >> From: Andy Lutomirski [mailto:l...@amacapital.net] >> Sent: Friday, November 28, 2014 4:15 PM >> To: Berthier, Emmanuel >> Cc: Thomas Gleixner; H. Peter Anvin; X86 ML; Jarzmik, Robert; LKML >> Subject: Re: [PATCH v2] [LBR] Dump LBRs on

[PATCH 3.13.y-ckt 033/121] staging:iio:ade7758: Fix check if channels are enabled in prenable

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 79fa64eb2ee8ccb4bcad7f54caa2699730b10b22 upstream. We should check if a channel is enabled, not if no channels are enabled. Fixes: 550268ca ("staging:

Re: frequent lockups in 3.18rc4

2014-12-02 Thread Dave Jones
On Mon, Dec 01, 2014 at 06:08:38PM -0500, Chris Mason wrote: > I'm not sure if this is related, but running trinity here, I noticed it > was stuck at 100% system time on every CPU. perf report tells me we are > spending all of our time in spin_lock under the sync system call. > > I think it'

[PATCH 3.13.y-ckt 043/121] nfsd: don't try to reuse an expired DRC entry off the list

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit a0ef5e19684f0447da9ff0654a12019c484f57ca upstream. Currently when we are processing a request, we try to scrape an expired or over-limit entry off the list in pre

[PATCH 3.13.y-ckt 023/121] regulator: max77693: Fix use of uninitialized regulator config

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit ca0c37a0b489bb14bf3e1549e7a8d0c9a17f4919 upstream. Driver allocated on stack struct regulator_config but didn't initialize it fully. Few fields (driver_da

[PATCH 3.13.y-ckt 046/121] xtensa: re-wire umount syscall to sys_oldumount

2014-12-02 Thread Kamal Mostafa
3.13.11-ckt12 -stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 2651cc6974d47fc43bef1cd8cd26966e4f5ba306 upstream. Userspace actually passes single parameter (path name) to the umount syscall, so new umount just fails. Fix it

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