[PATCH v2 3/3] fpga bridge driver

2014-10-23 Thread atull
From: Alan Tull Support for bringing bridges out of reset. Bridges show up in sysfs under /sys/class/fpga-bridge and can be enabled/disabled from sysfs or from the device tree. Supports enabling the following hps/fpga bridges: * fpga2sdram * fpga2hps * hps2fpga * lwhps2fpga Control from

[PATCH v2 0/3] fpga bridge framework

2014-10-23 Thread atull
From: Alan Tull Followup to bridge framework that was posted on 2013/10/3 This is a driver for enabling/disabling the fpga bridges under control of a sys entry. It has a common framework and individual drivers for the various bridges. This framework uses the reset driver where appropriate.

Re: [PATCH v2 RESEND] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 24, 2014 at 08:26:13AM +0900, Namhyung Kim escreveu: > On Wed, 22 Oct 2014 15:40:14 +0800, Wang Nan wrote: > > After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), > > /proc/cpuinfo replaces 'Processor' to 'model name'. This patch makes > > CPUINFO_PROC to an array and

Re: [PATCH v2 1/4] pinctrl: rockchip: Set wake_enabled

2014-10-23 Thread Heiko Stübner
Am Donnerstag, 23. Oktober 2014, 09:55:27 schrieb Doug Anderson: > Heiko, > > On Thu, Oct 23, 2014 at 9:43 AM, Heiko Stübner wrote: > > Am Dienstag, 21. Oktober 2014, 10:47:32 schrieb Doug Anderson: > >> The rockchip pinctrl driver uses irq_gc_set_wake() but doesn't setup > >> the .wake_enabled

Re: [PATCH 2/4] mm: cma: Always consider a 0 base address reservation as dynamic

2014-10-23 Thread Laurent Pinchart
Hi Michal, On Thursday 23 October 2014 18:55:20 Michal Nazarewicz wrote: > On Thu, Oct 23 2014, Laurent Pinchart wrote: > > The fixed parameter to cma_declare_contiguous() tells the function > > whether the given base address must be honoured or should be considered > > as a hint only. The API

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Devendra Naga
On Fri, Oct 24, 2014 at 5:01 AM, Gioh Kim wrote: > > > 2014-10-24 오전 8:16, Gioh Kim 쓴 글: > >> >> >> 2014-10-24 오전 5:36, Devendra Naga 쓴 글: >>> >>> Hello, >>> >>> On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: sys_heap = container_of(heap, struct ion_system_heap, heap); @@

Re: [PATCH v3 00/14] Kbuild for perf

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Fri, Oct 24, 2014 at 12:28:08AM +0200, Alexis Berlemont escreveu: > Hello, > > Here is a proposal of perf's build process managed by Kbuild: > * The file Makefile.perf is replaced by Makefile.kbuild > * Makefile.kbuild generates a default .config file if none exists > (allyesconfig) > *

Re: [PATCH] x86: Don't allow stackprotector without TSC

2014-10-23 Thread Andy Lutomirski
On 10/23/2014 03:10 PM, Ben Harris wrote: > On x86, boot_init_stack_canary() unconditionally calls > __native_read_tsc(). This means that when a kernel with > CONFIG_CC_STACKPROTECTOR enabled is booted on a CPU without a TSC, the > kernel hangs at startup. See

Re: [PATCH 00/16] perf tools: Intel PT preparation continued

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 23, 2014 at 01:45:08PM +0300, Adrian Hunter escreveu: > Adrian Hunter (16): Applied these, will test those and put in my next pull req to Ingo: > perf pmu: Let pmu's with no events show up on perf list > perf tools: Build programs to copy 32-bit compatibility VDSOs >

Re: [PATCH 1/4] mm: cma: Don't crash on allocation if CMA area can't be activated

2014-10-23 Thread Laurent Pinchart
Hi Michal, On Thursday 23 October 2014 18:53:36 Michal Nazarewicz wrote: > On Thu, Oct 23 2014, Laurent Pinchart wrote: > > If activation of the CMA area fails its mutex won't be initialized, > > leading to an oops at allocation time when trying to lock the mutex. Fix > > this by failing

