Re: [PATCH v4 1/5] mm: cma: add trace events to debug physically-contiguous memory allocations

2015-03-16 Thread Stefan Strogin
Oops... forgot to cc tracing maintainers. Sorry! On 16/03/15 19:06, Stefan Strogin wrote: Add trace events for cma_alloc() and cma_release(). Signed-off-by: Stefan Strogin stefan.stro...@gmail.com --- include/trace/events/cma.h | 57 ++

Re: [PATCH 1/1] perf, tool: partial callgrap and time support in perf record

2015-03-16 Thread Andi Kleen
On Mon, Mar 16, 2015 at 08:35:30PM +, Liang, Kan wrote: Hi Kan, On Fri, Mar 13, 2015 at 02:18:07AM +, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com When multiple events are sampled it may not be needed to collect callgraphs for all of them. The

Re: Trusted kernel patchset

2015-03-16 Thread One Thousand Gnomes
Anything that encourages deploying systems that can't be upgraded to fix bugs that are discovered is a problem. This is an issue that the Internet of Things folks are just starting to notice, and it's only going to get worse before it gets better. How do you patch bugs on your

[Patch] firmware: dmi_scan: split dmisubsystem from dmi-sysfs

2015-03-16 Thread Ivan Khoronzhuk
Some utils, like dmidecode and smbios, need to access SMBIOS entry table area in order to get information like SMBIOS version, size, etc. Currently it's done via /dev/mem. But for situation when /dev/mem usage is disabled, the utils have to use dmi sysfs instead, which doesn't represent SMBIOS

Re: [PATCH] fstests: generic test for preadv2 behavior on linux

2015-03-16 Thread Andreas Dilger
On Mar 16, 2015, at 12:34 PM, Milosz Tanski mil...@adfin.com wrote: preadv2 is a new syscall introduced that is like preadv2 but with flag Sorry, preadv2 ... is like preadv2? argument. The first use case of this is to let us add a flag to perform a non-blocking file using the page cache.

RE: [PATCH 1/6] Drivers: hv: vmbus: Perform device register in the per-channel work element

2015-03-16 Thread KY Srinivasan
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Monday, March 16, 2015 1:22 PM To: KY Srinivasan Cc: a...@canonical.com; de...@linuxdriverproject.org; o...@aepfle.de; linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/6] Drivers: hv: vmbus: Perform

Re: [PATCH] Revert smc91x: retrieve IRQ and trigger flags in a modern way

2015-03-16 Thread Robert Jarzmik
David Miller da...@davemloft.net writes: From: Robert Jarzmik robert.jarz...@free.fr Date: Thu, 19 Feb 2015 21:48:49 +0100 Linus has submitted the patch [1]. I'll be watching carefully until -rc4 that this is applied. If it's not, I'll reping you to apply this revert. Until then, you can

Re: [PATCH] ARM: amba: Increase number of IRQs

2015-03-16 Thread Scott Branden
Hi Russell, On 15-03-16 02:08 PM, Russell King - ARM Linux wrote: On Mon, Mar 16, 2015 at 11:19:22AM -0700, Scott Branden wrote: The current AMBA bus only allows up to 9 IRQs per device. This is incorrect, as in peripherals like PL330 can have up to 32 IRQs. Increase AMBA_NR_IRQS from 9 to 32.

Re: [PATCH] dts: cubox: Map gpio-keys and pps-gpio to gpio3 8

2015-03-16 Thread George Joseph
On Mon, Mar 16, 2015 at 2:50 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Mon, Mar 16, 2015 at 02:36:41PM -0600, George Joseph wrote: The Cubox has a recessed button between the HDMI and RJ-45 connectors that wasn't mapped in the device tree. Since the button is normally open

[PATCH v7 tip 3/8] tracing: allow BPF programs to call bpf_ktime_get_ns()

2015-03-16 Thread Alexei Starovoitov
bpf_ktime_get_ns() is used by programs to compue time delta between events or as a timestamp Signed-off-by: Alexei Starovoitov a...@plumgrid.com --- include/uapi/linux/bpf.h |1 + kernel/trace/bpf_trace.c | 11 +++ 2 files changed, 12 insertions(+) diff --git

[PATCH v7 tip 8/8] samples: bpf: kmem_alloc/free tracker

2015-03-16 Thread Alexei Starovoitov
One bpf program attaches to kmem_cache_alloc_node() and remembers all allocated objects in the map. Another program attaches to kmem_cache_free() and deletes corresponding object from the map. User space walks the map every second and prints any objects which are older than 1 second. Usage: $

Re: [PATCH -next v2 0/4] mm: replace mmap_sem for mm-exe_file serialization

2015-03-16 Thread Kees Cook
On Sun, Mar 15, 2015 at 10:05 AM, Cyrill Gorcunov gorcu...@gmail.com wrote: On Sun, Mar 15, 2015 at 08:42:05AM -0700, Davidlohr Bueso wrote: Yes, this code needs cleanups, I agree. Does this series makes it better? To me it doesn't, and the diffstat below shows that it blows the

Re: randconfig build error with next-20150316, in samples/kdbus/kdbus-workers

