Re: [RFC PATCH 3/4] kmod - add call_usermodehelper_ns() helper

2014-12-01 Thread Benjamin Coddington
n Tue, 25 Nov 2014, Eric W. Biederman wrote: Hi, Ian Kent ik...@redhat.com writes: On Tue, 2014-11-25 at 17:19 -0600, Eric W. Biederman wrote: Ian Kent ik...@redhat.com writes: On Tue, 2014-11-25 at 16:23 -0600, Eric W. Biederman wrote: Oleg Nesterov o...@redhat.com writes:

Re: panic in skb_push via sctp

2014-12-01 Thread Daniel Borkmann
On 12/01/2014 08:17 PM, Robert Święcki wrote: Not sure, but I run it inside a pid/ipc/uts/etc/user-namespaces where it operates with a full set of capabilities, so most of the SOCK_RAW and tunnel-like-creating calls succeed, so maybe.. Ok thanks, can you post your .config?

Re: [PATCH] x86, microcode: Don't initialize microcode code on paravirt

2014-12-01 Thread Borislav Petkov
On Mon, Dec 01, 2014 at 04:27:44PM -0500, Boris Ostrovsky wrote: Paravirtual guests are not expected to load microcode into processors and therefore it is not necessary to initialize microcode loading logic. In fact, under certain circumstances initializing this logic may cause the guest to

Re: [PATCH] arch: uapi: asm: mman.h: Support MADV_FREE for madvise()

2014-12-01 Thread Carlos O'Donell
On Mon, Dec 1, 2014 at 4:35 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Mon, Dec 1, 2014 at 9:52 PM, Max Filippov jcmvb...@gmail.com wrote: On Mon, Dec 1, 2014 at 11:43 PM, Chen Gang gang.chen.5...@gmail.com wrote: At present, kernel supports madvise(MADV_FREE), so can benefit to all

Re: [PATCH 1/2 V6] intel_pstate: skip this driver if Sun server has _PPC method

2014-12-01 Thread Linda Knippers
On 12/1/2014 10:11 AM, Dirk Brandewie wrote: On 11/30/2014 06:32 PM, Ethan Zhao wrote: Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao

Re: [PATCH] x86 / PM: Replace CONFIG_PM_RUNTIME in io_apic.c

2014-12-01 Thread Rafael J. Wysocki
On Monday, December 01, 2014 11:04:47 AM Thomas Gleixner wrote: On Sat, 29 Nov 2014, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so

Re: [PATCH 3/3] x86_64,vsyscall: Make vsyscall emulation configurable

2014-12-01 Thread Konrad Rzeszutek Wilk
On Wed, Oct 29, 2014 at 02:30:29PM -0700, Andy Lutomirski wrote: On Oct 29, 2014 1:00 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Tue, Oct 28, 2014 at 11:09:53AM -0700, Andy Lutomirski wrote: On Tue, Oct 28, 2014 at 10:57 AM, Josh Triplett j...@joshtriplett.org wrote:

Re: [Xen-devel] [PATCH v4 7/7] xen/pciback: Restore configuration space when detaching from a guest.

2014-12-01 Thread Konrad Rzeszutek Wilk
On Mon, Dec 01, 2014 at 02:14:56PM +, David Vrabel wrote: On 21/11/14 22:17, Konrad Rzeszutek Wilk wrote: The commit xen/pciback: Don't deadlock when unbinding. was using the version of pci_reset_function which would lock the device lock. That is no good as we can dead-lock. As such we

Re: [PATCH 1/3] nilfs2: avoid duplicate segment construction for fsync()

2014-12-01 Thread Ryusuke Konishi
On Tue, 2 Dec 2014 01:41:45 +0900, Ryusuke Konishi wrote: From: Andreas Rohner andreas.roh...@gmx.net This patch removes filemap_write_and_wait_range() from nilfs_sync_file(), because it triggers a data segment construction by calling nilfs_writepages() with WB_SYNC_ALL. A data segment

Re: [PATCH v12 09/11] pvqspinlock, x86: Add para-virtualization support

2014-12-01 Thread Konrad Rzeszutek Wilk
On Tue, Nov 25, 2014 at 07:33:58PM -0500, Waiman Long wrote: On 10/27/2014 02:02 PM, Konrad Rzeszutek Wilk wrote: On Mon, Oct 27, 2014 at 01:38:20PM -0400, Waiman Long wrote: My concern is that spin_unlock() can be called in many places, including loadable kernel modules. Can the

Re: [PATCH v13 09/11] pvqspinlock, x86: Add para-virtualization support

2014-12-01 Thread Konrad Rzeszutek Wilk
On Wed, Oct 29, 2014 at 04:19:09PM -0400, Waiman Long wrote: This patch adds para-virtualization support to the queue spinlock code base with minimal impact to the native case. There are some minor code changes in the generic qspinlock.c file which should be usable in other architectures. The

Re: [Update 2x][PATCH] USB / PM: Drop CONFIG_PM_RUNTIME from the USB core