Re: [PATCH V2 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-23 Thread Benjamin Herrenschmidt
On Thu, 2014-10-23 at 18:40 -0400, David Miller wrote: > Hey guys, was looking over the generic GUP while working on a sparc64 > issue and I noticed that you guys do speculative page gets, and after > talking with Johannes Weiner (CC:'d) about this we don't see how it > could be necessary. > > If

Re: getaddrinfo slowdown in 3.17.1, due to getifaddrs

2014-10-23 Thread Steinar H. Gunderson
On Tue, Oct 21, 2014 at 02:31:44PM +0100, Thomas Graf wrote: > I'm currently testing the patch below and will submit with proper > tested by attributions later today. We applied this patch in a reboot today (on top of 3.17.1), and so far, things seem to be going much better. /* Steinar */ --

Re: [PATCHSET 0/5] perf tools: Speed up dwarf callchain post-unwinding for libunwind (v4)

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 22, 2014 at 10:34:27AM +0900, Namhyung Kim escreveu: > Hi Arnaldo, > > On Wed, 15 Oct 2014 17:06:30 -0300, Arnaldo Carvalho de Melo wrote: > > Next time please run: (I'm fixing this up this time) > > > > [acme@zoo linux]$ time make -C tools/perf build-test > ... > > In file included

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
2014-10-24 오전 8:16, Gioh Kim 쓴 글: 2014-10-24 오전 5:36, Devendra Naga 쓴 글: Hello, On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: This patch shrink page-pool by page unit. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion_page_pool.c |5 +++--

mmotm 2014-10-23-16-26 uploaded

2014-10-23 Thread akpm
The mm-of-the-moment snapshot 2014-10-23-16-26 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH v4 1/6] sched/fair: Fix reschedule which is generated on throttled cfs_rq

2014-10-23 Thread Wanpeng Li
Hi Kirill, 8/6/14, 4:06 PM, Kirill Tkhai: (sched_entity::on_rq == 1) does not guarantee the task is pickable; changes on throttled cfs_rq must not lead to reschedule. Why (sched_entity::on_rq == 1) doesn't guarantee the task is pickable since entity will be dequeued during throttling cfs_rq?

Re: [PATCH v2 RESEND] perf tools: makes CPUINFO_PROC to array for different kernel version

2014-10-23 Thread Namhyung Kim
On Wed, 22 Oct 2014 15:40:14 +0800, Wang Nan wrote: > After kernel 3.7 (commit b4b8f770eb10a1bccaf8aa0ec1956e2dd7ed1e0a), > /proc/cpuinfo replaces 'Processor' to 'model name'. This patch makes > CPUINFO_PROC to an array and provides two choices for ARM, makes it > compatible for different kernel

[GIT PULL] overlay filesystem v25

2014-10-23 Thread Miklos Szeredi
Linus, Please pull git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs.v25 Plenty of bugs fixed relative to the previous version, thanks to Al Viro's review and is now officially be BugFree(TM). Also passes the unionmount-testsuite by David Howells. Thanks, Miklos ---

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Gioh Kim
2014-10-24 오전 5:36, Devendra Naga 쓴 글: Hello, On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: This patch shrink page-pool by page unit. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion_page_pool.c |5 +++-- drivers/staging/android/ion/ion_system_heap.c |7 +--

Re: [RFC PATCH 0/9] mm/zbud: support highmem pages

2014-10-23 Thread Dan Streetman
On Tue, Oct 14, 2014 at 7:59 AM, Heesub Shin wrote: > zbud is a memory allocator for storing compressed data pages. It keeps > two data objects of arbitrary size on a single page. This simple design > provides very deterministic behavior on reclamation, which is one of > reasons why zswap

Re: [PATCH v2 2/3] sched/dl: Cleanup prio_changed_dl()

2014-10-23 Thread Wanpeng Li
10/22/14, 12:24 AM, Juri Lelli: Hi Kirill, On 02/10/14 10:52, Kirill Tkhai wrote: В Чт, 02/10/2014 в 11:36 +0200, Peter Zijlstra пишет: On Wed, Oct 01, 2014 at 01:04:35AM +0400, Kirill Tkhai wrote: From: Kirill Tkhai rq->curr task can't be in "dequeued" state in prio_changed_dl(). (The

Re: [PATCH V2 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-23 Thread David Miller
Hey guys, was looking over the generic GUP while working on a sparc64 issue and I noticed that you guys do speculative page gets, and after talking with Johannes Weiner (CC:'d) about this we don't see how it could be necessary. If interrupts are disabled during the page table scan (which they

[PATCH v3 08/14] perf kbuild: cross-compilation variables are now handled in Kconfig

2014-10-23 Thread Alexis Berlemont
The variable CONFIG_ARCH and CONFIG_CROSS_COMPILE were added. Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig | 24 tools/perf/Makefile.kbuild | 8 tools/perf/arch/x86/include/perf_regs.h | 8 +---

[PATCH v3 06/14] perf kbuild: remove legacy tui/gui-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_SLANG (replaced by CONFIG_LIBSLANG) Remove HAVE_SLANG_SUPPORT from CFLAGS (replaced by CONFIG_LIBSLANG) Remove NO_GTK2 (replaced by CONFIG_LIBGTK2 or CONFIG_GTK2) Remove HAVE_GTK2_SUPPORT from CFLAGS (replaced by CONFIG_LIBGTK2) Remove HAVE_GTK_INFO_BAR_SUPPORT from CFLAGS (replaced by

[PATCH v3 05/14] perf kbuild: remove Makefile.perf

2014-10-23 Thread Alexis Berlemont
The file Makefile.perf contained legacy build rules. It is replaced by Makefile.kbuild which relies on Kbuild. Consequently, some minor points need updates: * The constant CONFIG_KBUILD can be removed * The main Makefile wrapper now call Makefile.kbuild instead of Makefile.perf Signed-off-by:

[PATCH v3 04/14] perf tools: Add kbuild support into Makefile.kbuild

2014-10-23 Thread Alexis Berlemont
From: Jiri Olsa Adding kbuild support into Makefile.kbuild. The 'legacy' Makefile still stays untouched as it was. It's possible to use kbuild by running 'make -f Makefile.kbuild' with any option supported by 'legacy' Makefile. We now have 2 config files: '.config' - user configured setup

[PATCH v3 09/14] perf kbuild: remove legacy misc build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_LIBAUDIT (replaced by CONFIG_LIBAUDIT) Remove HAVE_LIBAUDIT_SUPPORT from CFLAGS (replaced by CONFIG_LIBAUDIT) Remove HAVE_TIMERFD_SUPPORT (replaced by CONFIG_TIMERFD) Remove HAVE_ON_EXIT_SUPPORT (replaced by CONFIG_ON_EXIT) Remove HAVE_BACKTRACE_SUPPORT (replaced by CONFIG_BACKTRACE)

[PATCH v3 07/14] perf kbuild: remove legacy demangle-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_DEMANGLE (replaced by CONFIG_DEMANGLE) Remove HAVE_LIBBFD_SUPPORT (replaced by CONFIG_LIBBFD) Remove HAVE_CPLUS_DEMANGLE_SUPPORT (replaced by CONFIG_LIBIBERTY_ONLY) Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig| 36 +--

[PATCH v3 10/14] perf kbuild: remove legacy libelf-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_LIBELF (replaced by CONFIG_LIBELF) Remove HAVE_LIBELF_SUPPORT (replaced by CONFIG_LIBELF) Remove HAVE_LIBELF_MMAP_SUPPORT (replaced by CONFIG_LIBELF_MMAP) Remove HAVE_LIBELF_GETPHDRNUM__SUPPORT (replaced by CONFIG_LIBELF_GETPHDRNUM_) Signed-off-by: Alexis Berlemont ---

[PATCH] x86: Don't allow stackprotector without TSC

2014-10-23 Thread Ben Harris
On x86, boot_init_stack_canary() unconditionally calls __native_read_tsc(). This means that when a kernel with CONFIG_CC_STACKPROTECTOR enabled is booted on a CPU without a TSC, the kernel hangs at startup. See for an example. To avoid this, make

[PATCH v3 11/14] perf kbuild: remove legacy libdwarf-related build variables

2014-10-23 Thread Alexis Berlemont
* Remove NO_DWARF (replaced by CONFIG_LIBDWARF) * Remove HAVE_DWARF_SUPPORT (replaced by CONFIG_LIBDWARF) * Remove the useless variable PERF_HAVE_DWARF_REGS * fix compilation issues if PERF_REGS is disabled Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig | 59

[PATCH v3 13/14] perf kbuild: final cosmetic changes

2014-10-23 Thread Alexis Berlemont
* Correctly rename internal makefile variables * Remove makefiles in tools/perf/config which became empty and useless * Remove builtin-cmds.h * Remove arch/x86/Makefile * Improve outputs of clean and install targets * Remove creation of PERF-FEATURES file which is redundant with the .config file

[PATCH v3 14/14] perf kbuild: add generated Kconfig build-test cases

2014-10-23 Thread Alexis Berlemont
Thanks to the python module kconfiglib, we were able to generate build configurations. The set is, of course, not exhaustive but for each option, all the possible states are tested. Signed-off-by: Alexis Berlemont --- tools/perf/MANIFEST| 1 +

[PATCH v3 02/14] perf tools: Kbuild builtin source related fixies

2014-10-23 Thread Alexis Berlemont
From: Jiri Olsa Adding CONFIG_BUILTIN_* defines to govern builtin commands. This will be useful for kbuild process switch. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung

[PATCH v3 03/14] perf tools: Kbuild source related fixies

2014-10-23 Thread Alexis Berlemont
From: Jiri Olsa Fixing several sources config dependencies to allow separate config builds. This commit was originally created by Jiri Olsa in 2013. Minor changes were needed to get it working one year later: * Remove #ifdef directives related with GUI / TUI (because of code changes in

[PATCH v3 12/14] perf kbuild: remove legacy script-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_LIBPERL (replaced by CONFIG_LIBPERL) Remove NO_LIBPYTHON (replaced by CONFIG_LIBPYTHON) Signed-off-by: Alexis Berlemont --- tools/perf/builtin-script.c | 6 +++-- tools/perf/config/Makefile | 41 +

[PATCH v3 00/14] Kbuild for perf

2014-10-23 Thread Alexis Berlemont
Hello, Here is a proposal of perf's build process managed by Kbuild: * The file Makefile.perf is replaced by Makefile.kbuild * Makefile.kbuild generates a default .config file if none exists (allyesconfig) * Makefile.kbuild adapts the .config file according to the features-check tests results

[PATCH v3 01/14] kbuild: add support of custom paths for "auto.conf*" files

2014-10-23 Thread Alexis Berlemont
In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a custom path for the "auto.conf" file. The "*conf" programs were modified so as to work with the environment variable KCONFIG_AUTOCONFIG. Signed-off-by: Alexis Berlemont --- scripts/Makefile.build | 3 ++-

Re: [PATCH RFC 1/2] drivers: pci: fix window allocation order wrt bus_range filtering

2014-10-23 Thread Bjorn Helgaas
On Thu, Oct 23, 2014 at 04:23:06PM +0100, Lorenzo Pieralisi wrote: > The number of windows allocated for the host bridge depends on the > bus resource. Instead of first allocating the windows and then > limit the bus resource, this patch reshuffles the code so that if any > limitation is applied

Regression: USB mouse only recognized w/o commit "ACPI / PM: Always enable wakeup GPEs ..."

2014-10-23 Thread Jörg-Volker Peetz
Hi, on an HP Pavilion dv7 notebook with stable kernel 3.17.1 a USB mouse is only recognized w/o commit f35cec27d1037ff0d772edfd6e7b1e92cdc0 "ACPI / PM: Always enable wakeup GPES ...", config file attached. Any idea? Regards, jvp. # # Automatically generated file; DO NOT EDIT. # Linux/x86

[PATCH v3 2/2] staging: skein: Adds Loadable Module Support

2014-10-23 Thread Eric Rost
Adds loadable module support for the Skein Hashing Algorithm. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 2 +- drivers/staging/skein/skein_generic.c | 19 ++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/drivers/staging/skein/Kconfig

[PATCH v3 1/2] staging: skein: Adds CryptoAPI Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI support for skein256, skein512, and skein1024 algorithms. Also collapses threefish algorithm into skein.o and removes Kconfig option for Threefish. Signed-off-by: Eric Rost --- drivers/staging/skein/Kconfig | 22 +- drivers/staging/skein/Makefile| 13 +-

[PATCH v3 0/2] staging: skein: Adds CryptoAPI and Module Support

2014-10-23 Thread Eric Rost
Adds CryptoAPI and Loadable Module support to the Skein Hashing Algorithm. Eric Rost (2): staging: skein: Adds CryptoAPI Support staging: skein: Adds Loadable Module Support drivers/staging/skein/Kconfig | 24 +- drivers/staging/skein/Makefile| 13 +-

Re: [PATCH 1/1 net-next] Bluetooth: fix shadow warning in hci_disconnect()

2014-10-23 Thread Marcel Holtmann
Hi Fabian, >>> use cpr for hci_cp_read_clock_offset instead of cp >>> (already defined above). >>> >>> Signed-off-by: Fabian Frederick >>> --- >>> net/bluetooth/hci_conn.c | 6 +++--- >>> 1 file changed, 3 insertions(+), 3 deletions(-) >>> >>> diff --git a/net/bluetooth/hci_conn.c

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-23 Thread Paul E. McKenney
On Fri, Oct 24, 2014 at 12:45:40AM +0300, Yanko Kaneti wrote: > > On Thu, 2014-10-23 at 13:05 -0700, Paul E. McKenney wrote: > > On Thu, Oct 23, 2014 at 10:51:59PM +0300, Yanko Kaneti wrote: > > > On Thu-10/23/14-2014 08:33, Paul E. McKenney wrote: > > > > On Thu, Oct 23, 2014 at 05:27:50AM

[PATCH v2 05/14] perf kbuild: remove Makefile.perf

2014-10-23 Thread Alexis Berlemont
The file Makefile.perf contained legacy build rules. It is replaced by Makefile.kbuild which relies on Kbuild. Consequently, some minor points need updates: * The constant CONFIG_KBUILD can be removed * The main Makefile wrapper now call Makefile.kbuild instead of Makefile.perf Signed-off-by:

[PATCH v2 00/14] Kbuild for perf

2014-10-23 Thread Alexis Berlemont
Hello, Here is a proposal of perf's build process managed by Kbuild: * The file Makefile.perf is replaced by Makefile.kbuild * Makefile.kbuild generates a default .config file if none exists (allyesconfig) * Makefile.kbuild adapts the .config file according to the features-check tests results

[PATCH v2 04/14] perf tools: Add kbuild support into Makefile.kbuild

2014-10-23 Thread Alexis Berlemont
From: Jiri Olsa Adding kbuild support into Makefile.kbuild. The 'legacy' Makefile still stays untouched as it was. It's possible to use kbuild by running 'make -f Makefile.kbuild' with any option supported by 'legacy' Makefile. We now have 2 config files: '.config' - user configured setup

[PATCH v2 06/14] perf kbuild: remove legacy tui/gui-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_SLANG (replaced by CONFIG_LIBSLANG) Remove HAVE_SLANG_SUPPORT from CFLAGS (replaced by CONFIG_LIBSLANG) Remove NO_GTK2 (replaced by CONFIG_LIBGTK2 or CONFIG_GTK2) Remove HAVE_GTK2_SUPPORT from CFLAGS (replaced by CONFIG_LIBGTK2) Remove HAVE_GTK_INFO_BAR_SUPPORT from CFLAGS (replaced by

[PATCH v2 07/14] perf kbuild: remove legacy demangle-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_DEMANGLE (replaced by CONFIG_DEMANGLE) Remove HAVE_LIBBFD_SUPPORT (replaced by CONFIG_LIBBFD) Remove HAVE_CPLUS_DEMANGLE_SUPPORT (replaced by CONFIG_LIBIBERTY_ONLY) Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig| 36 +--

[PATCH v2 03/14] perf tools: Kbuild source related fixies

2014-10-23 Thread Alexis Berlemont
From: Jiri Olsa Fixing several sources config dependencies to allow separate config builds. This commit was originally created by Jiri Olsa in 2013. Minor changes were needed to get it working one year later: * Remove #ifdef directives related with GUI / TUI (because of code changes in

[PATCH v2 14/14] perf kbuild: add generated Kconfig build-test cases

2014-10-23 Thread Alexis Berlemont
Thanks to the python module kconfiglib, we were able to generate build configurations. The set is, of course, not exhaustive but for each option, all the possible states are tested. Signed-off-by: Alexis Berlemont --- tools/perf/MANIFEST| 1 +

[PATCH v2 11/14] perf kbuild: remove legacy libdwarf-related build variables

2014-10-23 Thread Alexis Berlemont
* Remove NO_DWARF (replaced by CONFIG_LIBDWARF) * Remove HAVE_DWARF_SUPPORT (replaced by CONFIG_LIBDWARF) * Remove the useless variable PERF_HAVE_DWARF_REGS * fix compilation issues if PERF_REGS is disabled Signed-off-by: Alexis Berlemont --- Changes since v1: * Add the config parameter

[PATCH v2 09/14] perf kbuild: remove legacy misc build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_LIBAUDIT (replaced by CONFIG_LIBAUDIT) Remove HAVE_LIBAUDIT_SUPPORT from CFLAGS (replaced by CONFIG_LIBAUDIT) Remove HAVE_TIMERFD_SUPPORT (replaced by CONFIG_TIMERFD) Remove HAVE_ON_EXIT_SUPPORT (replaced by CONFIG_ON_EXIT) Remove HAVE_BACKTRACE_SUPPORT (replaced by CONFIG_BACKTRACE)

[PATCH v2 10/14] perf kbuild: remove legacy libelf-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_LIBELF (replaced by CONFIG_LIBELF) Remove HAVE_LIBELF_SUPPORT (replaced by CONFIG_LIBELF) Remove HAVE_LIBELF_MMAP_SUPPORT (replaced by CONFIG_LIBELF_MMAP) Remove HAVE_LIBELF_GETPHDRNUM__SUPPORT (replaced by CONFIG_LIBELF_GETPHDRNUM_) Signed-off-by: Alexis Berlemont ---

[PATCH v2 12/14] perf kbuild: remove legacy script-related build variables

2014-10-23 Thread Alexis Berlemont
Remove NO_LIBPERL (replaced by CONFIG_LIBPERL) Remove NO_LIBPYTHON (replaced by CONFIG_LIBPYTHON) Signed-off-by: Alexis Berlemont --- tools/perf/builtin-script.c | 6 +++-- tools/perf/config/Makefile | 41 +

[PATCH v2 08/14] perf kbuild: cross-compilation variables are now handled in Kconfig

2014-10-23 Thread Alexis Berlemont
The variable CONFIG_ARCH and CONFIG_CROSS_COMPILE were added. Signed-off-by: Alexis Berlemont --- tools/perf/Kconfig | 24 tools/perf/Makefile.kbuild | 8 tools/perf/arch/x86/include/perf_regs.h | 8 +---

[PATCH v2 02/14] perf tools: Kbuild builtin source related fixies

2014-10-23 Thread Alexis Berlemont
From: Jiri Olsa Adding CONFIG_BUILTIN_* defines to govern builtin commands. This will be useful for kbuild process switch. Signed-off-by: Jiri Olsa Cc: Arnaldo Carvalho de Melo Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Paul Mackerras Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung

[PATCH v2 13/14] perf kbuild: final cosmetic changes

2014-10-23 Thread Alexis Berlemont
* Correctly rename internal makefile variables * Remove makefiles in tools/perf/config which became empty and useless * Remove builtin-cmds.h * Remove arch/x86/Makefile * Improve outputs of clean and install targets * Remove creation of PERF-FEATURES file which is redundant with the .config file

[PATCH v2 01/14] kbuild: add support of custom paths for "auto.conf*" files

2014-10-23 Thread Alexis Berlemont
In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a custom path for the "auto.conf" file. The "*conf" programs were modified so as to work with the environment variable KCONFIG_AUTOCONFIG. Signed-off-by: Alexis Berlemont --- Changes since v1: * Use PATH_MAX instead of

Re: [PATCH 15/15] perf: replace _BSD_SOURCE macro by _DEFAULT_SOURCE

2014-10-23 Thread Alexis Berlemont
Aaro Koskinen wrote: > Hi, > > On Mon, Sep 22, 2014 at 11:53:16PM +0200, Alexis Berlemont wrote: > > Starting from glibc-2.20, the macro _BSD_SOURCE is deprecated and > > should be replaced by _DEFAULT_SOURCE. > > This patch fixes perf build breakage with glibc-2.20, so _DEFAULT_SOURCE > is

Re: [PATCH 01/15] kbuild: add support of custom paths for "auto.conf*" files

2014-10-23 Thread Alexis Berlemont
Michal Marek wrote: > On 2014-09-22 23:53, Alexis Berlemont wrote: > > In the scripts/Makefile.build, use KCONFIG_AUTOCONFIG to include a > > custom path for the "auto.conf" file. > > > > The "*conf" programs were modified so as to work with the environment > > variable KCONFIG_AUTOCONFIG. > >

Re: [PATCH] perf tools: ensure return negitive value when write header error

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 22, 2014 at 04:00:12PM +0900, Namhyung Kim escreveu: > On Thu, 16 Oct 2014 11:08:29 +0800, Wang Nan wrote: > > When 'perf record' write headers, it calls write_xxx in > > tools/perf/util/header.c, and check return value. It rolls back all > > working only when return value is negative.

Re: [PATCH 01/15] kbuild: add support of custom paths for "auto.conf*" files

2014-10-23 Thread Alexis Berlemont
Michal Marek wrote: > On 2014-09-22 23:53, Alexis Berlemont wrote: > > +#define PATH_MAXLENGTH 4096 > > +const char *conf_get_autoconfigdep_name(void) > > +{ > > + static char res_value[PATH_MAXLENGTH]; > > Please use the PATH_MAX macro instead. One month later, I take time to answer and

Re: localed stuck in recent 3.18 git in copy_net_ns?

2014-10-23 Thread Yanko Kaneti
On Thu, 2014-10-23 at 13:05 -0700, Paul E. McKenney wrote: > On Thu, Oct 23, 2014 at 10:51:59PM +0300, Yanko Kaneti wrote: > > On Thu-10/23/14-2014 08:33, Paul E. McKenney wrote: > > > On Thu, Oct 23, 2014 at 05:27:50AM -0700, Paul E. McKenney wrote: > > > > On Thu, Oct 23, 2014 at 09:09:26AM

Re: [PATCH 05/16] perf tools: Add facility to export data in database-friendly way

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 23, 2014 at 01:45:13PM +0300, Adrian Hunter escreveu: > This patch introduces an abstraction for exporting sample > data in a database-friendly way. The abstraction does not > implement the actual output. A subsequent patch takes this > facility into use for extending the script

[PATCH RFC] virtio_blk: WCE is assumed on under VIRTIO 1.0

2014-10-23 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin --- drivers/block/virtio_blk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index adfba9f..1f8b111 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -478,7

Re: rcu_preempt detected stalls.

2014-10-23 Thread Paul E. McKenney
On Thu, Oct 23, 2014 at 11:13:04PM +0200, Oleg Nesterov wrote: > On 10/23, Paul E. McKenney wrote: > > > > Your code, your rules. ;-) > > Heh, no. I do not trust my (perverted) taste, I never-never > argue with cosmetic issues ;) > > Cough... and at the same time I have a small nit. ;-) ;-)

Re: [PATCH v4 0/5] Simplify hotplug/suspend handling

2014-10-23 Thread Saravana Kannan
On 10/16/2014 01:53 AM, Viresh Kumar wrote: On 25 July 2014 06:37, Saravana Kannan wrote: Series of patchs to simplify policy/sysfs/kobj/locking handling across suspend/resume The following have been tested so far on a 2x2 cluster environment: - Boot with 2 cpus and no cpufreq driver. - mod

[PATCH v2 1/1] ftruncate, truncate: create fanotify events

2014-10-23 Thread Heinrich Schuchardt
:: On Tue, 7 Oct 2014 21:23:30 Jan Kara wrote: :: :: Yeah, so the reason why we don't generate FSNOTIFY_EVENT_PATH in :: notify_change() is because we have only dentry available there. OTOH from a :: quick look it doesn't look impossible to pass path there from the callers. :: So I'd rather

Re: GPIO bindings guidelines (Was: Re: [PATCH v5 10/12] gpio: Support for unified device properties interface)

2014-10-23 Thread Rafael J. Wysocki
On Thursday, October 23, 2014 03:56:55 PM Mika Westerberg wrote: > On Thu, Oct 23, 2014 at 01:21:06AM +0200, Rafael J. Wysocki wrote: > > OK, would the below make sense, then (completely untested, on top of the v6 > > of the device properties patchset)? > > Yes it does :-) > > With the the below

Re: unaligned accesses in SLAB etc.

2014-10-23 Thread David Miller
From: David Miller Date: Thu, 23 Oct 2014 13:02:58 -0400 (EDT) > From: Meelis Roos > Date: Thu, 23 Oct 2014 02:22:36 +0300 (EEST) > >>> Whilst I don't have access to my reproducer machine until tomorrow in >>> order to test this myself, I wanted to toss this patch your way so you >>> could get

Re: [fuse-devel] [PATCH v4 4/5] fuse: Support privileged xattrs only with a mount option

2014-10-23 Thread Seth Forshee
On Thu, Oct 23, 2014 at 11:32:41AM -0700, Andy Lutomirski wrote: > On Oct 21, 2014 9:59 PM, "Seth Forshee" wrote: > > > > On Tue, Oct 21, 2014 at 02:27:13PM -0700, Andy Lutomirski wrote: > > > On Tue, Oct 21, 2014 at 2:21 PM, Seth Forshee > > > > > > > return s; > > > > > > > > fail: > >

[PATCH RFC 4/4] virtio_net: bigger header when VERSION_1 is set

2014-10-23 Thread Michael S. Tsirkin
With VERSION_1 virtio_net uses same header size whether mergeable buffers are enabled or not. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index

[PATCH RFC 3/4] virtio_net: stricter short buffer length checks

2014-10-23 Thread Michael S. Tsirkin
Our buffer length check is not strict enough for mergeable buffers: buffer can still be shorter that header + address by 2 bytes. Fix that up. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH RFC 1/4] virtio_net: pass vi around

2014-10-23 Thread Michael S. Tsirkin
Too many places poke at [rs]q->vq->vdev->priv just to get the the vi structure. Let's just pass the pointer around: seems cleaner, and might even be faster. Signed-off-by: Michael S. Tsirkin --- drivers/net/virtio_net.c | 36 +++- 1 file changed, 19

[PATCH RFC 2/4] virtio_net: get rid of virtio_net_hdr/skb_vnet_hdr

2014-10-23 Thread Michael S. Tsirkin
virtio 1.0 doesn't use virtio_net_hdr anymore, and in fact, it's not really useful since virtio_net_hdr_mrg_rxbuf includes that as the first field anyway. Let's drop it, precalculate header len and store within vi instead. This way we can also remove struct skb_vnet_hdr. Signed-off-by: Michael

[PATCH v2] powernv/iommu: disable IOMMU bypass with param iommu=nobypass

2014-10-23 Thread Thadeu Lima de Souza Cascardo
When IOMMU bypass is enabled, a PCI device can read and write memory that was not mapped by the driver without causing an EEH. That might cause memory corruption, for example. When we disable bypass, DMA reads and writes to addresses not mapped by the IOMMU will cause an EEH, allowing us to debug

Re: rcu_preempt detected stalls.

2014-10-23 Thread Oleg Nesterov
On 10/23, Paul E. McKenney wrote: > > Your code, your rules. ;-) Heh, no. I do not trust my (perverted) taste, I never-never argue with cosmetic issues ;) Cough... and at the same time I have a small nit. > But given this structure, why not use a for() loop replace the > "goto retry" with an