2015-03-16 Thread Michael Ellerman
On Mon, 2015-03-16 at 23:27 +0100, David Herrmann wrote: Hi On Mon, Mar 16, 2015 at 10:12 PM, Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-03-16 at 17:31 +0100, David Herrmann wrote: Hi On Mon, Mar 16, 2015 at 5:22 PM, Jim Davis jim.ep...@gmail.com wrote: Building with

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Rafael J. Wysocki
On Monday, March 16, 2015 08:14:52 PM Hanjun Guo wrote: On 2015年03月14日 05:49, Rafael J. Wysocki wrote: On Friday, March 13, 2015 04:14:29 PM Hanjun Guo wrote: From: Graeme Gregory graeme.greg...@linaro.org ACPI 5.1 does not currently support S states for ARM64 hardware but ACPI code

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-03-16 Thread josh
On Mon, Mar 16, 2015 at 03:14:14PM -0700, Thiago Macieira wrote: On Monday 16 March 2015 14:44:20 Kees Cook wrote: O_CLOEXEC Set the close-on-exec flag on the new file descriptor. See the description of the O_CLOEXEC flag in open(2) for reasons why

Re: [PATCH v3] f2fs: add fast symlink support

2015-03-16 Thread Wanpeng Li
Hi Chao, On Mon, Mar 16, 2015 at 09:03:30PM +0800, Chao Yu wrote: Hi Wanpeng, Jaegeuk, -Original Message- From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] Sent: Friday, March 13, 2015 2:34 PM To: Jaegeuk Kim Cc: Changman Lee; Chao Yu; linux-f2fs-de...@lists.sourceforge.net;

[GIT PULL] KVM fixes for 4.0-rc4

2015-03-16 Thread Marcelo Tosatti
Linus, Please pull from git://git.kernel.org/pub/scm/virt/kvm/kvm.git master To receive the following KVM bug fixes (ARM and x86). Christoffer Dall (1): arm/arm64: KVM: Keep elrsr/aisr in sync with software model Marc Zyngier (3): arm64: KVM: Fix stage-2 PGD allocation to have

Re: [PATCH 2/3] Documentation: devicetree: add binding doc for Broadcom NAND controller

2015-03-16 Thread Brian Norris
On Mon, Mar 16, 2015 at 04:07:51PM -0700, Scott Branden wrote: On 15-03-06 05:18 PM, Brian Norris wrote: Signed-off-by: Brian Norris computersforpe...@gmail.com --- .../devicetree/bindings/mtd/brcmstb_nand.txt | 109 + 1 file changed, 109 insertions(+)

Re: kexec fails if OF_UNITTEST=y (was: Re: [PATCH v2] Removes OF_UNITTEST dependency on OF_DYNAMIC config symbol)

2015-03-16 Thread Rob Herring
On Mon, Mar 16, 2015 at 5:58 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Fri, Jan 23, 2015 at 2:03 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Sun, Jan 11, 2015 at 8:19 AM, Gaurav Minocha gaurav.minocha...@gmail.com wrote: This patch intends to remove the unittests

[LKP] [pci] 38ada4d7c6b: general protection fault: 0000 [#1] SMP

2015-03-16 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git vhost-next commit 38ada4d7c6b416b2c41e67b721ebcfeec89e4751 (pci: disable msi/msix at probe time) +--+++ |

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

2015-03-16 Thread Mario Limonciello
On 03/16/2015 04:07 PM, Benjamin Tissoires wrote: On Mon, Mar 16, 2015 at 4:57 PM, Jason Ekstrand ja...@jlekstrand.net wrote: Yes, that's the gist of it. Mario, you might not have seen the problem because you are not running wayland and/or libinput. The xorg synaptics driver is much more

Re: [RFC, PATCH] pagemap: do not leak physical addresses to non-privileged userspace

2015-03-16 Thread Andy Lutomirski
On Mon, Mar 16, 2015 at 5:49 PM, Mark Seaborn mseab...@chromium.org wrote: On 16 March 2015 at 14:11, Pavel Machek pa...@ucw.cz wrote: On Mon 2015-03-09 23:11:12, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com As pointed by recent post[1] on exploiting

[RFC PATCH v2 1/5] new helper: iov_iter_rw()

2015-03-16 Thread Omar Sandoval
Get either READ or WRITE out of iter-type. Signed-off-by: Omar Sandoval osan...@osandov.com --- Thanks, Al, this is much better. Anything else you'd like me to address for this series? include/linux/uio.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/linux/uio.h

[PATCH v2 0/3] staging: lustre: Fix checkpatch.pl warnings.

2015-03-16 Thread Alberto Pires de Oliveira Neto
Changes since v1: - Put '}' in the next line instead of just insert a space for lproc_fld.c. Alberto Pires de Oliveira Neto (3): staging: lustre: space prohibited between function name and open parenthesis '(' staging: lustre: void function return statements are not generally useful.

[PATCH v2 3/3] staging: lustre: space required after that close brace '}'

2015-03-16 Thread Alberto Pires de Oliveira Neto
This patch fixes checkpatch.pl warning. WARNING: space required after that close brace '}' Signed-off-by: Alberto Pires de Oliveira Neto mrpenguin2...@gmail.com --- drivers/staging/lustre/lustre/fld/lproc_fld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] MIPS: bcm63xx: move bcm63xx_gpio_init() to bcm63xx_register_devices().

