[PATCH 06/19] mfd: dm355evm_msp: Fix checkpatch error: insert space after ','

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. ERROR: space required after that ',' (ctx:VxV) +#define MSP_GPIO(bit,reg) ((DM355EVM_MSP_ ## reg) << 3 | (bit)) ^ total: 1 errors, 0 warnings, 437 lines checked Signed-off-by: Lee Jones --- drivers/mfd/dm355evm_

Re: [PATCH v2 00/25] AMDKFD kernel driver

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: > On 22/07/14 12:21, Daniel Vetter wrote: > >On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay wrote: > >>>Exactly, just prevent userspace from submitting more. And if you have > >>>misbehaving userspace that submits too much, reset the gpu

[PATCH 13/19] mfd: wm8350-i2c: Replace spaces with tabs

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. WARNING: please, no spaces at the start of a line + { "wm8350", 0 },$ WARNING: please, no spaces at the start of a line + { "wm8351", 0 },$ WARNING: please, no spaces at the start of a line + { "wm8352", 0 },$ WARNING: p

[PATCH 11/19] mfd: twl4030-irq: Fix style warnings relating to pr_warn() and sizeof()

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. WARNING: Prefer pr_warn(... to pr_warning(... + pr_warning("twl4030: I2C error %d reading PIH ISR\n", ret); WARNING: sizeof buf should be sizeof(buf) + memset(buf, 0xff, sizeof buf); WARNING: sizeof *agent should be siz

[PATCH 09/19] mfd: ezx-pcap: Repair coding style errors picked up with checkpatch

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. WARNING: Missing a blank line after declarations + u32 flags; + void (*callback)(void *, u16[]); WARNING: sizeof t should be sizeof(t) + memset(&t, 0, sizeof t); WARNING: void function return statements are not generally

[PATCH 03/19] mfd: tps80031: Fix 'missing break or fall-through comment' warning

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. WARNING: Possible switch case/default not preceeded by break or fallthrough comment + case TPS80031_BACKUP_REG: total: 0 errors, 1 warnings, 573 lines checked Signed-off-by: Lee Jones --- drivers/mfd/tps80031.c | 1 + 1 file chang

[PATCH 02/19] mfd: max8925-i2c: Fix 'blank line after declarations' warning

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. WARNING: Missing a blank line after declarations + int ret; + ret = i2c_add_driver(&max8925_driver); total: 0 errors, 1 warnings, 275 lines checked Signed-off-by: Lee Jones --- drivers/mfd/max8925-i2c.c | 2 ++ 1 file changed

[PATCH 05/19] mfd: wm8350-irq: Fix 'line over 80 chars' warning

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. WARNING: line over 80 characters + wm8350->irq_base = irq_alloc_descs(irq_base, 0, ARRAY_SIZE(wm8350_irqs), 0); total: 0 errors, 1 warnings, 552 lines checked Signed-off-by: Lee Jones --- drivers/mfd/wm8350-irq.c | 3 ++- 1 file c

[PATCH 01/19] mfd: max77686: Fix 'line over 80 chars' warning

2014-07-22 Thread Lee Jones
This is part of an effort to clean-up the MFD subsystem. +WARNING: line over 80 characters + &max77686_rtc_regmap_config); total: 0 errors, 1 warnings, 299 lines checked Signed-off-by: Lee Jones --- drivers/mfd/max77686.c | 2 +- 1 file changed, 1 insertion

[PATCH 00/19] mfd: Fix checkpatch errors

2014-07-22 Thread Lee Jones
I'm going through the subsystem rectifying all of the warnings/errors checkpatch finds. Please review as appropriate. Lee Jones (19): mfd: max77686: Fix 'line over 80 chars' warning mfd: max8925-i2c: Fix 'blank line after declarations' warning mfd: tps80031: Fix 'missing break or fall-throu

Re: [PATCH v5 0/7] printk: start simplifying some flags

2014-07-22 Thread Alex Elder
On 07/22/2014 05:04 AM, Petr Mládek wrote: > On Mon 2014-07-21 08:02:34, Alex Elder wrote: >> Each log record has a "flags" field. The flags keep track of, for >> instance, whether the record was saved in its entirety (as opposed >> to being one of multiple records that should be merged as a singl

Re: [RFC] perf to ctf converter

2014-07-22 Thread Jiri Olsa
On Tue, Jul 22, 2014 at 08:58:17AM +0200, Sebastian Andrzej Siewior wrote: > On 07/21/2014 08:35 PM, Jiri Olsa wrote: > > On Mon, Jul 21, 2014 at 07:11:51PM +0200, Sebastian Andrzej Siewior wrote: > > > > heya, > > I've got following build error: > > > > CC util/data-bt.o > > util/data-bt

Re: [PATCH] arch: x86: boot: bioscall.S: simplify self-modification of the INT instruction

2014-07-22 Thread H. Peter Anvin
On 07/22/2014 04:01 AM, Klemen Jan Enova wrote: > At the start of the intcall function, the %al register is compared to > 0x3f. If it does not equal 0x3f it is equated to it. Instruction flow > continues in both cases from the label 1. The comparison is therefore > unneeded. > > Testing data is ap

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-22 Thread Chen Gang
On 07/22/2014 06:32 PM, Arnd Bergmann wrote: > On Sunday 20 July 2014 17:45:40 Chen Gang wrote: >>> >>> Next, I shall: >>> >>> - Remove HAS_IOMEM and NO_IOMEM from kernel, firstly. >>> >>> - Try to make dummy IOMEM functions for score architecture. >>> >>> - Continue discussing with UML for it

[PATCH 3/5] sched: Remove double_rq_lock() from __migrate_task()

2014-07-22 Thread Kirill Tkhai
Let's use ONRQ_MIGRATING instead. Signed-off-by: Kirill Tkhai --- kernel/sched/core.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 78388b0..4d62deb 100644 --- a/kernel/sched/core.c +++ b/kernel/sche

[PATCH 0/5] sched: Add on_rq states and remove several double rq locks

2014-07-22 Thread Kirill Tkhai
This series aims to get rid of some places where locks of two RQs are held at the same time. Patch [1/5] is a preparation/cleanup. It replaces old (.on_rq == 1) with new (.on_rq == ONRQ_QUEUED) everywhere. No functional changes. Patch [2/5] is main in the series. It introduces new state: ONRQ_MI

[PATCH 2/5] sched: Teach scheduler to understand ONRQ_MIGRATING state

2014-07-22 Thread Kirill Tkhai
This is new on_rq state for the cases when task is migrating from one src_rq to another dst_rq, and locks of the both RQs are unlocked. We will use the state this way: raw_spin_lock(&src_rq->lock); dequeue_task(src_rq, p, 0); p->on_rq = ONRQ_MIGRATING; set_task_cp

[PATCH 4/5] sched/fair: Remove double_lock_balance() from active_load_balance_cpu_stop()

2014-07-22 Thread Kirill Tkhai
Bad situation: double_lock_balance() drops busiest_rq lock. The busiest_rq is *busiest*, and a lot of tasks and context switches there. We are dropping the lock and waiting for it again. Let's just detach the task and once finally unlock it! Warning: this admits unlocked using of can_migrate_ta

[PATCH 5/5] sched/fair: Remove double_lock_balance() from load_balance()

2014-07-22 Thread Kirill Tkhai
Keep on_rq = ONRQ_MIGRATING, while task is migrating, instead. Signed-off-by: Kirill Tkhai --- kernel/sched/fair.c | 84 +-- 1 file changed, 54 insertions(+), 30 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index cf2d2eb.

[PATCH 1/5] sched: Wrapper for checking task_struct's .on_rq

2014-07-22 Thread Kirill Tkhai
Use task_queued() everywhere instead of raw .on_rq check. No functional changes. The only exception is we do not use wrapper in check_for_tasks() of file kernel/cpu.c, because it requires export of task_queued() in global header files. Next patch in series would return it back, so it doesn't matt

Re: [RFC] perf to ctf converter

2014-07-22 Thread Sebastian Andrzej Siewior
On 07/22/2014 01:25 PM, Jiri Olsa wrote: > I've got it running... make LIBBABELTRACE_DIR=/opt/libbabeltrace/ ugh ;-) > > [jolsa@krava perf]$ LD_LIBRARY_PATH=/opt/libbabeltrace/lib > /opt/libbabeltrace/bin/babeltrace ./ctf-data/ > > [04:41:11.445378840] (+?.?) sched:sched_switch: { }, {

Re: [PATCH 03/19] mfd: tps80031: Fix 'missing break or fall-through comment' warning

2014-07-22 Thread Arnd Bergmann
On Tuesday 22 July 2014 12:11:09 Lee Jones wrote: > --- a/drivers/mfd/tps80031.c > +++ b/drivers/mfd/tps80031.c > @@ -334,6 +334,7 @@ static bool rd_wr_reg_id1(struct device *dev, unsigned > int reg) > case TPS80031_PREQ1_RES_ASS_A ... TPS80031_PREQ3_RES_ASS_C: > case TPS80031_SMPS

Re: [PATCH v2 1/3] perf/sdt : Listing of SDT markers by perf

2014-07-22 Thread Hemant Kumar
Hi Namhyung, On 07/21/2014 08:31 AM, Namhyung Kim wrote: Hi Hemant, On Thu, 17 Jul 2014 11:25:12 +0530, Hemant Kumar wrote: This patch enables perf to list the SDT markers present in a system. It looks in dsos given by ldconfig --print-cache and for other binaries, it looks into the PATH envir

Re: [PATCH v2 3/4] virtio: rng: delay hwrng_register() till driver is ready

2014-07-22 Thread Jason Cooper
On Mon, Jul 21, 2014 at 08:41:24PM +0800, Herbert Xu wrote: > On Mon, Jul 21, 2014 at 08:11:16AM -0400, Jason Cooper wrote: > > > > > @@ -136,15 +137,6 @@ static int probe_common(struct virtio_device *vdev) > > > return err; > > > } > > > > > > - err = hwrng_register(&vi->hwrng); > >

Re: [PATCH 01/19] mfd: max77686: Fix 'line over 80 chars' warning

2014-07-22 Thread pramod gurav
On Tue, Jul 22, 2014 at 4:41 PM, Lee Jones wrote: > This is part of an effort to clean-up the MFD subsystem. > > max77686->rtc_regmap = devm_regmap_init_i2c(max77686->rtc, Which kernel are you on? Because 3.16.rc6 does not match with these lines. Its something like this: 'max776

Re: [PATCH 2/5] sched: Teach scheduler to understand ONRQ_MIGRATING state

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 03:30:16PM +0400, Kirill Tkhai wrote: > > This is new on_rq state for the cases when task is migrating > from one src_rq to another dst_rq, and locks of the both RQs > are unlocked. > > We will use the state this way: > > raw_spin_lock(&src_rq->lock); > dequeu

Re: [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 10:43:13AM +0200, Christian König wrote: > Am 22.07.2014 06:05, schrieb Dave Airlie: > >On 9 July 2014 22:29, Maarten Lankhorst > >wrote: > >>Signed-off-by: Maarten Lankhorst > >>--- > >> drivers/gpu/drm/radeon/radeon.h| 15 +- > >> drivers/gpu/drm/radeon/radeo

Re: [PATCH v2 0/4] virtio-rng: contribute to early randomness requests

2014-07-22 Thread Jason Cooper
On Mon, Jul 21, 2014 at 05:15:48PM +0530, Amit Shah wrote: > v2: > - update patch 3 to store the hwrng_register_done bool per-device >rather than global > - add patch 2 that re-arranges struct elems for better packing. > > Hi, > > This series enables virtio-rng to service the early randomne

Re: [PATCH v5 3/7] printk: initialize syslog_prev and console_prev

2014-07-22 Thread Alex Elder
On 07/21/2014 08:02 AM, Alex Elder wrote: > Two global variables, "syslog_prev" and "console_prev", maintain a > copy of the flags value used in the log record most recently > formatted for syslog or the console, respectively. > > Initially there is no previous formatted log record, and these > va

Re: [PATCH 02/19] mfd: max8925-i2c: Fix 'blank line after declarations' warning

2014-07-22 Thread pramod gurav
On Tue, Jul 22, 2014 at 4:41 PM, Lee Jones wrote: > This is part of an effort to clean-up the MFD subsystem. > > WARNING: Missing a blank line after declarations > + int ret; > + ret = i2c_add_driver(&max8925_driver); > > total: 0 errors, 1 warnings, 275 lines checked > > Signed-off-by

Re: [PATCH v2 1/4] mfd: pm8xxx-spmi: add support for Qualcomm SPMI PMICs

2014-07-22 Thread Stanimir Varbanov
On 07/22/2014 02:03 PM, Lee Jones wrote: > On Thu, 17 Jul 2014, Stanimir Varbanov wrote: > >> From: Josh Cartwright >> >> The Qualcomm SPMI PMIC chips are components used with the >> Snapdragon 800 series SoC family. This driver exists >> largely as a glue mfd component, it exists to be an owner

Re: [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Maarten Lankhorst
Hey, op 22-07-14 06:05, Dave Airlie schreef: > On 9 July 2014 22:29, Maarten Lankhorst > wrote: >> Signed-off-by: Maarten Lankhorst >> --- >> drivers/gpu/drm/radeon/radeon.h| 15 +- >> drivers/gpu/drm/radeon/radeon_device.c | 60 - >> drivers/gpu/drm/radeon/radeon_fence.c

Re: [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 01:46:07PM +0200, Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 10:43:13AM +0200, Christian König wrote: > > Am 22.07.2014 06:05, schrieb Dave Airlie: > > >On 9 July 2014 22:29, Maarten Lankhorst > > >wrote: > > >>Signed-off-by: Maarten Lankhorst > > >>--- > > >> driver

Re: [PATCH] tty/tty_io.c: make a check before reuse cdev

2014-07-22 Thread xinhui.pan
于 2014年07月21日 23:38, Greg KH 写道: > On Mon, Jul 21, 2014 at 08:47:16PM +0800, pp wrote: >> As reuse the cdev may cause panic. After we unregister the tty device, we >> may use tty_hangup() o >> other similar function to send a signal(SIGHUP) to process which has opend >> our device. But that >> n

Re: [PATCH v2 1/3] perf/sdt : Listing of SDT markers by perf

2014-07-22 Thread Hemant Kumar
Hi Andi, On 07/18/2014 11:20 PM, Andi Kleen wrote: Hemant Kumar writes: First I should say supporting these probes is very useful. Thanks for working on this. Thanks a lot for the appreciation. + +#define SDT_CACHE_DIR "/var/cache/perf/" This requires running perf as root, right? Yes!

Re: [PATCH v2 4/4] mfd: pm8921: rename pm8921-core driver

2014-07-22 Thread Stanimir Varbanov
On 07/22/2014 01:32 PM, Lee Jones wrote: > On Thu, 17 Jul 2014, Stanimir Varbanov wrote: > >> The pm8921-core driver presently supports pm8921 and pm8058 >> Qualcomm PMICs. To avoid confusion with new generation PMICs >> (like pm8941) rename the pm8921-core driver to more >> appropriate name pm8x

Re: [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 01:46:07PM +0200, Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 10:43:13AM +0200, Christian König wrote: > > Am 22.07.2014 06:05, schrieb Dave Airlie: > > >On 9 July 2014 22:29, Maarten Lankhorst > > >wrote: > > >>Signed-off-by: Maarten Lankhorst > > >>--- > > >> driver

Re: [PATCH v5 3/7] printk: initialize syslog_prev and console_prev

2014-07-22 Thread Petr Mládek
On Tue 2014-07-22 06:48:22, Alex Elder wrote: > On 07/21/2014 08:02 AM, Alex Elder wrote: > > Two global variables, "syslog_prev" and "console_prev", maintain a > > copy of the flags value used in the log record most recently > > formatted for syslog or the console, respectively. > > > > Initially

Re: [PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the "freeze" sleep state

2014-07-22 Thread Rafael J. Wysocki
On Tuesday, July 22, 2014 10:55:38 AM Peter Zijlstra wrote: > On Tue, Jul 22, 2014 at 03:23:29AM +0200, Rafael J. Wysocki wrote: > > > That turned out to be more challenging than I had thought initially. > > > > The last version I sent was almost OK, but it had some issues (like it could > > walk

Re: [PATCH] sched: update last_balance only when actually balanced

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 02:21:21AM -0400, Rik van Riel wrote: > Currently rebalance_domains will happily update sd->last_balance > even if should_we_balance() decides that this CPU should not do > any load balancing for the sd. > > This can prevent the CPU that should load balance for the sd from

Re: [PATCH] x86, TSC: Add a software TSC offset

2014-07-22 Thread Borislav Petkov
Ok, here's the preempt-version we were talking about. Please don't look at the vdso hunk - I had to make it build. Will fix properly later once we've established whether this actually makes sense at all first. :-) -- diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeatu

Re: [PATCH 03/19] mfd: tps80031: Fix 'missing break or fall-through comment' warning

2014-07-22 Thread Lee Jones
On Tue, 22 Jul 2014, Arnd Bergmann wrote: > On Tuesday 22 July 2014 12:11:09 Lee Jones wrote: > > --- a/drivers/mfd/tps80031.c > > +++ b/drivers/mfd/tps80031.c > > @@ -334,6 +334,7 @@ static bool rd_wr_reg_id1(struct device *dev, unsigned > > int reg) > > case TPS80031_PREQ1_RES_ASS_A ...

Re: [PATCH 0/2] shmem: fix faulting into a hole while it's punched, take 3

2014-07-22 Thread Vlastimil Babka
On 07/22/2014 12:06 PM, Vlastimil Babka wrote: So if this is true, the change to TASK_UNINTERRUPTIBLE will avoid the problem, but it would be nicer to keep the KILLABLE state. I think it could be done by testing if the wait queue still exists and is the same, before attempting finish wait. If it

Re: [PATCH 0/6 v2] PM / Hibernate: Memory bitmap scalability improvements

2014-07-22 Thread Joerg Roedel
On Tue, Jul 22, 2014 at 12:58:12PM +0200, Pavel Machek wrote: > On Tue 2014-07-22 12:34:44, Joerg Roedel wrote: > > On Tue, Jul 22, 2014 at 02:41:29AM +0200, Rafael J. Wysocki wrote: > > > It looks like some specific need motivated the Joerg's work, however, > > > so let's just not dismiss the use

[Update][PATCH 2/3] ACPI / PM: Revork the handling of ACPI device wakeup notifications

2014-07-22 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since ACPI wakeup GPEs are going to be enabled during system suspend as well as for runtime wakeup by a subsequent patch and the same notify handlers will be used in both cases, rework the ACPI device wakeup notification framework so that the part specific to physical devi

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-22 Thread Dietmar Eggemann
On 22/07/14 10:47, Peter Zijlstra wrote: > On Mon, Jul 21, 2014 at 06:52:12PM +0200, Peter Zijlstra wrote: >> On Mon, Jul 21, 2014 at 11:35:28AM -0500, Bruno Wolff III wrote: >>> Is there more I can do to help with this now? Or should I just wait for >>> patches to test? >> >> Yeah, sorry, was wipe

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-22 Thread Bruno Wolff III
On Tue, Jul 22, 2014 at 12:38:57 +0200, Peter Zijlstra wrote: Could you provide the output of cpuid and cpuid -r for your machine? This code is magic and I've no idea what your machine is telling it to do :/ I am attaching both sets of output. (I also added copies to the bug report.) CPU 0:

Re: [PATCH 1/2] mtd: nand: define struct nand_timings

2014-07-22 Thread Boris BREZILLON
Hi Matthieu On Tue, 22 Jul 2014 12:03:46 +0200 Matthieu CASTET wrote: > Hi, > > > Do you know if all these timings will be used by the nand drivers ? I don't know (it depends on each NAND controller), and this is exactly why I decided to define all the timings described in the ONFI specificat

Re: [PATCH 01/19] mfd: max77686: Fix 'line over 80 chars' warning

2014-07-22 Thread Lee Jones
On Tue, 22 Jul 2014, pramod gurav wrote: > On Tue, Jul 22, 2014 at 4:41 PM, Lee Jones wrote: > > This is part of an effort to clean-up the MFD subsystem. > > > > > max77686->rtc_regmap = devm_regmap_init_i2c(max77686->rtc, > Which kernel are you on? Because 3.16.rc6 does not match with t

[PATCH v6 5/7] printk: honor LOG_PREFIX in devkmsg_read()

2014-07-22 Thread Alex Elder
In devkmsg_read(), a variable "cont" holds a character that's used to indicate whether a given log line is a "continuation", that is, whether a log record should be merged with the one before or after it. If a record should be merged with its successor (but not its predecessor) that character is '

[PATCH v6 6/7] printk: honor LOG_PREFIX in msg_print_text()

2014-07-22 Thread Alex Elder
This patch fixes a problem similar to what was addressed in the previous patch. All paths that read and format log records (for consoles, and for reading via syslog and /dev/kmsg) go through msg_print_text(). That function starts with some logic to determine whether the given log record when form

[PATCH v6 7/7] printk: correct some more typos

2014-07-22 Thread Alex Elder
This patch corrects a few more typographical errors in "printk.c". Signed-off-by: Alex Elder Reviewed-by: Petr Mládek --- kernel/printk/printk.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index b630c85..6848e7d

[PATCH] mailbox/omap: Use module_platform_driver

2014-07-22 Thread Tobias Klauser
Use the module_platform_driver to omit module init/exit boilerplate code. Signed-off-by: Tobias Klauser --- drivers/mailbox/mailbox-omap1.c | 13 + drivers/mailbox/mailbox-omap2.c | 13 + 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/drivers/mailbox/mail

Re: [STLinux Kernel] [PATCH v3 10/10] MAINTAINERS: Add sdhci-st file to ARCH/STI architecture

2014-07-22 Thread Maxime Coquelin
Hi Olof, Arnd, Kevin, I am preparing two tags for v3.17 regarding STi platform. One for DT, and one for defconfigs. Except this one, I have no patches for ARM-SoC. Can you take this patch directly? Or should I send a pull request with this one only? Rega

[PATCH v6 2/7] printk: insert newline for truncated records

2014-07-22 Thread Alex Elder
If a log record has LOG_PREFIX set, its predecessor record should be terminated if it was marked LOG_CONT. In devkmsg_read(), this condition was being ignored, which would lead to such records showing up combined when reading /dev/kmsg. Fix this oversight. We should similarly insert a newline in

[PATCH v6 4/7] printk: LOG_CONT and LOG_NEWLINE are opposites

2014-07-22 Thread Alex Elder
Two log record flags--LOG_CONT and LOG_NEWLINE--are mutually exclusive. That is, one or the other is always set, but they are never both set at the same time in a log record flags field. What follows is a great deal of explanation that aims to prove this assertion. Having that knowledge allows u

Re: [PATCH 0/3] ACPI / PM: Make ACPI-based PCI wakeup work for the "freeze" sleep state

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 02:23:03PM +0200, Rafael J. Wysocki wrote: > > Doesn't break, doesn't 'work' either. > > This probably means that WoL on that machine is not ACPI-based. Oh lovely, of course that's an 'option' ! > > Is there anything I can provide you with to make this easier? lspci outpu

Re: [PATCH 02/19] mfd: max8925-i2c: Fix 'blank line after declarations' warning

2014-07-22 Thread Lee Jones
On Tue, 22 Jul 2014, pramod gurav wrote: > On Tue, Jul 22, 2014 at 4:41 PM, Lee Jones wrote: > > This is part of an effort to clean-up the MFD subsystem. > > > > WARNING: Missing a blank line after declarations > > + int ret; > > + ret = i2c_add_driver(&max8925_driver); > > > > total:

[PATCH v6 1/7] printk: report dropped messages on separate line

2014-07-22 Thread Alex Elder
It is possible for the log to be filled too quickly for the consoles to be able to keep up. This is detected in console_unlock(), and when it occurs, a message is inserted to note the event. When reviewing some nearby code, Petr Mládek suggested it might be nicer if this message were placed on a

[PATCH v6 0/7] printk: start simplifying some flags

2014-07-22 Thread Alex Elder
Each log record has a "flags" field. The flags keep track of, for instance, whether the record was saved in its entirety (as opposed to being one of multiple records that should be merged as a single unit). A log record's flags field alone is not currently sufficient to know how the record should

[PATCH] MIPS: OCTEON: make get_system_type() thread-safe

2014-07-22 Thread Aaro Koskinen
get_system_type() is not thread-safe on OCTEON. It uses static data, also more dangerous issue is that it's calling cvmx_fuse_read_byte() every time without any synchronization. Currently it's possible to get processes stuck looping forever in kernel simply by launching multiple readers of /proc/cp

[PATCH v6 3/7] printk: initialize syslog_prev and console_prev

2014-07-22 Thread Alex Elder
Two global variables, "syslog_prev" and "console_prev", maintain a copy of the flags value used in the log record most recently formatted for syslog or the console, respectively. Initially there is no previous formatted log record, and these variables simply have an initial value 0. And occasiona

Re: [PATCH v2 4/4] mfd: pm8921: rename pm8921-core driver

2014-07-22 Thread Lee Jones
On Tue, 22 Jul 2014, Stanimir Varbanov wrote: > On 07/22/2014 01:32 PM, Lee Jones wrote: > > On Thu, 17 Jul 2014, Stanimir Varbanov wrote: > > > >> The pm8921-core driver presently supports pm8921 and pm8058 > >> Qualcomm PMICs. To avoid confusion with new generation PMICs > >> (like pm8941) ren

Re: [PATCH v3 0/4] dra7: Add PCIe support

2014-07-22 Thread Kishon Vijay Abraham I
Hi Bjorn, On Thursday 17 July 2014 02:30 PM, Kishon Vijay Abraham I wrote: > Changes from v2: > * Added myself as MAINTAINER of pcie dra7xx driver > > Changes from v1: > * fixed dw_pcie_prog_viewport_io_outbound() to use untranslated address > * split dra7xx patch into driver part and documentati

Re: [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-22 Thread Christian König
Am 22.07.2014 13:57, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 01:46:07PM +0200, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 10:43:13AM +0200, Christian König wrote: Am 22.07.2014 06:05, schrieb Dave Airlie: On 9 July 2014 22:29, Maarten Lankhorst wrote: Signed-off-by: Maarten Lankhors

[PATCH 3/5] drm: add bus_formats and nbus_formats fields to drm_display_info

2014-07-22 Thread Boris BREZILLON
Add bus_formats and nbus_formats fields and drm_display_info_set_bus_formats helper function to specify the bus formats supported by a given display. This information can be used by display controller drivers to configure the output interface appropriately (i.e. RGB565, RGB666 or RGB888 on raw RGB

Re: [PATCH 2/5] sched: Teach scheduler to understand ONRQ_MIGRATING state

2014-07-22 Thread Kirill Tkhai
В Вт, 22/07/2014 в 13:45 +0200, Peter Zijlstra пишет: > On Tue, Jul 22, 2014 at 03:30:16PM +0400, Kirill Tkhai wrote: > > > > This is new on_rq state for the cases when task is migrating > > from one src_rq to another dst_rq, and locks of the both RQs > > are unlocked. > > > > We will use the sta

Re: [PATCH 0/6 v2] PM / Hibernate: Memory bitmap scalability improvements

2014-07-22 Thread Joerg Roedel
On Tue, Jul 22, 2014 at 12:55:46PM +0200, Pavel Machek wrote: > On Tue 2014-07-22 12:34:44, Joerg Roedel wrote: > Writing out every single page on 12TB machine to disk does not scale, > either :-). But there is not much potential optimizing the write-out either (in software). But that doesn't mea

[PATCH 2/5] video: add RGB444_1X12 and RGB565_1X16 bus formats

2014-07-22 Thread Boris BREZILLON
Add RGB444 format using a 12 bits bus and RGB565 using a 16 bits bus. These formats will later be used by atmel-hlcdc driver. Signed-off-by: Boris BREZILLON --- include/uapi/linux/v4l2-mediabus.h| 2 ++ include/uapi/linux/video-bus-format.h | 4 +++- 2 files changed, 5 insertions(+), 1 dele

Re: [PATCH 2/5] sched: Teach scheduler to understand ONRQ_MIGRATING state

2014-07-22 Thread Steven Rostedt
On Tue, 22 Jul 2014 13:45:42 +0200 Peter Zijlstra wrote: > > @@ -1491,10 +1491,14 @@ static void ttwu_activate(struct rq *rq, struct > > task_struct *p, int en_flags) > > static void > > ttwu_do_wakeup(struct rq *rq, struct task_struct *p, int wake_flags) > > { > > - check_preempt_curr(rq

[PATCH 4/5] drm: panel: simple-panel: add support for bus_format retrieval

2014-07-22 Thread Boris BREZILLON
Provide a way to specify panel requirement in terms of supported media bus format (particularly useful for panels connected to an RGB or LVDS bus). Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/panel/panel-simple.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/pan

[PATCH] Staging: vt6655: remove redundant comments from 80211hdr.h

2014-07-22 Thread Igor Bezukh
Removed redundant comments from 80211hdr.h header file Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/80211hdr.h |7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/vt6655/80211hdr.h b/drivers/staging/vt6655/80211hdr.h index ba155cd..e05d135 100644 --- a/drivers/

[PATCH 0/5] video: describe data bus formats

2014-07-22 Thread Boris BREZILLON
Hello, This patch series is a proposal to describe the different data formats used by HW components to connect with each other. This is just a copy of the existing V4L2_MBUS_FMT defintions with a neutral name so that it can be used by V4L2 and DRM/KMS subsystem. This series also makes use of thi

[PATCH 1/5] video: move mediabus format definition to a more standard place

2014-07-22 Thread Boris BREZILLON
Rename mediabus formats and move the enum into a separate header file so that it can be used by DRM/KMS subsystem without any reference to the V4L2 subsystem. Old V4L2_MBUS_FMT_ definitions are now macros that points to VIDEO_BUS_FMT_ definitions. Signed-off-by: Boris BREZILLON --- include/uapi

[PATCH 5/5] drm: panel: simple-panel: add bus format information for foxlink panel

2014-07-22 Thread Boris BREZILLON
Foxlink's fl500wvr00-a0t supports RGB888 format. Signed-off-by: Boris BREZILLON --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 42fd6d1..f1e49fd 100644 --- a/drivers/gp

[PATCH 1/2] module: add within_module() function

2014-07-22 Thread Petr Mladek
It is just a small optimization that allows to replace few occurrences of within_module_init() || within_module_core() with a single call. Signed-off-by: Petr Mladek --- include/linux/module.h | 5 + kernel/module.c| 12 2 files changed, 9 insertions(+), 8 deletions(-)

Re: [PATCH 01/19] mfd: max77686: Fix 'line over 80 chars' warning

2014-07-22 Thread pramod gurav
On Tue, Jul 22, 2014 at 5:43 PM, Lee Jones wrote: > On Tue, 22 Jul 2014, pramod gurav wrote: > > It's based on the most recent MFD for-mfd-next branch. > > You're missing the following patches: > > mfd: max77686: Remove unneeded OOM error message > mfd: max77686: Make error checking consistent

[PATCH 0/2] module: add within_module() and change return type

2014-07-22 Thread Petr Mladek
The condition (within_module_init() || within_module_core()) is used on several locations. We would like to use it also in kGraft when patching modules. This small patch set introduces within_module() to do the check in one call. It also modifies the return type from int to bool for all three func

[PATCH 2/2] module: return bool from within_module*()

2014-07-22 Thread Petr Mladek
The within_module*() functions return only true or false. Let's use bool as the return type. Note that it should not change kABI because these are inline functions. Signed-off-by: Petr Mladek --- include/linux/module.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/

Re: [PATCH] MIPS: OCTEON: make get_system_type() thread-safe

2014-07-22 Thread Markos Chandras
On 07/22/2014 12:51 PM, Aaro Koskinen wrote: > get_system_type() is not thread-safe on OCTEON. It uses static data, > also more dangerous issue is that it's calling cvmx_fuse_read_byte() > every time without any synchronization. Currently it's possible to get > processes stuck looping forever in ke

[PATCH] Staging: vt6655: Removed redundant comments and newlines

2014-07-22 Thread Igor Bezukh
Removed redundant comments and newlines from 80211mgr.h header file. Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/80211mgr.h | 38 - 1 file changed, 38 deletions(-) diff --git a/drivers/staging/vt6655/80211mgr.h b/drivers/staging/vt6655/80211mgr.h

[PATCH] Staging: vt6655: removed redundant comments from aes_ccmp.h

2014-07-22 Thread Igor Bezukh
Removed redundant comments from aes_ccmp.h header file Signed-off-by: Igor Bezukh --- drivers/staging/vt6655/aes_ccmp.h |9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/vt6655/aes_ccmp.h b/drivers/staging/vt6655/aes_ccmp.h index cc02e64..fe0c506 100644 --- a/driver

Re: [PATCH 1/2] module: add within_module() function

2014-07-22 Thread Steven Rostedt
On Tue, 22 Jul 2014 14:28:09 +0200 Petr Mladek wrote: > It is just a small optimization that allows to replace few > occurrences of within_module_init() || within_module_core() > with a single call. This looks like a nice clean up. Rusty, what do you think? -- Steve > > Signed-off-by: Petr Ml

Re: [PATCH v4 1/3] Staging: rts5208: Replace custom macro with dev_dbg

2014-07-22 Thread Dan Carpenter
On Mon, Jul 21, 2014 at 11:36:02PM +0200, Fabio Falzoi wrote: > @@ -3664,7 +3672,7 @@ static int mg_set_tpc_para_sub(struct rtsx_chip *chip, > int type, > int retval; > u8 buf[6]; > > - RTSX_DEBUGP("--%s--\n", __func__); > + dev_dbg(rtsx_dev(chip), "--%s--\n", __func__); All

Re: [PATCH] trace-cmd: add trace-record.o to the python shared lib

2014-07-22 Thread Johannes Berg
On Mon, 2014-07-21 at 17:01 -0400, Steven Rostedt wrote: > Cc'd my python gurus. > > Acks? > > When trying to use the python library it was giving me an error about not > > being > > able to resolve tracecmd_stat_cpu. This is because we weren't linking > > trace-record.o to ctracecmd.so. Fix t

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-22 Thread Bruno Wolff III
On Tue, Jul 22, 2014 at 11:47:40 +0200, Peter Zijlstra wrote: On Mon, Jul 21, 2014 at 06:52:12PM +0200, Peter Zijlstra wrote: On Mon, Jul 21, 2014 at 11:35:28AM -0500, Bruno Wolff III wrote: > Is there more I can do to help with this now? Or should I just wait for > patches to test? Yeah, sor

Re: [PATCH 2/2] iio: adc: exynos_adc: Add support for S3C24xx ADC

2014-07-22 Thread Arnd Bergmann
On Tuesday 22 July 2014 11:11:14 Chanwoo Choi wrote: > This patch add support for s3c2410/s3c2416/s3c2440/s3c2443 ADC. The s3c24xx > is alomost same as ADCv1. But, There are a little difference as following: > - ADCMUX register address to select channel > - ADCDAT mask (10bit or 12bit ADC resolutio

[PATCH v2] iio: exynos-adc: add experimental touchscreen support

2014-07-22 Thread Arnd Bergmann
This adds support for the touchscreen on Samsung s3c64xx. The driver is completely untested but shows roughly how it could be done, following the example of the at91 driver. Open questions include: - compared to the old plat-samsung/adc driver, there is no support for prioritizing ts over other

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-22 Thread Peter Zijlstra
On Tue, Jul 22, 2014 at 07:10:01AM -0500, Bruno Wolff III wrote: > On Tue, Jul 22, 2014 at 12:38:57 +0200, > Peter Zijlstra wrote: > > > >Could you provide the output of cpuid and cpuid -r for your machine? > >This code is magic and I've no idea what your machine is telling it to > >do :/ > > I

[PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-07-22 Thread Boris BREZILLON
Hello, This patch series adds support for Atmel HLCDC (HLCD Controller) available on some Atmel SoCs (i.e. the sama5d3 family). The HLCDC actually provides a Display Controller and a PWM device, hence I decided to declare an MFD device exposing 2 subdevices: a display controller and a PWM chip. T

[PATCH v4 06/11] drm: add DT bindings documentation for atmel-hlcdc-dc driver

2014-07-22 Thread Boris BREZILLON
The Atmel HLCDC (HLCD Controller) IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provides a display controller device. The HLCDC block provides a single RGB output port, and only supports LCD panels connection to LCD panels for now. The atmel,panel propert

[PATCH v4 09/11] ARM: at91/dt: define the HLCDC node available on sama5d3 SoCs

2014-07-22 Thread Boris BREZILLON
Define the HLCDC (HLCD Controller) IP available on some sama5d3 SoCs (i.e. sama5d31, sama5d33, sama5d34 and sama5d36) in sama5d3 dtsi file. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch

Good Day

2014-07-22 Thread Richard Wong
I have a business proposal I would like to share with you, on your response I will email you with more details. I await your quick response. Kind regards Richard Wong -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.or

[PATCH v4 11/11] ARM: at91/dt: enable the LCD panel on sama5d3xek boards

2014-07-22 Thread Boris BREZILLON
Enable LCD related nodes. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d31ek.dts | 20 arch/arm/boot/dts/sama5d33ek.dts | 20 arch/arm/boot/dts/sama5d34ek.dts | 20 arch/arm/boot/dts/sama5d36ek.dts | 20 +

[PATCH v4 10/11] ARM: at91/dt: add LCD panel description to sama5d3xdm.dtsi

2014-07-22 Thread Boris BREZILLON
Add LCD panel related nodes (backlight, regulators and panel) to sama5d3 Display Module dtsi. Reference LCD pin muxing used by sama5d3xek boards. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3xdm.dtsi | 58 +++ 1 file changed, 58 insertions(+)

[PATCH v4 04/11] pwm: add DT bindings documentation for atmel-hlcdc-pwm driver

2014-07-22 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. The DT bindings used for this PWM device is following the default 3 cells bindings described in Documentation/devicetree/bindings/pwm/pwm.txt. Signed-off-by: Boris BR

[PATCH v4 07/11] ARM: AT91/dt: split sama5d3 lcd pin definitions to match RGB mode configs

2014-07-22 Thread Boris BREZILLON
The HLCDC (HLCD Controller) IP supports 4 different output mode (RGB444, RGB565, RGB666 and RGB888) and the pin muxing will depend on the chosen RGB mode. Split pin definitions to be able to set pin config according to the selected mode. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama

[PATCH v4 08/11] ARM: AT91/dt: add alternative pin muxing for sama5d3 lcd pins

2014-07-22 Thread Boris BREZILLON
Define alternative pin muxing for the LCDC pins. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/sama5d3_lcd.dtsi | 50 ++ 1 file changed, 50 insertions(+) diff --git a/arch/arm/boot/dts/sama5d3_lcd.dtsi b/arch/arm/boot/dts/sama5d3_lcd.dtsi index 2186b8

[PATCH v4 02/11] mfd: add documentation for atmel-hlcdc DT bindings

2014-07-22 Thread Boris BREZILLON
The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) exposes 2 subdevices: - a display controller (controlled by a DRM driver) - a PWM chip This patch adds documentation for atmel-hlcdc DT bindings. Signed-off-by: Boris BREZILLON --- .../devicetree/b

[PATCH v4 03/11] pwm: add support for atmel-hlcdc-pwm device

2014-07-22 Thread Boris BREZILLON
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12, at91sam9x5 family or sama5d3 family) provide a PWM device. This driver add support for a PWM chip exposing a single PWM device (which will most likely be used to drive a backlight device). Signed-off-by: Boris BREZILLON ---

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