Re: [PATCH 00/16] perf tools: Intel PT preparation continued

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 23, 2014 at 01:45:08PM +0300, Adrian Hunter escreveu: > Hi > > Here are the remaining Intel PT preparation patches. They are > all patches that have been posted before, although "perf tools: > Do not attempt to run perf-read-vdso32 if it wasn't built" wasn't > sent as a separate

Re: [PATCH] mm/cma: Make kmemleak ignore CMA regions

2014-10-23 Thread Catalin Marinas
On 23 October 2014 21:22, Andrew Morton wrote: > On Tue, 21 Oct 2014 14:14:56 +0200 Thierry Reding > wrote: > >> From: Thierry Reding >> >> kmemleak will add allocations as objects to a pool. The memory allocated >> for each object in this pool is periodically searched for pointers to >> other

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-23 Thread Rafael J. Wysocki
On Thursday, October 23, 2014 10:06:05 AM Felipe Balbi wrote: > > --HSQ3hISbU3Um6hch > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Wed, Oct 22, 2014 at 04:19:45PM +0200, Rafael J. Wysocki wrote: > > On Wednesday,

Re: [PATCH 01/16] perf tools: Add id index

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 23, 2014 at 01:45:09PM +0300, Adrian Hunter escreveu: > Add an index of the event identifiers. > > This is needed to queue Instruction > Trace samples according to the mmap > buffer from which they were recorded. This gets difficult to review, I end up having to look at all the