2015-03-16 Thread Maxime Bizon
On Monday 16 Mar 2015 à 16:54:54 (+0100), Jonas Gorski wrote: So I don't see how this breaks anything. But for the sake of the argument, let's give it a spin: my mistake, you are right, I completely misread the patch. -- Maxime -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-16 Thread Mathieu Desnoyers
- Original Message - From: Peter Zijlstra pet...@infradead.org To: Mathieu Desnoyers mathieu.desnoy...@efficios.com Cc: linux-kernel@vger.kernel.org, KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com, Steven Rostedt rost...@goodmis.org, Paul E. McKenney paul...@linux.vnet.ibm.com,

RE: [PATCH 0/3] ARM: dts: Define stdout-patch for Exynos Chromebooks

2015-03-16 Thread Kukjin Kim
Javier Martinez Canillas wrote: The kernel can use as the default console a serial port if is defined as stdout device in the Device Tree. This allows a board to be booted without the need of having a console parameter in the kernel command line. This small series add a stdout-path

Re: linux panic on 4.0.0-rc4

2015-03-16 Thread Pranith Kumar
On Mon, Mar 16, 2015 at 7:22 PM, Michael Ellerman m...@ellerman.id.au wrote: The log shows that init is being killed, that's what's causing the panic. The exitcode of init is 0x200, which due to the vagaries of UNIX is I think an exit status of 2 in the common usage. But it suggests that

Re: [PATCH v4 0/5] mm: cma: add some debug information for CMA

2015-03-16 Thread Joonsoo Kim
set is based on next-20150316. It is also available on git: git://github.com/stefanstrogin/linux -b cmainfo-v4 We want an interface to see a list of currently allocated CMA buffers and some useful information about them (like /proc/vmallocinfo but for physically contiguous

linux-next: manual merge of the input tree with the input-current tree

2015-03-16 Thread Stephen Rothwell
Hi Dmitry, Today's linux-next merge of the input tree got a conflict in drivers/input/mouse/synaptics.c between commit dc5465dc8a6d (Input: synaptics - fix middle button on Lenovo 2015 products) from the input-current tree and commit de4e374b401a (Input: synaptics - switch ForcePad detection to

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Hanjun Guo
On 2015/3/17 10:28, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 09:08:45 AM Hanjun Guo wrote: On 2015/3/17 7:15, Rafael J. Wysocki wrote: On Monday, March 16, 2015 08:14:52 PM Hanjun Guo wrote: On 2015年03月14日 05:49, Rafael J. Wysocki wrote: On Friday, March 13, 2015 04:14:29 PM Hanjun

Re: [PATCH kernel v6 29/29] vfio: powerpc/spapr: Support Dynamic DMA windows

2015-03-16 Thread Alex Williamson
On Tue, 2015-03-17 at 12:02 +1100, Alexey Kardashevskiy wrote: On 03/17/2015 06:38 AM, Alex Williamson wrote: On Fri, 2015-03-13 at 19:07 +1100, Alexey Kardashevskiy wrote: This adds create/remove window ioctls to create and remove DMA windows. sPAPR defines a Dynamic DMA windows capability

Re: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Felipe Balbi
On Mon, Mar 16, 2015 at 11:51:15PM -0400, nick wrote: On 2015-03-16 11:37 PM, Peter Chen wrote: Greetings All, I have been getting the below build warnings: drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: drivers/usb/renesas_usbhs/common.c:482:25: warning: cast

Berørte Kære kunde,

2015-03-16 Thread transfer
Ubekymrede. Berørte Kære kunde, Jeg er i kontakt med dig på grund af dette behov og det haster med denne transaktion betyder. De er udenlandske ansvarlige investeringer i Bank of China (ICBC), og jeg var en finansiel rådgiver og indkomst for en privat investor, der har et stort indskud i min

Re: [PATCH] dts: cubox: Map gpio-keys and pps-gpio to gpio3 8

2015-03-16 Thread Russell King - ARM Linux
On Mon, Mar 16, 2015 at 02:36:41PM -0600, George Joseph wrote: The Cubox has a recessed button between the HDMI and RJ-45 connectors that wasn't mapped in the device tree. Since the button is normally open and there's no external pull up/down, that pad (EIM_DA8) can be used for almost

[PATCH 6/6] pmem: Let each device manage private memory region

2015-03-16 Thread Ross Zwisler
From: Boaz Harrosh b...@plexistor.com This patch removes any global memory information. And lets each pmem-device manage it's own memory region. pmem_alloc() Now receives phys_addr and disk_size and will map that region, also pmem_free will do the unmaping. This is so we can support multiple

Re: [PATCH v2 4/9] nbd: Replace kthread_create with kthread_run

2015-03-16 Thread Pavel Machek
On Thu 2015-03-12 14:36:02, Markus Pargmann wrote: kthread_run includes the wake_up_process() call, so instead of kthread_create() followed by wake_up_process() we can use this macro. Signed-off-by: Markus Pargmann m...@pengutronix.de Acked-by: Pavel Machek pa...@ucw.cz -- (english)

Re: [PATCH] HID: sony: Enable Gasia third-party PS3 controllers

