Re: [PATCH v3 00/17] crypto: talitos - Add support for SEC1

2015-04-18 Thread Herbert Xu
On Fri, Apr 17, 2015 at 04:31:47PM +0200, Christophe Leroy wrote: > The purpose of this set of patchs is to add to talitos crypto driver > the support for the SEC1 version of the security engine, which is > found in mpc885 and mpc8272 processors. > > v3 is a complete rework of the patchset. Since

[PATCH] ocfs2: use retval instead of status for checking error

2015-04-18 Thread Daeseok Youn
The use of 'status' in __ocfs2_add_entry() can return wrong value. Some functions' return value in __ocfs2_add_entry(), i.e ocfs2_journal_access_di() is saved to 'status'. But 'status' is not used in 'bail' label for returning result of __ocfs2_add_entry(). So use retval instead of status.

Re: [Adi-buildroot-devel] [Consult] blackfin: About one building break issue for STACKTRACE

2015-04-18 Thread Chen Gang
On 4/18/15 06:20, Chen Gang wrote: > On 4/17/15 22:02, Chen Gang wrote: >> On 4/17/15 11:02, Zhang, Sonic wrote: >>> Hi Gang, >>> >>> Please only use the GCC for Blackfin 2013R1 or 2014R1 from >>> https://sourceforge.net/projects/adi-buildroot/files/ . Upstream GCC5 isn't >>> ported to Blackfin

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 09:13 PM, Guenter Roeck wrote: On 04/18/2015 02:41 PM, David Miller wrote: From: Sowmini Varadhan Date: Sat, 18 Apr 2015 15:55:14 -0400 Sowmini, I think I sorted this out in the 'sparc' GIT tree. Can you take a look? The patches look right now. These are the commit-ids I

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 02:41 PM, David Miller wrote: From: Sowmini Varadhan Date: Sat, 18 Apr 2015 15:55:14 -0400 Sowmini, I think I sorted this out in the 'sparc' GIT tree. Can you take a look? The patches look right now. These are the commit-ids I checked

[PATCH 7/7] perf hists browser: Simplify zooming code a bit

2015-04-18 Thread Namhyung Kim
Introduce pstack_peek() and reuse do_zoom_dso/thread() function. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 16 +--- tools/perf/util/pstack.c | 7 +++ tools/perf/util/pstack.h | 1 + 3 files changed, 13 insertions(+), 11 deletions(-) diff

[PATCH 6/7] perf hists browser: Split popup menu actions

2015-04-18 Thread Namhyung Kim
Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. The add_XXX_opt() functions are to register popup menu item on the selected entry. When it adds an item, it also

[PATCH 5/7] perf hists browser: Fix possible memory leak

2015-04-18 Thread Namhyung Kim
The options array saves strings for each popup menu item. The number of items can be vary according to the currently selected item. So it can leak some memory if it's exited from a small item. Fix it by freeing all items when loop terminates. Signed-off-by: Namhyung Kim ---

[PATCH 4/7] perf tools: Move init_have_children field to struct hist_entry_tui

2015-04-18 Thread Namhyung Kim
The init_have_children is used to init callchain info only for TUI. So it'd be better to move it to the hist_entry_tui struct. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 4 ++-- tools/perf/util/sort.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH 2/7] perf diff: Make hist_entry_diff fields union

2015-04-18 Thread Namhyung Kim
The period_ratio_delta, period_ratio and wdiff are never by used at the same time. Instead, Just one of them is accessed according to a comparison method. So make it union to reduce memory footprint. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.h | 15 --- 1 file changed,

[PATCH 1/7] perf tools: Get rid of position field from struct hist_entry

2015-04-18 Thread Namhyung Kim
It's not used anywhere, let's get rid of it. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 846036a921dc..af192f172fa2 100644 --- a/tools/perf/util/sort.h +++

[PATCHSET 0/7] perf tools: Assorted cleanup for TUI (v1)

2015-04-18 Thread Namhyung Kim
Hello, This patches are to cleanup TUI hists browser code for later work. I moved hist_entry_diff and hist_entry_tui under an union in order to reduce memory footprint of hist entry. Also split out hist browser functions to make it easier to read. It's available on 'perf/tui-cleanup-v1' branch

[PATCH 3/7] perf tools: Move TUI-specific fields to struct hist_entry_tui

2015-04-18 Thread Namhyung Kim
Since perf diff only support stdio output, TUI fields are only accessed from perf report (or perf top). So add new struct hist_entry_tui and move those fields into them. And include it as an union member. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 52

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 08:39 PM, Rabin Vincent wrote: On Sat, Apr 18, 2015 at 06:56:02PM -0700, Guenter Roeck wrote: Further debugging (with added WARN_ON if cpu != 0 in smp_call_function_single) shows: [<800157ec>] (unwind_backtrace) from [<8001250c>] (show_stack+0x10/0x14) [<8001250c>] (show_stack)

Re: [RFC 0/6] perf stat: Metrics calculation fix

