Re: [PATCH v5 59/61] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2015-02-18 Thread Viresh Kumar
On Mon, Nov 17, 2014 at 9:42 PM, Maxime Ripard wrote: > For the slave caps retrieval to be really useful, most drivers need to > implement it. > > Hence, we need to be slightly more aggressive, and trigger a warning at > registration time for drivers that don't fill their caps infos in order to >

Re: [PATCH 1/2] dma: at_hdmac: Fix calculation of the residual bytes

2015-02-18 Thread Torsten Fleischer
Hello Ludovic, >> >> transfer 1: residue = 975584 >> transfer 2: residue = 1048380 >> > > You're right about these points. Good job. I think it should be sent to > stable if it can be applied properly. > > For multilines comments, please follow the coding rule > /* > * my > * comments > */ > th

Re: [GIT PULL] multi-layer support for overlay filesystem

2015-02-18 Thread Al Viro
On Wed, Feb 18, 2015 at 11:59:03AM +0100, Miklos Szeredi wrote: > On Wed, Feb 11, 2015 at 10:30:39AM +0100, Miklos Szeredi wrote: > > Al, > > > > Please pull from > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git > > overlayfs-next > > > > This adds support for multiple r

[PATCH v3] x86: use already defined KEEP_SEGMENTS macro in head_{32,64}.S

2015-02-18 Thread Alexander Kuleshov
There is already defined macro KEEP_SEGMENTS in the , let's use it instead of shifting bits. Signed-off-by: Alexander Kuleshov --- arch/x86/boot/compressed/head_32.S | 3 ++- arch/x86/boot/compressed/head_64.S | 3 ++- arch/x86/kernel/head_32.S | 3 ++- 3 files changed, 6 insertions(+),

[PATCH v2] x86: use already defined KEEP_SEGMENT macro in head_{32,64}.S

2015-02-18 Thread Alexander Kuleshov
There is already defined macro KEEP_SEGMENTS in the , let's use it instead of shifting bits. Signed-off-by: Alexander Kuleshov --- arch/x86/boot/compressed/head_32.S | 3 ++- arch/x86/boot/compressed/head_64.S | 3 ++- arch/x86/kernel/head_32.S | 3 ++- 3 files changed, 6 insertions(+),

Re: [PATCH V1 1/1] iio: light: Added PM support for Capella CM3232 ambient light sensor driver.

2015-02-18 Thread Peter Meerwald
> Added Power Management Support. comments below > Signed-off-by: Kevin Tsai > --- > v1: > Added Power Management support. > > drivers/iio/light/cm3232.c | 32 > 1 file changed, 32 insertions(+) > > diff --git a/drivers/iio/light/cm3232.c b/drivers/iio/light

Re: [PATCH] perf: Fix probing for PERF_FLAG_FD_CLOEXEC flag

2015-02-18 Thread Adrian Hunter
On 19/02/15 02:01, David Ahern wrote: > Commit f6edb53c4993ffe92ce521fb449d1c146cea6ec2 converted the probe to > a CPU wide event first (pid == -1). For kernels that do not support > the PERF_FLAG_FD_CLOEXEC flag the probe fails with EINVAL. Since this > errno is not handled pid is not reset to 0 a

Re: [PATCH 32/35] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-02-18 Thread Preeti U Murthy
On 02/18/2015 06:36 PM, Peter Zijlstra wrote: > On Wed, Feb 18, 2015 at 08:40:52AM +0530, Preeti U Murthy wrote: >> >> Look at the changelog, > > Heh, yah, clearly I tl;dr'd that. Indeed. > >> it explains why tick_takeover must be called >> *before* __cpu_die(). > > Since you reported this, ca

Please Accept My Proposal With Open Mind!

2015-02-18 Thread Mr Nobuyuki Hirano
Dear friend, I hope this proposal meets you in a good state of health. Please can you help me re-profile fund? I am Mr Nobuyuki Hirano, President and CEO of The Bank of Tokyo-Mitsubishi UFJ. You can read about my Biography here: http://www.4-traders.com/business-leaders/Nobuyuki-Hirano-0676SZ-E

Re: [PATCH 1/1] Staging: i2o: i2o_scsi: Fixed coding style issue

2015-02-18 Thread Dan Carpenter
Also you sent three patches with the exact same subject. Don't do that. The subject should be more specific. Also the word "fix" is sort of reserved for actual fixes, this is a cleanup. The tutorials all suggest terrible subjects so everyone makes these mistakes. regards, dan carpenter -- To u

Re: [patch-3.18.7-rt1] sched/context-tracking: fix PREEMPT_LAZY explosions