2015-03-16 Thread Pavel Machek
On Tue 2015-02-10 09:14:36, Oliver Neukum wrote: On Mon, 2015-02-09 at 20:44 +0200, Lauri Kasanen wrote: On Mon, 09 Feb 2015 11:08:01 +0100 Oliver Neukum oneu...@suse.de wrote: + ret = usb_interrupt_msg(dev, usb_sndintpipe(dev, 0x02), + buf2,

[PATCH 0/6] Add persistent memory driver

2015-03-16 Thread Ross Zwisler
PMEM is a modified version of the Block RAM Driver, BRD. The major difference is that BRD allocates its backing store pages from the page cache, whereas PMEM uses reserved memory that has been ioremapped. One benefit of this approach is that there is a direct mapping between filesystem block

[PATCH 5/6] pmem: Clean up includes

2015-03-16 Thread Ross Zwisler
Signed-off-by: Ross Zwisler ross.zwis...@linux.intel.com Cc: linux-nvd...@lists.01.org Cc: linux-fsde...@vger.kernel.org Cc: ax...@kernel.dk Cc: h...@infradead.org Cc: r...@redhat.com --- drivers/block/pmem.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH v3 3/6] Documentation: DT: Document twl4030-madc-battery bindings

2015-03-16 Thread Dr. H. Nikolaus Schaller
Am 16.03.2015 um 22:20 schrieb Belisko Marek marek.beli...@gmail.com: On Mon, Mar 16, 2015 at 10:05 PM, Pavel Machek pa...@ucw.cz wrote: On Wed 2015-02-04 23:14:32, Marek Belisko wrote: Signed-off-by: Marek Belisko ma...@goldelico.com --- .../bindings/power_supply/twl4030_madc_battery.txt |

[PATCH v7 tip 6/8] samples: bpf: counting example for kfree_skb and write syscall

2015-03-16 Thread Alexei Starovoitov
this example has two probes in one C file that attach to different kprove events and use two different maps. 1st probe is x64 specific equivalent of dropmon. It attaches to kfree_skb, retrevies 'ip' address of kfree_skb() caller and counts number of packet drops at that 'ip' address. User space

Re: [PATCH 06/10] ARM: dts: omap3: Add missing dmas for crypto

2015-03-16 Thread Tony Lindgren
* Pavel Machek pa...@ucw.cz [150228 08:49]: On Thu 2015-02-26 14:49:56, Pali Rohár wrote: This patch adds missing dma DTS definitions for omap aes and sham drivers. Without it kernel drivers do not work. Signed-off-by: Pali Rohár pali.ro...@gmail.com Acked-by: PavelMachek

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-03-16 Thread Thiago Macieira
On Monday 16 March 2015 14:44:20 Kees Cook wrote: O_CLOEXEC Set the close-on-exec flag on the new file descriptor. See the description of the O_CLOEXEC flag in open(2) for reasons why this may be useful. This begs the question: what happens when all

Re: [PATCH] seccomp.2: Explain arch checking, value (non-)truncation, expand example

2015-03-16 Thread Kees Cook
On Mon, Mar 16, 2015 at 11:01 AM, Jann Horn j...@thejh.net wrote: Document some more-or-less surprising things about seccomp. I'm not sure whether changing the example code like that is a good idea - maybe that part of the patch should be left out? Demo code for the X32 issue:

Re: [PATCH 06/13] VFS/namei: new flag to support RCU symlinks: LOOKUP_LINK_RCU.

2015-03-16 Thread Al Viro
On Mon, Mar 16, 2015 at 03:43:20PM +1100, NeilBrown wrote: When we support -follow_link in RCU-walk we will not want to take a reference to the 'struct path *link' passed to follow_link, and correspondingly will not want to drop that reference. As link_path_walk will complete_walk() in the

Re: [PATCH RFC 2/2] x86/fpu: change xsave_user() and xrestore_user() to use __user_insn()

2015-03-16 Thread Quentin Casasnovas
On Sun, Mar 15, 2015 at 05:50:36PM +0100, Oleg Nesterov wrote: Change xsave_user() and xrestore_user() to avoid the (imho) horrible and should-die xstate_fault helper, they both can use __user_insn(). This also removes the memory clobber but I think it was never needed. xrestore_user()

Re: [PATCH 10/13] VFS/namei: handle LOOKUP_RCU in page_follow_link_light.

2015-03-16 Thread Al Viro
On Mon, Mar 16, 2015 at 03:43:20PM +1100, NeilBrown wrote: + char *kaddr; + struct page *page; + struct address_space *mapping = dentry-d_inode-i_mapping; Who said that dentry-d_inode hasn't gone NULL by that point? + nd_terminate_link(kaddr, dentry-d_inode-i_size, PAGE_SIZE

[PATCH v5 03/11] staging: rtl8192e: fix coding style errors (macros in parentheses)

2015-03-16 Thread Mateusz Kulikowski
Fix checkpatch.pl errors 'Macros with complex values should be enclosed in parentheses'. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_HT.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v5 05/11] staging: rtl8192e: fix coding style warnings (printk - netdev_*)

2015-03-16 Thread Mateusz Kulikowski
Use netdev_*, dev_* or pr_* instead of printk where possible. KERN_DEBUG messages are left intact as pr_dbg has different behaviour. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 4 +-

