Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Jeremy Allison
On Mon, Mar 30, 2015 at 01:26:25PM -0700, Andrew Morton wrote: > > cons: > > d) fincore() is more expensive > > e) fincore() will very occasionally block The above is the killer for Samba. If fincore returns true but when we schedule the pread we block, we're hosed. Once we block, we're done s

Re: [PATCH net-next] ethernet: Use bool function returns of true/false instead of 1/0

2015-03-30 Thread Jeff Kirsher
On Sun, 2015-03-29 at 18:25 -0700, Joe Perches wrote: > Use bool constants as the return values instead of 1 and 0. > > Signed-off-by: Joe Perches Acked-by: Jeff Kirsher For the ixgbe changes... > --- > > To be honest I'd might rather get bunches of these, there has to be > a ton > > of them,

[RFC 1/1 linux-next] Btrfs: avoid using NULL compressed_pages in insert_inline_extent()

2015-03-30 Thread Fabian Frederick
insert_inline_extent() checked for compressed_pages to be NULL then it accessed it under compress_type != BTRFS_COMPRESS_NONE. This patch adds BUG() when compress_size != 0, compress_type != BTRFS_COMPRESS_NONE and compresses_pages == 0. Signed-off-by: Fabian Frederick --- fs/btrfs/inode.c | 8 +

Re: [Qemu-devel] [PATCH v4 12/15] Add optional parameters to QMP command query-cpu-definitions

2015-03-30 Thread Eric Blake
On 03/30/2015 08:28 AM, Michael Mueller wrote: > The patch adds optional parameters to the QMP command query-cpu-definitions. > Thus the signature of routine arch_query_cpu_definitions needs to be changed > for the stub function and all target implementations: > > target-arm > target-i386 > target

Re: mceusb: sysfs: cannot create duplicate filename '/class/rc/rc0' (race condition between multiple RC_CORE devices)

2015-03-30 Thread David Härdeman
On 2015-03-30 22:21, Stefan Lippers-Hollmann wrote: On 2015-03-30, David Härdeman wrote: On 2015-03-30 17:30, Stefan Lippers-Hollmann wrote: > This is a follow-up for: >http://lkml.kernel.org/r/<201412181916.18051.s@gmx.de> >http://lkml.kernel.org/r/<201412302211.40801.s@gmx.de>

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-30 Thread Andrew Morton
On Mon, 30 Mar 2015 00:36:04 -0700 Christoph Hellwig wrote: > On Fri, Mar 27, 2015 at 08:58:54AM -0700, Jeremy Allison wrote: > > The problem with the above is that we can't tell the difference > > between pread2() returning a short read because the pages are not > > in cache, or because someone

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-30 Thread Hugh Dickins
On Mon, 30 Mar 2015, Eric B Munson wrote: > On Sun, 29 Mar 2015, Hugh Dickins wrote: > > > > Eric, I apologize for bringing you in to the discussion, and then > > ignoring your input. I understand that you would like MAP_HUGETLB > > to behave more understandably. We can all agree that the existi

[PATCH 1/1 linux-next] Btrfs: use BTRFS_COMPRESS_NONE instead of 0

2015-03-30 Thread Fabian Frederick
cow_file_range_inline() was called with 0 instead of actual definition. Signed-off-by: Fabian Frederick --- fs/btrfs/inode.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 686331f..f626519 100644 --- a/fs/btrfs/inode.c +++ b/f

[PATCH 02/11] clocksource: sun5i: Switch to request_irq

2015-03-30 Thread Daniel Lezcano
From: Maxime Ripard The current code uses setup_irq, while it could perfectly use the much simpler request_irq. Switch to that. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-sun5i.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) di

[PATCH 03/11] clocksource: sun5i: Use of_io_request_and_map