Re: [PATCH v2] ARM: supplementing IO accessors with 64 bit capability

2014-10-23 Thread Nicolas Pitre
On Thu, 23 Oct 2014, mathieu.poir...@linaro.org wrote: > From: Mathieu Poirier > > Some drivers on ARMv7 need 64 bit read and writes. > > Signed-off-by: Mathieu Poirier If you make __LINUX_ARM_ARCH__ >= 6 then you may add Acked-by: Nicolas Pitre > --- > Changes for v2: > - Protecting

Re: kernel 3.17.1: fail to use USB3 device after resuming from suspend

2014-10-23 Thread Rafael J. Wysocki
On Thursday, October 23, 2014 10:15:50 PM Francis Moreau wrote: > Hello, > > After resuming from a suspend (to RAM), I can't use an external USB hard > drive anymore, the kernel seems to fail to detect it. > > Here is the kernel log when doing a suspend/resume cycle. > > [Oct23 22:03] wlp2s0:

Re: [PATCH 04/16] perf tools: Add a thread stack for synthesizing call chains

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 23, 2014 at 01:45:12PM +0300, Adrian Hunter escreveu: > Add a thread stack for synthesizing call chains from call > and return events. > > Signed-off-by: Adrian Hunter > --- > tools/perf/Makefile.perf | 2 + > tools/perf/util/event.h| 26 +++ >