[PATCH v5 08/11] staging: rtl8192e: remove unused macros

2015-03-16 Thread Mateusz Kulikowski
Several (unused) macros were removed from driver. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/dot11d.h| 6 -- drivers/staging/rtl8192e/rtl8192e/rtl_core.h | 4 drivers/staging/rtl8192e/rtl8192e/rtl_dm.h | 8

[PATCH v5 06/11] staging: rtl8192e: remove rtllib_endianfree.h

2015-03-16 Thread Mateusz Kulikowski
rtllib_endianfree.h was not used (only included) Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl819x_Qos.h | 2 - drivers/staging/rtl8192e/rtllib_endianfree.h | 122 --- 2 files changed, 124 deletions(-) delete mode

[PATCH v5 02/11] staging: rtl8192e: fix coding style issues (spaces before semicolon)

2015-03-16 Thread Mateusz Kulikowski
Fix checkpatch.pl warning 'space prohibited before semicolon'. Signed-off-by: Mateusz Kulikowski mateusz.kulikow...@gmail.com --- drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c | 2 +- drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c | 2 +-

Re: [PATCH v3 1/6] staging: rtl8192e: fix coding style issues (merge broken strings)

2015-03-16 Thread Joe Perches
On Mon, 2015-03-16 at 22:57 +0100, Mateusz Kulikowski wrote: On 13.03.2015 01:27, Joe Perches wrote: Another thing you might consider is to change these embedded function names in another patch to use %s: , __func__ RT_TRACE(COMP_ERR,

[PATCH v2 2/3] staging: lustre: void function return statements are not generally useful.

2015-03-16 Thread Alberto Pires de Oliveira Neto
This patch fixes checkpatch.pl warning. WARNING: void function return statements are not generally useful Signed-off-by: Alberto Pires de Oliveira Neto mrpenguin2...@gmail.com --- drivers/staging/lustre/lustre/fld/fld_request.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [GIT PULL] cpuidle: 4.0-rc3 fixes

2015-03-16 Thread Rafael J. Wysocki
On Monday, March 16, 2015 10:24:27 AM Geert Uytterhoeven wrote: Hi Rafael, On Fri, Mar 13, 2015 at 10:56 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, March 13, 2015 06:42:30 PM Daniel Lezcano wrote: this pull request contains a couple of fixes: - Fix the

Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

2015-03-16 Thread Steven Rostedt
[ Removed npig...@kernel.dk as I keep getting bounces from that addr ] On Tue, 17 Mar 2015 01:45:25 + (UTC) Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: - Original Message - From: Peter Zijlstra pet...@infradead.org To: Mathieu Desnoyers

Re: [PATCH RESEND v2] sched/deadline: fix rt runtime corrupt when dl refuse a smaller bandwidth

2015-03-16 Thread Wanpeng Li
Ping Ingo, ;-) On Fri, Mar 13, 2015 at 03:28:00PM +0800, Wanpeng Li wrote: Dl class will refuse the bandwidth being set to some value smaller than the currently allocated bandwidth in any of the root_domains through sched_rt_runtime_us and sched_rt_period_us. RT runtime will be set according to

Re: [PATCH kernel v6 26/29] vfio: powerpc/spapr: Define v2 IOMMU

2015-03-16 Thread Alexey Kardashevskiy
On 03/17/2015 06:45 AM, Alex Williamson wrote: On Fri, 2015-03-13 at 19:07 +1100, Alexey Kardashevskiy wrote: The existing IOMMU requires VFIO_IOMMU_ENABLE call to enable actual use of the container (i.e. call DMA map/unmap) and this is where we check the rlimit for locked pages. It assumes

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Rafael J. Wysocki
On Tuesday, March 17, 2015 10:36:47 AM Hanjun Guo wrote: On 2015/3/17 10:28, Rafael J. Wysocki wrote: On Tuesday, March 17, 2015 09:08:45 AM Hanjun Guo wrote: On 2015/3/17 7:15, Rafael J. Wysocki wrote: On Monday, March 16, 2015 08:14:52 PM Hanjun Guo wrote: On 2015年03月14日 05:49, Rafael

[PATCH] kdbus: fix header guard name

2015-03-16 Thread lucas . de . marchi
From: Lucas De Marchi lucas.demar...@intel.com UAPI headers have a _UAPI_ as prefix, which is removed during headers_install. If it's put as a suffix it will not be removed and will be the only header with UAPI in the header guard macro. Signed-off-by: Lucas De Marchi lucas.demar...@intel.com

[PATCH v3 0/3] replace 'selftest' with 'unittest' and update the document.

2015-03-16 Thread Wang Long
This series patches replace 'selftest' with 'unittest' in the OF unittest, and update the document. the first patch comes from Gaurav Minocha, and i update it. because it can not apply on linux 4.0-rc4 when using 'git am' command. * v3 - v2: - Rebase the patch on 4.0-rc4 -

[PATCH v3 2/3] Documentation: rename of_selftest.txt to of_unittest.txt

