Re: [ATTEND] How to act on LKML

2013-07-16 Thread H. Peter Anvin
On 07/16/2013 09:58 AM, Stefano Stabellini wrote: Because Linux is the most widely used kernel, it's everywhere from embedded devices to supercomputers. Many different companies make a business on Linux and pay people to work on it (not FreeBSD or NetBSD). But that's different from what I

Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

2013-07-16 Thread Kees Cook
On Fri, Jul 12, 2013 at 11:47 PM, Yinghai Lu ying...@kernel.org wrote: On Fri, Jul 12, 2013 at 1:38 PM, Kees Cook keesc...@chromium.org wrote: Allows console=uart[8250],mmio[32],0xADDR[,BAUDn8[,BASE_BAUD]] to be recognized during compressed boot early console setup, and during boot console

Re: [PATCH] virtio-net: put virtio net header inline with data

2013-07-16 Thread David Miller
From: Rusty Russell ru...@rustcorp.com.au Date: Mon, 15 Jul 2013 11:13:25 +0930 From: Michael S. Tsirkin m...@redhat.com For small packets we can simplify xmit processing by linearizing buffers with the header: most packets seem to have enough head room we can use for this purpose. Since

Re: splice vs execve lockdep trace.

2013-07-16 Thread Ben Myers
Hi Dave, Linus, On Tue, Jul 16, 2013 at 04:03:51PM +1000, Dave Chinner wrote: On Mon, Jul 15, 2013 at 08:25:14PM -0700, Linus Torvalds wrote: On Mon, Jul 15, 2013 at 7:38 PM, Dave Jones da...@redhat.com wrote: The recent trinity changes shouldn't have really made any notable

Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

2013-07-16 Thread H. Peter Anvin
On 07/16/2013 12:31 PM, Kees Cook wrote: Could the first step be documenting the limitation? I've found this patch extremely useful for my case already, and I imagine there might be other people that need the early mmio stuff to. Generally the compressed boot serial console stuff is going to

Re: [PATCH 3.11-rc1] mlx5 core: Fix __udivdi3 when compiling for 32 bit arches

2013-07-16 Thread David Miller
From: Randy Dunlap rdun...@infradead.org Date: Mon, 15 Jul 2013 08:52:18 -0700 On 07/15/13 07:56, Tim Gardner wrote: Cc: Eli Cohen e...@mellanox.com Signed-off-by: Tim Gardner tim.gard...@canonical.com I reported this last week and Eli wrote: I have this fixed in my tree and we run the

Re: driver model, duplicate names question

2013-07-16 Thread Greg KH
On Tue, Jul 16, 2013 at 12:33:03PM -0700, Srinivas Pandruvada wrote: +Example Sys-FS Interface + +/sys/class/power_cap/intel-rapl +├── package-0 +│ ├── constraint-0 +│ │ ├── name +│ │ ├── power_limit_uw +│ │ └── time_window_us +│ ├── constraint-1 +│ │ ├──

