My name is Gatan Magsino

2015-04-05 Thread Adriaansen, B.C.
My name is Gatan Magsino, I work with Mediterranean Bank in Malta. Can i trust you with a business worth 8.3 million USD? Please reply ONLY to my private email: ta...@rogers.com for more information. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH 5/9] perf kmem: Support sort keys on page analysis

2015-04-05 Thread Namhyung Kim
Add new sort keys for page: page, order, migtype, gfp - existing 'bytes', 'hit' and 'callsite' sort keys also work for page. Note that -s/--sort option should be preceded by either of --slab or --page option to determine where the sort keys applies. Now it properly groups and sorts allocation

[PATCH 6/9] perf kmem: Add --live option for current allocation stat

2015-04-05 Thread Namhyung Kim
Currently perf kmem shows total (page) allocation stat by default, but sometimes one might want to see live (total alloc-only) requests/pages only. The new --live option does this by subtracting freed allocation from the stat. Signed-off-by: Namhyung Kim ---

[PATCH 1/9] perf kmem: Respect -i option

2015-04-05 Thread Namhyung Kim
From: Jiri Olsa Currently the perf kmem does not respect -i option. Initializing the file.path properly after options get parsed. Signed-off-by: Jiri Olsa Signed-off-by: Namhyung Kim --- tools/perf/builtin-kmem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 9/9] tools lib traceevent: Honor operator priority

2015-04-05 Thread Namhyung Kim
Currently it ignores operator priority and just sets processed args as a right operand. But it could result in priority inversion in case that the right operand is also a operator arg and its priority is lower. For example, following print format is from new kmem events. "page=%p", REC->pfn

[PATCH 7/9] perf kmem: Print gfp flags in human readable string

2015-04-05 Thread Namhyung Kim
Save libtraceevent output and print it in the header. # perf kmem stat --page --caller # GFP flags # - # 0010: NI: GFP_NOIO # 00d0:K: GFP_KERNEL # 0200: NWR: GFP_NOWARN # 84d0:K|R|Z: GFP_KERNEL|GFP_REPEAT|GFP_ZERO # 000200d2:

[PATCH 2/9] tracing, mm: Record pfn instead of pointer to struct page

2015-04-05 Thread Namhyung Kim
The struct page is opaque for userspace tools, so it'd be better to save pfn in order to identify page frames. The textual output of $debugfs/tracing/trace file remains unchanged and only raw (binary) data format is changed - but thanks to libtraceevent, userspace tools which deal with the raw

[PATCH 3/9] perf kmem: Analyze page allocator events also

2015-04-05 Thread Namhyung Kim
The perf kmem command records and analyze kernel memory allocation only for SLAB objects. This patch implement a simple page allocator analyzer using kmem:mm_page_alloc and kmem:mm_page_free events. It adds two new options of --slab and --page. The --slab option is for analyzing SLAB allocator

[PATCH 4/9] perf kmem: Implement stat --page --caller

2015-04-05 Thread Namhyung Kim
It perf kmem support caller statistics for page. Unlike slab case, the tracepoints in page allocator don't provide callsite info. So it records with callchain and extracts callsite info. Note that the callchain contains several memory allocation functions which has no meaning for users. So

[PATCHSET 0/9] perf kmem: Implement page allocation analysis (v6)

2015-04-05 Thread Namhyung Kim
Hello, Currently perf kmem command only analyzes SLAB memory allocation. And I'd like to introduce page allocation analysis also. Users can use --slab and/or --page option to select it. If none of these options are used, it does slab allocation analysis for backward compatibility. *

[PATCH 8/9] perf kmem: Add kmem.default config option

2015-04-05 Thread Namhyung Kim
Currently perf kmem command will select --slab if neither --slab nor --page is given for backward compatibility. Add kmem.default config option to select the default value ('page' or 'slab'). # cat ~/.perfconfig [kmem] default = page # perf kmem stat SUMMARY (page allocator)

Re: [PATCH 07/18 v3] tracing: Add TRACE_DEFINE_ENUM() macro to map enums to their values

2015-04-05 Thread Namhyung Kim
Hi Steve, On Thu, Apr 02, 2015 at 09:38:09PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Several tracepoints use the helper functions __print_symbolic() or > __print_flags() and pass in enums that do the mapping between the > binary data stored and the value to print.

[PATCH] blk-mq: remove unnecessary check in blk_mq_alloc_tag_set

2015-04-05 Thread nimisolo
already check set->nr_hw_queues above : if (!set->nr_hw_queues) return -EINVAL; Signed-off-by: nimisolo --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index b7b8933..3ae21c4 100644 ---

Re: [PATCH v2] crypto: remove instance when test failed

2015-04-05 Thread Herbert Xu
On Fri, Apr 03, 2015 at 09:29:44PM +0200, Stephan Mueller wrote: > > What about moving the current crypto_unregister_instance into > __crypto_unregister_instance and creating a new crypto_unregister_instance > that takes the ref count and once it got it, it calls > __crypto_unregister_instance.

Re: [PATCH 2/3] time: allow gcc to fold constants when using msecs_to_jiffies