2015-03-16 Thread Wang Long
Since the test of the devicetree's OF api use unittest as its name. so we should rename of_selftest.txt to of_unittest.txt. Signed-off-by: Wang Long long.wangl...@huawei.com --- Documentation/devicetree/{of_selftest.txt = of_unittest.txt} | 0 1 file changed, 0 insertions(+), 0 deletions(-)

[PATCH V2 3/4] hugetlbfs: accept subpool min_size mount option and setup accordingly

2015-03-16 Thread Mike Kravetz
Make 'min_size=' be an option when mounting a hugetlbfs. This option takes the same value as the 'size' option. min_size can be specified with specifying size. If both are specified, min_size must be less that or equal to size else the mount will fail. If min_size is specified, then at mount

[PATCH V2 0/4] hugetlbfs: add min_size filesystem mount option

2015-03-16 Thread Mike Kravetz
hugetlbfs allocates huge pages from the global pool as needed. Even if the global pool contains a sufficient number pages for the filesystem size at mount time, those global pages could be grabbed for some other use. As a result, filesystem huge page allocations may fail due to lack of pages.

Re: [2/9] powerpc/hv24x7: Remove unnecessary parameter

2015-03-16 Thread Michael Ellerman
On Tue, 2015-17-02 at 22:00:27 UTC, Sukadev Bhattiprolu wrote: Use pr_notice_ratelimited() to log error messages and remove the 'success_expected' parameter. I don't understand how this is equivalent? The current code uses success_expected to indicate that once it's done the request once and

Re: [RFC, PATCH] pagemap: do not leak physical addresses to non-privileged userspace

2015-03-16 Thread Mark Seaborn
On 16 March 2015 at 14:11, Pavel Machek pa...@ucw.cz wrote: On Mon 2015-03-09 23:11:12, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com As pointed by recent post[1] on exploiting DRAM physical imperfection, /proc/PID/pagemap exposes sensitive information

Re: [PATCH v2 0/7] CLONE_FD: Task exit notification via file descriptor

2015-03-16 Thread Thiago Macieira
On Monday 16 March 2015 16:29:49 j...@joshtriplett.org wrote: A child without CLONE_AUTOREAP should be wait()able. If it gets wait()ed before the clonefd is read, the clonefd() will return a 0 read. If it gets read before wait, then wait() reaps another child or returns -ECHILD. That's

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Hanjun Guo
On 2015/3/17 7:15, Rafael J. Wysocki wrote: On Monday, March 16, 2015 08:14:52 PM Hanjun Guo wrote: On 2015年03月14日 05:49, Rafael J. Wysocki wrote: On Friday, March 13, 2015 04:14:29 PM Hanjun Guo wrote: [...] diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index 074e52b..e8728d7 100644

Re: [PATCH] mm/slub: fix lockups on PREEMPT !SMP kernels

2015-03-16 Thread Joonsoo Kim
Hello, On Fri, Mar 13, 2015 at 03:47:12PM +, Mark Rutland wrote: Commit 9aabf810a67cd97e (mm/slub: optimize alloc/free fastpath by removing preemption on/off) introduced an occasional hang for kernels built with CONFIG_PREEMPT !CONFIG_SMP. The problem is the following loop the patch

Re: [PATCH v4 0/5] mm: cma: add some debug information for CMA

2015-03-16 Thread Sasha Levin
On 03/16/2015 09:43 PM, Joonsoo Kim wrote: On Mon, Mar 16, 2015 at 07:06:55PM +0300, Stefan Strogin wrote: Hi all. Here is the fourth version of a patch set that adds some debugging facility for CMA. This patch set is based on next-20150316. It is also available on git: git

Re: [PATCH v4 1/1] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-03-16 Thread Chanwoo Choi
Hi Ivan, On 03/16/2015 11:23 PM, Ivan T. Ivanov wrote: Hi Roger, On Mon, 2015-03-16 at 15:11 +0200, Roger Quadros wrote: Hi Ivan, On 16/03/15 14:32, Ivan T. Ivanov wrote: Hi, On Mon, 2015-02-02 at 12:21 +0200, Roger Quadros wrote: This driver observes the USB ID pin connected over a

linux-next: build failure after merge of the crypto tree

2015-03-16 Thread Stephen Rothwell
by commit d358f1abbf71 (crypto: img-hash - Add Imagination Technologies hw hash accelerator). I have used the crypto tree from next-20150316 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpAhKjArLaAb.pgp Description: OpenPGP digital signature

Re: [PATCH] mm/page_alloc: Call kernel_map_pages in unset_migrateype_isolate

2015-03-16 Thread Joonsoo Kim
On Mon, Mar 16, 2015 at 11:29:45AM -0700, Laura Abbott wrote: Commit 3c605096d315 (mm/page_alloc: restrict max order of merging on isolated pageblock) changed the logic of unset_migratetype_isolate to check the buddy allocator and explicitly call __free_pages to merge. The page that is being

Re: randconfig build error with next-20150316, in samples/kdbus/kdbus-workers

2015-03-16 Thread Michael Ellerman
On Tue, 2015-03-17 at 00:00 +0100, David Herrmann wrote: Hi On Mon, Mar 16, 2015 at 11:51 PM, Michael Ellerman m...@ellerman.id.au wrote: On Mon, 2015-03-16 at 23:27 +0100, David Herrmann wrote: The uapi-include only causes the warning, not the build failure. I don't know how you