Re: [RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Sam Ravnborg
On Tue, Jul 16, 2013 at 07:29:50PM +0100, Jim Baxter wrote: If CONFIG_SAMPLES is enabled with any of the sample modules enabled, they are only built if the make command includes uImage and modules (i.e. make uImage modules). With the current location samples are built when you build vmlinux.

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Al Viro
On Tue, Jul 16, 2013 at 02:29:20PM -0500, Serge Hallyn wrote: All the files will be owned by host root, so there's no security concern in allowing this. Files owned by root != very bad things can't be done by non-root. Especially for debugfs, which is very much a don't even think about mounting

[PATCH/v2] [trivial] treewide: Fix typo in printk

2013-07-16 Thread Masanari Iida
Correct spelling typo in printk Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/crypto/ux500/hash/hash_core.c | 2 +- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 4 ++-- drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c | 2 +-

Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

2013-07-16 Thread Kees Cook
On Tue, Jul 16, 2013 at 12:36 PM, H. Peter Anvin h...@zytor.com wrote: On 07/16/2013 12:31 PM, Kees Cook wrote: Could the first step be documenting the limitation? I've found this patch extremely useful for my case already, and I imagine there might be other people that need the early mmio

Re: [PATCH] zram percpu implementation

2013-07-16 Thread Valdis . Kletnieks
On Wed, 17 Jul 2013 00:27:34 +0530, mani said: This patch will create a percpu structures compression algo. 1. Takes extra memory for workspace buffers. I haven't seen any performance gain with this need to find the root cause. My first guess is that the higher-level zram stuff is submitting

Re: [RFC][PATCH 0/4] tracing/kprobes/uprobes: Fix race between opening probe event files and deleting probe

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 21:22 +0200, Oleg Nesterov wrote: But tracing_open_generic_file()-trace_array_get() is racy, no? Somehow we need to ensure it is safe to use file / file-tr. Ah crap. Yeah, I see what you mean. It's the race that I described with deleting private data and using it on open.

Re: [PATCH v8] ARM: clocksource: add support for MOXA ART SoCs

2013-07-16 Thread Daniel Lezcano
On 07/16/2013 04:44 PM, Jonas Jensen wrote: This patch adds an clocksource driver for the main timer(s) found on MOXA ART SoCs. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Ok, I will ask you two more things before taking your patch. I missed them at the previous review, sorry for

Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

2013-07-16 Thread H. Peter Anvin
On 07/16/2013 12:40 PM, Kees Cook wrote: I think setting up a dynamic #PF handler is the right thing for the decompressor, we already did for the kernel proper. I'm not sure how to accomplish this yet. I'm still trying to understand how the page tables are arranged. :) Look at the

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 12:11 -0700, Greg Kroah-Hartman wrote: People mark stable patches that way already today with a: Cc: stable sta...@vger.kernel.org # delay for 3.12-rc4 or some such wording. I take those and don't apply them until the noted release happens, so you can do this if

Re: [RFC PATCH 2/4] tracing: Turn id-i_private into call-event.type

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 20:57 +0200, Oleg Nesterov wrote: ftrace_event_id_fops and event_id_read() is overcomplicated. 1. Change event_create_dir() to pass data = call-event.type to debugfs_create_file(). This means that ftrace_event_id_fops doesn't need .open() and event_id_read()

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Serge E. Hallyn
Quoting Al Viro (v...@zeniv.linux.org.uk): On Tue, Jul 16, 2013 at 02:29:20PM -0500, Serge Hallyn wrote: All the files will be owned by host root, so there's no security concern in allowing this. Files owned by root != very bad things can't be done by non-root. Especially for debugfs,

Re: [RFC PATCH 3/4] tracing: Kill tracing_open/release_generic_file

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 20:57 +0200, Oleg Nesterov wrote: Kill tracing_open_generic_file() and tracing_release_generic_file(), they are racy anyway. Instead, change event_enable_read() and event_enable_write() to rely on event_mutex and file_inode(filp)-i_private != NULL check.

Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.

2013-07-16 Thread Joseph Salisbury
On 07/16/2013 02:29 PM, Pravin Shelar wrote: On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury joseph.salisb...@canonical.com wrote: Hi Pravin, A bug was opened against the Ubuntu kernel[0]. After a kernel bisect, it was found that reverting the following commit resolved this bug: commit

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Arjan van de Ven
On 7/16/2013 12:21 PM, Peter Zijlstra wrote: Suppose a 2 cpu system, one cpu is running 3/4 throttle, the other is running at half speed. Both cpus are equally utilized. A new task comes on. Where do we run it? We need to know that there's head-room on the 1/2 speed cpu and should crank its

Re: [ANNOUNCE] iproute2 3.10

2013-07-16 Thread Christian Hesse
Stephen Hemminger step...@networkplumber.org on Tue, 2013/07/16 10:17: This is update for iproute2 tools for 3.10 kernel. [...] Iproute2 package is available at: http://kernel.org/pub/linux/utils/net/iproute2/iproute2-3.10.0.tar.gz You can download the source from:

Re: [PATCH net 2/2] macvtap: do not assume 802.1Q when send vlan packets

2013-07-16 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Tue, 16 Jul 2013 13:36:34 +0800 The hard-coded 8021.q proto will break 802.1ad traffic. So switch to use vlan-proto. Cc: Basil Gor basil@gmail.com Signed-off-by: Jason Wang jasow...@redhat.com Applied. -- To unsubscribe from this list: send

Re: [PATCH net 1/2] macvtap: fix the missing ret value of TUNSETQUEUE

2013-07-16 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Tue, 16 Jul 2013 13:36:33 +0800 Commit 441ac0fcaadc76ad09771812382345001dd2b813 (macvtap: Convert to using rtnl lock) forget to return what macvtap_ioctl_set_queue() returns to its caller. This may break multiqueue API by always falling through to

cpufreq: possible circular locking detected on suspend

2013-07-16 Thread Sergey Senozhatsky
Hello, extracted as a new thread from https://lkml.org/lkml/2013/7/16/344 cpufreq midifications are: Srivatsa S. Bhat wrote: 1. Patch given in: https://lkml.org/lkml/2013/7/11/661 (Just apply patch 1, not the entire patchset). 2. Apply the patch shown below, on top of the above patch:

Re: [RFC PATCH v5 1/1] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-07-16 Thread Rob Herring
On 07/16/2013 11:05 AM, Lorenzo Pieralisi wrote: The TC2 versatile express core tile integrates a logic block that provides the interface between the dual cluster test-chip and the M3 microcontroller that carries out power management. The logic block, called Serial Power Controller (SPC),

Re: [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread Martin Steigerwald
Am Montag, 15. Juli 2013, 15:50:03 schrieb Sarah Sharp: On Mon, Jul 15, 2013 at 03:38:42PM -0700, Linus Torvalds wrote: On Mon, Jul 15, 2013 at 3:08 PM, Steven Rostedt rost...@goodmis.org wrote: Can we please make this into a Kernel Summit discussion. I highly doubt we would solve

Re: driver model, duplicate names question

2013-07-16 Thread Srinivas Pandruvada
On 07/16/2013 12:32 PM, Greg KH wrote: On Tue, Jul 16, 2013 at 12:33:03PM -0700, Srinivas Pandruvada wrote: +Example Sys-FS Interface + +/sys/class/power_cap/intel-rapl +├── package-0 +│ ├── constraint-0 +│ │ ├── name +│ │ ├── power_limit_uw +│ │ └── time_window_us +│ ├──

Re: [ANNOUNCE] iproute2 3.10

2013-07-16 Thread Stephen Hemminger
On Tue, 16 Jul 2013 21:56:55 +0200 Christian Hesse l...@eworm.de wrote: Stephen Hemminger step...@networkplumber.org on Tue, 2013/07/16 10:17: This is update for iproute2 tools for 3.10 kernel. [...] Iproute2 package is available at:

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread Willy Tarreau
On Tue, Jul 16, 2013 at 03:43:09PM -0400, Steven Rostedt wrote: On Tue, 2013-07-16 at 12:11 -0700, Greg Kroah-Hartman wrote: People mark stable patches that way already today with a: Cc: stable sta...@vger.kernel.org # delay for 3.12-rc4 or some such wording. I take those and don't

[PATCH] audit: listen in all network namespaces

2013-07-16 Thread Richard Guy Briggs
Convert audit from only listening in init_net to use register_pernet_subsys() to dynamically manage the netlink socket list. Signed-off-by: Richard Guy Briggs r...@redhat.com --- kernel/audit.c | 64 ++- kernel/audit.h |4 +++ 2 files

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Peter Zijlstra
On Tue, Jul 16, 2013 at 12:57:34PM -0700, Arjan van de Ven wrote: then the question of how much remaining capacity; this is a hard one, and not just for Intel. Almost all mobile devices today are thermally constrained, ARM and Intel alike (at least the higher performance ones)... the curse

Re: splice vs execve lockdep trace.

2013-07-16 Thread Linus Torvalds
On Tue, Jul 16, 2013 at 12:33 PM, Ben Myers b...@sgi.com wrote: And looking more at that, I'm actually starting to think this is an XFS locking problem. XFS really should not call back to splice while holding the inode lock. .. that was misleading, normally inode lock would be i_lock, but

Re: [Intel-gfx] [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Jesse Barnes
On Tue, 16 Jul 2013 10:06:54 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Tue, 16 Jul 2013 11:34:25 +0400 Konstantin Khlebnikov khlebni...@openvz.org wrote: I've tested that patch and it really works for me. If you want change something for other hardware or extend range where

Re: [RFC] sched: Limit idle_balance() when it is being used too frequently

2013-07-16 Thread Peter Zijlstra
On Tue, Jul 16, 2013 at 12:21:03PM -0700, Jason Low wrote: When running benchmarks on an 8 socket 80 core machine with a 3.10 kernel, there can be a lot of contention in idle_balance() and related functions. On many AIM7 workloads in which CPUs go idle very often and idle balance gets called a

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Arjan van de Ven
On 7/16/2013 1:17 PM, Peter Zijlstra wrote: On Tue, Jul 16, 2013 at 12:57:34PM -0700, Arjan van de Ven wrote: then the question of how much remaining capacity; this is a hard one, and not just for Intel. Almost all mobile devices today are thermally constrained, ARM and Intel alike (at least

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread Yinghai Lu
On Tue, Jul 16, 2013 at 11:34 AM, Kees Cook keesc...@chromium.org wrote: Since the IDT is referenced from a fixmap, make sure it is page aligned. Merge with 32-bit one, since it was already aligned to deal with F00F bug. Since bss is cleared before IDT setup, it can live there. This also moves

ext4_da_release_space:1333: ext4_da_release_space: ino 12, to_free 1 with only 0 reserved data blocks

2013-07-16 Thread Dave Jones
I've seen this happen a few times this week.. EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null) EXT4-fs warning (device sdb1): ext4_da_release_space:1333: ext4_da_release_space: ino 12, to_free 1 with only 0 reserved data blocks [ cut here ]

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread Kees Cook
On Tue, Jul 16, 2013 at 1:21 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Jul 16, 2013 at 11:34 AM, Kees Cook keesc...@chromium.org wrote: Since the IDT is referenced from a fixmap, make sure it is page aligned. Merge with 32-bit one, since it was already aligned to deal with F00F bug.

Re: [Ksummit-2013-discuss] When to push bug fixes to mainline

2013-07-16 Thread David Lang
On Tue, 16 Jul 2013, H. Peter Anvin wrote: On 07/16/2013 12:19 AM, David Lang wrote: On Fri, 12 Jul 2013, Willy Tarreau wrote: And maybe in the end, having 1/10 patch cause a regression is not *that* dramatic, and probably less than not fixing the 9 other bugs. In one case we rely on -stable

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread Arjan van de Ven
On 7/16/2013 1:17 PM, Peter Zijlstra wrote: On Tue, Jul 16, 2013 at 12:57:34PM -0700, Arjan van de Ven wrote: then the question of how much remaining capacity; this is a hard one, and not just for Intel. Almost all mobile devices today are thermally constrained, ARM and Intel alike (at least

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 13:28 -0700, Kees Cook wrote: On Tue, Jul 16, 2013 at 1:21 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Jul 16, 2013 at 11:34 AM, Kees Cook keesc...@chromium.org wrote: Since the IDT is referenced from a fixmap, make sure it is page aligned. Merge with 32-bit one,

Re: [PATCH RFC v4] media: OF: add sync-on-green-active property

2013-07-16 Thread Sylwester Nawrocki
Hi Prabhakar, On 07/16/2013 07:19 PM, Prabhakar Lad wrote: From: Lad, Prabhakarprabhakar.cse...@gmail.com This patch adds 'sync-on-green-active' property as part of endpoint property. Signed-off-by: Lad, Prabhakarprabhakar.cse...@gmail.com --- Changes for v4: 1: Fixed review comments

[PATCH 3/6] kconfig/[mn]conf: shorten title in search-box

2013-07-16 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr No need to repeat the 'CONFIG_' string in the title, once is explicit enough. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Cc: Jean Delvare jdelv...@suse.de --- scripts/kconfig/mconf.c | 4 ++--

[PATCH 5/6] kconfig: don't allocate n+1 elements in temporary array

2013-07-16 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr The temporary array that stores the search results is not NULL-terminated, so there is no reason to allocate n+1 elements. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Reviewed-by: Jean Delvare

[PATCH 6/6] kconfig: simplify symbol-search code

2013-07-16 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr There is no need for a double indirection in the temporary array that stores the internediate search results. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Reviewed-by: Jean Delvare jdelv...@suse.de ---

[PATCH 4/6] kconfig: minor style fixes in symbol-search code

2013-07-16 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Two minor style fixes: - no space before/after parenthesis in function definition - no {} for single-line if() And one grammar fix in a comment. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Cc:

[PATCH 2/6] kconfig: avoid multiple calls to strlen

2013-07-16 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Calls to strlen are costly, so avoid calling strln as much as we can. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Cc: Jean Delvare jdelv...@suse.de Reviewed-by: Jean Delvare jdelv...@suse.de ---

[pull request] Pull request for branch yem-kconfig-rc-fixes

2013-07-16 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Hello Michal, Please pull these post-rc1 kconfig cleanups, all after review and comments by Jean: - simplify and cleanup the symbol-search code - better documentation about the symbols ordering in search results - eye-candy in the title of the

[PATCH 1/6] Documentation/kconfig: more concise and straightforward search explanation

2013-07-16 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Re-phrase the explanations on the sorting of search results, in a more concise and complete way. Drop reference to the user's locale when sorting alphabetically, since this is implicit. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E.

Re: splice vs execve lockdep trace.

2013-07-16 Thread Dave Chinner
On Tue, Jul 16, 2013 at 01:18:06PM -0700, Linus Torvalds wrote: On Tue, Jul 16, 2013 at 12:33 PM, Ben Myers b...@sgi.com wrote: And looking more at that, I'm actually starting to think this is an XFS locking problem. XFS really should not call back to splice while holding the inode

Re: [Intel-gfx] [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Daniel Vetter
On Tue, Jul 16, 2013 at 01:19:25PM -0700, Jesse Barnes wrote: On Tue, 16 Jul 2013 10:06:54 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Tue, 16 Jul 2013 11:34:25 +0400 Konstantin Khlebnikov khlebni...@openvz.org wrote: I've tested that patch and it really works for me. If you

Re: 3.10: discard/trim support on md-raid1?

2013-07-16 Thread CoolCold
Neil, I've tryed to look around commit logs but failed to find commit where discard/trim were added. I was looking via http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/drivers/md?id=9f2a940965286754f3a34d5737c3097c05db8725qt=grepq=discard+support , tryed just discard without

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread H. Peter Anvin
The F00F big just means the IDT must be readonly. Steven Rostedt rost...@goodmis.org wrote: On Tue, 2013-07-16 at 13:28 -0700, Kees Cook wrote: On Tue, Jul 16, 2013 at 1:21 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Jul 16, 2013 at 11:34 AM, Kees Cook keesc...@chromium.org wrote:

Re: [RFC][PATCH 0/9] sched: Power scheduler design proposal

2013-07-16 Thread David Lang
On Mon, 15 Jul 2013, Arjan van de Ven wrote: On 7/15/2013 2:03 PM, Peter Zijlstra wrote: Well, if you ever want to go faster there must've been a moment to slow down. Without means and reason to slow down the entire 'can I go fast noaw pls?' thing simply doesn't make sense. I kind of tried

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread Kees Cook
On Tue, Jul 16, 2013 at 1:33 PM, Steven Rostedt rost...@goodmis.org wrote: On Tue, 2013-07-16 at 13:28 -0700, Kees Cook wrote: On Tue, Jul 16, 2013 at 1:21 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Jul 16, 2013 at 11:34 AM, Kees Cook keesc...@chromium.org wrote: Since the IDT is

Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.

2013-07-16 Thread Pravin Shelar
On Tue, Jul 16, 2013 at 12:53 PM, Joseph Salisbury joseph.salisb...@canonical.com wrote: On 07/16/2013 02:29 PM, Pravin Shelar wrote: On Tue, Jul 16, 2013 at 11:09 AM, Joseph Salisbury joseph.salisb...@canonical.com wrote: Hi Pravin, A bug was opened against the Ubuntu kernel[0]. After a

Re: [Intel-gfx] [PATCH] drm/i915: fix long-standing SNB regression in power consumption after resume

2013-07-16 Thread Jesse Barnes
On Tue, 16 Jul 2013 22:43:49 +0200 Daniel Vetter dan...@ffwll.ch wrote: On Tue, Jul 16, 2013 at 01:19:25PM -0700, Jesse Barnes wrote: On Tue, 16 Jul 2013 10:06:54 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Tue, 16 Jul 2013 11:34:25 +0400 Konstantin Khlebnikov

Re: [Ksummit-2013-discuss] [ATTEND] scsi-mq prototype discussion

2013-07-16 Thread Nicholas A. Bellinger
On Sat, 2013-07-13 at 06:53 +, James Bottomley wrote: On Fri, 2013-07-12 at 12:52 +0200, Hannes Reinecke wrote: On 07/12/2013 03:33 AM, Nicholas A. Bellinger wrote: On Thu, 2013-07-11 at 18:02 -0700, Greg KH wrote: On Thu, Jul 11, 2013 at 05:23:32PM -0700, Nicholas A. Bellinger wrote:

Re: splice vs execve lockdep trace.

2013-07-16 Thread Linus Torvalds
On Tue, Jul 16, 2013 at 1:43 PM, Dave Chinner da...@fromorbit.com wrote: Yes - IO is serialised based on the ip-i_iolock, not i_mutex. We don't use i_mutex for many things IO related, and so internal locking is needed to serialise against stuff like truncate, hole punching, etc, that are run

Re: [linux-sunxi] Re: [PATCH 1/2] Initial support for Allwinner's Security ID fuses

2013-07-16 Thread Oliver Schinagl
On 07/16/13 08:41, Greg KH wrote: On Mon, Jul 15, 2013 at 11:16:19PM +0200, Oliver Schinagl wrote: With your latest patches for binary attributes and your blog post, I thought that you want to create your binary attributes before the probe function, to avoid the userspace race. To do that, we

Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

2013-07-16 Thread Yinghai Lu
On Tue, Jul 16, 2013 at 12:40 PM, Kees Cook keesc...@chromium.org wrote: On Tue, Jul 16, 2013 at 12:36 PM, H. Peter Anvin h...@zytor.com wrote: On 07/16/2013 12:31 PM, Kees Cook wrote: Could the first step be documenting the limitation? I've found this patch extremely useful for my case

crypto: ux500: Fix logging, make arrays const, neatening

2013-07-16 Thread Joe Perches
Logging messages without newlines are possibly interleaved with other messages. Add terminating newlines to avoid this. Other miscellaneous changes: Make arrays const to reduce data size Add pr_fmt to prefix pr_level, remove now unused DEV_DBG_NAME Coalesce formats, align arguments Remove

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Sarah Sharp
On Tue, Jul 16, 2013 at 02:22:14PM +0930, Rusty Russell wrote: Linus Torvalds torva...@linux-foundation.org writes: On Mon, Jul 15, 2013 at 12:17 PM, Willy Tarreau w...@1wt.eu wrote: BTW, I was amazed that you managed to get him have a much softer tone inr his last e-mail, you probably

[GIT PULL] Bcache fixes for 3.11

2013-07-16 Thread Kent Overstreet
Hey Jens - I've been busy torture testing and chasing bugs, here's the fruits of my labors. These are all fairly small fixes, some of them quite important: The following changes since commit 8e51e414a3c6d92ef2cc41720c67342a8e2c0bf7: bcache: Use standard utility code (2013-07-01 14:43:53 -0700)

Re: [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread Sarah Sharp
On Tue, Jul 16, 2013 at 11:14:51AM +0200, Olivier Galibert wrote: On Tue, Jul 16, 2013 at 9:32 AM, David Lang da...@lang.hm wrote: On Mon, 15 Jul 2013, Sarah Sharp wrote: The people who want to work together in a civil manner should get together and create a Kernel maintainer's code of

Re: BGRT Pointer in System RAM

2013-07-16 Thread Andy Lutomirski
On Mon, Jul 15, 2013 at 4:24 PM, Andy Lutomirski l...@amacapital.net wrote: On Mon, Jul 15, 2013 at 4:20 PM, Josh Triplett j...@joshtriplett.org wrote: On Mon, Jul 15, 2013 at 04:08:13PM -0700, Andy Lutomirski wrote: On Mon, Jul 15, 2013 at 4:04 PM, Josh Triplett j...@joshtriplett.org wrote:

Re: [RFC] kbuild: Build samples directory with make modules

2013-07-16 Thread Jim Baxter
On 16/07/13 20:37, Sam Ravnborg wrote: On Tue, Jul 16, 2013 at 07:29:50PM +0100, Jim Baxter wrote: If CONFIG_SAMPLES is enabled with any of the sample modules enabled, they are only built if the make command includes uImage and modules (i.e. make uImage modules). With the current location

Re: [Ksummit-2013-discuss] [ATTEND] scsi-mq prototype discussion

2013-07-16 Thread Jens Axboe
On Tue, Jul 16 2013, Nicholas A. Bellinger wrote: On Sat, 2013-07-13 at 06:53 +, James Bottomley wrote: On Fri, 2013-07-12 at 12:52 +0200, Hannes Reinecke wrote: On 07/12/2013 03:33 AM, Nicholas A. Bellinger wrote: On Thu, 2013-07-11 at 18:02 -0700, Greg KH wrote: On Thu, Jul 11,

Re: [LOCKDEP] cpufreq: possible circular locking dependency detected

2013-07-16 Thread Rafael J. Wysocki
On Tuesday, July 16, 2013 08:49:30 PM Srivatsa S. Bhat wrote: On 07/16/2013 04:14 PM, Sergey Senozhatsky wrote: On (07/16/13 14:03), Srivatsa S. Bhat wrote: So here is the solution: On 3.11-rc1, apply these patches in the order mentioned below, and check whether it fixes _all_ problems

Re: [PATCH 0/8] Cpufreq, cpu hotplug, suspend/resume related fixes

2013-07-16 Thread Rafael J. Wysocki
On Tuesday, July 16, 2013 05:15:14 PM Toralf Förster wrote: On 07/12/2013 12:23 AM, Srivatsa S. Bhat wrote: On 07/12/2013 04:03 AM, Rafael J. Wysocki wrote: On Friday, July 12, 2013 03:45:17 AM Srivatsa S. Bhat wrote: Hi, Hi, Commit a66b2e (cpufreq: Preserve sysfs files across

[PATCH] power: new trace event to print device suspend and resume time

2013-07-16 Thread Shuah Khan
A new trace event is added to pm events to print time it takes to suspend and resume a device. It generates trace message that includes device, driver, parent information in addition to the type of pm ops invoked as well as the pm event and error status from the pm ops. Example trace below:

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Linus Torvalds
On Tue, Jul 16, 2013 at 2:08 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: I do, however, object when the verbal abuse shifts from being directed at code to being directed at *people*. For example, Linus chose to curse at Mauro [2] and Rafael [3], rather than their code: Umm. Because

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread Paul E. McKenney
On Tue, Jul 16, 2013 at 10:27:09PM +0400, James Bottomley wrote: On Mon, 2013-07-15 at 15:38 -0700, Linus Torvalds wrote: On Mon, Jul 15, 2013 at 3:08 PM, Steven Rostedt rost...@goodmis.org wrote: Can we please make this into a Kernel Summit discussion. I highly doubt we would solve

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Steven Rostedt
On Tue, 2013-07-16 at 14:08 -0700, Sarah Sharp wrote: Mauro, SHUT THE FUCK UP! How long have you been a maintainer? And you *still* haven't learnt the first rule of kernel maintenance? Shut up, Mauro. And I don't _ever_ want to hear that kind of obvious garbage and idiocy from a kernel

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread Theodore Ts'o
On Tue, Jul 16, 2013 at 02:12:35PM -0700, Sarah Sharp wrote: Your code is crap is considered unprofessional, while Let's leverage my fifth grade nephew's capabilities to assist you in fixing the code is perfectly professional, somehow. That's more often than not an unacceptable attitude in

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Andy Lutomirski
On 07/16/2013 12:50 PM, Serge E. Hallyn wrote: Quoting Al Viro (v...@zeniv.linux.org.uk): On Tue, Jul 16, 2013 at 02:29:20PM -0500, Serge Hallyn wrote: All the files will be owned by host root, so there's no security concern in allowing this. Files owned by root != very bad things can't be

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-07-16 Thread Nicholas A. Bellinger
On Tue, 2013-07-16 at 20:32 +0200, Alexander Gordeev wrote: On Fri, Jul 12, 2013 at 10:20:12PM -0700, Nicholas A. Bellinger wrote: On Fri, 2013-07-12 at 09:46 +0200, Alexander Gordeev wrote: diff --git a/drivers/scsi/scsi-mq.c b/drivers/scsi/scsi-mq.c index ca6ff67..d8cc7a4 100644

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Serge E. Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): On 07/16/2013 12:50 PM, Serge E. Hallyn wrote: Quoting Al Viro (v...@zeniv.linux.org.uk): On Tue, Jul 16, 2013 at 02:29:20PM -0500, Serge Hallyn wrote: All the files will be owned by host root, so there's no security concern in allowing this.

Re: [PATCH] power: new trace event to print device suspend and resume time

2013-07-16 Thread Joe Perches
On Tue, 2013-07-16 at 15:23 -0600, Shuah Khan wrote: A new trace event is added to pm events to print time it takes to suspend and resume a device. It generates trace message that includes device, driver, parent information in addition to the type of pm ops invoked as well as the pm event and

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Serge E. Hallyn
Quoting Serge E. Hallyn (se...@hallyn.com): Quoting Andy Lutomirski (l...@amacapital.net): On 07/16/2013 12:50 PM, Serge E. Hallyn wrote: Quoting Al Viro (v...@zeniv.linux.org.uk): On Tue, Jul 16, 2013 at 02:29:20PM -0500, Serge Hallyn wrote: All the files will be owned by host root,

Re: [alsa-devel] [BUG] 3.10.[01] modprobe snd-... hangs

2013-07-16 Thread Philipp Matthias Hahn
Hello, On Tue, Jul 16, 2013 at 12:29:38PM +0200, Takashi Iwai wrote: Could you check the patch below? It makes the code path involving with request_module asynchronous. With the patch applied all modules were loaded successfully: no hanging modprobe processes anymore. Thank you for your

Re: [PATCH 1/3] mm: shift VM_GROWS* check from mmap_region() to do_mmap_pgoff()

2013-07-16 Thread Andrew Morton
On Sun, 14 Jul 2013 18:54:51 +0200 Oleg Nesterov o...@redhat.com wrote: mmap() doesn't allow the non-anonymous mappings with VM_GROWS* bit set. In particular this means that mmap_region()-vma_merge(file, vm_flags) must always fail if vm_flags VM_GROWS. So it does not make sense to check

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Andy Lutomirski
On Tue, Jul 16, 2013 at 2:37 PM, Serge E. Hallyn se...@hallyn.com wrote: Quoting Andy Lutomirski (l...@amacapital.net): On 07/16/2013 12:50 PM, Serge E. Hallyn wrote: Quoting Al Viro (v...@zeniv.linux.org.uk): On Tue, Jul 16, 2013 at 02:29:20PM -0500, Serge Hallyn wrote: All the files will

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Rafael J. Wysocki
On Tuesday, July 16, 2013 02:23:46 PM Linus Torvalds wrote: On Tue, Jul 16, 2013 at 2:08 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: I do, however, object when the verbal abuse shifts from being directed at code to being directed at *people*. For example, Linus chose to curse

Re: [Update][PATCH] ACPI / video / i915: Remove ACPI backlight if firmware expects Windows 8

2013-07-16 Thread Rafael J. Wysocki
On Tuesday, July 16, 2013 05:08:16 PM Matthew Garrett wrote: On Tue, 2013-07-16 at 17:32 +0400, Igor Gnatenko wrote: Hmm. I found regression in user-space. In GNOME (maybe and other DEs) we no longer see switch status of backlight. Yeah, I can duplicate that. Rafael, we have to call

Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

2013-07-16 Thread Yinghai Lu
On Tue, Jul 16, 2013 at 12:41 PM, H. Peter Anvin h...@zytor.com wrote: On 07/16/2013 12:40 PM, Kees Cook wrote: I think setting up a dynamic #PF handler is the right thing for the decompressor, we already did for the kernel proper. I'm not sure how to accomplish this yet. I'm still trying to

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Serge E. Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): On Tue, Jul 16, 2013 at 2:37 PM, Serge E. Hallyn se...@hallyn.com wrote: Quoting Andy Lutomirski (l...@amacapital.net): On 07/16/2013 12:50 PM, Serge E. Hallyn wrote: Quoting Al Viro (v...@zeniv.linux.org.uk): On Tue, Jul 16, 2013 at

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread H. Peter Anvin
On 07/16/2013 01:47 PM, Kees Cook wrote: On Tue, Jul 16, 2013 at 1:33 PM, Steven Rostedt rost...@goodmis.org wrote: On Tue, 2013-07-16 at 13:28 -0700, Kees Cook wrote: On Tue, Jul 16, 2013 at 1:21 PM, Yinghai Lu ying...@kernel.org wrote: On Tue, Jul 16, 2013 at 11:34 AM, Kees Cook

Re: [PATCH] power: new trace event to print device suspend and resume time

2013-07-16 Thread Shuah Khan
On 07/16/2013 03:39 PM, Joe Perches wrote: On Tue, 2013-07-16 at 15:23 -0600, Shuah Khan wrote: A new trace event is added to pm events to print time it takes to suspend and resume a device. It generates trace message that includes device, driver, parent information in addition to the type of

Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

2013-07-16 Thread H. Peter Anvin
On 07/16/2013 02:03 PM, Yinghai Lu wrote: Other way could be: Detect if it get into misc.c directly from arch/x86/boot/compressed/head_64.S::startup_64. that is from 64bit bootloader. others go through startup_32 should be 32bit bootloader. If it with 64bit boot loader path, You can

Re: [PATCH RFC] allow some kernel filesystems to be mounted in a user namespace

2013-07-16 Thread Andy Lutomirski
On Tue, Jul 16, 2013 at 3:03 PM, Serge E. Hallyn se...@hallyn.com wrote: Quoting Andy Lutomirski (l...@amacapital.net): On Tue, Jul 16, 2013 at 2:37 PM, Serge E. Hallyn se...@hallyn.com wrote: Quoting Andy Lutomirski (l...@amacapital.net): On 07/16/2013 12:50 PM, Serge E. Hallyn wrote:

Re: next-20130709 DMAR issues

2013-07-16 Thread Valdis . Kletnieks
On Fri, 12 Jul 2013 14:14:20 +0200, Ingo Molnar said: (Cc:-ed a few DMAR people.) Sorry for the slow reply, missed this in the lkml firehose. For whatever reason, the damned problem seems to have evaporated: % egrep -i 'dmar|Linux vers' /var/log/messages-20130714 Jul 11 18:54:15

3.11.0-rc1: kernel BUG at mm/migrate.c:458 in page migration

2013-07-16 Thread Naoya Horiguchi
Hi, v3.11-rc1 kernel triggers VM_BUG_ON(PageUnevictable(page)) in migrate_page_copy when I do page migration like the following: $ sleep 100 $ migratepages $(pgrep sleep) 0 1 kernel BUG at /src/linux-dev/mm/migrate.c:458! invalid opcode: [#1] SMP Modules linked in: ebtable_nat

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Willy Tarreau
On Tue, Jul 16, 2013 at 02:08:56PM -0700, Sarah Sharp wrote: Rusty hit the nail on the head here. I want everyone (including Linus) to be harsh with code but gentle with people. Just as a side note Sarah, in some cultures/languages, I want is extremely impolite, almost insulting to your

Re: [ 00/19] 3.10.1-stable review

2013-07-16 Thread Linus Torvalds
On Tue, Jul 16, 2013 at 2:58 PM, Rafael J. Wysocki r...@sisk.pl wrote: In fact, I didn't say what I really wanted to say in that reply to the reporter and that evidently confused you, which only made me think it was better to be more careful about sending replies to regression reports when

Re: [PATCH v5] x86: make sure IDT is page aligned

2013-07-16 Thread Yinghai Lu
On Tue, Jul 16, 2013 at 3:03 PM, H. Peter Anvin h...@zytor.com wrote: On 07/16/2013 01:47 PM, Kees Cook wrote: The other IDTs don't need to be page aligned, but I marked them that way in the clean up because it seemed sensible to define these tables similarly. I can change the others to be

Re: [PATCH/v2] [trivial] treewide: Fix typo in printk

2013-07-16 Thread Randy Dunlap
On 07/16/13 12:37, Masanari Iida wrote: Correct spelling typo in printk Signed-off-by: Masanari Iida standby2...@gmail.com Acked-by: Randy Dunlap rdun...@infradead.org Thanks. --- drivers/crypto/ux500/hash/hash_core.c | 2 +-

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML (was: [ 00/19] 3.10.1-stable review)

2013-07-16 Thread NeilBrown
On Tue, 16 Jul 2013 22:27:09 +0400 James Bottomley james.bottom...@hansenpartnership.com wrote: On Mon, 2013-07-15 at 15:38 -0700, Linus Torvalds wrote: On Mon, Jul 15, 2013 at 3:08 PM, Steven Rostedt rost...@goodmis.org wrote: Can we please make this into a Kernel Summit discussion. I

[PATCH] BGRT: Don't ioremap if image address is in System RAM (was: Re: BGRT Pointer in System RAM)

2013-07-16 Thread Parag Warudkar
On Mon, Jul 15, 2013 at 8:00 PM, Parag Warudkar parag.l...@gmail.com wrote: On Mon, Jul 15, 2013 at 7:56 PM, Parag Warudkar parag.l...@gmail.com wrote: On Mon, Jul 15, 2013 at 7:04 PM, Josh Triplett j...@joshtriplett.org wrote: We do need to handle the case of a valid pointer into memory that

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