2014-12-01 Thread Rafael J. Wysocki
On Sunday, November 30, 2014 06:53:36 PM Greg Kroah-Hartman wrote: On Mon, Dec 01, 2014 at 02:12:51AM +0100, Rafael J. Wysocki wrote: On Sunday, November 30, 2014 10:45:39 AM Alan Stern wrote: On Sat, 29 Nov 2014, Rafael J. Wysocki wrote: From: Rafael J. Wysocki

Re: [PATCH v10 0/4] This suspend patch is only support cut off the power of cpu and some external

2014-12-01 Thread Doug Anderson
by type echo mem /sys/power/state, vdd_cpu is about 0mv by measuring, so it can be determined in sleep mode, then press power button to wakeup it. I tested this on top of today's linux-next (next-20141201) and it suspends, but doesn't wake up from any of the button presses. What wakeup

Re: [PATCH 2/3] x86, swiotlb: Try coherent allocations with __GFP_NOWARN

2014-12-01 Thread Konrad Rzeszutek Wilk
On Fri, Nov 28, 2014 at 12:29:08PM +0100, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de When we boot a kdump kernel in high memory, there is by default only 72MB of low memory available. The swiotlb code takes 64MB of it (by default) so that there are only 8MB left to allocate

Re: [PATCH 1/3] swiotlb: Warn on allocation failure in swiotlb_alloc_coherent

2014-12-01 Thread Konrad Rzeszutek Wilk
On Fri, Nov 28, 2014 at 12:29:07PM +0100, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de Print a warning when all allocation tries have been failed and the function is about to return NULL. This prepares for calling the function with __GFP_NOWARN to suppress allocation failure

Re: [PATCH 1/1] x86, ticketlock: spin_unlock_wait() can livelock

2014-12-01 Thread Oleg Nesterov
On 12/01, Linus Torvalds wrote: Can you point to the report that you think this might be the cause of? Please look at https://bugzilla.redhat.com/show_bug.cgi?id=1128995 but let me repeat, so far this is just my speculation. Plus this is the old rhel6 kernel. Oleg. -- To unsubscribe from

Re: [Xen-devel] [PATCH v4 04/10] x86: paravirt: Wrap initialization of set_iopl_mask in a macro

2014-12-01 Thread Konrad Rzeszutek Wilk
On Sun, Nov 02, 2014 at 09:32:20AM -0800, Josh Triplett wrote: This will allow making set_iopl_mask optional later. Signed-off-by: Josh Triplett j...@joshtriplett.org Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/include/asm/paravirt_types.h | 1 +

Re: [PATCH] x86, microcode: Don't initialize microcode code on paravirt

2014-12-01 Thread Paolo Bonzini
On 01/12/2014 22:57, Konrad Rzeszutek Wilk wrote: On Mon, Dec 01, 2014 at 04:27:44PM -0500, Boris Ostrovsky wrote: Paravirtual guests are not expected to load microcode into processors and therefore it is not necessary to initialize microcode loading logic. CC-ing the KVM folks since they

[PATCH] Documentation/email-clients.txt: add info about Claws Mail

2014-12-01 Thread Richard Leitner
Claws Mail GUI client works when Auto wrapping is disabled. Signed-off-by: Richard Leitner d...@g0hl1n.net --- Documentation/email-clients.txt | 9 + 1 file changed, 9 insertions(+) diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt index 9af538be..1f8929e

Re: [PATCH] x86, microcode: Don't initialize microcode code on paravirt

2014-12-01 Thread Konrad Rzeszutek Wilk
On Mon, Dec 01, 2014 at 04:27:44PM -0500, Boris Ostrovsky wrote: Paravirtual guests are not expected to load microcode into processors and therefore it is not necessary to initialize microcode loading logic. CC-ing the KVM folks since they use the paravirt interface too. In fact, under

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Stefan Agner
On 2014-12-01 18:42, Guenter Roeck wrote: On Mon, Dec 01, 2014 at 09:38:09AM -0800, Feng Kan wrote: On Mon, Dec 1, 2014 at 9:29 AM, Stefan Agner ste...@agner.ch wrote: On 2014-12-01 18:15, Feng Kan wrote: On Mon, Dec 1, 2014 at 9:03 AM, Stefan Agner ste...@agner.ch wrote: This patch adds

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Mon, Dec 1, 2014 at 10:11 AM, Hans Verkuil hverk...@xs4all.nl wrote: Hi all, Thanks for the patch, review comments are below. For the next version I would appreciate if someone can test this driver with the latest v4l2-compliance from the v4l-utils git

Re: [PATCH 1/2] ASoC: rt5677: Add ACPI device probing

2014-12-01 Thread Mark Brown
On Mon, Dec 01, 2014 at 11:16:31PM +0100, Rafael J. Wysocki wrote: On Monday, December 01, 2014 05:51:00 PM Mark Brown wrote: The dream here is that people working on building systems, people working on Windows drivers and people working on Linux drivers will at some point be able to

Re: [PATCH v10 4/4] ARM: dts: rockchip: add suspend settings for rk3288-evb-rk808