Re: rcu_preempt detected stalls.

2014-10-23 Thread Paul E. McKenney
On Thu, Oct 23, 2014 at 04:28:16PM -0400, Dave Jones wrote: > On Thu, Oct 23, 2014 at 12:52:21PM -0700, Paul E. McKenney wrote: > > On Thu, Oct 23, 2014 at 03:37:59PM -0400, Dave Jones wrote: > > > On Thu, Oct 23, 2014 at 12:28:07PM -0700, Paul E. McKenney wrote: > > > > > > > > > This one

Re: [RFC 1/2] staging: ion: shrink page-pool by page unit

2014-10-23 Thread Devendra Naga
Hello, On Thu, Oct 23, 2014 at 6:22 PM, Gioh Kim wrote: > This patch shrink page-pool by page unit. > > Signed-off-by: Gioh Kim > --- > drivers/staging/android/ion/ion_page_pool.c |5 +++-- > drivers/staging/android/ion/ion_system_heap.c |7 +-- > 2 files changed, 8

Re: [PATCH v2 0/2] document ->sighand protection, rcu_read_unlock() deadlocks

2014-10-23 Thread Paul E. McKenney
On Thu, Oct 23, 2014 at 09:56:04PM +0200, Oleg Nesterov wrote: > Ping ;) > > Paul, should I resend or you do not think this can go via your rcu > tree? Please accept my apologies for missing these! They are now queued for 3.19. Thanx,