2015-04-05 Thread Joe Perches
On Mon, 2015-04-06 at 06:26 +0200, Nicholas Mc Guire wrote: > On Sun, 05 Apr 2015, Joe Perches wrote: > > Try it and look at the generated .lst files with and > > without the patch I sent. [] > from all that I understood it should > be doable both as macro and inline. I think it _should_ be

Re: [tip:timers/core] clockevents: Fix cpu_down() race for hrtimer based broadcasting

2015-04-05 Thread Preeti U Murthy
On 04/03/2015 04:20 PM, Ingo Molnar wrote: > > * Preeti U Murthy wrote: > >> On 04/02/2015 08:00 PM, tip-bot for Preeti U Murthy wrote: >>> Commit-ID: 345527b1edce8df719e0884500c76832a18211c3 >>> Gitweb: >>> http://git.kernel.org/tip/345527b1edce8df719e0884500c76832a18211c3 >>> Author:

Re: [PATCH 2/3] time: allow gcc to fold constants when using msecs_to_jiffies

2015-04-05 Thread Nicholas Mc Guire
On Sun, 05 Apr 2015, Joe Perches wrote: > On Mon, 2015-04-06 at 03:00 +0200, Nicholas Mc Guire wrote: > > On Sun, 05 Apr 2015, Joe Perches wrote: > > > > > On Sun, 2015-04-05 at 09:23 +0200, Nicholas Mc Guire wrote: > > > > The majority of the msecs_to_jiffies() users in the kernel are passing

Re: [RFC PATCH] sched: Add cpu based entries to debugfs

2015-04-05 Thread Mike Galbraith
On Sun, 2015-04-05 at 20:10 -0600, David Ahern wrote: > > Can someone clarify on the duplication concerns and such? My concern was eg you display flags in /sys, but to tweak flags etc, you must visit /proc. Seems to me the missing info should either be added to /proc (some under DEBUG?), or

Hang on large copy_from_user with PREEMPT_NONE

2015-04-05 Thread Sasha Levin
Hi all, I'm seeing an interesting hang when trinity is trying to load a large module, where the size passed by userspace is larger than the amount of memory actually allocated in userspace and passed in the 'from' parameter: [ 1549.080032] NMI watchdog: BUG: soft lockup - CPU#11 stuck for 22s!

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

2015-04-05 Thread Milosz Tanski
On Fri, Apr 3, 2015 at 11:42 PM, Andrew Morton wrote: > On Mon, 30 Mar 2015 13:26:25 -0700 Andrew Morton > wrote: > >> d) fincore() is more expensive > > Actually, I kinda take that back. fincore() will be faster than > preadv2() in the case of a pagecache miss, and slower in the case of a >

Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations

2015-04-05 Thread Sören Brinkmann
On Sun, 2015-04-05 at 11:24AM -0700, Joe Perches wrote: > These structs can be const, so make them const. > > Miscellanea: > > o Add static to struct uart_ops declaration in bfin_sport_uart > > Signed-off-by: Joe Perches > --- [...] For: > drivers/tty/serial/xilinx_uartps.c | 2 +-

Re: [PATCH 2/3] time: allow gcc to fold constants when using msecs_to_jiffies

2015-04-05 Thread Joe Perches
On Mon, 2015-04-06 at 03:00 +0200, Nicholas Mc Guire wrote: > On Sun, 05 Apr 2015, Joe Perches wrote: > > > On Sun, 2015-04-05 at 09:23 +0200, Nicholas Mc Guire wrote: > > > The majority of the msecs_to_jiffies() users in the kernel are passing in > > > constants which would allow gcc to do

Re: [RFC PATCH] sched: Add cpu based entries to debugfs

2015-04-05 Thread David Ahern
On 3/31/15 3:13 AM, Ingo Molnar wrote: * Peter Zijlstra wrote: On Mon, Mar 30, 2015 at 10:43:14AM +0200, Mike Galbraith wrote: I think it would be a good thing if we can get away with it, but I also think you could safely bet your life that somebody will squeak. The thing I worry most

Re: [PATCH 14/16] soc: ti: knav_qmss_queue: fix error return code

