Re: [PATCH 3/9] crypto: qce: Add dma and sg helpers

2014-04-03 Thread Josh Cartwright
Nitworthy comments :). On Thu, Apr 03, 2014 at 07:18:00PM +0300, Stanimir Varbanov wrote: [..] +++ b/drivers/crypto/qce/dma.c [..] +int qce_dma_request(struct device *dev, struct qce_dma_data *dma) +{ + unsigned int memsize; + void *va; + int ret; + + dma-txchan =

Re: [RFC] quiet checkpatch style recommendation about no spaces around bitfield :

2014-04-03 Thread Andy Whitcroft
On Mon, Mar 31, 2014 at 01:56:28PM -0700, Andrew Morton wrote: On Mon, 31 Mar 2014 08:31:38 -0700 Joe Perches j...@perches.com wrote: @@ -143,13 +143,13 @@ union cvmx_usbcx_gahbcfg { * * 1'b1: Unmask the interrupt assertion to the application. */

Re: [PATCH] MIPS/loongson2_cpufreq: fix CPU clock rate setting

2014-04-03 Thread Aaro Koskinen
Hi, On Thu, Apr 03, 2014 at 09:51:41AM +0530, Viresh Kumar wrote: On 3 April 2014 00:37, Aaro Koskinen aaro.koski...@iki.fi wrote: Loongson2 has been using (incorrectly) kHz for cpu_clk rate. This has been unnoticed, as loongson2_cpufreq was the only place where the rate was set/get. After

Re: Bug(s) with netconsole (using mv643xx_eth on Kirkwood)

2014-04-03 Thread Alexander Holler
Am 03.04.2014 20:21, schrieb Sebastian Hesselbarth: On 04/03/2014 07:58 PM, Alexander Holler wrote: I hope everyone who missed some more information is happy now, otherwise I (again) wasted time to type a problem description (not to speak about the already spent time trying to diagnose the

Re: [PATCH 1/2] devicetree: Add devicetree bindings documentation for Zynq Quad SPI

2014-04-03 Thread Harini Katakam
Hi Soren On Thu, Apr 3, 2014 at 11:20 PM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: Hi Punnaiah, On Thu, 2014-04-03 at 10:33PM +0530, Punnaiah Choudary Kalluri wrote: Add bindings documentation for Zynq Quad SPI driver. Signed-off-by: Punnaiah Choudary Kalluri punn...@xilinx.com

Re: Bug(s) with netconsole (using mv643xx_eth on Kirkwood)

2014-04-03 Thread Florian Fainelli
2014-04-03 11:39 GMT-07:00 Alexander Holler hol...@ahsoftware.de: Am 03.04.2014 20:21, schrieb Sebastian Hesselbarth: On 04/03/2014 07:58 PM, Alexander Holler wrote: I hope everyone who missed some more information is happy now, otherwise I (again) wasted time to type a problem description

Re: [PATCH v9 1/1] Tracepoint: register/unregister struct tracepoint

2014-04-03 Thread Steven Rostedt
On Thu, 3 Apr 2014 17:49:54 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: So my current thinking is that the pre-existing code was erroneously enabling tracepoints with the name of every event enabled (including e.g. function tracer, kprobes, etc). It was not failing

Re: [PATCH 1/2] devicetree: Add devicetree bindings documentation for Zynq Quad SPI

2014-04-03 Thread Sören Brinkmann
On Fri, 2014-04-04 at 12:15AM +0530, Harini Katakam wrote: Hi Soren On Thu, Apr 3, 2014 at 11:20 PM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: Hi Punnaiah, On Thu, 2014-04-03 at 10:33PM +0530, Punnaiah Choudary Kalluri wrote: Add bindings documentation for Zynq Quad SPI

Re: linux-3.14 nfsd regression

2014-04-03 Thread Jeff Layton
On Thu, 03 Apr 2014 13:51:06 -0400 Mark Lord ml...@pobox.com wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 12:33:55PM -0400, Mark Lord wrote: This commit from linux-3.14 breaks our NFS-root clients here:

Re: Initramfs FSID altered in 3.14

2014-04-03 Thread Pádraig Brady
On 04/03/2014 06:57 PM, Dave Reisner wrote: Hi, [This is a repost of a G+ post at Tejun's request] With Linux 3.14, you might notice in /proc/self/mountinfo that your root's parent FSID is now 0, instead of the 1 that it's been for the last N years. Tejun wrote the change

Re: [GIT PULL] cgroup changes for v3.15-rc1

2014-04-03 Thread Linus Torvalds
[ Extending the participants list a bit ] On Thu, Apr 3, 2014 at 11:34 AM, Tejun Heo t...@kernel.org wrote: On the road so sending from phone. Iirc the param is necessary to distinguishe when a new sb is created so that it can be put properly later. I think cgroup is leaking super ref now and

Re: [PATCH] ipc,shm: disable shmmax and shmall by default

2014-04-03 Thread Manfred Spraul
Hi Davidlohr, On 04/03/2014 02:20 AM, Davidlohr Bueso wrote: The default size for shmmax is, and always has been, 32Mb. Today, in the XXI century, it seems that this value is rather small, making users have to increase it via sysctl, which can cause unnecessary work and userspace application

[rfc 1/3] mm: pgtable -- Drop unneeded preprocessor ifdef

2014-04-03 Thread Cyrill Gorcunov
_PAGE_BIT_FILE (bit 6) is always less than _PAGE_BIT_PROTNONE (bit 9) so drop redundant #ifdef. CC: Linus Torvalds torva...@linux-foundation.org CC: Mel Gorman mgor...@suse.de CC: Peter Anvin h...@zytor.com CC: Ingo Molnar mi...@kernel.org CC: Steven Noonan ste...@uplinklabs.net CC: Rik van Riel

[rfc 0/3] Cleaning up soft-dirty bit usage

2014-04-03 Thread Cyrill Gorcunov
Hi! I've been trying to clean up soft-dirty bit usage. I can't cleanup ridiculous macros in pgtable-2level.h completely because I need to define _PAGE_FILE,_PAGE_PROTNONE,_PAGE_NUMA bits in sequence manner like #define _PAGE_BIT_FILE (_PAGE_BIT_PRESENT + 1) /* _PAGE_BIT_RW */ #define

[rfc 3/3] mm: pgtable -- Use _PAGE_SOFT_DIRTY for swap entries

2014-04-03 Thread Cyrill Gorcunov
Since we support soft-dirty on x86-64 now we can release _PAGE_PSE bit used to track dirty swap entries and reuse ealready existing _PAGE_SOFT_DIRTY. Thus for all soft-dirty needs we use same pte bit. CC: Linus Torvalds torva...@linux-foundation.org CC: Mel Gorman mgor...@suse.de CC: Peter Anvin

Re: Soft lockup regression since kernel 3.13

2014-04-03 Thread David Cohen
On Wed, Apr 02, 2014 at 04:29:48PM -0700, David Cohen wrote: Hi, I've detected a regression from upstream (using an Intel Merrifield device) since 3.13 (still exists in 3.14) which I never had much time to start to investigate until now. The symptoms are: the device boots and works fine for

[rfc 2/3] mm: pgtable -- Require X86_64 for soft-dirty tracker

2014-04-03 Thread Cyrill Gorcunov
Tracking dirty status on 2 level pages requires very ugly macros and taking into account how old the machines who can operate without PAE mode only are, lets drop soft dirty tracker from them for code simplicity (note I can't drop all the macros from 2 level pages by now since _PAGE_BIT_PROTNONE

Re: Initramfs FSID altered in 3.14

2014-04-03 Thread Tejun Heo
Hello, Dave. On Thu, Apr 03, 2014 at 01:57:44PM -0400, Dave Reisner wrote: With Linux 3.14, you might notice in /proc/self/mountinfo that your root's parent FSID is now 0, instead of the 1 that it's been for the last N years. Tejun wrote the change (9e30cc9595303b27b48) that caused this, but

Re: Initramfs FSID altered in 3.14

2014-04-03 Thread Tejun Heo
Hello, On Thu, Apr 03, 2014 at 08:13:50PM +0200, Thomas Bächler wrote: Most of these bugs were not caused by rootfs' FSID being different from 1, but rather because there was a file system with FSID 0. Only util-linux/switch_root assumed that rootfs always had exactly FSID 1 - which is IMO

[GIT PULL] ext4 changes for 3.15

2014-04-03 Thread Theodore Ts'o
Note: there will be a minor patch conflict since you included an earlier version of theatomically set inode-i_flags in ext4_set_inode_flags() in 3.14 bbefore you decided that set_mask_bits() wasn't a good interface to be exposing because people could too easily misuse it. The merge conflict is

[tip:x86/vdso] x86, vdso: Make the vdso linker script compatible with Gold

2014-04-03 Thread tip-bot for Andy Lutomirski
Commit-ID: 378ed3ccd2a0404d031e771b65aa3af221ea8aea Gitweb: http://git.kernel.org/tip/378ed3ccd2a0404d031e771b65aa3af221ea8aea Author: Andy Lutomirski l...@amacapital.net AuthorDate: Thu, 3 Apr 2014 10:53:43 -0700 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Thu, 3 Apr 2014

Re: Initramfs FSID altered in 3.14

2014-04-03 Thread Theodore Ts'o
I agree with Tejun that we should fix it up, and not force distributions to have to send out emergency releases of various userspace utilities --- especially since the fix is so simple. - Ted -- To unsubscribe from this list: send the line

[PATCH v2] MIPS/loongson2_cpufreq: fix CPU clock rate setting

2014-04-03 Thread Aaro Koskinen
Loongson2 has been using (incorrectly) kHz for cpu_clk rate. This has been unnoticed, as loongson2_cpufreq was the only place where the rate was set/get. After commit 652ed95d5fa6074b3c4ea245deb0691f1acb6656 (cpufreq: introduce cpufreq_generic_get() routine) things however broke, and now

Re: [RFC PATCH] cmdline: Hide debug from /proc/cmdline

2014-04-03 Thread H. Peter Anvin
They will be in memory one way or another, and during boot memory is usually plentiful to the kernel. Also, of the kernel knows it is log data it can be dropped if needed. On April 3, 2014 10:18:55 AM PDT, Theodore Ts'o ty...@mit.edu wrote: On Thu, Apr 03, 2014 at 10:09:29AM -0700, H. Peter

Re: [GIT PULL] ext4 changes for 3.15

2014-04-03 Thread Linus Torvalds
Btw, since I'm planning on getting to the filesystem pulls later today (or perhaps tomorrow), I wanted to check: are you ok with the ext4 parts of the cross-rename patches from Miklos? They are currently at git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git cross-rename in case

Re: [GIT PULL] cgroup changes for v3.15-rc1

2014-04-03 Thread Tejun Heo
Hello, On Thu, Apr 03, 2014 at 12:01:23PM -0700, Linus Torvalds wrote: [ Extending the participants list a bit ] On Thu, Apr 3, 2014 at 11:34 AM, Tejun Heo t...@kernel.org wrote: On the road so sending from phone. Iirc the param is necessary to distinguishe when a new sb is created so

[GIT PULL] VFIO update for 3.15-rc1

2014-04-03 Thread Alex Williamson
Hi Linus, The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) are available in the git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v3.15-rc1 for you to fetch changes up to

Re: [PATCH 7/7] uprobes/x86: Introduce uprobe_xol_ops and arch_uprobe-ops

2014-04-03 Thread Oleg Nesterov
On 04/02, Jim Keniston wrote: On Mon, 2014-03-31 at 21:44 +0200, Oleg Nesterov wrote: ... +/* + * Adjust the return address pushed by a call insn executed out of line. + */ +static int adjust_ret_addr(unsigned long sp, long correction) +{ + int rasize, ncopied; + long ra = 0;

[PATCH] fs: Don't return 0 from get_anon_bdev

2014-04-03 Thread Thomas Bächler
Commit 9e30cc9595303b27b48 removed an internal mount. This has the side-effect that rootfs now has FSID 0. Many userspace utilities assume that st_dev in struct stat is never 0, so this change breaks a number of tools in early userspace. Since we don't know how many userspace programs are

Re: [PATCH] ipc,shm: disable shmmax and shmall by default

2014-04-03 Thread Davidlohr Bueso
On Thu, 2014-04-03 at 21:02 +0200, Manfred Spraul wrote: Hi Davidlohr, On 04/03/2014 02:20 AM, Davidlohr Bueso wrote: The default size for shmmax is, and always has been, 32Mb. Today, in the XXI century, it seems that this value is rather small, making users have to increase it via

Re: [PATCH v4 1/3] i2c: cadence: Document device tree bindings

2014-04-03 Thread Rob Herring
On Thu, Apr 3, 2014 at 12:59 PM, Soren Brinkmann soren.brinkm...@xilinx.com wrote: Add device tree binding documentation for the Cadence I2C controller. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- Changes in v4: - moved adding DT docs into this dedicated patch Changes

Re: [PATCH] fs: Don't return 0 from get_anon_bdev

2014-04-03 Thread Tejun Heo
On Thu, Apr 03, 2014 at 09:49:55PM +0200, Thomas Bächler wrote: Commit 9e30cc9595303b27b48 removed an internal mount. This has the side-effect that rootfs now has FSID 0. Many userspace utilities assume that st_dev in struct stat is never 0, so this change breaks a number of tools in early

[PATCHv2] fs: Don't return 0 from get_anon_bdev

2014-04-03 Thread Thomas Bächler
Commit 9e30cc9595303b27b48 removed an internal mount. This has the side-effect that rootfs now has FSID 0. Many userspace utilities assume that st_dev in struct stat is never 0, so this change breaks a number of tools in early userspace. Since we don't know how many userspace programs are

Re: linux-3.14 nfsd regression

2014-04-03 Thread J. Bruce Fields
On Thu, Apr 03, 2014 at 01:51:06PM -0400, Mark Lord wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 12:33:55PM -0400, Mark Lord wrote: This commit from linux-3.14 breaks our NFS-root clients here:

[PATCH 8/7] uprobes/x86: Send SIGILL if arch_uprobe_post_xol() fails

2014-04-03 Thread Oleg Nesterov
Currently the error from arch_uprobe_post_xol() is silently ignored. This doesn't look good and this can lead to the hard-to-debug problems. 1. Change handle_singlestep() to loudly complain and send SIGILL. Note: this only affects x86, ppc/arm can't fail. 2. Change arch_uprobe_post_xol() to

Re: rcu_prempt stalls / lockup

2014-04-03 Thread Dave Jones
On Wed, Apr 02, 2014 at 06:48:40PM -0400, Dave Jones wrote: Waiting uninterruptibly. Presumably blocked on mutex_lock(). But you have CONFIG_PROVE_LOCKING(), so any deadlocks should have been reported. Lockdep had reported something a little earlier

[PATCH 9/7] uprobes/x86: Teach arch_uprobe_post_xol() to restart if possible

2014-04-03 Thread Oleg Nesterov
SIGILL after the failed arch_uprobe_post_xol() should only be used as a last resort, we should try to restart the probed insn if possible. Currently only adjust_ret_addr() can fail, and this can only happen if another thread unmapped our stack after we executed call out-of-line. Most probably the

Re: [GIT PULL] cgroup changes for v3.15-rc1

2014-04-03 Thread Linus Torvalds
On Thu, Apr 3, 2014 at 12:43 PM, Tejun Heo t...@kernel.org wrote: Ah, I remembered the other way around. We could leak cgroup_root reference, not the other way around. cgroup_mount() can be called multiple times for the same sb and we inc cgroup_root's ref each time but cgroup_kill_sb()

Re: [PATCH 5/7] uprobes/x86: Gather riprel functions together

2014-04-03 Thread Oleg Nesterov
On 04/02, Jim Keniston wrote: On Mon, 2014-03-31 at 21:44 +0200, Oleg Nesterov wrote: ... +static void +handle_riprel_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs, long *correction) +{ + if (auprobe-fixups (UPROBE_FIX_RIP_AX | UPROBE_FIX_RIP_CX)) { +

RE: [PATCH] ASoC: dapm: Add support for multi register mux

2014-04-03 Thread Arun Shamanna Lakshmi
-Original Message- From: Lars-Peter Clausen [mailto:l...@metafoo.de] Sent: Thursday, April 03, 2014 1:27 AM To: Arun Shamanna Lakshmi Cc: lgirdw...@gmail.com; broo...@kernel.org; swar...@wwwdotorg.org; pe...@perex.cz; ti...@suse.de; alsa- de...@alsa-project.org;

Re: linux-3.14 nfsd regression

2014-04-03 Thread J. Bruce Fields
On Thu, Apr 03, 2014 at 03:30:24PM -0400, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 01:51:06PM -0400, Mark Lord wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 12:33:55PM -0400, Mark Lord wrote: This commit from linux-3.14 breaks our NFS-root clients here:

Re: Promela/spin model for NO_HZ_FULL_SYSIDLE code

2014-04-03 Thread Paul E. McKenney
On Thu, Apr 03, 2014 at 05:53:49PM +, Mathieu Desnoyers wrote: - Original Message - From: Paul E. McKenney paul...@linux.vnet.ibm.com To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: fweis...@gmail.com, pet...@infradead.org, linux-kernel@vger.kernel.org Sent: Thursday,

Re: [PATCH v4 1/3] i2c: cadence: Document device tree bindings

2014-04-03 Thread Sören Brinkmann
On Thu, 2014-04-03 at 02:51PM -0500, Rob Herring wrote: On Thu, Apr 3, 2014 at 12:59 PM, Soren Brinkmann soren.brinkm...@xilinx.com wrote: Add device tree binding documentation for the Cadence I2C controller. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- Changes in

Re: [PATCH v2] net: Micrel KSZ8864RMN 4-port managed switch support

2014-04-03 Thread David Miller
From: Philipp Zabel p.za...@pengutronix.de Date: Thu, 3 Apr 2014 11:28:10 +0200 This patch adds support for the Micrel KSZ8864RMN switch to the spi_ks8995 driver. The KSZ8864RMN switch has a wider 256-byte register space. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Applied, thanks.

Re: linux-3.14 nfsd regression

2014-04-03 Thread J. Bruce Fields
On Thu, Apr 03, 2014 at 01:51:06PM -0400, Mark Lord wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: The original behavior was in practice harmless and changing it broke something, so I think we should definitely just revert this patch. Yup. Who? I'll submit this soon. --b. Author:

Re: linux-3.14 nfsd regression

2014-04-03 Thread J. Bruce Fields
On Thu, Apr 03, 2014 at 02:55:04PM -0400, Jeff Layton wrote: On Thu, 03 Apr 2014 13:51:06 -0400 Mark Lord ml...@pobox.com wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 12:33:55PM -0400, Mark Lord wrote: This commit from linux-3.14 breaks our NFS-root

Re: [PATCH] fs: Don't return 0 from get_anon_bdev

2014-04-03 Thread H. Peter Anvin
On 04/03/2014 12:49 PM, Thomas Bächler wrote: Commit 9e30cc9595303b27b48 removed an internal mount. This has the side-effect that rootfs now has FSID 0. Many userspace utilities assume that st_dev in struct stat is never 0, so this change breaks a number of tools in early userspace. Since

Re: [RFC] QR encoding for Oops messages

2014-04-03 Thread Levente Kurusa
Hi, 2014-04-01 23:07 GMT+02:00 Teodora Băluţă teobal...@gmail.com: On Tue, Apr 1, 2014 at 5:20 PM, Jason Cooper ja...@lakedaemon.net wrote: On Sun, Mar 30, 2014 at 12:17:17PM +0200, Levente Kurusa wrote: Hi all, (sorry for the late reply, looks like this mail has ran away from my clients)

Re: [PATCH] mm: msync: require either MS_ASYNC or MS_SYNC

2014-04-03 Thread Richard Hansen
On 2014-04-03 04:25, Michael Kerrisk (man-pages) wrote: [CC += Peter Zijlstra] [CC += bug-readl...@gnu.org -- maintainers, it _may_ be desirable to fix your msync() call] I didn't see bug-readl...@gnu.org in the CC list -- did you forget to add them, or were they BCC'd? * Clearer

[PATCH 8-9/7] uprobes/x86: introduce uprobe_xol_ops and arch_uprobe-ops

2014-04-03 Thread Oleg Nesterov
On 03/31, Oleg Nesterov wrote: when I send the fixes. Damn. All I can say - sorry for delay. Still no fixes. I only finished v2, but do not have time to add the acks I got and resend. Apart from cosmetic changes the resulting code is the same plus the new 2 patches I am sending in reply to

[PATCH] Add sensor hub quirk for ThinkPad Helix

2014-04-03 Thread Stephen Chandler Paul
Just like some of the other laptops/tablets on the market with ultrabook sensors, the ThinkPad Helix's sensor hub requires a special quirk in order for it to power on properly. Without it the sensors are detected by the kernel and set up as usual, but they won't output any data. This will also fix

[PATCH] mach-bcm: clean up config and build targets

2014-04-03 Thread Alex Elder
Currently CONFIG_ARCH_BCM_MOBILE is used to select all Broadcom mobile SoCs. Instead, use that only as a config menu switch, and define specific symbols like CONFIG_ARCH_BCM_281XX to select a particular SoC family. If ARCH_BCM_MOBILE is selected, all of the SoCs will be selected by default, but

Re: [PATCHv2] fs: Don't return 0 from get_anon_bdev

2014-04-03 Thread Greg KH
On Thu, Apr 03, 2014 at 09:55:37PM +0200, Thomas Bächler wrote: Commit 9e30cc9595303b27b48 removed an internal mount. This has the side-effect that rootfs now has FSID 0. Many userspace utilities assume that st_dev in struct stat is never 0, so this change breaks a number of tools in early

Re: [PATCH] Add sensor hub quirk for ThinkPad Helix

2014-04-03 Thread Srinivas Pandruvada
On 04/03/2014 01:27 PM, Stephen Chandler Paul wrote: Just like some of the other laptops/tablets on the market with ultrabook sensors, the ThinkPad Helix's sensor hub requires a special quirk in order for it to power on properly. Without it the sensors are detected by the kernel and set up as

Re: [PATCH v3 0/7] Introducing (yet again) Device Tree Overlays

2014-04-03 Thread delicious quinoa
On Fri, Mar 28, 2014 at 1:27 PM, delicious quinoa delicious.qui...@gmail.com wrote: On Tue, Mar 18, 2014 at 4:55 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: The following patchset introduces Device Tree overlays, a method of dynamically altering the kernel's live Device Tree,

Re: timer: lockup in run_timer_softirq()

2014-04-03 Thread Sasha Levin
On 07/11/2013 01:11 PM, Peter Zijlstra wrote: On Thu, Jul 11, 2013 at 12:59:32PM -0400, Steven Rostedt wrote: On Thu, 2013-07-11 at 12:55 -0400, Steven Rostedt wrote: Other than that, a function tracer environment that is safer to use might be useful for other people as well. Not sure

Re: rcu_prempt stalls / lockup

2014-04-03 Thread Paul E. McKenney
On Thu, Apr 03, 2014 at 04:01:43PM -0400, Dave Jones wrote: On Wed, Apr 02, 2014 at 06:48:40PM -0400, Dave Jones wrote: Waiting uninterruptibly. Presumably blocked on mutex_lock(). But you have CONFIG_PROVE_LOCKING(), so any deadlocks should have been reported.

Re: [PATCH] mach-bcm: clean up config and build targets

2014-04-03 Thread Paul Bolle
On Thu, 2014-04-03 at 15:30 -0500, Alex Elder wrote: Currently CONFIG_ARCH_BCM_MOBILE is used to select all Broadcom mobile SoCs. Instead, use that only as a config menu switch, and define specific symbols like CONFIG_ARCH_BCM_281XX to select a particular SoC family. If ARCH_BCM_MOBILE is

Re: Things I wish I'd known about Inotify

2014-04-03 Thread Jan Kara
On Thu 03-04-14 08:34:44, Michael Kerrisk (man-pages) wrote: Limitations and caveats The inotify API provides no information about the user or process that triggered the inotify event. In particular, there is no easy way for a process that is monitoring events

Re: [PATCH] Add sensor hub quirk for ThinkPad Helix

2014-04-03 Thread Jiri Kosina
On Thu, 3 Apr 2014, Stephen Chandler Paul wrote: Just like some of the other laptops/tablets on the market with ultrabook sensors, the ThinkPad Helix's sensor hub requires a special quirk in order for it to power on properly. Without it the sensors are detected by the kernel and set up as

Re: [RFC] QR encoding for Oops messages

2014-04-03 Thread David Lang
On Tue, 1 Apr 2014, Jason Cooper wrote: Now I guess we need to think how to make it work without a framebuffer. I already suggested using the ASCII characters, but seeing the resolution of this QR code for example (147x147), made me realize that we can't shuffle that into a 80x25 textmode

Re: linux-3.14 nfsd regression

2014-04-03 Thread Mark Lord
On 14-04-03 04:15 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 01:51:06PM -0400, Mark Lord wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: The original behavior was in practice harmless and changing it broke something, so I think we should definitely just revert this patch. Yup.

Re: [PATCH] mach-bcm: clean up config and build targets

2014-04-03 Thread Alex Elder
On 04/03/2014 03:49 PM, Paul Bolle wrote: On Thu, 2014-04-03 at 15:30 -0500, Alex Elder wrote: Currently CONFIG_ARCH_BCM_MOBILE is used to select all Broadcom mobile SoCs. Instead, use that only as a config menu switch, and define specific symbols like CONFIG_ARCH_BCM_281XX to select a

Re: [PATCH 1/2] devicetree: Add devicetree bindings documentation for Zynq Quad SPI

2014-04-03 Thread Mark Brown
On Thu, Apr 03, 2014 at 10:33:06PM +0530, Punnaiah Choudary Kalluri wrote: +Optional properties: +- num-cs : Number of chip selects used. What does this translate into? + num-cs = /bits/ 16 1; Why the odd specification in the example - why not just specify it as a

Re: linux-3.14 nfsd regression

2014-04-03 Thread Mark Lord
On 14-04-03 03:30 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 01:51:06PM -0400, Mark Lord wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 12:33:55PM -0400, Mark Lord wrote: This commit from linux-3.14 breaks our NFS-root clients here:

Re: [PATCH v2 1/5] x86: replace timeouts when booting secondary CPU with infinite wait loop

2014-04-03 Thread Andi Kleen
On Thu, Apr 03, 2014 at 08:43:37AM +0200, Ingo Molnar wrote: * Igor Mammedov imamm...@redhat.com wrote: I've seen that. Kernel still boots. With your patch it would hang. Nonsense, not booting is OK when critical hardware is genuinely bad - this isn't a disk drive or networking where

Re: eboot.c regression allows boot, from v3.7 on- no boot with UEFI, only legacy, bisect results

2014-04-03 Thread Matt Fleming
(Adding linux-efi and correct Matthew's address) On Fri, 28 Mar, at 04:08:36PM, Daniel McLellan wrote: System: Hewlett-Packard product: HP EliteBook 2570p CPU~Dual core Intel Core i7-3520M CPU (-HT-MCP-) Kernel: 3.12.4-2-hplove x86_64 (64 bit) Desktop: Enlightenment 0.18.99.18202 Distro: Arch

Re: eboot.c regression allows boot, from v3.7 on- no boot with UEFI, only legacy, bisect results

2014-04-03 Thread Matt Fleming
(Adding addresses for real this time... ) On Thu, 03 Apr, at 10:03:42PM, Matt Fleming wrote: (Adding linux-efi and correct Matthew's address) On Fri, 28 Mar, at 04:08:36PM, Daniel McLellan wrote: System: Hewlett-Packard product: HP EliteBook 2570p CPU~Dual core Intel Core i7-3520M CPU

Re: linux-3.14 nfsd regression

2014-04-03 Thread J. Bruce Fields
On Thu, Apr 03, 2014 at 04:48:11PM -0400, Mark Lord wrote: On 14-04-03 03:30 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 01:51:06PM -0400, Mark Lord wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 12:33:55PM -0400, Mark Lord wrote: This commit from

Re: [PATCH 2/2] SPI: Add support for Zynq Quad SPI controller

2014-04-03 Thread Mark Brown
On Thu, Apr 03, 2014 at 10:33:07PM +0530, Punnaiah Choudary Kalluri wrote: Overall this looks fairly good, there are a few issues that need to be looked at but they're not too invasive. Please also check for coding style issues, quite a few spaces before commas for example. +/* + * The

Re: linux-3.14 nfsd regression

2014-04-03 Thread Mark Lord
On 14-04-03 05:28 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 04:48:11PM -0400, Mark Lord wrote: On 14-04-03 03:30 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 01:51:06PM -0400, Mark Lord wrote: On 14-04-03 01:16 PM, J. Bruce Fields wrote: On Thu, Apr 03, 2014 at 12:33:55PM

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-03 Thread Mark Brown
On Thu, Apr 03, 2014 at 04:40:31PM +0530, Harini Katakam wrote: +Optional properties: +- num-cs : Number of chip selects used. How does this translate to the hardware? + num-cs = /bits/ 16 4; What's going on with the /bits/ - is this something that's required for the

[RFC] mm,tracing: improve current situation

2014-04-03 Thread Davidlohr Bueso
Hi All, During LSFMM Dave Jones discussed the current situation around testing/trinity in the mm. One of the conclusions was that basically we lack tools to gather the necessary information to make debugging a less painful process, making it pretty much a black box for a lot of cases. One of the

Re: rcu_prempt stalls / lockup

2014-04-03 Thread Dave Jones
On Thu, Apr 03, 2014 at 01:46:56PM -0700, Paul E. McKenney wrote: So, how about reverting each commit in the RCU series, and then bisecting through the reverts? Something like the following: wherever=linus/master # or substitute whatever point you wish. # Create a revert

Re: [PATCH v2 1/2] SPI: Add driver for Cadence SPI controller

2014-04-03 Thread Mark Brown
On Thu, Apr 03, 2014 at 04:40:30PM +0530, Harini Katakam wrote: Add driver for Cadence SPI controller. This is used in Xilinx Zynq. I just reviewed a driver for Zynq Quad SPI controller from Punnaiah Choudary Kalluri (CCed) which seems *very* similar to this one. Are there opportunities for

Re: [RFC] blk-mq: support for shared tags

2014-04-03 Thread Matias Bjorling
On 04/03/2014 11:01 AM, Christoph Hellwig wrote: On Thu, Apr 03, 2014 at 09:45:11AM -0700, Matias Bjorling wrote: I'd still create a request_queue for the internal queue, just not register a block device for it. For example SCSI sets up queues for each LUN found, but only a subset actually is

Re: [PATCH 1/3] regulator: core: Add of_node_get to of_regulator_match

2014-04-03 Thread Mark Brown
On Thu, Apr 03, 2014 at 03:32:15PM +0100, Charles Keepax wrote: Currently, of_regulator_match does not increment the reference count of the of_nodes it takes new references to. This could cause the node pointer held to be invalid, by the time it is passed to the regulator core. This patchs

Re: [PATCH] perf tools: Pick up libdw without explicit LIBDW_DIR

2014-04-03 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: tools/perf/config/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Jiri, any comments? Ram -- 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

Re: [GIT PULL for v3.15-rc1] media updates

2014-04-03 Thread David Härdeman
On Thu, Apr 03, 2014 at 01:11:43PM -0300, Mauro Carvalho Chehab wrote: Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus ... James Hogan (27): ... [media] media: rc: add sysfs scancode filtering interface [media] media:

[PATCH v2] mach-bcm: clean up config and build targets

2014-04-03 Thread Alex Elder
Currently CONFIG_ARCH_BCM_MOBILE is used to select all Broadcom mobile SoCs. Instead, use that only as a config menu switch, and define specific symbols like CONFIG_ARCH_BCM_281XX to select a particular SoC family. If ARCH_BCM_MOBILE is selected, all of the SoCs will be selected by default, but

Re: [PATCH 69/73] drivers/pci: delete non-required instances of linux/init.h

2014-04-03 Thread Bjorn Helgaas
On Tue, Jan 21, 2014 at 04:23:12PM -0500, Paul Gortmaker wrote: None of these files are actually using any __init type directives and hence don't need to include linux/init.h. Most are just a left over from __devinit and __cpuinit removal, or simply due to code getting copied from one driver

Re: Initramfs FSID altered in 3.14

2014-04-03 Thread Alexandre Demers
I'll be testing it later tonight. It was either that or I would have been completing my Qemu image. ;) Stay tuned. Alexandre On Thu, Apr 3, 2014 at 3:20 PM, Theodore Ts'o ty...@mit.edu wrote: I agree with Tejun that we should fix it up, and not force distributions to have to send out

Re: [PATCH v2] staging: comedi: s626: use comedi_timeout() on remaining loops

2014-04-03 Thread Chase Southwood
On Thursday, April 3, 2014 3:38 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Tue, Mar 25, 2014 at 10:43:58PM -0500, Chase Southwood wrote: There were just a handful of more while loops in this file that needed timeouts, and this patch takes care of them.  One new callback is introduced,

Re: [GIT PULL for v3.15-rc1] media updates

2014-04-03 Thread Mauro Carvalho Chehab
Em Thu, 03 Apr 2014 23:46:56 +0200 David Härdeman da...@hardeman.nu escreveu: On Thu, Apr 03, 2014 at 01:11:43PM -0300, Mauro Carvalho Chehab wrote: Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus ... James Hogan (27):

fakeroot make-kpkg is broken in 3.14

2014-04-03 Thread Alexei Starovoitov
It seems commit f4d4ffc03efc (kbuild: dtbs_install: new make target) breaks 'fakeroot make-kpkg' package creation on ubuntu. Didn't investigate the root cause yet, just heads up. The errors I see: update-initramfs: Generating /w/net/debian/linux-image-3.14.0+//boot/initrd.img-3.14.0+ grep:

[PATCH 19/20] of/fdt: convert initial_boot_params to opaque pointer

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Now that all accesses to FDT header data has been converted to accessor helpers, initial_boot_params can become an opaque pointer. Signed-off-by: Rob Herring r...@kernel.org --- drivers/of/fdt.c | 2 +- include/linux/of_fdt.h | 2 +- 2 files changed, 2

[PATCH 20/20] of: push struct boot_param_header and defines into powerpc

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Now powerpc is the only user of struct boot_param_header and FDT defines, so they can be moved into the powerpc architecture code. Signed-off-by: Rob Herring r...@kernel.org Cc: Benjamin Herrenschmidt b...@kernel.crashing.org Cc: Paul Mackerras pau...@samba.org

[PATCH 11/20] of/fdt: remove unused of_scan_flat_dt_by_path

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org of_scan_flat_dt_by_path is unused anywhere in the kernel, so remove it. Signed-off-by: Rob Herring r...@kernel.org --- drivers/of/fdt.c | 67 -- include/linux/of_fdt.h | 3 --- 2 files changed, 70

[PATCH 15/20] of/fdt: move memreserve and dtb memory reservations into core

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Move the /memreserve/ processing and dtb memory reservations into early_init_fdt_scan_reserved_mem. This converts arm, arm64, and powerpc as they are the only users of early_init_fdt_scan_reserved_mem. memblock_reserve is safe to call on the same region twice,

[PATCH 16/20] build: add libfdt include path globally

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org In order use libfdt headers more widely available, make the libfdt include path globally available. It's a bit ugly, but other solutions would probably make importing libfdt more difficult. Signed-off-by: Rob Herring r...@kernel.org --- Makefile

[PATCH 09/20] of/fdt: create common debugfs

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Both powerpc and microblaze have the same FDT blob in debugfs feature. Move this to common location and remove the powerpc and microblaze implementations. This feature could become more useful when FDT overlay support is added. This changes the path of the blob

[PATCH 12/20] of/fdt: update of_get_flat_dt_prop in prep for libfdt

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Make of_get_flat_dt_prop arguments compatible with libfdt fdt_getprop call in preparation to convert FDT code to use libfdt. Make the return value const and the property length ptr type an int. Signed-off-by: Rob Herring r...@kernel.org ---

[PATCH 10/20] of/fdt: remove some unneeded includes

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Whatever needed powerpc machdep.h appears to have been removed, so the include can be dropped. module.h is not needed as this code is always built-in. Signed-off-by: Rob Herring r...@kernel.org Cc: Grant Likely grant.lik...@linaro.org --- drivers/of/fdt.c | 5

[PATCH 17/20] powerpc: use libfdt accessors for header data

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org With libfdt support, we can take advantage of helper accessors in libfdt for accessing the FDT header data. This makes the code more readable and makes the FDT blob structure more opaque to the kernel. This also prepares for removing struct boot_param_header

[PATCH 08/20] of/fdt: consolidate built-in dtb section variables

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org Unify the various architectures __dtb_start and __dtb_end definitions moving them into of_fdt.h. Signed-off-by: Rob Herring r...@kernel.org Cc: Vineet Gupta vgu...@synopsys.com Cc: James Hogan james.ho...@imgtec.com Cc: Ralf Baechle r...@linux-mips.org Cc: Jonas

[PATCH 03/20] mips: xlp: copy built-in DTB out of init section

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org The existing code is buggy because built-in DTBs are in init memory. It is also broken because the reserved bootmem was then freed after unflattening, but the unflattened tree points to data in the flat tree. Fix this by using the unflatten_and_copy_device_tree

[PATCH 04/20] mips: ralink: convert to use unflatten_and_copy_device_tree

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org The ralink FDT code can be simplified by using unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle r...@linux-mips.org Cc: linux-m...@linux-mips.org

[PATCH 18/20] x86: use libfdt accessors for header data

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org With libfdt support, we can take advantage of helper accessors in libfdt for accessing the FDT header data. This makes the code more readable and makes the FDT blob structure more opaque to the kernel. This also prepares for removing struct boot_param_header

[PATCH 01/20] mips: octeon: convert to use unflatten_and_copy_device_tree

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org The octeon FDT code can be simplified by using unflatten_and_copy_device_tree function. This removes all accesses to FDT header data by the arch code. Signed-off-by: Rob Herring r...@kernel.org Cc: Ralf Baechle r...@linux-mips.org Cc: linux-m...@linux-mips.org

[PATCH 13/20] of/fdt: Convert FDT functions to use libfdt

2014-04-03 Thread Rob Herring
From: Rob Herring r...@kernel.org The kernel FDT functions predate libfdt and are much more limited in functionality. Also, the kernel functions and libfdt functions are not compatible with each other because they have different definitions of node offsets. To avoid this incompatibility and in

<    4   5   6   7   8   9   10   11   12   >