[RFC PATCH v4 02/12] kmod - rename call_usermodehelper() flags parameter

2015-03-16 Thread Ian Kent
From: Ian Kent ik...@redhat.com The wait parameter of call_usermodehelper() is not quite a parameter that describes the wait behaviour alone and will later be used to request execution within the current namespaces. This flag is tied to the wait field of the subprocess_info structure which is

[PATCH] phy: samsung_usb2: Fixup samsung_usb2_phy_power_on/off paths

2015-03-16 Thread Axel Lin
Ensure we have balanced clk_prepare_enable/clk_disable_unprepare calls if .power_on or .power_off callbacks return error. Signed-off-by: Axel Lin axel@ingics.com --- drivers/phy/phy-samsung-usb2.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

Re: [PATCH kernel v6 29/29] vfio: powerpc/spapr: Support Dynamic DMA windows

2015-03-16 Thread Alexey Kardashevskiy
On 03/17/2015 06:38 AM, Alex Williamson wrote: On Fri, 2015-03-13 at 19:07 +1100, Alexey Kardashevskiy wrote: This adds create/remove window ioctls to create and remove DMA windows. sPAPR defines a Dynamic DMA windows capability which allows para-virtualized guests to create additional DMA

RE: [PATCH v4 2/5] ARM: dts: Prepare exynos5410-odroidxu device tree

2015-03-16 Thread Kukjin Kim
Javier Martinez Canillas wrote: Hello Andreas, Hi, On Mon, Mar 16, 2015 at 11:27 AM, Andreas Färber afaer...@suse.de wrote: Am 16.03.2015 um 08:56 schrieb Javier Martinez Canillas: I think this should be defined in exynos5410.dtsi instead since is an IP block in the SoC and

Re: [PATCH] mm: kill kmemcheck

2015-03-16 Thread Steven Rostedt
On Mon, 16 Mar 2015 21:48:23 -0400 Sasha Levin sasha.le...@oracle.com wrote: Steven, Since the only objection raised was the too-newiness of GCC 4.9.2/5.0, what would you consider a good time-line for removal? I haven't heard any over my dead body objections, so I guess that trying to

[RFC PATCH v4 03/12] vfs - move mnt_namespace definition to linux/mount.h

2015-03-16 Thread Ian Kent
From: Ian Kent ik...@redhat.com The mnt_namespace definition will be needed by the usermode helper contained execution implementation, move it to include/linux/mount.h. Signed-off-by: Ian Kent ik...@redhat.com Cc: Benjamin Coddington bcodd...@redhat.com Cc: Al Viro v...@zeniv.linux.org.uk Cc: J.

[RFC PATCH v4 06/12] kmod - add namespace info store

2015-03-16 Thread Ian Kent
From: Ian Kent ik...@redhat.com Persistent use of namespace information is needed where contained execution is needed in a namespace other than the current namespace. Use a simple random token as a key to store namespace information in a hashed list for later usermode helper execution.

[RFC PATCH v4 00/12] Second attempt at contained helper execution

2015-03-16 Thread Ian Kent
Here is another update to the attempt at contained helper execution. The main change is I've tried to incorporate Oleg's suggestions of directly constructing the namespaces rather than using the open/setns approach and the addition of a namespace hash store. I'm not particularly happy with this

[RFC PATCH v4 01/12] nsproxy - make create_new_namespaces() non-static

2015-03-16 Thread Ian Kent
From: Ian Kent ik...@redhat.com create_new_namespaces() will be needed by usermodehelper namespace restricted execution. Signed-off-by: Ian Kent ik...@redhat.com Cc: Benjamin Coddington bcodd...@redhat.com Cc: Al Viro v...@zeniv.linux.org.uk Cc: J. Bruce Fields bfie...@fieldses.org Cc: David

Re: linux panic on 4.0.0-rc4

2015-03-16 Thread Peter Hurley
On 03/16/2015 10:02 PM, Pranith Kumar wrote: On Mon, Mar 16, 2015 at 7:22 PM, Michael Ellerman m...@ellerman.id.au wrote: The log shows that init is being killed, that's what's causing the panic. The exitcode of init is 0x200, which due to the vagaries of UNIX is I think an exit status of

Re: linux panic on 4.0.0-rc4

2015-03-16 Thread Pranith Kumar
On Mon, Mar 16, 2015 at 10:58 PM, Peter Hurley pe...@hurleysoftware.com wrote: What is your init? I am using systemd from debian unstable. Do you have a stdout-path property defined in your dts to a serial console you're not actually using? I am using tty0 as my console. From the config

Re: linux panic on 4.0.0-rc4

2015-03-16 Thread Peter Hurley
On 03/16/2015 11:12 PM, Pranith Kumar wrote: On Mon, Mar 16, 2015 at 10:58 PM, Peter Hurley pe...@hurleysoftware.com wrote: What is your init? I am using systemd from debian unstable. Do you have a stdout-path property defined in your dts to a serial console you're not actually using?

RE: Possible no longer required cast in the function,usbhs_parse_dt in common.c