2015-02-18 Thread Mike Galbraith
On Wed, 2015-02-18 at 12:21 +0100, Mike Galbraith wrote: > On Mon, 2015-02-16 at 12:18 +0100, Sebastian Andrzej Siewior wrote: > > > Known issues: > > > > - lazy preempt on x86_64 leads to a crash with some load. > > The below still works for me. (it doesn't make nohz_full actually work >

Re: [PATCH 1/1] Staging: i2o: i2o_scsi: Fixed coding style issue

2015-02-18 Thread Dan Carpenter
On Wed, Feb 18, 2015 at 04:45:50PM -0800, Tolga Ceylan wrote: > Removed assignment in if condition > This patch looks good, but it's not really worth cleaning up i2o. We just moved it to staging to see if anyone noticed that it was gone. Next kernel release we want to delete it entirely. regard

[RFC PATCH] arm: cti: fix up cti pmu build

2015-02-18 Thread dinguyen
From: Dinh Nguyen commit "184901a06a36 ARM: removing support for etb/etm in "arch/arm/kernel/" removed arch/arm/include/asm/hardware/coresight.h then commit "a06ae8609b3d coresight: add CoreSight core layer framework" added include/linux/coresight.h Update cti.h to use thew new coresight.h and

[RFC PATCH] arm: cti: fix build for cti.h

2015-02-18 Thread dinguyen
From: Dinh Nguyen Hi, I would to like check to see if this is right thing to do for cti.h. Our downstream kernel's PMU support is using cti.h. But I don't see any other upstream driver using cti.h, so I'm not sure if this file should be removed? Thanks, Dinh Nguyen (1): arm: cti: fix up cti

[GIT PULL] platform-drivers-x86 for 3.20

2015-02-18 Thread Darren Hart
Hi Linus, The following have all spent a week in next. This includes a significant update to the toshiba_acpi driver, bringing it to feature parity with the Windows driver, followed by some needed cleanups. The other changes are mostly minor updates, quirks, sparse fixes, or cleanups. Thanks,

checkpatch: CHECK: No space is necessary after a cast

2015-02-18 Thread Marek Lindner
Hi Joe, we have come across a checkpatch false-positive: static void batadv_recv_handler_init(void) { int i; for (i = 0; i < ARRAY_SIZE(batadv_rx_handler); i++) batadv_rx_handler[i] = batadv_recv_unhandled_packet; for (i = BATADV_UNICAST_MIN; i <= B

Re: usb serial: pl2303 driver TxD "break" stays after close() bug

2015-02-18 Thread Johan Hovold
On Thu, Feb 05, 2015 at 12:56:20PM +0200, Jari Ruusu wrote: > Tested on 3.10.67 and 3.18.5 kernels with ATEN UC-232A usb-serial adapter. > No patch, sorry. To actually see the stuck "break" signal on TxD line, you > need either some sort of LED or voltmeter connected to the data transmit > line. Ot

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Harish Jenny Kandiga Nagaraj
On Thursday 19 February 2015 06:49 AM, Lucas De Marchi wrote: > On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >> Lucas De Marchi writes: >>> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell >>> wrote: >>> Yeah, I just thought (an wanted that) the attributes were being >>> created first a

[PATCH RFC tip/core/rcu] Provide rcu_expedite_gp() and rcu_unexpedite_gp()

2015-02-18 Thread Paul E. McKenney
Currently, expediting of normal synchronous grace-period primitives (synchronize_rcu() and friends) is controlled by the rcu_expedited() boot/sysfs parameter. This works well, but does not handle nesting. This commit therefore provides rcu_expedite_gp() to enable expediting and rcu_unexpedite_gp()

Re: [PATCH 3/3] tomoyo: robustify handling of mm->exe_file

2015-02-18 Thread Davidlohr Bueso
On Wed, 2015-02-18 at 16:10 -0800, Davidlohr Bueso wrote: > +static const char *tomoyo_get_exe(struct mm_struct *mm) > +{ > + struct file *exe_file; > + const char *cp = NULL; > + > + if (!mm) > + return NULL; > + exe_file = get_mm_exe_file(mm); > + if (!exe_file) >

[RESEND PATCH] driver/cpuidle-powernv: Avoid endianness conversions while parsing DT

2015-02-18 Thread Preeti U Murthy
We currently read the information about idle states from the DT so as to populate the cpuidle table. Use those APIs to read from the DT that can avoid endianness conversions of the property values in the cpuidle driver. Signed-off-by: Preeti U Murthy Acked-by: Michael Ellerman --- Based on top o

linux-next: Tree for Feb 19

2015-02-18 Thread Stephen Rothwell
Hi all, Please do not add any material destined for v3.21 to your linux-next included trees until after v3.20-rc1 has been released. Changes since 20150218: *crickets* Non-merge commits (relative to Linus' tree): 1231 791 files changed, 32632 insertions(+), 13348 dele

Re: [PATCH] ARM: dts: Revert disabling of smc91x for n900

2015-02-18 Thread Tony Lindgren
* Pali Rohár [150218 15:58]: > On Wednesday 18 February 2015 23:42:06 Tony Lindgren wrote: > > Of course it's always possible to do do a omap3-n900-qemu.dts > > if larger changes are needed :) > > I would like to avoid using separate DTS for qemu. When we have > only one DTS file (for both qemu a

Re: [rfc patch-3.18.7-rt1] rt/nohz_full: Fix can_stop_full_tick() gripe within softirq

2015-02-18 Thread Mike Galbraith
On Wed, 2015-02-18 at 12:27 +0100, Mike Galbraith wrote: > The shuts gripe up. Gee, that was a very particularly bad way to shut it up. Never mind :) -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org Mo

Re: [PATCH 1/3] sched: add sched_task_call()

2015-02-18 Thread Josh Poimboeuf
On Thu, Feb 19, 2015 at 01:20:58AM +0100, Peter Zijlstra wrote: > On Wed, Feb 18, 2015 at 11:12:56AM -0600, Josh Poimboeuf wrote: > > > So uhm, what happens if your target task is running? When will you > > > retry? The problem I see is that if you do a sample approach you might > > > never hit an

Re: [alsa-devel] [PATCH 4/6] ASoC: samsung: Document binding for max98089 based Snow driver

2015-02-18 Thread Tushar Behera
On 02/18/2015 11:55 PM, Andreas Färber wrote: > Signed-off-by: Andreas Färber > --- > Documentation/devicetree/bindings/sound/snow.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/sound/snow.txt > b/Documentation/devicetree/bindings/sound/snow.txt >

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:25 AM, greg KH wrote: > On Wed, Feb 18, 2015 at 11:19:14PM -0200, Lucas De Marchi wrote: >> On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >> > Lucas De Marchi writes: >> >> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell >> >> wrote: >> >> Yeah, I just thought

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Thu, Feb 19, 2015 at 12:25 AM, Rusty Russell wrote: > Lucas De Marchi writes: >> On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >>> Lucas De Marchi writes: On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell wrote: Yeah, I just thought (an wanted that) the attributes were

Re: [PATCH v2 2/2] epoll: introduce EPOLLEXCLUSIVE and EPOLLROUNDROBIN

2015-02-18 Thread Jason Baron
On 02/18/2015 12:51 PM, Ingo Molnar wrote: > * Ingo Molnar wrote: > >>> [...] However, I think the userspace API change is less >>> clear since epoll_wait() doesn't currently have an >>> 'input' events argument as epoll_ctl() does. >> ... but the change would be a bit clearer and somewhat >> mo

Re: [PATCH 1/3] kernel/audit: consolidate handling of mm->exe_file

2015-02-18 Thread Paul Moore
On Wed, Feb 18, 2015 at 7:10 PM, Davidlohr Bueso wrote: > From: Davidlohr Bueso > > This patch adds a audit_log_d_path_exe() helper function > to share how we handle auditing of the exe_file's path. > Used by both audit and auditsc. No functionality is changed. > > Cc: Paul Moore > Cc: Eric Pari

Re: [RFC PATCH 5/8] KEYS: exec request-key within the requesting task's init namespace

2015-02-18 Thread Ian Kent
On Wed, 2015-02-18 at 20:31 -0500, J. Bruce Fields wrote: > On Thu, Feb 19, 2015 at 08:39:01AM +0800, Ian Kent wrote: > > On Wed, 2015-02-18 at 15:59 -0500, J. Bruce Fields wrote: > > > On Wed, Feb 18, 2015 at 12:31:32PM -0500, J. Bruce Fields wrote: > > > > On Wed, Feb 18, 2015 at 12:06:20PM -0500

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Rusty Russell
Lucas De Marchi writes: > On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: >> Lucas De Marchi writes: >>> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell >>> wrote: >>> Yeah, I just thought (an wanted that) the attributes were being >>> created first and then hooked up in the sysfs tree un

Re: [PATCH] mfd: devicetree: bindings: Add Qualcomm RPM regulator subnodes

2015-02-18 Thread Stephen Boyd
On 02/18/15 13:08, Bjorn Andersson wrote: > On Wed, Feb 18, 2015 at 12:28 PM, Stephen Boyd wrote: >> >> MFD name matching isn't required. All we need to do is have a regulators >> node and put a compatible = "qcom,rpm-msm-regulators" in there. Then >> of_platform_populate() does most of the wo

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread greg KH
On Wed, Feb 18, 2015 at 11:19:14PM -0200, Lucas De Marchi wrote: > On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: > > Lucas De Marchi writes: > >> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell > >> wrote: > >> Yeah, I just thought (an wanted that) the attributes were being > >> created

[PATCH] x86/vdso: Remove all generated files during clean

2015-02-18 Thread Magnus Damm
From: Magnus Damm Make sure the following files are removed as expected during "make clean": + arch/x86/vdso/vdso-image-32-int80.c + arch/x86/vdso/vdso-image-32-syscall.c + arch/x86/vdso/vdso-image-32-sysenter.c + arch/x86/vdso/vdso-image-64.c Signed-off-by: Magnus Damm --- arch/x86/vdso/

Re: [PATCH 3.13.y-ckt 065/103] time: adjtimex: Validate the ADJ_FREQUENCY values

2015-02-18 Thread John Stultz
On Wed, Feb 18, 2015 at 4:32 PM, Kamal Mostafa wrote: > 3.13.11-ckt16 -stable review patch. If anyone has any objections, please let > me know. You'll want to hold off on this until a soon to be merged patch: "ntp: Fixup adjtimex freq validation on 32-bit systems" lands upstream. thanks -john

Re: [PATCH 2/4] of: DT quirks infrastructure

2015-02-18 Thread Frank Rowand
On 2/18/2015 6:59 AM, Pantelis Antoniou wrote: > Implement a method of applying DT quirks early in the boot sequence. > > A DT quirk is a subtree of the boot DT that can be applied to > a target in the base DT resulting in a modification of the live > tree. The format of the quirk nodes is that of

Re: [PATCH 03/10] xen/blkfront: reorg info->io_lock after using blk-mq API

2015-02-18 Thread Bob Liu
On 02/19/2015 01:05 AM, Christoph Hellwig wrote: > On Sun, Feb 15, 2015 at 04:18:58PM +0800, Bob Liu wrote: >> diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c >> index 3589436..5a90a51 100644 >> --- a/drivers/block/xen-blkfront.c >> +++ b/drivers/block/xen-blkfront.c >> @@

Re: [RFC PATCH 00/10] Multi-queue support for xen-block driver

2015-02-18 Thread Bob Liu
On 02/19/2015 02:22 AM, Felipe Franciosi wrote: > > >> -Original Message- >> From: Bob Liu [mailto:bob@oracle.com] >> Sent: 15 February 2015 08:19 >> To: xen-de...@lists.xen.org >> Cc: David Vrabel; linux-kernel@vger.kernel.org; Roger Pau Monne; >> konrad.w...@oracle.com; Felipe Fran

Re: [PATCH 04/10] xen/blkfront: separate ring information to an new struct

2015-02-18 Thread Bob Liu
On 02/19/2015 02:08 AM, Felipe Franciosi wrote: >> -Original Message- >> From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] >> Sent: 18 February 2015 17:38 >> To: Roger Pau Monne >> Cc: Bob Liu; xen-de...@lists.xen.org; David Vrabel; linux- >> ker...@vger.kernel.org; Felipe Franc

Re: linux-next: Tree for Feb 18 (x86)

2015-02-18 Thread Rusty Russell
Randy Dunlap writes: > On 02/18/15 10:46, Randy Dunlap wrote: >> On 02/17/15 19:22, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do not add any material destined for v3.21 to your linux-next >>> included trees until after v3.20-rc1 has been released. >>> >>> Changes since 20150217: >>> >> >

[PATCH] Add a quirk for the Dell XPS 13 (2015) when in PS/2 mode.

2015-02-18 Thread Mario Limonciello
When the touchpad for the Dell XPS 13 is running in PS/2 mode the EC has a tendency to glitch causing the driver to receive bad data. This doesn't affect the usage of the touchpad until enough bad data is received that causes the driver to reset and "freeze". Signed-off-by: Mario Limonciello ---

[PATCH] gpio: tps65912: fix wrong container_of arguments

2015-02-18 Thread Nicolas Saenz Julienne
The gpio_chip operations receive a pointer the gpio_chip struct which is contained in the driver's private struct, yet the container_of call in those functions point to the mfd struct defined in include/linux/mfd/tps65912.h. Signed-off-by: Nicolas Saenz Julienne --- drivers/gpio/gpio-tps65912.c

Re: [RFC PATCH 5/8] KEYS: exec request-key within the requesting task's init namespace

2015-02-18 Thread J. Bruce Fields
On Thu, Feb 19, 2015 at 08:39:01AM +0800, Ian Kent wrote: > On Wed, 2015-02-18 at 15:59 -0500, J. Bruce Fields wrote: > > On Wed, Feb 18, 2015 at 12:31:32PM -0500, J. Bruce Fields wrote: > > > On Wed, Feb 18, 2015 at 12:06:20PM -0500, J. Bruce Fields wrote: > > > > On Fri, Feb 06, 2015 at 09:47:25A

[tip:x86/build] x86/build: Fix mkcapflags.sh bash-ism

2015-02-18 Thread tip-bot for Sylvain BERTRAND
Commit-ID: e85bd9892c4f10fd20fc575e62327efb7c77015d Gitweb: http://git.kernel.org/tip/e85bd9892c4f10fd20fc575e62327efb7c77015d Author: Sylvain BERTRAND AuthorDate: Mon, 29 Dec 2014 16:43:24 +0100 Committer: Ingo Molnar CommitDate: Thu, 19 Feb 2015 02:21:00 +0100 x86/build: Fix mkcapfla

[tip:x86/mm] x86/mm: Reduce PAE-mode per task pgd allocation overhead from 4K to 32 bytes

2015-02-18 Thread tip-bot for Fenghua Yu
Commit-ID: 1db491f77b6ed0f32f1d4a3ac40a5be9524f1914 Gitweb: http://git.kernel.org/tip/1db491f77b6ed0f32f1d4a3ac40a5be9524f1914 Author: Fenghua Yu AuthorDate: Thu, 15 Jan 2015 20:30:01 -0800 Committer: Ingo Molnar CommitDate: Thu, 19 Feb 2015 01:28:38 +0100 x86/mm: Reduce PAE-mode per t

Re: [PATCH] futex: Robustify wake_futex()

2015-02-18 Thread Davidlohr Bueso
On Wed, 2015-02-18 at 18:07 +0100, Ingo Molnar wrote: > while the WARN() already told the user that the kernel is > broken. > > So what's the point? Does it avoid any real badness, state > corruption, crash, hang, etc.? Right, I mentioned the warn (redundant pi checks) being completely redundan

[tip:x86/asm] x86-64: Also clear _PAGE_GLOBAL from __supported_pte_mask if !cpu_has_pge

2015-02-18 Thread tip-bot for Jan Beulich
Commit-ID: 0cdb81bef20b1d9e12111fa6cd81f748ebd87778 Gitweb: http://git.kernel.org/tip/0cdb81bef20b1d9e12111fa6cd81f748ebd87778 Author: Jan Beulich AuthorDate: Fri, 23 Jan 2015 08:35:13 + Committer: Ingo Molnar CommitDate: Thu, 19 Feb 2015 02:18:26 +0100 x86-64: Also clear _PAGE_GLO

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Lucas De Marchi
On Wed, Feb 18, 2015 at 8:40 PM, Rusty Russell wrote: > Lucas De Marchi writes: >> On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell wrote: >> Yeah, I just thought (an wanted that) the attributes were being >> created first and then hooked up in the sysfs tree under >> /sys/module/. I.e. if the dir

Re: [PATCH 0/7] [RFC] kernel: add a netlink interface to get information about processes

2015-02-18 Thread Andy Lutomirski
On Feb 18, 2015 6:27 AM, "Andrew Vagin" wrote: > > On Tue, Feb 17, 2015 at 11:05:31AM -0800, Andy Lutomirski wrote: > > On Feb 17, 2015 12:40 AM, "Andrey Vagin" wrote: > > > > > > Here is a preview version. It provides restricted set of functionality. > > > I would like to collect feedback about

Re: [tip:x86/asm] x86: Add support for the pcommit instruction

2015-02-18 Thread Ingo Molnar
* tip-bot for Ross Zwisler wrote: > Commit-ID: a71ef01336f2228dc9d47320492360d6848e591e > Gitweb: http://git.kernel.org/tip/a71ef01336f2228dc9d47320492360d6848e591e > Author: Ross Zwisler > AuthorDate: Tue, 27 Jan 2015 09:53:50 -0700 > Committer: Ingo Molnar > CommitDate: Thu, 19 Feb

[PATCH] drm/cma: Fix 64-bit size_t build warnings

2015-02-18 Thread Magnus Damm
From: Magnus Damm Fix warnings related to size_t when building for 64-bit architectures: drivers/gpu/drm/drm_gem_cma_helper.c: In function ‘drm_gem_cma_create’: drivers/gpu/drm/drm_gem_cma_helper.c:114:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type â

[PATCH 3.13.y-ckt 012/103] udf: Check path length when reading symlink

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 0e5cc9a40ada6046e6bc3bdfcd0c0d7e4b706b14 upstream. Symlink reading code does not check whether the resulting path fits into the page provided by the generic code. Th

[PATCH 3.13.y-ckt 004/103] crypto: crc32c - add missing crypto module alias

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause The backport of commit 5d26a105b5a7 ("crypto: prefix module autoloading with "crypto-"") lost the MODULE_ALIAS_CRYPTO() annotation of crc32c.c. Add it to fix the repor

[PATCH 3.13.y-ckt 007/103] audit: restore AUDIT_LOGINUID unset ABI

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs commit 041d7b98ffe59c59fdd639931dea7d74f9aa9a59 upstream. A regression was caused by commit 780a7654cee8: audit: Make testing for a valid loginuid explic

[PATCH 3.13.y-ckt 001/103] crypto: prefix module autoloading with "crypto-"

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 5d26a105b5a73e5635eae0629b42fa0a90e07b7b upstream. This prefixes all crypto module loading with "crypto-" so we never run the risk of exposing module auto-loading t

[PATCH 3.13.y-ckt 003/103] crypto: include crypto- module prefix in template

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 4943ba16bbc2db05115707b3ff7b4874e9e3c560 upstream. This adds the module loading prefix "crypto-" to the template lookup as well. For example, attempting to load 'v

[PATCH 3.13.y-ckt 016/103] video/logo: prevent use of logos after they have been freed

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Tomi Valkeinen commit 92b004d1aa9f367c372511ca0330f58216b25703 upstream. If the probe of an fb driver has been deferred due to missing dependencies, and the probe is later ran when

[PATCH 3.13.y-ckt 013/103] udf: Check component length before reading it

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit e237ec37ec154564f8690c5bd1795339955eeef9 upstream. Check that length specified in a component of a symlink fits in the input buffer we are reading. Also properly ign

[PATCH 3.13.y-ckt 008/103] parisc: fix out-of-register compiler error in ldcw inline assembler function

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 45db07382a5c78b0c43b3b0002b63757fb60e873 upstream. The __ldcw macro has a problem when its argument needs to be reloaded from memory. The output memory oper

[PATCH 3.13.y-ckt 005/103] drm/i915: Invalidate media caches on gen7

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 148b83d0815a3778c8949e6a97cb798cbaa0efb3 upstream. In the gen7 pipe control there is an extra bit to flush the media caches, so let's set it during cache invalid

[PATCH 3.13.y-ckt 014/103] crypto: af_alg - fix backlog handling

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Rabin Vincent commit 7e77bdebff5cb1e9876c561f69710b9ab8fa1f7e upstream. If a request is backlogged, it's complete() handler will get called twice: once with -EINPROGRESS, and once w

[PATCH 3.13.y-ckt 006/103] drm/i915: Force the CS stall for invalidate flushes

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit add284a3a2481e759d6bec35f6444c32c8ddc383 upstream. In order to act as a full command barrier by itself, we need to tell the pipecontrol to actually stall the com

[PATCH 3.13.y-ckt 017/103] video/fbdev: fix defio's fsync

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Tomi Valkeinen commit 30ea9c5218651bc11cbdba7820be78f04e2d83bc upstream. fb_deferred_io_fsync() returns the value of schedule_delayed_work() as an error code, but schedule_delayed_w

[PATCH 3.13.y-ckt 020/103] drm/i915: Don't call intel_prepare_page_flip() multiple times on gen2-4

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= commit 7d47559ee84b3ac206aa9e675606fafcd7c0b500 upstream. The flip stall detector kicks in when pending>=INTEL_FLIP_COMPLETE. That means if we

[PATCH 3.13.y-ckt 015/103] ASoC: dwc: Ensure FIFOs are flushed to prevent channel swap

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Andrew Jackson commit 3475c3d034d7f276a474c8bd53f44b48c8bf669d upstream. Flush the FIFOs when the stream is prepared for use. This avoids an inadvertent swapping of the left/right

[PATCH 3.13.y-ckt 009/103] kvm: x86: drop severity of "generation wraparound" message

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit a629df7eadffb03e6ce4a8616e62ea29fdf69b6b upstream. Since most virtual machines raise this message once, it is a bit annoying. Make it KERN_DEBUG severity. Fixe

Re: [Linux-nvdimm] [PATCH 0/2] e820: Fix handling of NvDIMM chips

2015-02-18 Thread Dan Williams
On Wed, Feb 18, 2015 at 4:47 PM, Christoph Hellwig wrote: > On Wed, Feb 18, 2015 at 10:15:32AM -0800, Dan Williams wrote: >> In fact it was originally "type-6" until ACPI 5 claimed that number >> for official use, so these platforms, with early proof-of-concept >> nvdimm support, have already gone

[PATCH 3.13.y-ckt 024/103] ALSA: hda - Fix wrong gpio_dir & gpio_mask hint setups for IDT/STAC codecs

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c507de88f6a336bd7296c9ec0073b2d4af8b4f5e upstream. stac_store_hints() does utterly wrong for masking the values for gpio_dir and gpio_data, likely due to copy&pa

[PATCH 2/2] Staging: i2o: i2o_block: Fixed coding style issue

2015-02-18 Thread Tolga Ceylan
1) Spaces prohibited after that '&' 2) No space is necessary after a cast Signed-off-by: Tolga Ceylan --- drivers/staging/i2o/i2o_block.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/i2o/i2o_block.c b/drivers/staging/i2o/i2o_block.c index 9164569..a8f94

[PATCH 3.13.y-ckt 022/103] drivers: net: cpsw: enable interrupts after napi enable and clearing previous interrupts

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Mugunthan V N commit f63a975e8f07a75dbf0386402788330d0bebd8d8 upstream. When the Ethernet interface is put down and up with heavy Ethernet traffic, then there is prossibility of an

[PATCH 3.13.y-ckt 025/103] drm/radeon: KV has three PPLLs (v2)

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit fbedf1c3fc3a1e9f249c2efe2f4553d8df9d86d3 upstream. Enable all three in the driver. Early documentation indicated the 3rd one was used for something else, but th

[PATCH 3.13.y-ckt 011/103] udf: Verify symlink size before loading it

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a1d47b262952a45aae62bd49cfaf33dd76c11a2c upstream. UDF specification allows arbitrarily large symlinks. However we support only symlinks at most one block large. Che

[PATCH 3.13.y-ckt 021/103] x86, vdso: Use asm volatile in __getcpu

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 1ddf0b1b11aa8a90cef6706e935fc31c75c406ba upstream. In Linux 3.18 and below, GCC hoists the lsl instructions in the pvclock code all the way to the beginning o

[PATCH 3.13.y-ckt 023/103] net: ethernet: cpsw: fix hangs with interrupts

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi commit 7ce67a38f799d1fb332f672b117efbadedaa5352 upstream. The CPSW IP implements pulse-signaled interrupts. Due to that we must write a correct, pre-defined value to th

[PATCH 3.13.y-ckt 026/103] drm/radeon: properly filter DP1.2 4k modes on non-DP1.2 hw

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 410cce2a6b82299b46ff316c6384e789ce275ecb upstream. The check was already in place in the dp mode_valid check, but radeon_dp_get_dp_link_clock() never returned th

[PATCH 1/2] Staging: i2o: i2o_block: Fixed coding style issue

2015-02-18 Thread Tolga Ceylan
"u32 ** mptr" should be "u32 **mptr" Signed-off-by: Tolga Ceylan --- drivers/staging/i2o/i2o_block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/i2o/i2o_block.c b/drivers/staging/i2o/i2o_block.c index 0a13c64..9164569 100644 --- a/drivers/staging/i2o/i2o_b

[PATCH 3.13.y-ckt 028/103] virtio_pci: document why we defer kfree

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: "Michael S. Tsirkin" commit a1eb03f546d651a8f39c7d0692b1f7f5b4e7e3cd upstream. The reason we defer kfree until release function is because it's a general rule for kobjects: kfree of

[PATCH 3.13.y-ckt 029/103] mm: propagate error from stack expansion even for guard page

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit fee7e49d45149fba60156f5b59014f764d3e3728 upstream. Jay Foad reports that the address sanitizer test (asan) sometimes gets confused by a stack pointer that ends

[PATCH 3.13.y-ckt 030/103] ALSA: hda - Add new GPU codec ID to snd-hda

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Aaron Plattner commit ec5fe98886b686f065ef29d8dee1b3ca66f5fd48 upstream. Vendor ID 0x10de0071 is used by a yet-to-be-named GPU chip. Signed-off-by: Aaron Plattner Signed-off-by: T

[PATCH 3.13.y-ckt 018/103] Add USB_EHCI_EXYNOS to multi_v7_defconfig

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Steev Klimaszewski commit 007487f1fd43d84f26cda926081ca219a24ecbc4 upstream. Currently we enable Exynos devices in the multi v7 defconfig, however, when testing on my ODROID-U3, I n

[PATCH 3.13.y-ckt 031/103] ALSA: hda - Add new GPU codec ID 0x10de0070 to snd-hda

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Aaron Plattner commit 91947d8cc553b3147140334a295218499b77ea92 upstream. Vendor ID 0x10de0070 is used by a yet-to-be-named GPU chip. Signed-off-by: Aaron Plattner Signed-off-by: T

Re: [PATCH 4/4] powerpc/mpic: remove unused functions

2015-02-18 Thread Michael Ellerman
On Mon, 2015-02-16 at 17:56 +0700, Arseny Solokha wrote: > Drop unused fsl_mpic_primary_get_version(), mpic_set_clk_ratio(), > mpic_set_serial_int(). I'm always happy to remove unused code, but the interesting question is why are they unused? Please tell me in the changelog. cheers -- To unsubs

[PATCH 3.13.y-ckt 027/103] virtio_pci: defer kfree until release callback

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 63bd62a08ca45a0c804c3c89777edc7f76a2d6da upstream. A struct device which has just been unregistered can live on past the point at which a driver decides to drop i

[PATCH 3.13.y-ckt 032/103] ALSA: hda - Add new GPU codec ID 0x10de0072 to snd-hda

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Aaron Plattner commit 60834b73a9c2bbc2f514122ddc626f3350fb40cd upstream. Vendor ID 0x10de0072 is used by a yet-to-be-named GPU chip. Signed-off-by: Aaron Plattner Signed-off-by: T

Re: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN

2015-02-18 Thread Rusty Russell
Lucas De Marchi writes: > On Wed, Feb 18, 2015 at 2:07 AM, Rusty Russell wrote: > Yeah, I just thought (an wanted that) the attributes were being > created first and then hooked up in the sysfs tree under > /sys/module/. I.e. if the directory exists and there's no > initstate this is because it's

Re: [PATCH] kasan, module, vmalloc: rework shadow allocation for modules

2015-02-18 Thread Rusty Russell
Andrey Ryabinin writes: > Current approach in handling shadow memory for modules is broken. > > Shadow memory could be freed only after memory shadow corresponds > it is no longer used. > vfree() called from interrupt context could use memory its > freeing to store 'struct llist_node' in it: > > v

[PATCH] perf: Define EM_AARCH64 for older OS

2015-02-18 Thread David Ahern
4886f2ca19f6f added an arm-64 check, but the EM_AARCH64 macro is not defined in older releases (e.g., RHEL6). Define if it is not defined. Signed-off-by: David Ahern Cc: Victor Kamensky --- tools/perf/util/symbol-elf.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a

[PATCH 3.13.y-ckt 019/103] drm/i915: Swap primary planes on gen2 for FBC

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= commit 1f1c2e2468f937cefd6bcb645c959c7b5d9821df upstream. Only plane A is FBC capable on gen2 (like gen3), but the panel fitter is hooked up to

[PATCH 3.13.y-ckt 035/103] mm: protect set_page_dirty() from ongoing truncation

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 2d6d7f98284648c5ed113fe22a132148950b140f upstream. Tejun, while reviewing the code, spotted the following race condition between the dirtying and truncation o

[PATCH 3.13.y-ckt 037/103] HID: roccat: potential out of bounds in pyra_sysfs_write_settings()

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 606185b20caf4c57d7e41e5a5ea4aff460aef2ab upstream. This is a static checker fix. We write some binary settings to the sysfs file. One of the settings is the "

[PATCH 3.13.y-ckt 038/103] mm: Don't count the stack guard page towards RLIMIT_STACK

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 690eac53daff34169a4d74fc7bfbd388c4896abb upstream. Commit fee7e49d4514 ("mm: propagate error from stack expansion even for guard page") made sure that we retur

[PATCH 3.13.y-ckt 036/103] mm, vmscan: prevent kswapd livelock due to pfmemalloc-throttled process being killed

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit 9e5e3661727eaf960d3480213f8e87c8d67b6956 upstream. Charles Shirron and Paul Cassella from Cray Inc have reported kswapd stuck in a busy loop with nothing left

[PATCH 3.13.y-ckt 033/103] vfio-pci: Fix the check on pci device type in vfio_pci_probe()

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Wei Yang commit 7c2e211f3c95b91912a92a8c6736343690042e2e upstream. Current vfio-pci just supports normal pci device, so vfio_pci_probe() will return if the pci device is not a norma

[PATCH 3.13.y-ckt 040/103] usb: musb: stuff leak of struct usb_hcd

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 68693b8ea4e284c46bff919ac62bd9ccdfdbb6ba upstream. since the split of host+gadget mode in commit 74c2e9360058 ("usb: musb: factor out hcd initalizat

[PATCH 3.13.y-ckt 039/103] mm: fix corner case in anon_vma endless growing prevention

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit b800c91a0517071156e772d4fb329ad33590da62 upstream. Fix for BUG_ON(anon_vma->degree) splashes in unlink_anon_vmas() ("kernel BUG at mm/rmap.c:399!") caus

[PATCH 3.13.y-ckt 052/103] USB: EHCI: fix initialization bug in iso_stream_schedule()

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 6d89252a998a695ecb0348fc2d717dc33d90cae9 upstream. Commit c3ee9b76aa93 (EHCI: improved logic for isochronous scheduling) introduced the idea of using ehci->last_is

[PATCH 3.13.y-ckt 042/103] usb: gadget: udc: atmel: fix possible IN hang issue

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Bo Shen commit 6785a1034461c2d2c205215f63a50a740896e55b upstream. When receive data, the RXRDY in status register set by hardware after a new packet has been stored in the endpoint

[PATCH 3.13.y-ckt 046/103] USB: keyspan: fix null-deref at probe

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit b5122236bba8d7ef62153da5b55cc65d0944c61e upstream. Fix null-pointer dereference during probe if the interface-status completion handler is called before the indi

[PATCH 3.13.y-ckt 034/103] mm: prevent endless growth of anon_vma hierarchy

2015-02-18 Thread Kamal Mostafa
3.13.11-ckt16 -stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 7a3ef208e662f4b63d43a23f61a64a129c525bbc upstream. Constantly forking task causes unlimited grow of anon_vma chain. Each next child allocates new level

  1   2   3   4   5   6   7   8   9   >