Re: [PATCHSET 0/5] perf tools: option parsing improvement

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 23, 2014 at 12:15:44AM +0900, Namhyung Kim escreveu: > Hello, > > This patchset tries to enhance option parser a bit. Patch 1-3 are to > reuse existing perf record options for other commands like perf kvm > stat record. Patch 4-5 are to support exclusive options that cannot > be

Re: [PATCH] i386/audit: stop scribbling on the stack frame

2014-10-23 Thread Andy Lutomirski
On Thu, Oct 23, 2014 at 12:30 PM, Eric Paris wrote: > On Thu, 2014-10-23 at 12:20 -0700, Andy Lutomirski wrote: >> On Thu, Oct 23, 2014 at 12:15 PM, Eric Paris wrote: >> > On Thu, 2014-10-23 at 11:39 -0700, Andy Lutomirski wrote: >> >> On 10/22/2014 09:04 PM, Eric Paris wrote: >> >> > git commit

Re: [PATCH 4/5] perf tools: Add support for exclusive option

2014-10-23 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 23, 2014 at 02:05:08PM +0900, Masami Hiramatsu escreveu: > (2014/10/23 0:15), Namhyung Kim wrote: > > Some options cannot be used at the same time. To handle such options > > add a new PARSE_OPT_EXCLUSIVE flag and show error message if more than > > one of them is used. > > Looks