2014-12-01 Thread Doug Anderson
Chris, On Mon, Dec 1, 2014 at 12:52 AM, Chris Zhong z...@rock-chips.com wrote: Add suspend-voltages and necessary pin-states for suspend on rk3288-evb-rk808 boards. global_pwroff would be pulled high when RK3288 entering suspend, this pin is a sleep signal for RK808, so RK808 could goto sleep

Re: [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files

2014-12-01 Thread Rafael J. Wysocki
On Monday, December 01, 2014 10:21:54 AM Geert Uytterhoeven wrote: On Sat, Nov 29, 2014 at 2:03 AM, Rafael J. Wysocki r...@rjwysocki.net wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com It is not valid to select CONFIG_PM directly without selecting CONFIG_PM_SLEEP or

Re: [PATCH 1/1] x86, ticketlock: spin_unlock_wait() can livelock

2014-12-01 Thread Linus Torvalds
On Mon, Dec 1, 2014 at 2:09 PM, Oleg Nesterov o...@redhat.com wrote: Please look at https://bugzilla.redhat.com/show_bug.cgi?id=1128995 Heh. That's a RH-only bugzilla, I'm not authorized to see it. Linus -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [Nouveau] [RESEND V2 PATCH 1/3] soc/tegra: fuse: export tegra_sku_info for module use

2014-12-01 Thread Ben Skeggs
On Mon, Dec 1, 2014 at 8:01 PM, Thierry Reding thierry.red...@gmail.com wrote: I think the subject doesn't need for module use because that's implicit in exporting a symbol. On Fri, Nov 28, 2014 at 07:12:58PM +0800, Vince Hsu wrote: Some Tegra drivers might be complied as kernel modules, and

Re: [PATCH] media: platform: add VPFE capture driver support for AM437X

2014-12-01 Thread Prabhakar Lad
Hi Hans, On Mon, Dec 1, 2014 at 11:00 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 12/01/2014 11:11 AM, Hans Verkuil wrote: Hi all, Thanks for the patch, review comments are below. For the next version I would appreciate if someone can test this driver with the latest v4l2-compliance from

RE: [PATCH 1/3 v4] drivers/bus: Added Freescale Management Complex APIs

2014-12-01 Thread Stuart Yoder
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, November 27, 2014 8:30 AM To: Rivera Jose-B46482; gre...@linuxfoundation.org; a...@arndb.de; linux-kernel@vger.kernel.org Cc: Yoder Stuart-B08248; Phillips Kim-R1AAHA; Wood Scott-B07421; Hamciuc

Re: [PATCH] x86, microcode: Don't initialize microcode code on paravirt

2014-12-01 Thread Boris Ostrovsky
On 12/01/2014 05:00 PM, Borislav Petkov wrote: On Mon, Dec 01, 2014 at 04:27:44PM -0500, Boris Ostrovsky wrote: Paravirtual guests are not expected to load microcode into processors and therefore it is not necessary to initialize microcode loading logic. In fact, under certain circumstances

Re: [PATCH] x86, microcode: Don't initialize microcode code on paravirt

2014-12-01 Thread Borislav Petkov
On Mon, Dec 01, 2014 at 11:12:38PM +0100, Paolo Bonzini wrote: We also do not want to load microcode. :) Thanks for the heads-up. You don't need to :P -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line

[PATCH 0/2] [media] mn88473: Delete an unnecessary check

2014-12-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 23:16:34 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (2): Deletion of an unnecessary check before the function call release_firmware

[PATCH 1/2] [media] mn88473: Deletion of an unnecessary check before the function call release_firmware

2014-12-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 22:55:29 +0100 The release_firmware() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH 1/2] ASoC: rt5677: Add ACPI device probing

2014-12-01 Thread Rafael J. Wysocki
On Monday, December 01, 2014 10:19:07 PM Mark Brown wrote: On Mon, Dec 01, 2014 at 11:16:31PM +0100, Rafael J. Wysocki wrote: On Monday, December 01, 2014 05:51:00 PM Mark Brown wrote: The dream here is that people working on building systems, people working on Windows drivers and

Re: [PATCH] Documentation/email-clients.txt: add info about Claws Mail

2014-12-01 Thread Jonathan Corbet
On Mon, 1 Dec 2014 23:02:08 +0100 Richard Leitner d...@g0hl1n.net wrote: Claws Mail GUI client works when Auto wrapping is disabled. Interesting, I've sent an awful lot of patches with claws and I have wrapping (a useful feature) enabled. I can't see it being a problem unless you're writing

Re: [PATCH 3/3] thermal: of: notify sensor driver on trip updates

2014-12-01 Thread navneet kumar
On 12/01/2014 01:23 PM, Eduardo Valentin wrote: * PGP Signed by an unknown key On Mon, Dec 01, 2014 at 12:45:52PM -0800, navneet kumar wrote: Hi Eduardo, On 11/27/2014 06:32 AM, Eduardo Valentin wrote: Old Signed by an unknown key Hello Navneet, On Wed, Nov 26, 2014 at 05:16:29PM

Re: [PATCH V5 1/1] perf tool:perf diff support for different binaries