2015-04-05 Thread santosh.shilim...@oracle.com
On 4/5/15 5:06 AM, Julia Lawall wrote: Return a negative error code on failure. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier ret; expression e1,e2; @@ ( if (\(ret < 0\|ret != 0\)) { ... return ret; } | ret =

Re: [PATCH v2] mtd: Make MTD tests cancelable

2015-04-05 Thread Brian Norris
On Sun, Mar 29, 2015 at 09:52:06PM +0200, Richard Weinberger wrote: > I always go nuts when I start an MTD test on a slow device > and have to wait forever until it finishes. As do I. As an additional measure, I'm tempted to add an 'ebcnt' parameter for some of the tests that don't have them,

[PATCH v6] spi: Add SPI driver for Mikrotik RB4xx series boards

2015-04-05 Thread Bert Vermeulen
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 "fast write" mode, in which two bits are transferred by SPI clock

[PATCH] mfd: Add support for CPLD chip on Mikrotik RB4xx boards

2015-04-05 Thread Bert Vermeulen
The SPI-connected CPLD chip controls access to the main NAND flash chip and five LEDs. Signed-off-by: Bert Vermeulen --- arch/mips/include/asm/mach-ath79/rb4xx_cpld.h | 49 + drivers/mfd/Kconfig | 7 + drivers/mfd/Makefile | 1 +

Re: [PATCH 1/2] mtd: mtd_oobtest: Fix bitflip_limit usage in test case 3

2015-04-05 Thread Brian Norris
On Fri, Dec 05, 2014 at 05:18:39PM +0200, Roger Quadros wrote: > In test case 3, we set vary_offset to write at different > offsets and lengths in the OOB available area. We need to > do the bitflip_limit check while checking for 0xff outside the > OOB offset + length area that we didn't modify

Re: [PATCH] mtd: fsl_ifc_nand: use msecs_to_jiffies for time conversion

2015-04-05 Thread Brian Norris
On Fri, Mar 13, 2015 at 07:23:47AM -0400, Nicholas Mc Guire wrote: > This is only an API consolidation and should make things more readable > it replaces var * HZ / 1000 by msecs_to_jiffies(var) which helps readability > and also handles all corner-cases properly. > > Signed-off-by: Nicholas Mc

Re: [PATCH 2/3] time: allow gcc to fold constants when using msecs_to_jiffies

2015-04-05 Thread Nicholas Mc Guire
On Sun, 05 Apr 2015, Joe Perches wrote: > On Sun, 2015-04-05 at 09:23 +0200, Nicholas Mc Guire wrote: > > The majority of the msecs_to_jiffies() users in the kernel are passing in > > constants which would allow gcc to do constant folding by checking with > > __builtin_constant_p() in

Re: [PATCH v2] ARM: kexec: Relax SMP validation to improve DT compatibility

2015-04-05 Thread Simon Horman
On Wed, Apr 01, 2015 at 02:30:47PM +0200, Geert Uytterhoeven wrote: > When trying to kexec into a new kernel on a platform where multiple CPU > cores are present, but no SMP bringup code is available yet, the > kexec_load system call fails with: > > kexec_load failed: Invalid argument > >

Re: [PATCH 1/6] Revert "staging: board: disable as it breaks the build"

2015-04-05 Thread Simon Horman
On Fri, Apr 03, 2015 at 02:41:58PM +0200, Geert Uytterhoeven wrote: > This reverts commit d13778d537a0ed6115d2a79a942af999cfb8eec6. > > Commit 13c11072536f2613 ("staging:board: remove unnecessary function") > fixed the build of drivers/staging/board/board.c. > > Signed-off-by: Geert Uytterhoeven

Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations

2015-04-05 Thread Joe Perches
On Mon, 2015-04-06 at 01:09 +0200, Stefan Agner wrote: > On 2015-04-05 20:24, Joe Perches wrote: > > Still compiled only x86 and not cross-compiled or tested. > > Cross-compiled with multi_v7_defconfig [] > > drivers/tty/serial/fsl_lpuart.c | 4 ++-- > > Tested that driver on actual

[PATCH] regulator: add a data summary tree in debugfs

2015-04-05 Thread Heiko Stübner
On modern systems the regulator hierarchy can get quite long and nested with regulators supplying other regulators. In some cases when debugging it might be nice to get a tree of these regulators, their consumers and the regulation constraints in one go. To achieve this add a regulator_summary

Re: [PATCH 2/3] time: allow gcc to fold constants when using msecs_to_jiffies

2015-04-05 Thread Joe Perches
On Sun, 2015-04-05 at 09:23 +0200, Nicholas Mc Guire wrote: > The majority of the msecs_to_jiffies() users in the kernel are passing in > constants which would allow gcc to do constant folding by checking with > __builtin_constant_p() in msecs_to_jiffies(). > > The original msecs_to_jiffies is

Re: [PATCH] Input: atkbd: Fix release quirk for Dell models

2015-04-05 Thread Dmitry Torokhov
On Mon, Apr 06, 2015 at 12:00:32AM +0200, Pali Rohár wrote: > On Sunday 05 April 2015 23:48:33 Dmitry Torokhov wrote: > > Hi Pali, > > > > On Sun, Mar 29, 2015 at 04:36:19PM +0200, Pali Rohár wrote: > > > This patch fixes commit 61579ba83934 ("Input: atkbd - expand > > > Latitude's force release

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-05 Thread Stefan Agner
On 2015-04-06 00:44, Russell King - ARM Linux wrote: > On Mon, Apr 06, 2015 at 12:19:43AM +0200, Stefan Agner wrote: >> On 2015-04-05 18:10, Russell King - ARM Linux wrote: >> > config ARM_SINGLE_ARMV7M >> >bool "ARM architecture v7M compliant (Cortex-M0/M3/M4) SoC" >> >depends on !MMU >>

Re: [PATCH 1/2] staging: dgnc: remove dead code in dgnc_tty_write()

2015-04-05 Thread Giedrius Statkevičius
Forgot to put "v2" in the title. Should I resend? Sorry for the confusion. Still making some patch submitting mistakes from time to time. :( On Mon, 6 Apr 2015, Giedrius Statkevicius wrote: > Remove the dead code protected by in_user in dgnc_tty_write() because it is > set > to 0 and never

Re: [PATCH 16/16] NFC: pn533: fix error return code

2015-04-05 Thread Samuel Ortiz
Hi Julia, On Sun, Apr 05, 2015 at 02:06:36PM +0200, Julia Lawall wrote: > Return a negative error code on failure. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > identifier ret; expression e1,e2; > @@ > ( > if

[PATCH 2/2] staging: dgnc: remove redundant check

2015-04-05 Thread Giedrius Statkevicius
count doesn't get changed in between identical checks in dgnc_tty_write() so remove the second check Signed-off-by: Giedrius Statkevičius --- v2: no change drivers/staging/dgnc/dgnc_tty.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c

[PATCH 1/2] staging: dgnc: remove dead code in dgnc_tty_write()

2015-04-05 Thread Giedrius Statkevicius
Remove the dead code protected by in_user in dgnc_tty_write() because it is set to 0 and never changed to 1 thus the code in ifs never gets executed. Signed-off-by: Giedrius Statkevičius --- v2: Just remove the dead code protected by in_user and join the first and third patches.

Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations

2015-04-05 Thread Stefan Agner
On 2015-04-05 20:24, Joe Perches wrote: > Still compiled only x86 and not cross-compiled or tested. Cross-compiled with multi_v7_defconfig > > drivers/tty/serial/21285.c | 2 +- > drivers/tty/serial/altera_jtaguart.c| 2 +- > drivers/tty/serial/altera_uart.c

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-05 Thread Russell King - ARM Linux
On Mon, Apr 06, 2015 at 12:19:43AM +0200, Stefan Agner wrote: > On 2015-04-05 18:10, Russell King - ARM Linux wrote: > > config ARM_SINGLE_ARMV7M > > bool "ARM architecture v7M compliant (Cortex-M0/M3/M4) SoC" > > depends on !MMU > > select ARM_NVIC > > ... etc ... > > I guess

Re: [PATCH V2] tty: serial: Add const to struct uart_ops declarations

2015-04-05 Thread Maciej W. Rozycki
On Sun, 5 Apr 2015, Joe Perches wrote: > drivers/tty/serial/dz.c | 2 +- > drivers/tty/serial/zs.c | 2 +- For these verified that the change works correctly, thanks for your work. Acked-by: Maciej W. Rozycki Maciej -- To unsubscribe from this list:

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-05 Thread Stefan Agner
On 2015-04-05 18:10, Russell King - ARM Linux wrote: > On Sat, Apr 04, 2015 at 01:56:20AM +0200, Stefan Agner wrote: >> On 2015-04-03 22:09, Russell King - ARM Linux wrote: >> > On Fri, Apr 03, 2015 at 09:44:48PM +0200, Stefan Agner wrote: >> >> In order to support SoC with heterogenous CPU

Re: [PATCH] Input: atkbd: Fix release quirk for Dell models

2015-04-05 Thread Pali Rohár
On Sunday 05 April 2015 23:48:33 Dmitry Torokhov wrote: > Hi Pali, > > On Sun, Mar 29, 2015 at 04:36:19PM +0200, Pali Rohár wrote: > > This patch fixes commit 61579ba83934 ("Input: atkbd - expand > > Latitude's force release quirk to other Dells"). Before > > that commit release quirks were

Re: [PATCH 02/16] vfs: check kiocb->ki_flags instead filp->fl_flags

2015-04-05 Thread Al Viro
On Sun, Apr 05, 2015 at 07:11:45PM +0100, Al Viro wrote: > On Sun, Apr 05, 2015 at 02:03:22PM +0300, Dmitry Monakhov wrote: > > > I'm not sure I have get your point about ocfs2 because it does > > iov_iter_truncate() right after generic_write_checks() > > This > ret =

Re: [PATCH] Input: atkbd: Fix release quirk for Dell models

2015-04-05 Thread Dmitry Torokhov
Hi Pali, On Sun, Mar 29, 2015 at 04:36:19PM +0200, Pali Rohár wrote: > This patch fixes commit 61579ba83934 ("Input: atkbd - expand Latitude's force > release quirk to other Dells"). Before that commit release quirks were called > for all Dell Latitude models. After that commit only for Portable

[PATCH 3/3] staging: dgnc: improve the coding style in unlocking part of dgnc_tty_write()

2015-04-05 Thread Giedrius Statkevicius
do if (blah) foo(); bar(); instead of if (blah) { foo(); bar(); } else { bar(); } Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_tty.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c

[PATCH 2/3] staging: dgnc: remove redundant check

2015-04-05 Thread Giedrius Statkevicius
count doesn't change between the last check a few lines before so remove this redundant check Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_tty.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers/staging/dgnc/dgnc_tty.c index

[PATCH 1/3] staging: dgnc: use a real mutex instead of masquerading a semaphore as a mutex

2015-04-05 Thread Giedrius Statkevicius
A mutex should be used here (and it's name even says that) so remove the hiding of a semaphore behind a #define and use a real mutex that the kernel provides. Signed-off-by: Giedrius Statkevičius --- drivers/staging/dgnc/dgnc_tty.c | 12 1 file changed, 4 insertions(+), 8

Re: [PATCH] MAINTAINERS: Add me on list of Dell laptop drivers

2015-04-05 Thread Pali Rohár
On Thursday 02 April 2015 07:10:27 Darren Hart wrote: > On Sun, Mar 29, 2015 at 03:38:50PM +0200, Pali Rohár wrote: > > Please include why. No empty commit messages please. > > For example, you've written nearly a third of the dell-wmi.c > driver, and all the dell-smo8800.c driver. > Ok. If

Re: [PATCH 9/16] HID: logitech-hidpp: fix error return code

2015-04-05 Thread Jiri Kosina
On Sun, 5 Apr 2015, Julia Lawall wrote: > Return a negative error code on failure. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > identifier ret; expression e1,e2; > @@ > ( > if (\(ret < 0\|ret != 0\)) > { ...

Re: [PATCH v2 0/3] Balanced slots, attempt #2

2015-04-05 Thread Dmitry Torokhov
On Tue, Mar 31, 2015 at 05:26:31PM +0200, Henrik Rydberg wrote: > On 03/31/2015 05:07 PM, Benjamin Tissoires wrote: > > Hi, > > > > so this is the v2 with Hans' ack and Henrik's respin of the first patch. > > The whole series looks good, thank you Benjamin. > > Acked-by: Henrik Rydberg Queued

Charity Project

2015-04-05 Thread Bill William And Andrea Groner
I saw your email address during the course of my research today. My name is Bill William Groner my wife and I won a Jackpot Lottery of $50 Million Dollars in December 2013, we are donating the sum of $1 million Dollars to 6 lucky individual all over the world as part of our charity project. Do

Re: [PATCH V2] UBI: power cut emulation for testing

2015-04-05 Thread Richard Weinberger
Am 05.04.2015 um 22:25 schrieb Pavel Machek: > I guess so. So maybe warning in the documentation somewhere that real > hardware is nastier than designed-to-be-nasty emulation would be > nice..? Yeah, that's a good idea. David, can you please create a patch against mtd-www.git? Please also cover

[GIT PULL] at91: clocksource-driver for 4.1 #2

2015-04-05 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is the patch that was extracted from my previous pull request and that would go on top of your at91/clocksource-driver branch. Thanks, best regards, The following changes since commit 8590ca655a19f9e124b52bfbf28f14eb16a05bec: ARM: at91: remove useless include

Re: [PATCH V2] UBI: power cut emulation for testing

2015-04-05 Thread Pavel Machek
On Sun 2015-04-05 22:09:27, Richard Weinberger wrote: > Am 05.04.2015 um 22:04 schrieb Pavel Machek: > > On Sun 2015-04-05 21:49:27, Richard Weinberger wrote: > >> On Sun, Apr 5, 2015 at 9:31 PM, Pavel Machek wrote: > >>> On Thu 2015-03-26 23:59:50, david.oberhollen...@sigma-star.at wrote: >

[GIT PULL] at91: cleanup for 4.1 #4 (bis)

2015-04-05 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is a re-spin of my 4th "cleanup" pull-request following the comments made by Olof. So, now these patches about PM are based on the "at91-cleanup2" that you would merge in your next/cleanup branch. I'm preparing another pull-request for the other patch that would stack on

Re: [PATCH v4] earlycon: 8250: Fix command line regression

2015-04-05 Thread Yinghai Lu
On Sun, Apr 5, 2015 at 6:06 AM, Peter Hurley wrote: > On 04/05/2015 03:09 AM, Yinghai Lu wrote: > On what planet is 27 loc across 4 source files cleaner than > 6 loc that might be reducible to 2? loc is not only thing to decide if it is cleaner. Let's Greg and Andrew to check which one is

Re: [PATCH V2] UBI: power cut emulation for testing

2015-04-05 Thread Richard Weinberger
Am 05.04.2015 um 22:04 schrieb Pavel Machek: > On Sun 2015-04-05 21:49:27, Richard Weinberger wrote: >> On Sun, Apr 5, 2015 at 9:31 PM, Pavel Machek wrote: >>> On Thu 2015-03-26 23:59:50, david.oberhollen...@sigma-star.at wrote: Emulate random power cuts by switching device to ro after a

Re: [Linux-nvdimm] [PATCH 1/2] x86: add support for the non-standard protected e820 type

2015-04-05 Thread Yinghai Lu
On Sun, Apr 5, 2015 at 2:18 AM, Boaz Harrosh wrote: > On 04/03/2015 08:12 PM, Yinghai Lu wrote: >> On Fri, Apr 3, 2015 at 9:14 AM, Toshi Kani wrote: >>> On Wed, 2015-04-01 at 09:12 +0200, Christoph Hellwig wrote: >>> : @@ -748,7 +758,7 @@ u64 __init early_reserve_e820(u64 size, u64 align)

Re: [PATCH/RFC 5/6] staging: board: Add support for devices with complex dependencies

2015-04-05 Thread Laurent Pinchart
Hi Geert, On Sunday 05 April 2015 11:00:56 Geert Uytterhoeven wrote: > On Sat, Apr 4, 2015 at 2:46 PM, Laurent Pinchart wrote: > >> + for (i = 0; i < dev->ngpios; i++) > >> + gpio_request_one(dev->gpios[i].gpio, dev->gpios[i].flags, > >> + pdev->name);

Re: [PATCH V2] UBI: power cut emulation for testing

2015-04-05 Thread Pavel Machek
On Sun 2015-04-05 21:49:27, Richard Weinberger wrote: > On Sun, Apr 5, 2015 at 9:31 PM, Pavel Machek wrote: > > On Thu 2015-03-26 23:59:50, david.oberhollen...@sigma-star.at wrote: > >> Emulate random power cuts by switching device to ro after a number of > >> writes to allow simple power cut

Re: [PATCH v5] earlycon: 8250: Fix command line regression

2015-04-05 Thread Yinghai Lu
On Sun, Apr 5, 2015 at 7:52 AM, Peter Hurley wrote: > Restore undocumented behavior of kernel command line parameters of > the forms: > console=uart[8250],io|mmio|mmio32,[,options] > console=uart[8250],[,options] > where 'options' have not been specified; in this case, the hardware > is

Re: [PATCH V2] UBI: power cut emulation for testing

2015-04-05 Thread Richard Weinberger
On Sun, Apr 5, 2015 at 9:31 PM, Pavel Machek wrote: > On Thu 2015-03-26 23:59:50, david.oberhollen...@sigma-star.at wrote: >> Emulate random power cuts by switching device to ro after a number of >> writes to allow simple power cut testing with nand-sim. >> >> Maximum and minimum number of

Please respond!!!

2015-04-05 Thread Giorgio Guerra
Please respond!!! Hello friend! I would like to contact you personally for an important proposal that could of interest to you. I send this email only to know if this email address is functional. I have something very important to discuss with you. Contact me for details by: Email:

Re: [PATCH V2] UBI: power cut emulation for testing

2015-04-05 Thread Pavel Machek
On Thu 2015-03-26 23:59:50, david.oberhollen...@sigma-star.at wrote: > Emulate random power cuts by switching device to ro after a number of > writes to allow simple power cut testing with nand-sim. > > Maximum and minimum number of successful writes before power cut and > what kind of writes (EC

[PATCH V2] tty: serial: Add const to struct uart_ops declarations

2015-04-05 Thread Joe Perches
These structs can be const, so make them const. Miscellanea: o Add static to struct uart_ops declaration in bfin_sport_uart Signed-off-by: Joe Perches --- On Sun, 2015-04-05 at 00:04 +0200, Stefan Agner wrote: > On 2015-04-04 19:47, Joe Perches wrote: > > Done with: > > sed -r -i -e

Re: [PATCH 02/16] vfs: check kiocb->ki_flags instead filp->fl_flags

2015-04-05 Thread Al Viro
On Sun, Apr 05, 2015 at 02:03:22PM +0300, Dmitry Monakhov wrote: > I'm not sure I have get your point about ocfs2 because it does > iov_iter_truncate() right after generic_write_checks() This ret = ocfs2_prepare_inode_for_write(file, ppos, count, appending,

Re: [PATCH 12/16] ib_srpt: fix error return code

2015-04-05 Thread Bart Van Assche
On 04/05/15 14:06, Julia Lawall wrote: Return a negative error code on failure. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier ret; expression e1,e2; @@ ( if (\(ret < 0\|ret != 0\)) { ... return ret; } | ret =

[PATCH 1/3] PM suspend/hibernate: Call notifier after freezing processes

2015-04-05 Thread Pali Rohár
To prevent race conditions on userspace processes with I/O some taks must be called after processes are freezed. This patch adds new events which are delivered by pm_notifier_call_chain() after freezing processes when doing suspend or hibernate action. Signed-off-by: Pali Rohár ---

[PATCH 0/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation

2015-04-05 Thread Pali Rohár
This patch series increase security of suspend and hibernate actions. It allows user to safely wipe crypto keys before suspend and hibernate actions starts without race conditions on userspace process with heavy I/O. To automatically wipe cryto key for before hibernate action call: $ dmsetup

[PATCH 3/3] dm-crypt: Adds support for wiping key when doing suspend/hibernation

2015-04-05 Thread Pali Rohár
This patch adds dm message commands and option strings to optionally wipe key from dm-crypt device before entering suspend or hibernate state. Before key is wiped dm device must be suspended. To prevent race conditions with I/O and userspace processes, wiping action must be called after processes

[PATCH 2/3] dm: Export function dm_suspend_md()

2015-04-05 Thread Pali Rohár
This patch exports function dm_suspend_md() which suspend mapped device so other kernel drivers can use it and could suspend mapped device when needed. Signed-off-by: Pali Rohár --- drivers/md/dm.c |6 ++ drivers/md/dm.h |5 + 2 files changed, 11 insertions(+) diff --git

Re: [PATCH v4 2/2] watchdog: add watchdog_exclude sysctl to assist nohz

2015-04-05 Thread Ulrich Obergfell
Chris, I'd like to comment on the following proposed change: +int proc_dowatchdog_exclude(struct ctl_table *table, int write, +void __user *buffer, size_t *lenp, loff_t *ppos) +{ +int err; + +mutex_lock(_proc_mutex); +err =

[PATCH] sched/fair: correct inaccurate comment in __update_group_entity_contrib

2015-04-05 Thread Alex Dowad
Signed-off-by: Alex Dowad --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index bcfe320..1bae5ea 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -2648,7 +2648,7 @@ static inline void

Re: [PATCH 1/6] block: export blkdev_reread_part()

2015-04-05 Thread Ming Lei
On Mon, Apr 6, 2015 at 12:12 AM, Christoph Hellwig wrote: >> +/* >> + * This is exported as API for block driver, can be called >> + * with requiring bd_mutex or not. >> + */ >> +int __blkdev_reread_part(struct block_device *bdev, bool lock) >> { >> struct gendisk *disk = bdev->bd_disk; >>

[char-misc-next 3/8 RESEND] mei: add a reference from the host client to the me client

2015-04-05 Thread Tomas Winkler
From: Alexander Usyskin Keep a pointer to associated me client in the host client object to eliminate me client searches. Check if the me client is active in the firmware by checking if its is linked on the me clients list Add accessors for the me client properties from host client.

[char-misc-next 4/8 RESEND] mei: fix flow control for single buffer clients

2015-04-05 Thread Tomas Winkler
From: Alexander Usyskin For ME clients that use single receiving buffer the driver tracks credentials on mei_me_clients structure for all connections. The driver needs to book keep the shared resource correctly and track the connections, particularly the credit has to be cleaned when there is no

[char-misc-next 1/8 RESEND] mei: revamp client disconnection flow

2015-04-05 Thread Tomas Winkler
Split disconnected state into two parts first reception disconnect response from the firmware and second actually setting of disconnected state. Book keeping data are needed for processing and after firmware disconnected the client and are cleaned when setting the disconnected state in

[char-misc-next 5/8 RESEND] mei: support for fixed address clients

2015-04-05 Thread Tomas Winkler
From: Alexander Usyskin Fixed address is simplified FW client that doesn't require connection and doesn't support flow control. So it can be only one host client per fixed FW client. Fixed client access is available only for drivers on mei bus, connection from user-space is blocked.

[char-misc-next 2/8 RESEND] mei: revamp client connection

2015-04-05 Thread Tomas Winkler
Simplify connect state machine by changing the logic around Connection request in progress - only check if we have a callback in relevant queue. Extract common code into mei_cl_send_connect() function Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/misc/mei/bus.c

[char-misc-next 6/8 RESEND] mei: connection to fixed address clients from user-space

2015-04-05 Thread Tomas Winkler
From: Alexander Usyskin This should be used for debug only. The feaure is gated by "allow_fixed_address" control exposed in debugfs. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/debugfs.c | 6 ++ drivers/misc/mei/main.c| 8 +++-

[char-misc-next 8/8 RESEND] mei: txe: fix incorrect indentation

2015-04-05 Thread Tomas Winkler
Remove spurious blank Signed-off-by: Tomas Winkler --- drivers/misc/mei/pci-txe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mei/pci-txe.c b/drivers/misc/mei/pci-txe.c index dcfcba44b6f7..0882c0201907 100644 --- a/drivers/misc/mei/pci-txe.c +++

[char-misc-next 7/8 RESEND] mei: drop iamthif_mtu from device structure

2015-04-05 Thread Tomas Winkler
From: Alexander Usyskin We can receive mtu with one call now, no need to store it. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c | 9 + drivers/misc/mei/mei_dev.h | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git

Re: [RFC PATCH 0/5] Remove rw parameter from direct_IO()

2015-04-05 Thread Al Viro
On Mon, Mar 16, 2015 at 04:33:48AM -0700, Omar Sandoval wrote: > Hi, > > Al, here's some cleanup that you mentioned back in December that I got > around to (https://lkml.org/lkml/2014/12/15/28). Applied. See #for-next -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 2/6] block: loop: don't hold lo_ctl_mutex in lo_open

2015-04-05 Thread Ming Lei
On Sun, Apr 5, 2015 at 3:24 PM, Ming Lei wrote: > The lo_ctl_mutex is held for running all ioctl handlers, and > in some ioctl handlers, ioctl_by_bdev(BLKRRPART) is called for > rereading partitions, which requires bd_mutex. > > So it is easy to cause failure because trylock(bd_mutex) may > fail

Re: [PATCH 1/6] block: export blkdev_reread_part()

2015-04-05 Thread Christoph Hellwig
> +/* > + * This is exported as API for block driver, can be called > + * with requiring bd_mutex or not. > + */ > +int __blkdev_reread_part(struct block_device *bdev, bool lock) > { > struct gendisk *disk = bdev->bd_disk; > int res; > @@ -159,12 +163,14 @@ static int

Re: [PATCH v4 07/11] ARM: allow MULTIPLATFORM with !MMU

2015-04-05 Thread Russell King - ARM Linux
On Sat, Apr 04, 2015 at 01:56:20AM +0200, Stefan Agner wrote: > On 2015-04-03 22:09, Russell King - ARM Linux wrote: > > On Fri, Apr 03, 2015 at 09:44:48PM +0200, Stefan Agner wrote: > >> In order to support SoC with heterogenous CPU architectures (such > >> as Freescale Vybrid/i.MXSX) it is

Re: [PATCH 00/20] mpt3sas: driver update

2015-04-05 Thread Christoph Hellwig
This seems to be missing the corresponding mpt2 updates. Nak to anything that gets these drivers further out of sync. Btw, I still need a second ACK for http://www.spinics.net/lists/linux-scsi/msg82027.html as well, so we can start getting rid of this duplication mess. -- To unsubscribe from

Re: [alsa-devel] [PATCH 13/16] ALSA: au1x00: fix error return code

2015-04-05 Thread Takashi Iwai
At Sun, 5 Apr 2015 14:06:33 +0200, Julia Lawall wrote: > > Return a negative error code on failure. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > identifier ret; expression e1,e2; > @@ > ( > if (\(ret <

Re: [PATCH 6/7] mpt2sas: store scsi io tracker data in the scsi command / request

2015-04-05 Thread Christoph Hellwig
On Fri, Apr 03, 2015 at 09:58:22AM -0600, Jens Axboe wrote: > +struct scsiio_tracker * > +mpt2sas_get_st_from_smid(struct MPT2SAS_ADAPTER *ioc, u16 smid) > +{ > + if (shost_use_blk_mq(ioc->shost)) { > + struct scsi_cmnd *scmd; > + > + scmd = scsi_mq_find_tag(ioc->shost,

GOOD NEWS

2015-04-05 Thread Karbiru Ahmed
Dear Friend, I'm happy to inform you about my success in getting the fund transferred under the cooperation of a new partner from London. Presently I'm in London for investment projects with my own share of the total sum. Meanwhile, I didn't forget your past efforts andattempts to assist me in

Re: [PATCH 5/7] scsi: add host template init/exit_command hooks

2015-04-05 Thread Christoph Hellwig
On Fri, Apr 03, 2015 at 09:58:21AM -0600, Jens Axboe wrote: > If a LLD has hardware commands in the request pdu, then we need some > helper hooks to help the driver initialize state at load time, and > potentially to tear down state at rmmod time. Add a host template > ->init_command() and

Re: [PATCH 3/7] scsi: add scsi-mq helpers to retrieve pdu and check started state

2015-04-05 Thread Christoph Hellwig
On Fri, Apr 03, 2015 at 09:58:19AM -0600, Jens Axboe wrote: > +static inline void *scsi_mq_scmd_to_pdu(struct scsi_cmnd *scmd) > +{ > + return blk_mq_rq_to_pdu(scmd->request) + sizeof(*scmd); > +} We've already got scsi_cmd_priv to cover this. > +static inline bool

Re: [PATCH 4/7] scsi: add scsi-mq helper for iterating over busy commands

2015-04-05 Thread Christoph Hellwig
On Fri, Apr 03, 2015 at 09:58:20AM -0600, Jens Axboe wrote: > This is basically just a wrapper around blk_mq_queue_busy_iter(), > so that LLDs don't have to deal with or worry about blk-mq hardware > queues. I'd prefer not to expose this to drivers, but if we do it needs to work for the !mq case.

Re: [PATCH] usb: musb: Kconfig: Depend on some machines under blackfin

2015-04-05 Thread Chen Gang
On 4/5/15 16:29, Greg Kroah-Hartman wrote: > On Sun, Apr 05, 2015 at 06:33:44AM +0800, Chen Gang wrote: >> On 4/4/15 17:54, Greg Kroah-Hartman wrote: >>> On Sat, Apr 04, 2015 at 05:51:21AM +0800, Chen Gang wrote: Under blackfin, only bf527, bf548 and bf609 may use musb. The related error

[PATCH 3/3] of: Add dummy of_irq_to_resource_table() for IRQ_OF=n

2015-04-05 Thread Geert Uytterhoeven
If CONFIG_IRQ_OF=n: drivers/built-in.o: In function `of_device_alloc': (.text+0x72bce): undefined reference to `of_irq_to_resource_table' make: *** [vmlinux] Error 1 of_device_alloc() calls of_irq_to_resource_table() with nr_irqs = 0 due to of_irq_count() already being a dummy, so just add a

[PATCH 1/3] of: Allow OF to be enabled if COMPILE_TEST to increase coverage

2015-04-05 Thread Geert Uytterhoeven
Currently the OF configuration symbol is explicitly selected on architectures that support device trees and/or Open Firmware. However, there's no technical reason to limit the device tree infrastructure to these architectures. Hence allow OF to be enabled when compile testing, to increase compile

  1   2   3   4   >