Re: rcu_preempt detected stalls.

2014-10-23 Thread Dave Jones
On Thu, Oct 23, 2014 at 12:52:21PM -0700, Paul E. McKenney wrote: > On Thu, Oct 23, 2014 at 03:37:59PM -0400, Dave Jones wrote: > > On Thu, Oct 23, 2014 at 12:28:07PM -0700, Paul E. McKenney wrote: > > > > > > > This one will require more looking. But did you do something like > > > > >

Re: rcu_preempt detected stalls.

2014-10-23 Thread Paul E. McKenney
On Thu, Oct 23, 2014 at 09:53:37PM +0200, Oleg Nesterov wrote: > On 10/23, Paul E. McKenney wrote: > > > > OK, so making each pass through the loop a separate RCU read-side critical > > section might be considered to be suppressing notification of an error > > condition? > > I agree, this change

RE: [PATCH] staging: comedi: introduce some sample size manipulation functions

2014-10-23 Thread Hartley Sweeten
On Thursday, October 23, 2014 5:48 AM, Ian Abbott wrote: > Introduce a few static inline helper functions: > > `comedi_bytes_per_sample(s)` is the same as the existing > `bytes_per_sample(s)` and determines the size of a comedi sample in > bytes. (`bytes_per_sample(s)` will be removed.) > >