2014-12-01 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 21, 2014 at 10:55:48AM -0500, kan.li...@intel.com escreveu: From: Kan Liang kan.li...@intel.com Currently, the perf diff only works with same binaries. That's because it compares the symbol start address. It doesn't work if the perf.data comes from different binaries. This patch

Re: [PATCH v2 1/3] power: reset: read priority from device tree

2014-12-01 Thread Guenter Roeck
On Mon, Dec 01, 2014 at 11:18:47PM +0100, Stefan Agner wrote: On 2014-12-01 18:42, Guenter Roeck wrote: On Mon, Dec 01, 2014 at 09:38:09AM -0800, Feng Kan wrote: On Mon, Dec 1, 2014 at 9:29 AM, Stefan Agner ste...@agner.ch wrote: On 2014-12-01 18:15, Feng Kan wrote: On Mon, Dec 1, 2014

Re: [Xen-devel] [PATCH] xen: privcmd: schedule() after private hypercall when non CONFIG_PREEMPT

2014-12-01 Thread Luis R. Rodriguez
On Mon, Dec 01, 2014 at 06:16:28PM +, David Vrabel wrote: On 01/12/14 16:19, Luis R. Rodriguez wrote: On Mon, Dec 01, 2014 at 03:54:24PM +, David Vrabel wrote: On 01/12/14 15:44, Luis R. Rodriguez wrote: On Mon, Dec 1, 2014 at 10:18 AM, David Vrabel david.vra...@citrix.com wrote:

[PATCH 2/2] [media] mn88473: One function call less in mn88473_init() after error detection

2014-12-01 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 23:15:20 +0100 The release_firmware() function was called by the mn88473_init() function even if a previous function call request_firmware failed. This implementation detail could be improved by the introduction of another

Re: [PATCH] x86, microcode: Don't initialize microcode code on paravirt

2014-12-01 Thread Borislav Petkov
On Mon, Dec 01, 2014 at 05:31:56PM -0500, Boris Ostrovsky wrote: I think so. The problem we have now is __pa() macro that we only use on 32-bit. I'll queue this for overnight tests to make sure and if it indeed works then 3.19 should be fine. Cool, thanks. I'd still take your patch for 3.19

Re: [PATCH 0/8] perf buildid-cache: Add clean command

2014-12-01 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 01, 2014 at 08:06:21PM +0100, Jiri Olsa escreveu: hi, adding 'perf buildid-cache clean' command to allow removal files from '~/.debug` cache plus other fixes. Basically the clean command allows to display/remove cache files/sizes like: Display cache files older than 3 days:

Re: [PATCH v2 2/2] exit: pidns: fix/update the comments in zap_pid_ns_processes()

2014-12-01 Thread Andrew Morton
On Thu, 27 Nov 2014 00:54:37 +0100 Oleg Nesterov o...@redhat.com wrote: The comments in zap_pid_ns_processes() are not clear, we need to explain how this code actually works. Could we please get some documentation for PIDNS_HASH_ADDING? What it does, what is the protocol for handling it, etc?