2015-04-18 Thread Namhyung Kim
Hi Jiri, On Tue, Apr 07, 2015 at 11:25:13PM +0200, Jiri Olsa wrote: > hi, > I'm sending Andi's patch accompanied with changes requested by Ingo. > http://marc.info/?l=linux-kernel=139748629929175=2 > > I added simple bit calculated index array, while exclude_* bits > might have more strict

[PATCH] usb: core: add usb3 lpm sysfs

2015-04-18 Thread Zhuang Jin Can
Some usb3 devices may not support usb3 lpm well. The patch adds a sysfs to enable/disable u1 or u2 of the port.The settings apply to both before and after device enumeration. Supported values are "0" - u1 and u2 are disabled, "u1" - only u1 is enabled, "u2" - only u2 is enabled, "u1_u2" - u1 and

Re: [PATCH 2/2] perf tools: Add a option 'remove' to perf-config and features which get or set a config variable.

2015-04-18 Thread Namhyung Kim
On Sat, Apr 18, 2015 at 02:02:17PM +0900, Taewoong Song wrote: > > On Apr 13, 2015, at 3:55 PM, Namhyung Kim wrote: > > On Sun, Apr 12, 2015 at 11:44:49PM +0900, Taeung Song wrote: > >> +static struct config_section *find_config_section(const char > >> *section_name) > >> +{ > >> + struct

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Rabin Vincent
On Sat, Apr 18, 2015 at 06:56:02PM -0700, Guenter Roeck wrote: > Further debugging (with added WARN_ON if cpu != 0 in > smp_call_function_single) shows: > > [<800157ec>] (unwind_backtrace) from [<8001250c>] (show_stack+0x10/0x14) > [<8001250c>] (show_stack) from [<80494cb4>]

[PATCH] Documentation/CodingStyle: fix example macro parenthesis imbalance

2015-04-18 Thread Baruch Siach
Cc: Bartosz Golaszewski Cc: Andrew Morton Fixes: f2027543b9 ('documentation: update CodingStyle on local variables naming in macros') Signed-off-by: Baruch Siach --- Documentation/CodingStyle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/CodingStyle

Re: [PATCH 1/2] perf tools: Add 'perf-config' command

2015-04-18 Thread Namhyung Kim
On Sat, Apr 18, 2015 at 07:14:06PM +0900, Taewoong Song wrote: > > On Apr 13, 2015, at 3:16 PM, Namhyung Kim wrote: > > On Sun, Apr 12, 2015 at 11:44:48PM +0900, Taeung Song wrote: > >> +static void check_argc(int argc, int limit) > >> +{ > >> + if (argc >= limit && argc <= limit) > >> +

Re: [PATCH 1/2] perf tools: Add 'perf-config' command

2015-04-18 Thread Namhyung Kim
Hi Taeung, On Sat, Apr 18, 2015 at 02:02:08PM +0900, Taewoong Song wrote: > Hi, Namhyung > > Thanks for your review and advices :) > There is a question which may be weird, followed by > > > On Apr 13, 2015, at 3:16 PM, Namhyung Kim wrote: > > > > Hi Taeung, > > > > On Sun, Apr 12, 2015 at

[PATCH] usb: storage: scsiglue: Remove SPRINTF macro use

2015-04-18 Thread Joe Perches
Single transform macros with hidden arguments are not particularly useful. Just use seq_printf directly instead. Signed-off-by: Joe Perches --- drivers/usb/storage/scsiglue.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/usb/storage/scsiglue.c

[GIT PULL] turbostat update for Linux-4.1

2015-04-18 Thread Len Brown
Hi Linus, Please pull these updates to the turbostat utility. Just one kernel dependency in this batch -- added a #define to msr-index.h thanks! Len Brown, Intel Open Source Technology Center The following changes since commit 39a8804455fb23f09157341d3ba7db6d7ae6ee76: Linux 4.0 (2015-04-12

Re: [GIT RFC PULL rcu/urgent] Prevent Kconfig from asking pointless questions

2015-04-18 Thread Paul E. McKenney
On Sat, Apr 18, 2015 at 04:32:38PM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Sat, Apr 18, 2015 at 03:03:41PM +0200, Ingo Molnar wrote: > > > > > > * Paul E. McKenney wrote: > > > > > > > Hello, Ingo, > > > > > > > > This series contains a single change that fixes

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 05:04 PM, Linus Torvalds wrote: On Sat, Apr 18, 2015 at 7:40 PM, Guenter Roeck wrote: On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output from the console.

Re: [PATCH 2/2] Staging: dgnc: fixed code style issues, mainly line width issues.

2015-04-18 Thread Joe Perches
On Sun, 2015-04-19 at 02:04 +0200, Yorick Rommers wrote: > A patch for dgnc_mgmt.c and dgnc_neo.c to fix some code style issues. trivial notes: Try breaking up the patches you send into more discrete chucks that do just one thing, not mostly one thing and some other things. > diff --git

[PATCH 1/1] x86: replace cpu_up hard-coded mdelay with variable

2015-04-18 Thread Len Brown
From: Len Brown Default behavior unchanged. cpu_up() has a hard-coded mdelay(10). Change that to a variable, with default CONFIG_X86_INIT_MDELAY and a boot-time override, "cpu_init_mdelay=N" This patch adds mechanism without changing default policy. Default policy will be changed in a

[PATCH 0/1] speeding up cpu_up()

2015-04-18 Thread Len Brown
The following patch... [PATCH 1/1] x86: replace cpu_up hard-coded mdelay with variable enables reducing cpu_up() time by 10ms on modern systems. This means that for every processor in the system, boot-time and resume-time can be reduced by 10ms per-processor. Once this patch is accepted, I'll

[GIT PULL] ext4 changes for 4.1

2015-04-18 Thread Theodore Ts'o
The following changes since commit 1efff914afac8a965ad63817ecf8861a927c2ace: fs: add dirtytime_expire_seconds sysctl (2015-03-17 12:23:32 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus for you to fetch

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On 04/18/2015 05:04 PM, Linus Torvalds wrote: On Sat, Apr 18, 2015 at 7:40 PM, Guenter Roeck wrote: On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output from the console.

Re: [patch] seccomp.2: Note that memory area is read-only

2015-04-18 Thread Alexei Starovoitov
On Sat, Apr 18, 2015 at 04:37:35PM -0700, Kees Cook wrote: > On Mon, Apr 6, 2015 at 8:29 AM, Michael Kerrisk (man-pages) > wrote: > > Hi Kees, > > > > I recently was asked about the point below, and had to go check the code > > to be sure, since the man page said nothing. It would be good to have

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Linus Torvalds
On Sat, Apr 18, 2015 at 7:40 PM, Guenter Roeck wrote: > On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: >> >> my qemu test for arm:vexpress fails with the latest upstream kernel. It fails >> hard - I don't get any output from the console. Bisect points to commit >> 8053871d0f7f

[PATCH 2/2] Staging: dgnc: fixed code style issues, mainly line width issues.

2015-04-18 Thread Yorick Rommers
A patch for dgnc_mgmt.c and dgnc_neo.c to fix some code style issues. Signed-off-by: Yorick Rommers --- drivers/staging/dgnc/dgnc_mgmt.c | 4 +- drivers/staging/dgnc/dgnc_neo.c | 210 +++ 2 files changed, 151 insertions(+), 63 deletions(-) diff --git

Re: qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
On Sat, Apr 18, 2015 at 04:23:25PM -0700, Guenter Roeck wrote: > Hi all, > > my qemu test for arm:vexpress fails with the latest upstream kernel. It fails > hard - I don't get any output from the console. Bisect points to commit > 8053871d0f7f ("smp: Fix smp_call_function_single_async()

Re: [patch] seccomp.2: Note that memory area is read-only

2015-04-18 Thread Kees Cook
On Mon, Apr 6, 2015 at 8:29 AM, Michael Kerrisk (man-pages) wrote: > Hi Kees, > > I recently was asked about the point below, and had to go check the code > to be sure, since the man page said nothing. It would be good to have > a confirmation: the seccomp_data buffer supplied to a seccomp BPF

qemu:arm test failure due to commit 8053871d0f7f (smp: Fix smp_call_function_single_async() locking)

2015-04-18 Thread Guenter Roeck
Hi all, my qemu test for arm:vexpress fails with the latest upstream kernel. It fails hard - I don't get any output from the console. Bisect points to commit 8053871d0f7f ("smp: Fix smp_call_function_single_async() locking"). Reverting this commit fixes the problem. Please let me know if there

Re: [PATCH 4/5] MIPS: ath79: Fix the PCI memory size and offset of window 7

2015-04-18 Thread Jonas Gorski
Hi, On Fri, Apr 17, 2015 at 2:36 PM, Alban Bedel wrote: > The define AR71XX_PCI_MEM_SIZE miss one window, there is 7 windows, > not 6. To make things clearer, and allow simpler code, derive > AR71XX_PCI_MEM_SIZE from the newly introduced AR71XX_PCI_WIN_COUNT > and AR71XX_PCI_WIN_SIZE. > > The

Re: kernel BUG at mm/swap.c:134! - page dumped because: VM_BUG_ON_PAGE(page_mapcount(page) != 0)

2015-04-18 Thread Borislav Petkov
Forgot to CC lkml for archiving purposes, here's the whole thread in one: --- Hi guys, so I'm running some intermediate state of linus/master + tip/master from Thursday and probably I shouldn't be even taking such splat seriously and wait until 4.1-rc1 has been done but let me report it just in

dm log: struct log_write_super and padding (was: Re: dm: add log writes target)

2015-04-18 Thread Geert Uytterhoeven
On Sat, Apr 18, 2015 at 2:34 PM, Linux Kernel Mailing List wrote: > Gitweb: > http://git.kernel.org/linus/;a=commit;h=0e9cebe724597a76ab1b0ebc0a21e16f7db11b47 > Commit: 0e9cebe724597a76ab1b0ebc0a21e16f7db11b47 > --- /dev/null > +++ b/drivers/md/dm-log-writes.c > @@ -0,0 +1,825 @@ > +/*

[PATCH] dm log: Use ULL suffix for 64-bit constants

2015-04-18 Thread Geert Uytterhoeven
On 32-bit: drivers/md/dm-log-writes.c: In function ‘log_super’: drivers/md/dm-log-writes.c:323: warning: integer constant is too large for ‘long’ type drivers/md/dm-log-writes.c:323: warning: integer constant is too large for ‘long’ type drivers/md/dm-log-writes.c:323: warning: integer constant

[PATCH] kbuild/mkspec: Simplify vmlinux.bz2 creation

2015-04-18 Thread Borislav Petkov
From: Borislav Petkov No need for the intermediary vmlinux.orig - bzip2 can keep the original files used for compression with --keep. Signed-off-by: Borislav Petkov Cc: Michal Marek Cc: linux-kbu...@vger.kernel.org --- scripts/package/mkspec | 4 +--- 1 file changed, 1 insertion(+), 3

[GIT] Sparc

2015-04-18 Thread David Miller
Unfortunately, I brown paper bagged the generic iommu pool allocator by applying the wrong revision of the patch series. This reverts the bad one, and puts the right one in. Please pull, thanks a lot! The following changes since commit 04b7fe6a4a231871ef681bc95e08fe66992f7b1f: Merge

Re: [tpmdd-devel] [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Russell King - ARM Linux
On Sat, Apr 18, 2015 at 11:29:23AM -0600, Jason Gunthorpe wrote: > On Sat, Apr 18, 2015 at 10:01:47AM +0100, Russell King - ARM Linux wrote: > > On Fri, Apr 17, 2015 at 10:30:54AM -0600, Jason Gunthorpe wrote: > > > On Fri, Apr 17, 2015 at 09:50:56AM +0200, Jens Wiklander wrote: > > > > +

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: Sowmini Varadhan Date: Sat, 18 Apr 2015 15:55:14 -0400 >> >> Sowmini, I think I sorted this out in the 'sparc' GIT tree. >> >> Can you take a look? > > The patches look right now. These are the commit-ids I checked > > ff7d37a502022149655c18035b99a53391be0383 >

[sparc:master 2/6] lib/iommu-common.c:14:15: sparse: symbol 'iommu_large_alloc' was not declared. Should it be static?

2015-04-18 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master head: ccb301862aa51ea7c10c10b440f3e8bbeac5b720 commit: ff7d37a502022149655c18035b99a53391be0383 [2/6] Break up monolithic iommu table/lock into finer graularity pools and lock reproduce: # apt-get install sparse

Re: [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Russell King - ARM Linux
On Sat, Apr 18, 2015 at 10:37:16PM +0200, Greg Kroah-Hartman wrote: > On Sat, Apr 18, 2015 at 08:02:24PM +0100, Russell King - ARM Linux wrote: > > On Sat, Apr 18, 2015 at 08:47:13PM +0200, Greg Kroah-Hartman wrote: > > > On Sat, Apr 18, 2015 at 10:04:20AM +0100, Russell King - ARM Linux wrote: >

Re: [PATCH 6/7] perf data: Fix duplicate field names and avoid reserved keywords

2015-04-18 Thread Jiri Olsa
On Sat, Apr 18, 2015 at 02:56:00PM -0400, Jérémie Galarneau wrote: > On Sat, Apr 18, 2015 at 11:50 AM, Jiri Olsa wrote: > > From: Wang Nan > > > > Some parameters of syscall tracepoints named as 'nr', 'event', etc. > > When dealing with them, perf convert to ctf meets some problem: > > > > 1.

Re: [RFC 0/6] perf tools: Report event parsing errors

2015-04-18 Thread Jiri Olsa
On Sat, Apr 18, 2015 at 07:39:27PM +0200, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > hi, > > adding support to report error from event string parsing. > > Very nice! > > > This patchset contains support for standard parsing errors and more > > logic to recognize tracepoint and 'pmu//'

Re: [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 08:02:24PM +0100, Russell King - ARM Linux wrote: > On Sat, Apr 18, 2015 at 08:47:13PM +0200, Greg Kroah-Hartman wrote: > > On Sat, Apr 18, 2015 at 10:04:20AM +0100, Russell King - ARM Linux wrote: > > > On Sat, Apr 18, 2015 at 10:57:12AM +0200, Greg Kroah-Hartman wrote: >

Re: [PATCH 3.10 00/34] 3.10.75-stable review

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 12:10:47PM -0700, Guenter Roeck wrote: > On 04/18/2015 02:02 AM, Greg Kroah-Hartman wrote: > >On Fri, Apr 17, 2015 at 01:00:10PM -0700, Guenter Roeck wrote: > >>On Fri, Apr 17, 2015 at 03:28:32PM +0200, Greg Kroah-Hartman wrote: > >>>This is the start of the stable review

[PATCH 3/3] perf tests: Add build tests for building perf from kernel source root and tools

2015-04-18 Thread Jiri Olsa
Adding build tests for following make commands: $ make -C tools/perf $ make -C /tools perf Link: http://lkml.kernel.org/n/tip-8mz4fits682bac4shmejj...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/tests/make | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-)

[PATCH 1/3] tools build: No need to make libapi for perf explicitly

2015-04-18 Thread Jiri Olsa
The perf build handles its dependencies by itself. Also renaming libapi libapikfs to libapi as it got changed just recently. Link: http://lkml.kernel.org/n/tip-f31hq9rl838ovbyj0w1bh...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/Makefile | 8 1 file changed, 4 insertions(+), 4

[PATCH 2/3] tools build: Fix Makefile(s) to properly invoke tools build

2015-04-18 Thread Jiri Olsa
Several fixes were needed to allow following builds: $ make tools/tmon $ make -C tools/perf $ make -C /tools perf - some of the tools (perf) use same make variables as in kernel build, unsetting srctree and objtree - using original $(O) for O variable - perf build does not follow the

[PATCH 0/3] tools build: Fix tools Makefile

2015-04-18 Thread Jiri Olsa
hi, sending tools/Makefile fixes discussed in here: http://marc.info/?t=14225069361=1=2 thanks, jirka --- Jiri Olsa (3): tools build: No need to make libapi for perf explicitly tools build: Fix Makefile(s) to properly invoke tools build perf tests: Add build tests for

Re: [PATH] MIPS: ath79: Add OF support and DTS for TL-WR1043ND

2015-04-18 Thread Florian Fainelli
Le 17/04/2015 07:24, Alban Bedel a écrit : > This series add OF bindings and code support for the interrupt > controllers, clocks and GPIOs. However it was only tested on a > TL-WR1043ND with an AR9132, others SoCs are untested, and a few are > not supported at all. > > Most code changes base on

Re: panic with CPU hotplug + blk-mq + scsi-mq

2015-04-18 Thread Jens Axboe
On 04/17/2015 10:23 PM, Ming Lei wrote: Hi Dongsu, On Fri, Apr 17, 2015 at 5:41 AM, Dongsu Park wrote: Hi, there's a critical bug regarding CPU hotplug, blk-mq, and scsi-mq. Every time when a CPU is offlined, some arbitrary range of kernel memory seems to get corrupted. Then after a while,

[PATCH 3/3] Usb: core: buffer: fixed the checkpatch warning

2015-04-18 Thread Nizam Haider
Fixed two warnings sizeof name and clank line after declaration Signed-off-by: Nizam Haider --- drivers/usb/core/buffer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/core/buffer.c b/drivers/usb/core/buffer.c index 684ef70..04125b6 100644 ---

Re: [PATCH 1/5 v2] blk-mq: Add prep/unprep support

2015-04-18 Thread Christoph Hellwig
On Sat, Apr 18, 2015 at 08:45:19AM +0200, Matias Bjorling wrote: > The low level drivers will be NVMe and vendor's own PCI-e drivers. It's very > generic in their nature. Each driver would duplicate the same work. Both > could have normal and open-channel drives attached. I didn't say the work

[PATCH] Staging: i2o: fixed various code style issues in i2o_block.c

2015-04-18 Thread Yorick Rommers
From: Yorick This is a patch that fixes errors regarding whitespaces and split strings. Signed-off-by: Yorick Rommers --- drivers/staging/i2o/i2o_block.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/i2o/i2o_block.c

[PATCH Bugfix 3/4] x86/xsaves: Rename xstate_size to kernel_xstate_size to explicitely distinguish xstate size in kernel from user space

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu User space uses standard format xsave area. fpstate in signal frame should have standard format size. To explicitly distinguish between xstate size in kernel space and the one in user space, we rename xstate_size to kernel_xstate_size. This patch is not fixing a bug. It just

[PATCH Bugfix 2/4] x86/xsaves: Define and use user_xstate_size for xstate size in signal context

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu If "xsaves" is enabled, kernel always uses compact format of xsave area. But user space still uses standard format of xsave area. Thus, xstate size in kernel's xsave area is smaller than xstate size in user's xsave area. xstate in signal frame should be in standard format for

[PATCH Bugfix 4/4] x86/xsave: Don't add new states in xsave_struct

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu The structure of xsave_struct is non-architectural. Some xstates could be disabled and leave some holes in the xsave area. In compact format, offsets of xstates in the xsave area are decided during booting time. So the fields in xsave_struct are not static and fixed during

[PATCH Bugfix 1/4] x86/xsave.c: Fix xstate offsets and sizes enumeration

2015-04-18 Thread Fenghua Yu
From: Fenghua Yu When enumerating xstate offsets and sizes from cpuid (eax=0x0d, ecx>=2), it's possible that state m is not implemented while state n (n>m) is implemented. So enumeration shouldn't stop at state m. There is no platform configured like above yet. But this could be a problem in

Re: [PATCH 07/21] nd: dimm devices (nfit "memory-devices")

2015-04-18 Thread Dan Williams
On Sat, Apr 18, 2015 at 1:06 AM, Greg KH wrote: > On Fri, Apr 17, 2015 at 09:35:52PM -0400, Dan Williams wrote: >> Register the dimms described in the nfit as devices on a nd_bus, named >> "dimmN" where N is a global ida index. The dimm numbering per-bus may >> appear contiguous, since we only

Re: [PATCH 06/21] nd: ndctl class device, and nd bus attributes

2015-04-18 Thread Dan Williams
On Sat, Apr 18, 2015 at 1:07 AM, Greg KH wrote: > On Fri, Apr 17, 2015 at 09:35:46PM -0400, Dan Williams wrote: >> This is the position (device topology) independent method to find all >> the NFIT-defined buses in the system. The expectation is that there >> will only ever be one "nd" bus

Re: [PATCH 2/3] ASoC: tas571x: New driver for TI TAS571x power amplifiers

2015-04-18 Thread Kevin Cernekee
On Sat, Apr 18, 2015 at 10:11 AM, Mark Brown wrote: > On Sat, Apr 18, 2015 at 09:16:36AM -0700, Kevin Cernekee wrote: >> On Sat, Apr 18, 2015 at 4:36 AM, Mark Brown wrote: > >> >> +static int tas571x_set_sysclk(struct snd_soc_dai *dai, >> >> + int clk_id, unsigned int

[PATCH 3/7] direct-io: add support for write stream IDs

2015-04-18 Thread Jens Axboe
Get the streamid from the file, if any, and set it on the bio. Signed-off-by: Jens Axboe --- fs/direct-io.c | 4 1 file changed, 4 insertions(+) diff --git a/fs/direct-io.c b/fs/direct-io.c index c3b560b24a46..d318a143b186 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -76,6 +76,7 @@

[PATCH 7/7] ext4: add support for write stream IDs

2015-04-18 Thread Jens Axboe
Signed-off-by: Jens Axboe --- fs/ext4/page-io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/page-io.c b/fs/ext4/page-io.c index 464984261e69..392a82925d5f 100644 --- a/fs/ext4/page-io.c +++ b/fs/ext4/page-io.c @@ -389,6 +389,7 @@ submit_and_retry: ret =

[PATCH 4/7] Add stream ID support for buffered mpage/__block_write_full_page()

2015-04-18 Thread Jens Axboe
Pass on the inode stream ID to the bio allocation. Signed-off-by: Jens Axboe --- fs/buffer.c | 4 ++-- fs/mpage.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/buffer.c b/fs/buffer.c index c7a5602d01ee..5191523cec56 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@

[PATCH v2] Support for write stream IDs

2015-04-18 Thread Jens Axboe
Hi, v2 of this posting. Changes since v1: - Rebased on top of current master. - Fix EINVAL -> -EINVAL typo. - Cleanup up BIO_STREAM_OFFSET definition. - Pack i_streamid and f_streamid better into struct file and struct inode. - Add a separate per-file hint, FADV_FILE_STREAMID. This only

[PATCH 6/7] xfs: add support for buffered writeback stream ID

2015-04-18 Thread Jens Axboe
Signed-off-by: Jens Axboe --- fs/xfs/xfs_aops.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c index 1d8eef9cf0f5..6d166e55de9a 100644 --- a/fs/xfs/xfs_aops.c +++ b/fs/xfs/xfs_aops.c @@ -376,6 +376,7 @@ xfs_submit_ioend_bio(

[PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-04-18 Thread Jens Axboe
The top bits of bio->bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is reserved as a "stream not set" value. Add helpers for setting/getting stream ID of a bio. Signed-off-by: Jens

[PATCH 2/7] Add support for per-file/inode stream ID

2015-04-18 Thread Jens Axboe
Writing on flash devices can be much more efficient, if we can inform the device what kind of data can be grouped together. If the device is able to group data together with similar lifetimes, then it can be more efficient in garbage collection. This, in turn, leads to lower write amplification,

[PATCH 5/7] btrfs: add support for write stream IDs

2015-04-18 Thread Jens Axboe
Both buffered and O_DIRECT. Signed-off-by: Jens Axboe Acked-by: Chris Mason --- fs/btrfs/extent_io.c | 1 + fs/btrfs/inode.c | 1 + 2 files changed, 2 insertions(+) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index d688cfe5d496..2845fae054b6 100644 --- a/fs/btrfs/extent_io.c

Re: Error: DMA: Out of SW-IOMMU space [was: External USB drives become unresponsive after few hours.]

2015-04-18 Thread Dorian Gray
On 18 April 2015 at 12:10, Dorian Gray wrote: > On 17 April 2015 at 22:06, Konrad Rzeszutek Wilk > wrote: >> On Fri, Apr 17, 2015 at 05:14:20PM +0200, Dorian Gray wrote: >>> On 16 April 2015 at 20:42, Konrad Rzeszutek Wilk >>> wrote: >>> > And easier way is to compile the kernel with

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Sowmini Varadhan
> > Sowmini, I think I sorted this out in the 'sparc' GIT tree. > > Can you take a look? The patches look right now. These are the commit-ids I checked ff7d37a502022149655c18035b99a53391be0383 bb620c3d3925aec0ed4f21010c86df08ec18a8c7 0ae53ed15d9b87b883b593a9884957cfa4fc2480 --Sowmini --

Re: [PATCH 1/7] block: add support for carrying a stream ID in a bio

2015-04-18 Thread Jens Axboe
On 04/09/2015 04:46 PM, Andreas Dilger wrote: On Mar 25, 2015, at 9:07 AM, Jens Axboe wrote: The top bits of bio->bi_flags are reserved for keeping the allocation pool, set aside the next eight bits for carrying a stream ID. That leaves us with support for 255 streams, 0 is reserved as a

Re: [PATCH 2/7] Add support for per-file stream ID

2015-04-18 Thread Jens Axboe
On 04/09/2015 05:22 PM, Andreas Dilger wrote: On Mar 25, 2015, at 9:07 AM, Jens Axboe wrote: Writing on flash devices can be much more efficient, if we can inform the device what kind of data can be grouped together. If the device is able to group data together with similar lifetimes, then it

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread Sowmini Varadhan
On (04/18/15 15:40), David Miller wrote: > > Sowmini, I think I sorted this out in the 'sparc' GIT tree. > > Can you take a look? > checking it right now.. give me a few minutes.. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 03/21] nd_acpi: initial core implementation and nfit skeleton

2015-04-18 Thread Paul Bolle
On Fri, 2015-04-17 at 21:35 -0400, Dan Williams wrote: > --- /dev/null > +++ b/drivers/block/nd/Kconfig > + depends on (X86 || IA64 || ARM || ARM64 || SH || XTENSA) I've only skimmed this series. I still noticed this patch contains the only Kconfig typo I know by heart. Because I think you

Re: [RFC PATCH] fs: use a sequence counter instead of file_lock in fd_install

2015-04-18 Thread Eric Dumazet
On Sat, 2015-04-18 at 00:02 +0100, Al Viro wrote: > On Sat, Apr 18, 2015 at 12:16:48AM +0200, Mateusz Guzik wrote: > > > I would say this makes the use of seq counter impossible. Even if we > > decided to fall back to a lock on retry, we cannot know what to do if > > the slot is reserved - it

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: David Miller Date: Sat, 18 Apr 2015 15:27:53 -0400 (EDT) > Dammit, somehow I applied V4 :-/ > > Sorry about that. I'll try to sort this out. Sowmini, I think I sorted this out in the 'sparc' GIT tree. Can you take a look? Thanks! -- To unsubscribe from this list: send the line

Re: Allowing reset controllers before SMP initialization (on ARM)?

2015-04-18 Thread Arnd Bergmann
On Thursday 16 April 2015 11:42:08 Maxime Coquelin wrote: > Hi Florian, Arnd, > > On 04/16/2015 10:04 AM, Arnd Bergmann wrote: > > On Wednesday 15 April 2015 17:51:18 Florian Fainelli wrote: > >> Hi, > >> > >> In order to support initialization of the secondary core on BCM63138 > >> SoCs, I would

Re: [PATCH 12/21] nd_pmem: add NFIT support to the pmem driver

2015-04-18 Thread Dan Williams
On Fri, Apr 17, 2015 at 11:38 PM, Christoph Hellwig wrote: > On Fri, Apr 17, 2015 at 09:36:18PM -0400, Dan Williams wrote: >> nd_pmem attaches to persistent memory regions and namespaces emitted by >> the nd subsystem, and, same as the original pmem driver, presents the >> system-physical-address

Re: [PATCH] locking/rwsem: reduce spinlock contention in wakeup after up_read/up_write

2015-04-18 Thread Peter Zijlstra
On Fri, Apr 17, 2015 at 10:03:18PM -0400, Waiman Long wrote: > @@ -478,7 +515,28 @@ struct rw_semaphore *rwsem_wake(struct rw_semaphore *sem) > { > unsigned long flags; > > - raw_spin_lock_irqsave(>wait_lock, flags); > + /* > + * If a spinner is present, it is not necessary

Re: [PATCH v3 1/3] iio: configfs: Add configfs support to IIO

2015-04-18 Thread Jonathan Cameron
On 15/04/15 23:15, Octavian Purdila wrote: > On Wed, Apr 15, 2015 at 2:34 PM, Jonathan Cameron wrote: >> On 15/04/15 21:58, Octavian Purdila wrote: >>> On Sun, Apr 12, 2015 at 8:59 AM, Jonathan Cameron wrote: On 10/04/15 14:43, Daniel Baluta wrote: > On Thu, Apr 9, 2015 at 8:18 PM,

Re: [PATCH 00/21] ND: NFIT-Defined / NVDIMM Subsystem

2015-04-18 Thread Dan Williams
On Fri, Apr 17, 2015 at 6:35 PM, Dan Williams wrote: > Since 2010 Intel has included non-volatile memory support on a few > storage-focused platforms with a feature named ADR (Asynchronous DRAM > Refresh). These platforms were mostly targeted at custom applications > and never enjoyed standard

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: Sowmini Varadhan Date: Sat, 18 Apr 2015 14:38:44 -0400 > On (04/18/15 11:28), Guenter Roeck wrote: >> >> Some merge gone wrong, maybe ? I tried to revert f1600e549b94 >> and apply http://patchwork.ozlabs.org/patch/459803/ instead. > > That patch is a part-2 of a 3-part patch set. In

Re: sparc64: Build failure due to commit f1600e549b94 (sparc: Make sparc64 use scalable lib/iommu-common.c functions)

2015-04-18 Thread David Miller
From: Sowmini Varadhan Date: Sat, 18 Apr 2015 08:05:10 -0400 > But when I clone > git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git > and do a git show of the commit-id above, I see deltas that > dont make sense (they seem to be from a patchset from somewhere > in the middle of

Re: [PATCH v4 00/24] ILP32 for ARM64

2015-04-18 Thread Arnd Bergmann
On Friday 17 April 2015 17:15:46 Dr. Philipp Tomsich wrote: > More comments below. > > > On 17 Apr 2015, at 16:46, Catalin Marinas wrote: > > > > Even in this case, we could enable AArch32 compat knowing that ioctls > > wouldn't work. If this is important, we can add an option to enable > >

Re: [PATCH v4 1/4] PCI: X-Gene: Add the APM X-Gene v1 PCIe MSI/MSIX termination driver

2015-04-18 Thread Arnd Bergmann
On Friday 17 April 2015 02:50:07 Duc Dang wrote: > + > + /* > +* MSIINTn (n is 0..F) indicates if there is a pending MSI interrupt > +* If bit x of this register is set (x is 0..7), one or more interupts > +* corresponding to MSInIRx is set. > +*/ > +

Re: [PATCH 3.10 00/34] 3.10.75-stable review

2015-04-18 Thread Guenter Roeck
On 04/18/2015 02:02 AM, Greg Kroah-Hartman wrote: On Fri, Apr 17, 2015 at 01:00:10PM -0700, Guenter Roeck wrote: On Fri, Apr 17, 2015 at 03:28:32PM +0200, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.75 release. There are 34 patches in this series, all

Re: [PATCH] iio: common: ssp_sensors: Fix uninitialized warning for timestamp

2015-04-18 Thread Jonathan Cameron
On 16/04/15 10:30, Karol Wrona wrote: > calculated_time variable caused warning as uninitialized. It was not harmful > because it was evaluated in the path in which was used later but it is to > satisfy the checkers. > > Signed-off-by: Karol Wrona Dumb compiler. It's a false positive and as the

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Arnd Bergmann
On Saturday 18 April 2015 20:49:03 Greg Kroah-Hartman wrote: > On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: > > Hi, > > A: No. > Q: Should I include quotations after my reply? > > http://daringfireball.net/2007/07/on_top > > > We have discussed and implemented an in-kernel

Re: [RFC PATCH 1/2] tee: generic TEE subsystem

2015-04-18 Thread Russell King - ARM Linux
On Sat, Apr 18, 2015 at 08:47:13PM +0200, Greg Kroah-Hartman wrote: > On Sat, Apr 18, 2015 at 10:04:20AM +0100, Russell King - ARM Linux wrote: > > On Sat, Apr 18, 2015 at 10:57:12AM +0200, Greg Kroah-Hartman wrote: > > > On Fri, Apr 17, 2015 at 09:50:56AM +0200, Jens Wiklander wrote: > > > >

Re: [PATCH 3.19 000/101] 3.19.5-stable review

2015-04-18 Thread Greg Kroah-Hartman
On Fri, Apr 17, 2015 at 01:03:42PM -0700, Guenter Roeck wrote: > On Fri, Apr 17, 2015 at 03:27:48PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.19.5 release. > > There are 101 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 6/7] perf data: Fix duplicate field names and avoid reserved keywords

2015-04-18 Thread Jérémie Galarneau
On Sat, Apr 18, 2015 at 11:50 AM, Jiri Olsa wrote: > From: Wang Nan > > Some parameters of syscall tracepoints named as 'nr', 'event', etc. > When dealing with them, perf convert to ctf meets some problem: > > 1. If a parameter with name 'nr', it will duplicate syscall's > common field

Re: Read/write file from random(4) driver

2015-04-18 Thread Greg KH
On Sat, Apr 18, 2015 at 01:02:19PM -0400, Theodore Ts'o wrote: > (Assuming you can get the embedded developers to use the latest > version of the userspace distributions / frameworks, granted, which is > not at all guaranteed, but they are more likely to use newer userspace > than they are the

[GIT PULL] 9p: patches for the 4.1 merge window

2015-04-18 Thread Eric Van Hensbergen
The following changes since commit b314acaccd7e0d55314d96be4a33b5f50d0b3344: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input (2015-03-19 16:43:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git

Re: [RFC PATCH 2/2] tee: add OP-TEE driver

2015-04-18 Thread Greg Kroah-Hartman
On Sat, Apr 18, 2015 at 11:36:53AM +0200, Javier González wrote: > Hi, A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top > We have discussed and implemented an in-kernel interface for the driver. > However, we need to agree on that interface with the

  1   2   3   4   5   >