2015-03-30 Thread Daniel Lezcano
From: Maxime Ripard of_iomap doesn't do a request_mem_region on the memory area defined in the DT it maps. Switch to of_io_request_and_map to make sure we're the only users. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-sun5i.c | 3 ++- 1 file change

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-30 Thread Eric Blake
On 03/30/2015 02:17 PM, Eduardo Habkost wrote: > On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: >> This patch implements a new QMP request named 'query-cpu-model'. >> It returns the cpu model of cpu 0 and its backing accelerator. >> >> request: >> {"execute" : "query-cpu-model"

Re: mceusb: sysfs: cannot create duplicate filename '/class/rc/rc0' (race condition between multiple RC_CORE devices)

2015-03-30 Thread Stefan Lippers-Hollmann
Hi On 2015-03-30, David Härdeman wrote: > On 2015-03-30 17:30, Stefan Lippers-Hollmann wrote: > > Hi > > > > This is a follow-up for: > > http://lkml.kernel.org/r/<201412181916.18051.s@gmx.de> > > http://lkml.kernel.org/r/<201412302211.40801.s@gmx.de> > > I can't swear that it's

[PATCH 05/11] clocksource: sun5i: Refactor the current code

2015-03-30 Thread Daniel Lezcano
From: Maxime Ripard Refactor the code in order to remove the global variables and split the clock source and clock events registration in order to ease the addition of the clock notifiers needed to handle the parent clock rate changes. [dlezcano] : Fixed conflict with commit 1096be084ac59927158c

[PATCH 10/11] clocksource: dw_apb_timer_of: Make IO endian agnostic

2015-03-30 Thread Daniel Lezcano
From: Ben Dooks The dw_apb_timer_of timer is using __raw_readl to access the timer register, which is causing issues when the system is running in big endian mode. Fix this by using readl_relaxed() which should account for the endian settings. This fixes issues where the time jumps around in the

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-30 Thread Eric Blake
On 03/30/2015 08:28 AM, Michael Mueller wrote: > This patch implements a new QMP request named 'query-cpu-model'. > It returns the cpu model of cpu 0 and its backing accelerator. > > request: > {"execute" : "query-cpu-model" } > > answer: > {"return" : {"name": "2827-ga2", "accel": "kvm" }} >

Re: [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-30 Thread Eduardo Habkost
On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: > This patch implements a new QMP request named 'query-cpu-model'. > It returns the cpu model of cpu 0 and its backing accelerator. > > request: > {"execute" : "query-cpu-model" } > > answer: > {"return" : {"name": "2827-ga2", "

[PATCH 08/11] clocksource: sun4i-timer: Only register a sched_clock on sun4i and sun5i

2015-03-30 Thread Daniel Lezcano
From: Hans de Goede sun6i and newer have an arm arch timer which is a better sched_clock source then the sun4i-timer, and sched_clock does not have priorities, so do not register the sun4i-timer sched_clock at all on sun6i and newer. Signed-off-by: Hans de Goede Signed-off-by: Daniel Lezcano A

[PATCH 07/11] clocksource: at91: Make IO endian agnostic

2015-03-30 Thread Daniel Lezcano
From: Ben Dooks Fix the use of __raw IO accessor with the readl/writel_relaxed versions to allow the code to be used on a system running in big endian. Signed-off-by: Ben Dooks Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Linux Kernel Cc: Linux ARM Kernel Cc: Andrew Victor Cc: Nicolas Ferre

[PATCH 09/11] clocksource: tegra: Maintain CPU endianness

2015-03-30 Thread Daniel Lezcano
From: Dmitry Osipenko Support big-endian kernel by using endian-aware register access functions. Signed-off-by: Dmitry Osipenko Signed-off-by: Daniel Lezcano Acked-by: Thierry Reding --- drivers/clocksource/tegra20_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 01/11] clocksource: arm_arch_timer: Rename arch_timer_probed to reflect behaviour

2015-03-30 Thread Daniel Lezcano
From: Laurent Pinchart The arch_timer_probed function returns whether the given time doesn't need to be probed. This can be the case when the timer has been probed already, but also when it has no corresponding enabled node in DT. Rename the function to arch_timer_need_probe and invert its retur

[PATCH 06/11] clocksource: sun5i: Add clock notifiers

2015-03-30 Thread Daniel Lezcano
From: Maxime Ripard The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31, where the DMA controller needs a minimum rate higher than the default, that is enforced after the timer driv

Re: [PATCH v2 RESEND/RFC] timer: make deferrable cpu unbound timers really not bound to a cpu

2015-03-30 Thread Joonwoo Park
Hi Thomas, Please find patch v3 which makes only tick_do_timer_cpu to run deferral timer wheel to reduce cache bouncing and let me know what you think. Thanks, Joonwoo >From 0c91f82a0b43b247f1ed310212ef3aada7ccc9f7 Mon Sep 17 00:00:00 2001 From: Joonwoo Park Date: Thu, 11 Sep 2014 15:34:25 -07

[PATCH 0/8] coresight: next 4.0-rc6

2015-03-30 Thread Mathieu Poirier
Greg, Please consider the following set for inclusion in your tree. It has a respin on the patches I asked you to drop [1], which allows [2] to apply correctly. The latter has also been included herein to keep things together. Thanks, Mathieu [1]. http://lkml.iu.edu/hypermail/linux/kernel/15

[PATCH v3 09/20] crypto: mark CAST5 helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all CAST5 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/cast5_avx_glue.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/crypto/cast5_avx_glue.c b/arch/x86/crypto

[PATCH 04/11] clocksource: sun5i: Remove sched_clock

2015-03-30 Thread Daniel Lezcano
From: Maxime Ripard It's not possible to remove a sched_clock once it has been added, nor is it possible to change its rate. Since we will need to support a rate change, and that we have other sched_clocks in the system anyway, remove it. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezc

[PATCH 11/11] clocksource: efm32: Use CLOCK_EVT_FEAT_PERIODIC for defining features

2015-03-30 Thread Daniel Lezcano
From: Viresh Kumar We have used CLOCK_EVT_MODE_PERIODIC instead of CLOCK_EVT_FEAT_PERIODIC while defining features. Fix it. Acked-by: Uwe Kleine-Koenig Signed-off-by: Viresh Kumar Signed-off-by: Daniel Lezcano --- drivers/clocksource/time-efm32.c | 2 +- 1 file changed, 1 insertion(+), 1 del

RE: [PATCH 2/5 linux-next] iw_cxgb4: remove unneccessary message level.

2015-03-30 Thread Steve Wise
Acked-by: Steve Wise -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 1/8] coresight: making cpu index lookup arm64 compliant

2015-03-30 Thread Mathieu Poirier
Function "get_logical_index()" is not available on arm64. Instead of adding the function simply using "of_get_cpu_node()" and comparing the return value with cpu handles yields the same result. Signed-off-by: Mathieu Poirier --- drivers/coresight/of_coresight.c | 18 ++ 1 file ch

[PATCH 5/8] coresight: adding the LINKSINK block as a sink type

2015-03-30 Thread Mathieu Poirier
From: Xia Kaixu >From the TMC TRM, the ETF can be configured as buffer mode, so ETF can be a sink type. Signed-off-by: Xia Kaixu Signed-off-by: Mathieu Poirier --- drivers/coresight/coresight.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/coresight/coresight.

[PATCH v2 0/4] arm: tegra: implement NVEC driver using tegra i2c.

2015-03-30 Thread Andrey Danin
NVEC driver contains code to manage tegra i2c controller in slave mode. I2C slave support was implemented in linux kernel. The goal of this patch serie is to implement I2C slave mode in tegra drived and rework NVEC driver to use it. Patches are based on i2c for-next. Changes for v2: - rebased on

[PATCH 3/8] coresight: Adding coresight support for arm64 architecture

2015-03-30 Thread Mathieu Poirier
Most CoreSight blocks are 64-bit ready. As such move configuration entries from "arch/arm/Kconfig.config" to the driver's subdirectory and source the newly created Kconfig from architecture specific Kconfig.debug files. Signed-off-by: Mathieu Poirier Acked-by: Catalin Marinas --- arch/arm/Kcon

[GIT PULL] clockevents for 4.1

2015-03-30 Thread Daniel Lezcano
Hi Thomas, Ingo, this pull request contains the following changes for 4.1: - Made IO endian agnostic for at91 and dw apb timers (Ben Dooks) - Maintained tegra endianess (Dmitry Osipenko) - Enabled the sun4i / sun5i timer for sched_clock, all others winner boards have the arch arm timer wh

[PATCH 7/8] coresight-tmc: Adding a status interface to sysfs

2015-03-30 Thread Mathieu Poirier
Knowing the state of various control register is always useful for degging and tuning. As such add an entry in sysfs that expose to userspace the most important registers. Signed-off-by: Mathieu Poirier --- drivers/coresight/coresight-tmc.c | 56 +++ 1 file c

[PATCH 4/8] coresight: Correcting documentation typographical error

2015-03-30 Thread Mathieu Poirier
Signed-off-by: Mathieu Poirier --- Documentation/trace/coresight.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/trace/coresight.txt b/Documentation/trace/coresight.txt index 02361552a3ea..77d14d51a670 100644 --- a/Documentation/trace/coresight.txt +++ b/Doc

[PATCH 6/8] coresight: remove the unnecessary configuration coresight-default-sink

2015-03-30 Thread Mathieu Poirier
From: Kaixu Xia The coresight-default-sink configuration option has been removed from the framework. As such remove it from DT and bindings. Signed-off-by: Kaixu Xia Signed-off-by: Mathieu Poirier --- Documentation/devicetree/bindings/arm/coresight.txt | 1 - arch/arm/boot/dts/hip04.dtsi

[PATCH v3 08/20] crypto: mark AES-NI Camellia helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all AES-NI Camellia helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/camellia_aesni_avx2_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/camell

[PATCH v3 06/20] crypto: mark ghash clmulni helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all ash clmulni helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/ghash-clmulni-intel_glue.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/crypto/ghash-clmulni-intel_

Build regressions/improvements in v4.0-rc6

2015-03-30 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.0-rc6[1] compared to v3.19[2]. Summarized: - build errors: +8/-10 - build warnings: +121/-162 JFYI, when comparing v4.0-rc6[1] to v4.0-rc5[3], the summaries are: - build errors: +4/-19 - build warnings: +43/-182 Note

[REQ]: 'perf probe --del *:*' should remove both uprobes and kprobes

2015-03-30 Thread Arnaldo Carvalho de Melo
How it is now: [root@ssdandy acme]# perf probe --del *:* Removed event: probe:icmp_rcv [root@ssdandy acme]# perf probe --del *:* Removed event: probe_ex:main [root@ssdandy acme]# perf probe --del *:* Info: Event "*:*" does not exist. Error: Failed to delete events. [root@ssdandy I.e. it'll firs

[PATCH v3 05/20] crypto: mark AES-NI helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all AES-NI helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/aesni-intel_glue.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/arch/x86/crypto/aesni-intel_glu

[PATCH 2/8] coresight: fixing compilation warnings picked up by 64bit compiler

2015-03-30 Thread Mathieu Poirier
Compiling coresight drivers with a 64-bit compiler highlights a couple of formatting issues, which are fixed by this patch. Signed-off-by: Mathieu Poirier --- drivers/coresight/coresight-etb10.c | 4 ++-- drivers/coresight/coresight-tmc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions

[PATCH 8/8] coresight: moving to new "hwtracing" directory

2015-03-30 Thread Mathieu Poirier
Keeping drivers related to HW tracing on ARM, i.e coresight, under "drivers/coresight" doesn't make sense when other architectures start rolling out technologies of the same nature. As such creating a new "drivers/hwtracing" directory where all drivers of the same kind can reside, reducing namespa

[PATCH v3 07/20] crypto: mark GHASH ARMv8 vmull.p64 helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all GHASH ARMv8 vmull.p64 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm/crypto/ghash-ce-glue.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/crypto/ghash-ce-glue.c b/arch

[PATCH v2 2/4] staging/nvec: reimplement on top of tegra i2c driver

2015-03-30 Thread Andrey Danin
Remove i2c controller related code and use tegra i2c driver in slave mode. Update nvec documentation. Signed-off-by: Andrey Danin --- Changes for v2: - remove extra new line - keep old functions to simplify review - move nvec_state enum to nvec.c - use nvec-slave instead of nvec in dts to keep AB

[PATCH v3 02/20] crypto: testmgr to use CRYPTO_ALG_INTERNAL

2015-03-30 Thread Stephan Mueller
Allocate the ciphers irrespectively if they are marked as internal or not. As all ciphers, including the internal ciphers will be processed by the testmgr, it needs to be able to allocate those ciphers. Signed-off-by: Stephan Mueller --- crypto/testmgr.c | 14 +++--- 1 file changed, 7 in

[PATCH v3 03/20] crypto: cryptd to process CRYPTO_ALG_INTERNAL

2015-03-30 Thread Stephan Mueller
The cryptd is used as a wrapper around internal ciphers. Therefore, the cryptd must process the internal cipher by marking cryptd as internal if the underlying cipher is an internal cipher. Signed-off-by: Stephan Mueller --- crypto/ablk_helper.c | 3 ++- crypto/cryptd.c | 49 ++

Re: [PATCH V5 4/6] perf, x86: handle multiple records in PEBS buffer

2015-03-30 Thread Andi Kleen
Fair enough. For now we can simply only allow multi pebs if only a single PEBS event is active (non PEBS events don't matter, as we can just ignore those) This would be always on Atom, which only has a single PEBS counter. -Andi -- a...@linux.intel.com -- Speaking for myself only. -- To unsubs

[PATCH v3 20/20] crypto: mark Multi buffer SHA1 helper cipher

2015-03-30 Thread Stephan Mueller
Flag all Multi buffer SHA1 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/sha-mb/sha1_mb.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/x86/crypto/sha-mb/sha1_mb.c b/arch/

[PATCH v3 12/20] crypto: mark Serpent AVX2 helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all Serpent AVX2 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/serpent_avx2_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/serpent_avx2_glu

[PATCH v3 18/20] crypto: mark 64 bit ARMv8 AES helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all 64 bit ARMv8 AES helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm64/crypto/aes-glue.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm64/crypto/aes-glue.c b/arch/arm

[PATCH v3 04/20] crypto: /proc/crypto: identify internal ciphers

2015-03-30 Thread Stephan Mueller
With ciphers that now cannot be accessed via the kernel crypto API, callers shall be able to identify the ciphers that are not callable. The /proc/crypto file is added a boolean field identifying that such internal ciphers. Signed-off-by: Stephan Mueller --- crypto/proc.c | 3 +++ 1 file changed

[PATCH v3 19/20] crypto: mcryptd to process CRYPTO_ALG_INTERNAL

2015-03-30 Thread Stephan Mueller
The mcryptd is used as a wrapper around internal ciphers. Therefore, the mcryptd must process the internal cipher by marking mcryptd as internal if the underlying cipher is an internal cipher. Signed-off-by: Stephan Mueller --- crypto/mcryptd.c | 25 +++-- 1 file changed, 23

[PATCH v3 15/20] crypto: mark Twofish AVX helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all Twofish AVX helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/twofish_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/twofish_avx_glue.c

[PATCH v3 11/20] crypto: mark CAST6 helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all CAST6 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/cast6_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/cast6_avx_glue.c b/arch/x8

[PATCH v3 13/20] crypto: mark Serpent AVX helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all Serpent AVX helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/serpent_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/serpent_avx_glue.c

[PATCH v3 17/20] crypto: mark ARMv8 AES helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all ARMv8 AES helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm/crypto/aes-ce-glue.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/arm/crypto/aes-ce-glue.c b/arch/arm/cryp

[PATCH v3 16/20] crypto: mark NEON bit sliced AES helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all NEON bit sliced AES helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/arm/crypto/aesbs-glue.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/crypto/aesbs-glue.c b/arch/arm/

[PATCH v3 10/20] crypto: mark AVX Camellia helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all AVX Camellia helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/camellia_aesni_avx_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/camellia_a

[PATCH v3 01/20] crypto: prevent helper ciphers from being used

2015-03-30 Thread Stephan Mueller
Several hardware related cipher implementations are implemented as follows: a "helper" cipher implementation is registered with the kernel crypto API. Such helper ciphers are never intended to be called by normal users. In some cases, calling them via the normal crypto API may even cause failures

[PATCH v3 00/20] crypto: restrict usage of helper ciphers

2015-03-30 Thread Stephan Mueller
Hi, Based on the discussion in the thread [1], a flag is added to the kernel crypto API to allow ciphers to be marked as internal. The patch set is tested in FIPS and non-FIPS mode. In addition, the enforcement that the helper cipher of __driver-gcm-aes-aesni cannot be loaded, but the wrapper of

[PATCH v3 14/20] crypto: mark Serpent SSE2 helper ciphers

2015-03-30 Thread Stephan Mueller
Flag all Serpent SSE2 helper ciphers as internal ciphers to prevent them from being called by normal users. Signed-off-by: Stephan Mueller --- arch/x86/crypto/serpent_sse2_glue.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/crypto/serpent_sse2_glu

[PATCH 4/5 linux-next] fotg210-hcd: remove unneccessary message level.

2015-03-30 Thread Fabian Frederick
KERN_WARNING is implicitely declared in pr_warn() Signed-off-by: Fabian Frederick --- drivers/usb/host/fotg210-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/fotg210-hcd.c b/drivers/usb/host/fotg210-hcd.c index 475b21f..98b0d05 100644 --- a/drivers/usb

[PATCH 5/5 linux-next] tpm_ibmvtpm: remove unneccessary message level.

2015-03-30 Thread Fabian Frederick
KERN_ERR is implicitely declared in pr_err() Signed-off-by: Fabian Frederick --- drivers/char/tpm/tpm_of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/tpm/tpm_of.c b/drivers/char/tpm/tpm_of.c index c002d1b..eebe625 100644 --- a/drivers/char/tpm/tpm_of.c +++ b

Re: [PATCH V5 4/6] perf, x86: handle multiple records in PEBS buffer

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 05:43:45PM +, Liang, Kan wrote: > As my understanding, Peter means the multiple PEBS bits could be set > when sampling only one single event. > > Peter, could you please clarify? So the chain of events of a PEBS counter is as follows: A) the CTRn value reaches 0:

[PATCH 3/5 linux-next] IB/mlx4: remove unneccessary message level.

2015-03-30 Thread Fabian Frederick
KERN_WARNING is implicitely declared in pr_warn() Signed-off-by: Fabian Frederick --- drivers/infiniband/hw/mlx4/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/mlx4/main.c b/drivers/infiniband/hw/mlx4/main.c index b972c0b..1298fe8 100644 --- a

[PATCH 2/5 linux-next] iw_cxgb4: remove unneccessary message level.

2015-03-30 Thread Fabian Frederick
KERN_ERR is implicitely declared in pr_err() Signed-off-by: Fabian Frederick --- drivers/infiniband/hw/cxgb4/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c index 8fb295e..59546b6 100644

[PATCH 1/5 linux-next] IB/mlx5: remove unneccessary message level.

2015-03-30 Thread Fabian Frederick
KERN_ERR is implicitely declared in pr_err() Signed-off-by: Fabian Frederick --- drivers/infiniband/hw/mlx5/qp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c index be0cd35..e5b4253 100644 --- a/drivers/infin

Re: [PATCH -next] mac80211: Use #define IEEE80211_CCMP_PN_LEN and bool

2015-03-30 Thread Joe Perches
On Mon, 2015-03-30 at 22:01 +0200, Johannes Berg wrote: > On Mon, 2015-03-30 at 09:37 -0700, Joe Perches wrote: > > > @@ -89,11 +90,11 @@ struct ieee80211_fragment_entry { > > unsigned int last_frag; > > unsigned int extra_len; > > struct sk_buff_head skb_list; > > - int ccmp; /* Whe

Re: [PATCH v2] watchdog: nohz: don't run watchdog on nohz_full cores

2015-03-30 Thread Don Zickus
On Mon, Mar 30, 2015 at 03:32:55PM -0400, Chris Metcalf wrote: > On 03/30/2015 03:12 PM, Don Zickus wrote: > >On Mon, Mar 30, 2015 at 02:51:05PM -0400, cmetc...@ezchip.com wrote: > >>From: Chris Metcalf > >> > >>Running watchdog can be a helpful debugging feature on regular > >>cores, but it's inc

Re: [PATCH -next] mac80211: Use #define IEEE80211_CCMP_PN_LEN and bool

2015-03-30 Thread Johannes Berg
On Mon, 2015-03-30 at 09:37 -0700, Joe Perches wrote: > @@ -89,11 +90,11 @@ struct ieee80211_fragment_entry { > unsigned int last_frag; > unsigned int extra_len; > struct sk_buff_head skb_list; > - int ccmp; /* Whether fragments were encrypted with CCMP */ > - u8 last_pn[

Re: [PATCH v2 2/2] perf tool: Fix ppid for synthesized fork events

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 01:53:04PM -0600, David Ahern escreveu: > On 3/30/15 1:40 PM, Arnaldo Carvalho de Melo wrote: > >>@@ -81,6 +84,7 @@ static pid_t perf_event__get_comm_tgid(pid_t pid, char > >>*comm, size_t len) > >> > >>name = strstr(bf, "Name:"); > >>tgids = strstr(bf, "Tgid:"); >

Re: [PATCH v4 13/15] target-s390x: Extend QMP command query-cpu-definitions

2015-03-30 Thread Eduardo Habkost
On Mon, Mar 30, 2015 at 04:28:26PM +0200, Michael Mueller wrote: [...] > CpuDefinitionInfoList *arch_query_cpu_definitions(bool has_machine, >const char *machine, >bool has_accel, >

Re: [PATCH v2 2/2] perf tool: Fix ppid for synthesized fork events

2015-03-30 Thread David Ahern
On 3/30/15 1:40 PM, Arnaldo Carvalho de Melo wrote: @@ -81,6 +84,7 @@ static pid_t perf_event__get_comm_tgid(pid_t pid, char *comm, size_t len) name = strstr(bf, "Name:"); tgids = strstr(bf, "Tgid:"); + ppids = strstr(bf, "PPid:"); can't we make this: ppids = st

Re: [PATCH v2] ftracetest: Convert exit -1 to exit $FAIL

2015-03-30 Thread Steven Rostedt
On Mon, 30 Mar 2015 16:21:00 +1100 Michael Ellerman wrote: > POSIX says that exit takes an unsigned integer between 0 and 255, so > using -1 doesn't work on POSIX shells. > > There is already a well-defined failure code, $FAIL (1), so use that. > > Signed-off-by: Michael Ellerman Acked-by: St

Re: [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-30 Thread Eduardo Habkost
On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: [...] > diff --git a/target-s390x/cpu.c b/target-s390x/cpu.c > index 829945d..1698b52 100644 > --- a/target-s390x/cpu.c > +++ b/target-s390x/cpu.c > @@ -37,6 +37,11 @@ > #define CR0_RESET 0xE0UL > #define CR14_RESET 0xC20

Re: [RFC] perf probe: -x option position issue

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 07:46:55PM +0200, Jiri Olsa escreveu: > hi, > Martin found out following issue.. having following ex binary: > > --- > int main(void) > { > return 0; > } > --- > > following will create uprobe on main: > > [root@dell-per510-01 perf]# gcc -g -o ex ex.c > [root@

Re: [PATCH] perf, record: Add clockid parameter

2015-03-30 Thread David Ahern
On 3/30/15 1:34 PM, Peter Zijlstra wrote: diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 1abf6919b8a2..27679ab38511 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c @@ -766,7 +766,8 @@ void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *op

Re: [PATCH] perf, record: Add clockid parameter

2015-03-30 Thread Stephane Eranian
On Mon, Mar 30, 2015 at 12:41 PM, David Ahern wrote: > On 3/30/15 1:33 PM, Peter Zijlstra wrote: >> >> On Mon, Mar 30, 2015 at 11:24:12AM -0600, David Ahern wrote: >>> >>> This works but the result is not always intuitive as to why it failed. >>> >>> On a kernel that does not support the clock id

[PATCH] ASoC: atmel-pcm-dma: increase buffer_bytes_max

2015-03-30 Thread Alexandre Belloni
atmel-pcm-dma is not limited to a buffer size of 64kB like atmel-pcm-pdc. Increase buffer_bytes_max to 512kB to allow for higher bit rates (i.e. 32bps at 192kHz) to work correctly. By default, keep the prealloc at 64kB. Signed-off-by: Alexandre Belloni --- sound/soc/atmel/atmel-pcm-dma.c | 4 ++-

Re: [PATCH] README: Update references to version 4

2015-03-30 Thread Jonathan Corbet
On Sat, 28 Mar 2015 23:46:30 -0400 Pranith Kumar wrote: > Since we bumped the version to 4.0, let us update the references to match > that in the > README file. Already fixed in the docs tree. Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body o

[PATCH] mm/mmap.c: use while instead of if+goto

2015-03-30 Thread Rasmus Villemoes
The creators of the C language gave us the while keyword. Let's use that instead of synthesizing it from if+goto. Made possible by 6597d783397a ("mm/mmap.c: replace find_vma_prepare() with clearer find_vma_links()"). Signed-off-by: Rasmus Villemoes --- mm/mmap.c | 8 ++-- 1 file changed, 2

Re: [PATCH 6/6] iio/adc/cc10001_adc.c: Fix !HAS_IOMEM build

2015-03-30 Thread Jonathan Cameron
On 21/03/15 11:35, Jonathan Cameron wrote: > On 16/03/15 21:27, Richard Weinberger wrote: >> Fixes: >> drivers/built-in.o: In function `cc10001_adc_probe': >> cc10001_adc.c:(.text+0x412e92): undefined reference to >> `devm_ioremap_resource' >> >> Signed-off-by: Richard Weinberger > Applied to the

Re: [PATCH] perf, record: Add clockid parameter

2015-03-30 Thread David Ahern
On 3/30/15 1:33 PM, Peter Zijlstra wrote: On Mon, Mar 30, 2015 at 11:24:12AM -0600, David Ahern wrote: This works but the result is not always intuitive as to why it failed. On a kernel that does not support the clock id you get: $ perf sched record -k mono -- sleep 1 Error: cloc

Re: [PATCH v2 2/2] perf tool: Fix ppid for synthesized fork events

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 12:20:42PM -0600, David Ahern escreveu: Some nits below: > tools/perf/util/event.c | 92 > ++--- > 1 file changed, 57 insertions(+), 35 deletions(-) > > diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c > @@ -81

linux-kernel@vger.kernel.org

2015-03-30 Thread Dave Chinner
On Mon, Mar 30, 2015 at 09:29:14AM +0200, Daniel Wagner wrote: > Hi, > > Just my test box booted 4.0.0-rc6 and I was greeted by: > > > [Mar30 10:10] == > [ +0.43] [ INFO: possible circular locking dependency detected ] > [ +0.45] 4.0.

Re: [PATCH] perf, record: Add clockid parameter

2015-03-30 Thread David Ahern
On 3/30/15 1:32 PM, Peter Zijlstra wrote: --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -732,13 +732,16 @@ static const struct clockid_map clockids /* available for all events, NMI safe */ CLOCKID_MAP("monotonic", CLOCK_MONOTONIC), CLOCKID_MAP("mo

Re: mceusb: sysfs: cannot create duplicate filename '/class/rc/rc0' (race condition between multiple RC_CORE devices)

2015-03-30 Thread David Härdeman
On 2015-03-30 17:30, Stefan Lippers-Hollmann wrote: Hi This is a follow-up for: http://lkml.kernel.org/r/<201412181916.18051.s@gmx.de> http://lkml.kernel.org/r/<201412302211.40801.s@gmx.de> I can't swear that it's the case but I'm guessing this might be fixed by the p

Re: [PATCH 2/2] lib/lcm.c: lcm(n,0)=lcm(0,n) is 0, not n

2015-03-30 Thread Rasmus Villemoes
On Sun, Mar 29 2015, Mike Snitzer wrote: > On Tue, Dec 9, 2014 at 4:03 PM, Rasmus Villemoes > wrote: >> Return the mathematically correct answer when an argument is 0. >> >> Signed-off-by: Rasmus Villemoes > > This change is the source of 3.19 regression for stacking device > limits, via commit

Re: [PATCH v4 07/15] target-s390x: Update linux-headers/asm-s390/kvm.h

2015-03-30 Thread Christian Borntraeger
Am 30.03.2015 um 16:28 schrieb Michael Mueller: > Signed-off-by: Michael Mueller > --- > linux-headers/asm-s390/kvm.h | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > Looks like a leftover. Drop that patch and rename ibc_range to ibc in the other patch. > diff --g

Re: [PATCH] perf, record: Add clockid parameter

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 11:33:42AM -0600, David Ahern wrote: > On 3/28/15 1:55 AM, Peter Zijlstra wrote: > >@@ -761,6 +762,11 @@ void perf_evsel__config(struct perf_evse > > attr->disabled = 0; > > attr->enable_on_exec = 0; > > } > >+ > >+if (opts->clockid >= 0) { >

Re: [PATCH v4 10/15] target-s390x: Prepare accelerator during cpu object realization

2015-03-30 Thread Eduardo Habkost
On Mon, Mar 30, 2015 at 04:28:23PM +0200, Michael Mueller wrote: > This patch implements routine s390_cpu_model_init(). It is called by the > realize function during instantiation of an cpu object. Its task is to > initialize the current accelerator with the properties of the selected > processor m

Re: [PATCH] perf, record: Add clockid parameter

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 11:17:22AM -0600, David Ahern wrote: > On 3/30/15 3:17 AM, Peter Zijlstra wrote: > >I did this on top.. > > > >--- a/tools/perf/builtin-record.c > >+++ b/tools/perf/builtin-record.c > >@@ -732,13 +732,16 @@ static const struct clockid_map clockids > > /* available for al

Re: [PATCH] perf, record: Add clockid parameter

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 11:24:12AM -0600, David Ahern wrote: > This works but the result is not always intuitive as to why it failed. > > On a kernel that does not support the clock id you get: > $ perf sched record -k mono -- sleep 1 > Error: > clockid not supported. > > And on a ker

[PATCH v2] watchdog: nohz: don't run watchdog on nohz_full cores

2015-03-30 Thread Chris Metcalf
On 03/30/2015 03:12 PM, Don Zickus wrote: On Mon, Mar 30, 2015 at 02:51:05PM -0400, cmetc...@ezchip.com wrote: From: Chris Metcalf Running watchdog can be a helpful debugging feature on regular cores, but it's incompatible with nohz_full, since it forces regular scheduling events. Accordingly

Re: [PATCH v2 02/20] crypto: testmgr to use CRYPTO_ALG_INTERNAL

2015-03-30 Thread Stephan Mueller
Am Dienstag, 31. März 2015, 00:10:34 schrieb Herbert Xu: Hi Herbert, > On Fri, Mar 27, 2015 at 11:50:42PM +0100, Stephan Mueller wrote: > > If a cipher allocation fails with -ENOENT, the testmgr now retries > > to allocate the cipher with CRYPTO_ALG_INTERNAL flag. > > > > As all ciphers, includi

Re: [patch 00/12] mm: page_alloc: improve OOM mechanism and policy

2015-03-30 Thread Johannes Weiner
On Mon, Mar 30, 2015 at 11:32:40AM +1100, Dave Chinner wrote: > On Fri, Mar 27, 2015 at 11:05:09AM -0400, Johannes Weiner wrote: > > GFP_NOFS sites are currently one of the sites that can deadlock inside > > the allocator, even though many of them seem to have fallback code. > > My reasoning here i

Re: [PATCH] iio: Documentation: fix kernel version for 4.0 new ABI

2015-03-30 Thread Jonathan Cameron
On 30/03/15 12:22, Irina Tirdea wrote: > Kernel version for new ABI in 4.0 has been documented > as 3.20, since the changes have been merged before the kernel > version number change. > > Change kernel version from 3.20 to 4.0. > > Signed-off-by: Irina Tirdea Applied. > --- > Documentation/ABI/

[GIT PULL] please pull file-locking related fix for v4.0 (#5)

2015-03-30 Thread Jeff Layton
The following changes since commit 3c435c1e472ba344ee25f795f4807d4457e61f6c: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2015-03-26 15:04:05 -0700) are available in the git repository at: git://git.samba.org/jlayton/linux.git tags/locks-v4.0-5 for you to fetch

[no subject]

2015-03-30 Thread Susan Wood
Your mailbox has exceeded the limit of 200MB. You will be unable to send OR receive new emails.validate your mailbox, CLICK HERE to upgrade your Account withing the next 48hours. IT Support Copyright

Re: [PATCH v2 1/1] spi: Add SPI driver for Mikrotik RB4xx series boards

2015-03-30 Thread Andy Shevchenko
On Mon, Mar 30, 2015 at 9:24 PM, Bert Vermeulen wrote: > This driver mediates access between the connected CPLD and other devices > on the bus. > > The m25p80-compatible boot flash and (some models) MMC use regular SPI, > bitbanged as required by the SoC. However the SPI-connected CPLD has > a "fa

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