Re: PROBLEM: [Launchpad #1396889] [Lenovo ThinkPad T400] kexec reboot fails

2014-12-01 Thread MegaBrutal
2014-12-01 7:32 GMT+01:00 MegaBrutal megabru...@gmail.com: [X.] Other notes, patches, fixes, workarounds: Downstream report (Ubuntu Launchpad): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396889 With kernel bisection, I've found, the first bad commit is

Re: [GIT PULL] Keyrings ( NFS) fixes

2014-12-01 Thread James Morris
On Mon, 1 Dec 2014, David Howells wrote: Hi James, Can you pass these patches on to Linus please? The first one fixes the handling of maximum buffer size for key descriptions, fixing the size at 4095 + NUL char rather than whatever PAGE_SIZE happens to be and permits you to read back the

Re: [Update][PATCH 4/4] PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI core

2014-12-01 Thread Bjorn Helgaas
On Thu, Nov 27, 2014 at 3:41 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: PCI / PM: Drop CONFIG_PM_RUNTIME from the PCI core After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set

Re: [PATCH] ARM: rockchip: Convert resume code to C

2014-12-01 Thread Russell King - ARM Linux
On Mon, Dec 01, 2014 at 11:21:34AM -0800, Doug Anderson wrote: We convert the existing assembly resume code into C as proof that this works and to prepare for linking in SDRAM reinit code. ... base my patch atop them. Why? That's a very good question...

Re: [rfc patch] mm: protect set_page_dirty() from ongoing truncation

2014-12-01 Thread Johannes Weiner
On Wed, Nov 26, 2014 at 02:00:06PM -0800, Andrew Morton wrote: On Tue, 25 Nov 2014 14:48:41 -0500 Johannes Weiner han...@cmpxchg.org wrote: The same btw applies for the page_mkwrite case: how is mapping safe to pass to balance_dirty_pages() after unlocking page table and page? I'm not

RE: [PATCH 1/3 v4] drivers/bus: Added Freescale Management Complex APIs

2014-12-01 Thread Stuart Yoder
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, November 27, 2014 10:14 AM To: Rivera Jose-B46482; gre...@linuxfoundation.org; a...@arndb.de; linux-kernel@vger.kernel.org Cc: Yoder Stuart-B08248; Phillips Kim-R1AAHA; Wood Scott-B07421; Hamciuc

Re: [PULL] seccomp update (next)

2014-12-01 Thread James Morris
On Mon, 1 Dec 2014, Kees Cook wrote: On Thu, Nov 27, 2014 at 3:37 PM, James Morris jmor...@namei.org wrote: On Wed, 26 Nov 2014, Kees Cook wrote: That would be because your tree is based on v3.17 and Kees' is based on v3.18-rc6 ... James, I can base on whatever you like. I can do

Re: [PATCH] ARM: zynq: DT: Add USB to device tree

2014-12-01 Thread Sören Brinkmann
On Mon, 2014-12-01 at 01:24PM -0800, Sören Brinkmann wrote: On Mon, 2014-12-01 at 09:26PM +0100, Andreas Färber wrote: Hi Sören, Am 01.12.2014 um 19:42 schrieb Soren Brinkmann: Add USB nodes to zc702, zc706 and zed device trees. Signed-off-by: Soren Brinkmann

[patch 1/3] mm: protect set_page_dirty() from ongoing truncation

2014-12-01 Thread Johannes Weiner
Tejun, while reviewing the code, spotted the following race condition between the dirtying and truncation of a page: __set_page_dirty_nobuffers() __delete_from_page_cache() if (TestSetPageDirty(page)) page-mapping = NULL

Re: [Patch v2 2/2] gpio: Document GPIO hogging mechanism

2014-12-01 Thread Benoit Parrot
Alexandre Courbot gnu...@gmail.com wrote on Fri [2014-Nov-28 16:31:19 +0900]: On Fri, Nov 21, 2014 at 8:54 AM, Benoit Parrot bpar...@ti.com wrote: Add GPIO hogging documentation to gpio.txt Signed-off-by: Benoit Parrot bpar...@ti.com --- Changes since v1: * Split the devicetree

Re: [RESEND PATCH nouveau 2/3] volt: allow non-bios voltage scaling

2014-12-01 Thread Martin Peres
On 29/11/2014 09:22, Alexandre Courbot wrote: On Fri, Nov 28, 2014 at 8:12 PM, Vince Hsu vin...@nvidia.com wrote: Signed-off-by: Vince Hsu vin...@nvidia.com Make sure you always write a short summary for your patches, even if the title sounds sufficient. I agree. Something like Move the

[patch 3/3] mm: memory: merge shared-writable dirtying branches in do_wp_page()

2014-12-01 Thread Johannes Weiner
Whether there is a vm_ops-page_mkwrite or not, the page dirtying is pretty much the same. Make sure the page references are the same in both cases, then merge the two branches. It's tempting to go even further and page-lock the !page_mkwrite case, to get it in line with everybody else setting

[patch 2/3] mm: memory: remove -vm_file check on shared writable vmas

2014-12-01 Thread Johannes Weiner
The only way a VMA can have shared and writable semantics is with a backing file. Signed-off-by: Johannes Weiner han...@cmpxchg.org --- mm/memory.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mm/memory.c b/mm/memory.c index 73220eb6e9e3..2a2e3648ed65 100644 ---

Re: PROBLEM: [Launchpad #1396889] [Lenovo ThinkPad T400] kexec reboot fails

2014-12-01 Thread Kees Cook
On Mon, Dec 1, 2014 at 2:45 PM, MegaBrutal megabru...@gmail.com wrote: 2014-12-01 7:32 GMT+01:00 MegaBrutal megabru...@gmail.com: [X.] Other notes, patches, fixes, workarounds: Downstream report (Ubuntu Launchpad): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1396889 With kernel

Re: [RESEND PATCH nouveau 3/3] volt: add support for GK20A

2014-12-01 Thread Martin Peres
On 28/11/2014 12:13, Vince Hsu wrote: The voltage value are calculated by the hardware characterized result. Signed-off-by: Vince Hsu vin...@nvidia.com --- Resend this patch with the fuse change and proper patch prefix per Thierry's request. Since the voltage table really is per-chipset, it

Re: [PATCH 5/8 v2] dm: replace memset by memzero_explicit

2014-12-01 Thread Mike Snitzer
On Mon, Dec 01 2014 at 4:03pm -0500, Milan Broz gmazyl...@gmail.com wrote: On 11/30/2014 06:03 PM, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Memset on a local variable may be removed when it is called just before the variable goes out of scope. Using memzero_explicit

Re: [PATCH] ARM: rockchip: Convert resume code to C

2014-12-01 Thread Doug Anderson
Russel, On Mon, Dec 1, 2014 at 2:50 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: What I see here is a load of complexity which achieves very little. The result doesn't get rid of much assembly, but it does make stuff more complicated. And the diffstat speaks volumes about this:

Re: [PULL] seccomp update (next)

2014-12-01 Thread Kees Cook
On Mon, Dec 1, 2014 at 2:56 PM, James Morris jmor...@namei.org wrote: On Mon, 1 Dec 2014, Kees Cook wrote: On Thu, Nov 27, 2014 at 3:37 PM, James Morris jmor...@namei.org wrote: On Wed, 26 Nov 2014, Kees Cook wrote: That would be because your tree is based on v3.17 and Kees' is based on

[PATCH v2 net-next 5/6] samples: bpf: trivial eBPF program in C

2014-12-01 Thread Alexei Starovoitov
this example does the same task as previous socket example in assembler, but this one does it in C. eBPF program in kernel does: /* assume that packet is IPv4, load one byte of IP-proto */ int index = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)); long *value; value