2015-03-16 Thread Peter Chen
Greetings All, I have been getting the below build warnings: drivers/usb/renesas_usbhs/common.c: In function ‘usbhs_parse_dt’: drivers/usb/renesas_usbhs/common.c:482:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dparam-type = of_id ? (u32)of_id-data

Re: [PATCH 2/3] Documentation: devicetree: add binding doc for Broadcom NAND controller

2015-03-16 Thread Scott Branden
Hi Brian, On 15-03-16 04:46 PM, Brian Norris wrote: On Mon, Mar 16, 2015 at 04:40:13PM -0700, Scott Branden wrote: On 15-03-16 04:37 PM, Brian Norris wrote: On Mon, Mar 16, 2015 at 04:07:51PM -0700, Scott Branden wrote: So, what's the standard? Company prefix? Long name? Commas? Hyphens?

Re: [PATCH] mfd: stw481x: Remove unused fields from struct stw481x

2015-03-16 Thread Axel Lin
2015-02-16 19:51 GMT+08:00 Lee Jones lee.jo...@linaro.org: On Fri, 13 Feb 2015, Axel Lin wrote: The mutex lock is not used at all, remove it. The *vmmc_regulator is not necessary, use a local variable in stw481x_vmmc_regulator_probe() instead. Signed-off-by: Axel Lin axel@ingics.com

Re: [PATCH 06/13] VFS/namei: new flag to support RCU symlinks: LOOKUP_LINK_RCU.

2015-03-16 Thread Al Viro
On Mon, Mar 16, 2015 at 10:33:45PM +, Al Viro wrote: On Mon, Mar 16, 2015 at 03:43:20PM +1100, NeilBrown wrote: When we support -follow_link in RCU-walk we will not want to take a reference to the 'struct path *link' passed to follow_link, and correspondingly will not want to drop that

[PATCH v2 1/3] staging: lustre: space prohibited between function name and open parenthesis '('

2015-03-16 Thread Alberto Pires de Oliveira Neto
This patch fixes checkpatch.pl warning. WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Alberto Pires de Oliveira Neto mrpenguin2...@gmail.com --- drivers/staging/lustre/lustre/fld/fld_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v4 0/5] mm: cma: add some debug information for CMA

2015-03-16 Thread Joonsoo Kim
On Mon, Mar 16, 2015 at 07:06:55PM +0300, Stefan Strogin wrote: Hi all. Here is the fourth version of a patch set that adds some debugging facility for CMA. This patch set is based on next-20150316. It is also available on git: git://github.com/stefanstrogin/linux -b cmainfo-v4 We

Re: [rfc patch v2] rt,nohz_full: fix nohz_full for PREEMPT_RT_FULL

2015-03-16 Thread Mike Galbraith
On Mon, 2015-03-16 at 21:24 +0100, Sebastian Andrzej Siewior wrote: * Mike Galbraith | 2015-03-13 05:53:25 [+0100]: First of all, a task being ticked and trying to shut the tick down will fail to do so due to having just awakened ksoftirqd, so let ksoftirqd try to do that after SOFTIRQ_TIMER

Re: [update][PATCH v10 06/21] ACPI / sleep: Introduce CONFIG_ACPI_GENERIC_SLEEP

2015-03-16 Thread Rafael J. Wysocki
On Tuesday, March 17, 2015 09:08:45 AM Hanjun Guo wrote: On 2015/3/17 7:15, Rafael J. Wysocki wrote: On Monday, March 16, 2015 08:14:52 PM Hanjun Guo wrote: On 2015年03月14日 05:49, Rafael J. Wysocki wrote: On Friday, March 13, 2015 04:14:29 PM Hanjun Guo wrote: [...] diff --git

Re: [PATCH RESEND] usb: dwc2: avoid leaking DMA channels on disconnection

2015-03-16 Thread John Youn
On 3/16/2015 2:50 AM, Yunzhi Li wrote: Hi When the HCD is disconnected, the DMA transfers still in-flight were cleaned-up but the count of available DMA channels (e.g. available_host_channels) was not reset. The pool of DMA channels can be depleted when doing unclean disconnection of USB

Re: [3/9] powerpc/hv-24x7: Drop event_24x7_request()

2015-03-16 Thread Michael Ellerman
On Tue, 2015-17-02 at 22:00:28 UTC, Sukadev Bhattiprolu wrote: The function event_24x7_request() is essentially a wrapper to the function single_24x7_request() and can be dropped to simplify code. diff --git a/arch/powerpc/perf/hv-24x7.c b/arch/powerpc/perf/hv-24x7.c index 7856e38..c189e75

Re: [8/9] powerpc/hv-24x7: Break up single_24x7_request

2015-03-16 Thread Michael Ellerman
On Tue, 2015-17-02 at 22:00:33 UTC, Sukadev Bhattiprolu wrote: Break up the function single_24x7_request() into smaller functions. This would later enable us to prepare a multi-event request buffer and then submit a single hcall for several events. This looks fine, though the names are a bit

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-16 Thread Tony Lindgren
* Matthijs van Duin matthijsvand...@gmail.com [150316 14:17]: *gets increasingly confused* :) The datasheet (sprs614e) only contains register addresses, and they seem to match the TRM's USB chapter. The only disagreement I can spot is related to USB_CTRL register(s) in the control module

  1   2   3   4   5   6   7   8   9   10   >