Re: [PATCH] i386/audit: stop scribbling on the stack frame

2014-10-23 Thread Eric Paris
On Thu, 2014-10-23 at 12:20 -0700, Andy Lutomirski wrote: > On Thu, Oct 23, 2014 at 12:15 PM, Eric Paris wrote: > > On Thu, 2014-10-23 at 11:39 -0700, Andy Lutomirski wrote: > >> On 10/22/2014 09:04 PM, Eric Paris wrote: > >> > git commit b4f0d3755c5e9cc86292d5fd78261903b4f23d4a was very very

Re: [PATCH] mm/cma: Make kmemleak ignore CMA regions

2014-10-23 Thread Andrew Morton
On Tue, 21 Oct 2014 14:14:56 +0200 Thierry Reding wrote: > From: Thierry Reding > > kmemleak will add allocations as objects to a pool. The memory allocated > for each object in this pool is periodically searched for pointers to > other allocated objects. This only works for memory that is

git tree for y2038 patches, to be added to linux-next

2014-10-23 Thread Arnd Bergmann
Hi Stephen, I'm collecting patches for 64-bit time_t conversion. I'm getting patches for this topic from the OPW application, and hopefully soon from an intern in the program. The plan is to have most of the patches being merged through subsystem maintainer trees as much as possible, but I also

Re: [PATCH] ARM: supplementing IO accessors with 64 bit capability

2014-10-23 Thread Nicolas Pitre
On Thu, 23 Oct 2014, Russell King - ARM Linux wrote: > On Thu, Oct 23, 2014 at 03:47:32PM -0400, Nicolas Pitre wrote: > > On Wed, 22 Oct 2014, Catalin Marinas wrote: > > > > > On Wed, Oct 22, 2014 at 05:06:23PM +0100, mathieu.poir...@linaro.org > > > wrote: > > > > +#if __LINUX_ARM_ARCH__ >= 5

kernel 3.17.1: fail to use USB3 device after resuming from suspend

2014-10-23 Thread Francis Moreau
Hello, After resuming from a suspend (to RAM), I can't use an external USB hard drive anymore, the kernel seems to fail to detect it. Here is the kernel log when doing a suspend/resume cycle. [Oct23 22:03] wlp2s0: deauthenticating from 92:23:b1:f9:54:e4 by local choice (Reason:

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