[PATCH v2 net-next 6/6] samples: bpf: large eBPF program in C

2014-12-01 Thread Alexei Starovoitov
sockex2_kern.c is purposefully large eBPF program in C. llvm compiles ~200 lines of C code into ~300 eBPF instructions. It's similar to __skb_flow_dissect() to demonstrate that complex packet parsing can be done by eBPF. Then it uses (struct flow_keys)-dst IP address (or hash of ipv6 dst) to keep

Re: frequent lockups in 3.18rc4

2014-12-01 Thread Paul E. McKenney
On Mon, Dec 01, 2014 at 06:28:31PM -0200, Dâniel Fraga wrote: On Mon, 1 Dec 2014 11:14:31 -0800 Paul E. McKenney paul...@linux.vnet.ibm.com wrote: If it would help to have !CONFIG_TREE_PREEMPT_RCU with CONFIG_PREEMPT=y, please let me know and I will create a patch that forces this. (Not

[PATCH v2 net-next 2/6] net: sock: allow eBPF programs to be attached to sockets

2014-12-01 Thread Alexei Starovoitov
introduce new setsockopt() command: setsockopt(sock, SOL_SOCKET, SO_ATTACH_BPF, prog_fd, sizeof(prog_fd)) where prog_fd was received from syscall bpf(BPF_PROG_LOAD, attr, ...) and attr-prog_type == BPF_PROG_TYPE_SOCKET_FILTER setsockopt() calls bpf_prog_get() which increments refcnt of the

[PATCH v2 net-next 4/6] samples: bpf: elf_bpf file loader

2014-12-01 Thread Alexei Starovoitov
simple .o parser and loader using BPF syscall. .o is a standard ELF generated by LLVM backend It parses elf file compiled by llvm .c-.o - parses 'maps' section and creates maps via BPF syscall - parses 'license' section and passes it to syscall - parses elf relocations for BPF maps and adjusts

[PATCH v2 net-next 1/6] bpf: verifier: add checks for BPF_ABS | BPF_IND instructions

2014-12-01 Thread Alexei Starovoitov
introduce program type BPF_PROG_TYPE_SOCKET_FILTER that is used for attaching programs to sockets where ctx == skb. add verifier checks for ABS/IND instructions which can only be seen in socket filters, therefore the check: if (env-prog-aux-prog_type != BPF_PROG_TYPE_SOCKET_FILTER)

Re: frequent lockups in 3.18rc4

2014-12-01 Thread Chris Mason
I'm not sure if this is related, but running trinity here, I noticed it was stuck at 100% system time on every CPU. perf report tells me we are spending all of our time in spin_lock under the sync system call. I think it's coming from contention in the bdi_queue_work() call from inside

[PATCH v2 net-next 3/6] samples: bpf: example of stateful socket filtering

2014-12-01 Thread Alexei Starovoitov
this socket filter example does: - creates arraymap in kernel with key 4 bytes and value 8 bytes - loads eBPF program which assumes that packet is IPv4 and loads one byte of IP-proto from the packet and uses it as a key in a map r0 = skb-data[ETH_HLEN + offsetof(struct iphdr, protocol)];

[PATCH 2/9] perf stat: Make read_counter work over the thread dimension

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org The read function will be used later for both aggr and cpu counters, so we need to make it work over threads as well. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Andi Kleen a...@linux.intel.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern

[PATCH 9/9] perf report: In branch stack mode use address history sorting

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Andi Kleen a...@linux.intel.com Enable CCKEY_ADDRESS address history sorting with --branch-history. This makes get_srcline display the source lines correctly, otherwise all history entries for a function a hunked into one. Signed-off-by: Andi Kleen a...@linux.intel.com Link:

[PATCH 3/9] perf stat: Use read_counter in read_counter_aggr

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Use the read_counter function as the values retrieval function for aggr counter values thus eliminating the use of __perf_evsel__read function. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Andi Kleen a...@linux.intel.com Cc: Corey Ashford

[PATCH 8/9] perf report: Add --branch-history option

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Andi Kleen a...@linux.intel.com Add a --branch-history option to perf report that changes all the settings necessary for using the branches in callstacks. This is just a short cut to make this nicer to use, it does not enable any functionality by itself. v2: Change sort order. Rename

[PATCH 1/9] perf stat: Use perf_evsel__read_cb in read_counter

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Replacing __perf_evsel__read_on_cpu function with perf_evsel__read_cb function. The read_cb callback will be used later for global aggregation counter values as well. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Andi Kleen a...@linux.intel.com Cc: Corey Ashford

[PATCH 7/9] perf callchain: Support handling complete branch stacks as histograms

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Andi Kleen a...@linux.intel.com Currently branch stacks can be only shown as edge histograms for individual branches. I never found this display particularly useful. This implements an alternative mode that creates histograms over complete branch traces, instead of individual branches,

[PATCH 6/9] perf stat: Add support for snapshot counters

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org The .snapshot file indicates that the provided event value is a snapshot value. Bypassing the delta computation logic for such event. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Andi Kleen a...@linux.intel.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc:

[PATCH 4/9] perf tools: Remove perf_evsel__read interface

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org Removing the perf_evsel__read interfaces because we replaced the only user in the stat command code. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Andi Kleen a...@linux.intel.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern dsah...@gmail.com Cc:

[GIT PULL 0/9] perf/core improvements

2014-12-01 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, on top of one previous pull request. - Arnaldo The following changes since commit 1d9e446b91e182055d874fbb30150aad479a4981: perf tools: Add snapshot format file parsing (2014-11-24 18:03:51 -0300) are available in the git repository at:

[PATCH 5/9] perf stat: Add support for per-pkg counters

2014-12-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@kernel.org The .per-pkg file indicates that all but one value per socket should be discarded. Adding the logic of skipping the rest of the socket once first value was read. Signed-off-by: Jiri Olsa jo...@kernel.org Cc: Andi Kleen a...@linux.intel.com Cc: Corey Ashford

[PATCH v2 net-next 0/6] allow eBPF programs to be attached to sockets

2014-12-01 Thread Alexei Starovoitov
V1-V2: fixed comments in sample code to state clearly that packet data is accessed with LD_ABS instructions and not internal skb fields. Also replaced constants in: BPF_LD_ABS(BPF_B, 14 + 9 /* R0 = ip-proto */), with: BPF_LD_ABS(BPF_B, ETH_HLEN + offsetof(struct iphdr, protocol) /* R0 = ip-proto

Re: [PATCH v8 01/12] Add kernel address sanitizer infrastructure.

2014-12-01 Thread David Rientjes
On Thu, 27 Nov 2014, Andrey Ryabinin wrote: diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt new file mode 100644 index 000..a3a9009 --- /dev/null +++ b/Documentation/kasan.txt @@ -0,0 +1,169 @@ +Kernel address sanitizer + + +0. Overview +===

Re: [PATCH] ARM: zynq: DT: Add USB to device tree

2014-12-01 Thread Andreas Färber
Am 01.12.2014 um 23:56 schrieb Sören Brinkmann: On Mon, 2014-12-01 at 01:24PM -0800, Sören Brinkmann wrote: On Mon, 2014-12-01 at 09:26PM +0100, Andreas Färber wrote: Am 01.12.2014 um 19:42 schrieb Soren Brinkmann: Add USB nodes to zc702, zc706 and zed device trees. Signed-off-by: Soren

[GIT PULL] Keyrings ( NFS) fixes

2014-12-01 Thread David Howells
the mapping. Thanks, David --- The following changes since commit 009d0431c3914de64666bec0d350e54fdd59df6a: Linux 3.18-rc7 (2014-11-30 16:42:27 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/keys-fixes-20141201 for you

Re: [PATCH] ARM: zynq: DT: Add USB to device tree

2014-12-01 Thread Sören Brinkmann
On Tue, 2014-12-02 at 12:14AM +0100, Andreas Färber wrote: Am 01.12.2014 um 23:56 schrieb Sören Brinkmann: On Mon, 2014-12-01 at 01:24PM -0800, Sören Brinkmann wrote: On Mon, 2014-12-01 at 09:26PM +0100, Andreas Färber wrote: Am 01.12.2014 um 19:42 schrieb Soren Brinkmann: Add USB nodes

Re: [PATCH 03/10] mm: Convert p[te|md]_numa users to p[te|md]_protnone_numa

2014-12-01 Thread Benjamin Herrenschmidt
On Fri, 2014-11-21 at 13:57 +, Mel Gorman wrote: void set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte) { -#ifdef CONFIG_DEBUG_VM - WARN_ON(pte_val(*ptep) _PAGE_PRESENT); -#endif + /* +* When handling numa faults, we

Re: [Nouveau] [RESEND PATCH nouveau 3/3] volt: add support for GK20A

2014-12-01 Thread Ben Skeggs
On Tue, Dec 2, 2014 at 9:00 AM, Martin Peres martin.pe...@free.fr wrote: On 28/11/2014 12:13, Vince Hsu wrote: The voltage value are calculated by the hardware characterized result. Signed-off-by: Vince Hsu vin...@nvidia.com --- Resend this patch with the fuse change and proper patch

Re: [PATCH 3/3] x86_64,vsyscall: Make vsyscall emulation configurable

2014-12-01 Thread Andy Lutomirski
On Dec 1, 2014 2:08 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Wed, Oct 29, 2014 at 02:30:29PM -0700, Andy Lutomirski wrote: On Oct 29, 2014 1:00 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Tue, Oct 28, 2014 at 11:09:53AM -0700, Andy Lutomirski wrote:

[PATCH v2 03/16] clk: tz1090: add mux bank clock driver

2014-12-01 Thread James Hogan
Add a clock driver for banks of clock muxes in the TZ1090 SoC. A single 32 bit register controls up to 32 separate clock muxes. The generic clock mux clock operations are wrapped in order to acquire and release the Meta global exclusive lock (__global_lock2) to ensure atomicity with other

[PATCH v2 16/16] metag: tz1090: connect Meta core clock

2014-12-01 Thread James Hogan
Connect the Meta core clock to the root DT node so that the precise rate of the Meta timer can be determined. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mike Turquette mturque...@linaro.org Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland

[PATCH v2 13/16] dt: binding: add binding for TZ1090 PERIP clocks

2014-12-01 Thread James Hogan
The TZ1090 peripheral (PERIP) register region controls a bank of system clock gates for individual peripherals. Create a clock binding for the provider of these clocks, and a header file in dt-bindings/clock/ for enumerating the provided clocks. There is a single input clock, the main system

[PATCH v2 08/16] clk: tz1090: add PDC clock provider driver

2014-12-01 Thread James Hogan
The TZ1090 PDC (PowerDown Controller) has a couple of clock components in order to generate its main 32.768KHz clock which the peripherals in the low power domain run off, especially while the SoC is otherwise powered down. It is generated either directly from the XTAL3 clock or by dividing the

[PATCH v2 12/16] clk: tz1090: add HEP clock provider driver

2014-12-01 Thread James Hogan
The TZ1090 High End Peripheral (HEP) register region controls several clocks for the HEP peripherals. The set up is pretty straight forward, with only a clock gate bank (HEP_CLK_EN) needing to be configured. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Mike Turquette

[PATCH v2 15/16] metag: tz1090: add TZ1090 clocks to device tree

2014-12-01 Thread James Hogan
Enable the common clock framework for the TZ1090 SoC, and add a tz1090_clk device tree file instantiating and connecting together the clock providers. Most of the clock graph is represented, apart from the AFE output clocks which aren't usually of much interest to Linux. These are represented

[PATCH v2 11/16] dt: binding: add binding for TZ1090 HEP clocks

2014-12-01 Thread James Hogan
The TZ1090 High End Peripheral (HEP) register region controls several clocks for the HEP peripherals. Create a clock binding for the provider of these clocks, and a header file in dt-bindings/clock/ for enumerating the provided clocks. There are 3 clocks provided, the 2D block clock, the PDP/PDI

[PATCH v2 14/16] clk: tz1090: add PERIP clock provider driver

2014-12-01 Thread James Hogan
The TZ1090 peripheral (PERIP) register region controls a bank of system clock gates for individual peripherals. The set up is pretty straight forward, with only a clock gate bank (PERIP_CLKEN) needing to be configured, with all the gates using the same external system clock as input.

[PATCH v2 10/16] clk: tz1090: add TOP clock provider driver

2014-12-01 Thread James Hogan
The TZ1090 top level register region controls the majority of the SoC's clocking infrastructure. Most of the complexity comes from the description of the 2 main banks of clock muxes (TOP_CLKSWITCH, TOP_CLKSWITCH2), with 2 banks of clock gates (TOP_CLKENAB, TOP_CLKENAB2) which roughly speaking

[PATCH v2 09/16] dt: binding: add binding for TZ1090 TOP clocks

2014-12-01 Thread James Hogan
The TZ1090 top level register region controls the majority of the SoC's clocking infrastructure. Create a clock binding for the provider of these clocks, and a header file in dt-bindings/clock/ for enumerating the provided clocks. There are a variety of clocks provided, including from muxes,

[PATCH v2 06/16] clk: tz1090: add PLL clock driver

2014-12-01 Thread James Hogan
Add a clock driver for the main PLLs in the TZ1090 SoC, the system PLL and the ADC PLL. The system PLL is used to derive the core Meta clock, the DDR clock, and the system clock. The ADC PLL can be used for various purposes, but is usually used for the pixel clock. The PLL is a True Circuits PLL,

Re: [PATCH] tty: serial: serial-omap: depend on !8250_omap

2014-12-01 Thread Aaro Koskinen
Hi, On Mon, Dec 01, 2014 at 02:09:14PM +, One Thousand Gnomes wrote: Well the nightmare userspace switch from ttyS to ttyO few years ago is something we want to avoid.. I think the best solution would be to make serial-omap.c transparently provide support for ttyO using the new 8250

[PATCH v2 05/16] clk: tz1090: add divider clock driver

2014-12-01 Thread James Hogan
Add a clock driver for dividers in the TZ1090 SoC, which divide an input clock by an integer. The generic divider operations are optionally wrapped in order to acquire and release the Meta global exclusive lock (__global_lock2) to ensure atomicity with other non-Linux cores and threads which may

  1   2   3   4   5   6   7   8   9   10   >