Re: [PATCH v2] notify block layer when using temporary change to cache_type

2014-06-11 Thread Christoph Hellwig
On Tue, Jun 03, 2014 at 05:37:30PM +0800, Vaughan Cao wrote: > This is a fix for commit: > 39c60a0948cc06139e2fbfe084f83cb7e7deae3b sd: fix array cache flushing bug > causing performance problems > We must notify the block layer via q->flush_flags after temporary change the > cache_type to writ

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-11 Thread Matt Fleming
On Wed, 11 Jun, at 01:54:13PM, Peter Zijlstra wrote: > > Matt found in the MSR listing for GLOBAL_STATUS: > > 63 CondChg: status bits of this register has changed. If CPUID.0AH: EAX[7:0] > > 0 > > Which brings us to a grand total of 3 different names for this bit. Right, I'm flinging emails a

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-11 Thread Eduardo Valentin
On Wed, Jun 11, 2014 at 12:42:18PM +0100, Morten Rasmussen wrote: > On Wed, Jun 11, 2014 at 12:02:51PM +0100, Eduardo Valentin wrote: > > Hello, > > > > On Mon, Jun 09, 2014 at 09:22:49AM -0400, Nicolas Pitre wrote: > > > On Mon, 9 Jun 2014, Morten Rasmussen wrote: > > > > > > > On Sat, Jun 07, 2

Re: [PATCH] ip_vti: fix sparse warnings for VTI_ISVTI

2014-06-11 Thread Dmitry Popov
On Wed, 11 Jun 2014 15:09:14 +0400 Dmitry Popov wrote: > > Since VTI_ISVTI is always used with ip_tunnel_parm->i_flags (which is __be16), > we can __force cast VTI_ISVTI to __be16 in header file. > If this patch is okay I will submit it to iproute2 too. if_tunnel.h has to be synced. -- To unsu

Re: [ANNOUNCE] scsi patch queue tree

2014-06-11 Thread Christoph Hellwig
After this first pull for the 3.16 merge window it seems like this worked out fairly well - we got a large number of patches in, and all reviewed by a second pair of eyes. How should we go on from this? The drivers-for-3.16-2 branch, which had the late lpfs and hpsa updates didn't make it into th

Re: [PATCH 00/36] OMAP: GPMC: Restructure and move OMAP GPMC driver out of mach-omap2

2014-06-11 Thread Roger Quadros
Hi Javier, On 06/11/2014 02:52 PM, Javier Martinez Canillas wrote: > Hello Roger, > > What a great series!! Thanks :) > > On Wed, Jun 11, 2014 at 10:56 AM, Roger Quadros wrote: >> Hi, >> >> This is a complete functional set to get the gpmc driver out of mach-omap2 >> and into drivers/memory.

Re: [PATCH 00/36] OMAP: GPMC: Restructure and move OMAP GPMC driver out of mach-omap2

2014-06-11 Thread Javier Martinez Canillas
Hello Roger, What a great series!! On Wed, Jun 11, 2014 at 10:56 AM, Roger Quadros wrote: > Hi, > > This is a complete functional set to get the gpmc driver out of mach-omap2 > and into drivers/memory. The DT binding remains the same except for the > following minor changes I probably won't hav

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-11 Thread Peter Zijlstra
On Wed, Jun 11, 2014 at 10:54:48AM +0200, Peter Zijlstra wrote: > > I'm not sure about exact behavior of CondChgd bit, in particular when > > this bit is set. Although I read Intel System Programmer's Manual to > > figure out but I have yet completed that. At least, I think ignoring > > CondChgd bi

[PATCH] dma-mapping: Provide write-combine allocations

2014-06-11 Thread Thierry Reding
From: Thierry Reding Provide an implementation for dma_{alloc,free,mmap}_writecombine() when the architecture supports DMA attributes. Signed-off-by: Thierry Reding --- arch/arm/include/asm/dma-mapping.h | 16 include/asm-generic/dma-mapping-common.h | 8 inclu

[PATCH] block: remove elv_abort_queue and blk_abort_flushes

2014-06-11 Thread Christoph Hellwig
elv_abort_queue has no callers, and blk_abort_flushes is only called by elv_abort_queue. Signed-off-by: Christoph Hellwig diff --git a/block/blk-flush.c b/block/blk-flush.c index 8ffee4b..3cb5e9e 100644 --- a/block/blk-flush.c +++ b/block/blk-flush.c @@ -422,44 +422,6 @@ void blk_insert_flush(st

Re: [PATCH 08/10] mm, compaction: pass gfp mask to compact_control

2014-06-11 Thread Vlastimil Babka
On 06/11/2014 04:48 AM, Minchan Kim wrote: On Mon, Jun 09, 2014 at 11:26:20AM +0200, Vlastimil Babka wrote: From: David Rientjes struct compact_control currently converts the gfp mask to a migratetype, but we need the entire gfp mask in a follow-up patch. Pass the entire gfp mask as part of s

[resend][PATCH 35/36] ARM: OMAP2+: gpmc: move GPMC driver into drivers/memory

2014-06-11 Thread Roger Quadros
Resending with rename detection option to git-format-patch for easier review. From: Roger Quadros Move the GPMC driver out of mach-omap2. We leave behind only the mach-omap2 specific bits in mach-omap2/gpmc_legacy.c i.e. gpmc_generic_init() for use by board files to register the GPMC configurati

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-11 Thread Morten Rasmussen
On Wed, Jun 11, 2014 at 12:02:51PM +0100, Eduardo Valentin wrote: > Hello, > > On Mon, Jun 09, 2014 at 09:22:49AM -0400, Nicolas Pitre wrote: > > On Mon, 9 Jun 2014, Morten Rasmussen wrote: > > > > > On Sat, Jun 07, 2014 at 03:33:58AM +0100, Nicolas Pitre wrote: > > > > On Fri, 6 Jun 2014, Ingo M

Re: [PATCH 05/10] mm, compaction: remember position within pageblock in free pages scanner

2014-06-11 Thread Vlastimil Babka
On 06/11/2014 10:16 AM, Joonsoo Kim wrote: On Wed, Jun 11, 2014 at 11:12:13AM +0900, Minchan Kim wrote: On Mon, Jun 09, 2014 at 11:26:17AM +0200, Vlastimil Babka wrote: Unlike the migration scanner, the free scanner remembers the beginning of the last scanned pageblock in cc->free_pfn. It might

BUG: Bad page state in process swapper pfn:00000

2014-06-11 Thread Geert Uytterhoeven
With current mainline, I get an early crash on r8a7791/koelsch: BUG: Bad page state in process swapper pfn:0 page:ee20b000 count:0 mapcount:0 mapping:66756200 index:0x65726566 page flags: 0x74656b63(locked|error|lru|active|owner_priv_1|arch_1|private|writeback|head|swapcache |reclaim|mlocked

Re: [PATCH v11 09/16] qspinlock, x86: Allow unfair spinlock in a virtual guest

2014-06-11 Thread Peter Zijlstra
On Wed, Jun 11, 2014 at 12:54:02PM +0200, Peter Zijlstra wrote: > > @@ -252,6 +260,18 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, > > u32 val) > > > > BUILD_BUG_ON(CONFIG_NR_CPUS >= (1U << _Q_TAIL_CPU_BITS)); > > > > +#ifdef CONFIG_VIRT_UNFAIR_LOCKS > > + /* > > +* A sim

linux-kernel@vger.kernel.org

2014-06-11 Thread Tetsuo Handa
Paul E. McKenney wrote: > On Tue, Jun 10, 2014 at 09:04:51PM +0900, Tetsuo Handa wrote: > > Hello. > > > > I noticed that commit 59a3d4c363 "Merge branch 'core-rcu-for-linus' of > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next" causes > > an oops when rebooting a system. Do you

[RFC PATCH 2/3] thermal: trace: Trace when a cooling device's state is updated

2014-06-11 Thread Punit Agrawal
Introduce and use an event to trace when a cooling device's state is updated. This is useful to follow the effect of governor decisions on cooling devices. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Signed-off-by: Punit Agrawal --- drivers/

Re: [PATCH 05/10] mm, compaction: remember position within pageblock in free pages scanner

2014-06-11 Thread Vlastimil Babka
On 06/11/2014 04:12 AM, Minchan Kim wrote: >@@ -314,6 +315,9 @@ static unsigned long isolate_freepages_block(struct compact_control *cc, >int isolated, i; >struct page *page = cursor; > >+ /* Record how far we have got within the block */ >+ *start_pfn

[RFC PATCH 3/3] thermal: trace: Trace when temperature is above a trip point

2014-06-11 Thread Punit Agrawal
Create a new event to trace when the temperature is above a trip point. Use the trace-point when handling non-critical and critical trip pionts. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Signed-off-by: Punit Agrawal --- Hi Steven, I am fac

Re: [RFC PATCH v3 4/7] thermal: introduce the Power Actor API

2014-06-11 Thread Eduardo Valentin
Hello Javi, On Tue, Jun 03, 2014 at 11:18:32AM +0100, Javi Merino wrote: > This patch introduces the Power Actor API in the thermal framework. > With it, devices that can report their power consumption and control > it can be registered. This base interface is meant to be used to > derive specifi

[RFC PATCH 1/3] thermal: trace: Trace temperature changes

2014-06-11 Thread Punit Agrawal
Create a new event to trace the temperature of a thermal zone. Using this event trace the temperature changes of the thermal zone every-time it is updated. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Signed-off-by: Punit Agrawal --- drivers/

[RFC PATCH 0/3] Add trace to thermal framework

2014-06-11 Thread Punit Agrawal
Hi linux-pm, The linux thermal framework doesn't have any support for tracing. This makes it hard to run workloads and observe the thermal behaviour of the system without actively polling files in sysfs or enabling debug builds. This patch set introduces trace events in the framework to allow obs

Re: [PATCH v3] leds: USB: HID: Add support for MSI GT683R led panels

2014-06-11 Thread Jiri Kosina
On Wed, 11 Jun 2014, Janne Kanniainen wrote: > This driver adds support for USB controlled led panels that exists in MSI > GT683R laptop > > Changes in v2: > - sorted headers to alphabetic order > - using devm_kzalloc > - using BIT(n) > - using usb_control_msg instead of

Re: [PATCH 1/2] sched: Rework migrate_tasks()

2014-06-11 Thread Srikar Dronamraju
* Kirill Tkhai [2014-06-11 13:52:10]: > > Currently migrate_tasks() skips throttled tasks, > because they are not pickable by pick_next_task(). > Before migrate_tasks() is called, we do call set_rq_offline(), in migration_call(). Shouldnt this take care of unthrottling the tasks and making su

Re: [PATCH 03/10] mm, compaction: periodically drop lock and restore IRQs in scanners

2014-06-11 Thread Vlastimil Babka
On 06/11/2014 03:32 AM, Minchan Kim wrote: >+ if (cc->mode == MIGRATE_ASYNC) { >+ if (need_resched()) { >+ cc->contended = COMPACT_CONTENDED_SCHED; >+ return true; >} >- >+ if (spin_is_locked(lock)) { Why do you use spin_is_lo

[PATCH 7/8] power: da9150: Add DT binding documentation for charger

2014-06-11 Thread Adam Thomson
Signed-off-by: Adam Thomson --- .../devicetree/bindings/power/da9150-charger.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/da9150-charger.txt diff --git a/Documentation/devicetree/bindings/power/da9150-charger.txt

[PATCH 8/8] DT: Add vendor prefix for Dialog Semiconductor Ltd.

2014-06-11 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index abc3080..cf9e582 100644 --- a/Documentatio

[PATCH 6/8] power: Add support for DA9150 Charger

2014-06-11 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Guage IC Charger. Signed-off-by: Adam Thomson --- drivers/power/Kconfig | 23 ++ drivers/power/Makefile | 1 + drivers/power/da9150-charger.c | 790 + include/linux/mfd/da9150/ch

[PATCH 4/8] iio: Add support for DA9150 GPADC

2014-06-11 Thread Adam Thomson
This patch adds support for DA9150 Charger & Fuel-Gauge IC GPADC. Signed-off-by: Adam Thomson --- drivers/iio/adc/Kconfig | 9 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/da9150-gpadc.c | 396 +++ include/linux/mfd/da9150/gpadc.h |

[PATCH 5/8] iio: da9150: Add DT binding documentation for GPADC

2014-06-11 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/iio/da9150-gpadc.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/da9150-gpadc.txt diff --git a/Documentation/devicetree/bindings/iio/da9150-gpadc.txt b/Documen

[PATCH 3/8] iio: of_iio_channel_get_by_name() returns non-null pointers for error legs

2014-06-11 Thread Adam Thomson
Currently in the inkern.c code for IIO framework, the function of_iio_channel_get_by_name() will return a non-NULL pointer when it cannot find a channel using of_iio_channel_get() and when it tries to search for 'io-channel-ranges' property and fails. This is incorrect behaviour as the function whi

[PATCH 0/8] Add initial support for DA9150 Charger & Fuel-Gauge IC

2014-06-11 Thread Adam Thomson
This patch set adds initial support for the Dialog DA9150 Integrated Charger & Fuel-Gauge IC. The device also provides GPIO and GPADC functionality. In this patch set the following is provided: - MFD Core support and DT bindings documentation. - Fix to IIO framework (inkern.c, of_iio_channel_get

[PATCH 2/8] mfd: da9150: Add DT binding documentation for core

2014-06-11 Thread Adam Thomson
Signed-off-by: Adam Thomson --- Documentation/devicetree/bindings/mfd/da9150.txt | 53 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/da9150.txt diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/dev

Re: [PATCH 1/2] sched: Rework migrate_tasks()

2014-06-11 Thread Kirill Tkhai
В Ср, 11/06/2014 в 12:57 +0200, Peter Zijlstra пишет: > On Wed, Jun 11, 2014 at 01:52:10PM +0400, Kirill Tkhai wrote: > > > > Currently migrate_tasks() skips throttled tasks, > > because they are not pickable by pick_next_task(). > > > > These tasks stay on dead cpu even after they > > becomes un

Re: [PATCH 1/2] clk: qcom: add clocks necessary for apq8064 sdcc

2014-06-11 Thread Srinivas Kandagatla
On 11/06/14 10:14, Andreas Färber wrote: This patch adds clocks necessary for SD card controller on apq8064 SOC. >Without this patch the clocks are visible to the sdcc driver. Was this maybe meant to read "invisible"? You are correct it was suposed to be not visible, will fix it. Regards,

[PATCH] ip_vti: fix sparse warnings for VTI_ISVTI

2014-06-11 Thread Dmitry Popov
This patch fixes the following sparse warnings: net/ipv4/ip_tunnel.c:245:53: warning: restricted __be16 degrades to integer net/ipv4/ip_vti.c:321:19: warning: incorrect type in assignment (different base types) net/ipv4/ip_vti.c:321:19:expected restricted __be16 [addressable] [assigned] [use

Re: [PATCH][RFC] err.h: silence sparse warning: dereference of noderef expression

2014-06-11 Thread Jeff Layton
On Wed, 11 Jun 2014 08:45:18 +0300 Dan Carpenter wrote: > On Tue, Jun 10, 2014 at 05:38:49PM -0400, Jeff Layton wrote: > > From: Jeff Layton > > > > Lately, when I do a make with C=1, I get *tons* of these warnings: > > > > include/linux/err.h:35:16: warning: dereference of noderef express

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-11 Thread Eduardo Valentin
Hello, On Mon, Jun 09, 2014 at 09:22:49AM -0400, Nicolas Pitre wrote: > On Mon, 9 Jun 2014, Morten Rasmussen wrote: > > > On Sat, Jun 07, 2014 at 03:33:58AM +0100, Nicolas Pitre wrote: > > > On Fri, 6 Jun 2014, Ingo Molnar wrote: > > > > > > > In any case, even with turbo frequencies, switching

Re: [PATCH 1/2] sched: Rework migrate_tasks()

2014-06-11 Thread Peter Zijlstra
On Wed, Jun 11, 2014 at 01:52:10PM +0400, Kirill Tkhai wrote: > > Currently migrate_tasks() skips throttled tasks, > because they are not pickable by pick_next_task(). > > These tasks stay on dead cpu even after they > becomes unthrottled. They are not schedulable > till user manually changes the

Re: [PATCH v2 0/2] Add support for Lenovo Compact Keyboard

2014-06-11 Thread Jiri Kosina
On Tue, 10 Jun 2014, Jamie Lentin wrote: > This patchset follows on from my previous attempt[1] to add support for > these keyboards from Lenovo. Jamie, thanks for the driver. Please re-send v3 with Antonio's comments addressed, and I'll be happy to apply it. -- Jiri Kosina SUSE Labs -- To un

Re: [PULL] modules-next

2014-06-11 Thread Mark Brown
On Wed, Jun 11, 2014 at 03:03:47PM +0930, Rusty Russell wrote: > drivers/regulator/virtual: avoid world-writable sysfs files. Acked-by: Mark Brown if you need to respin - please do send patches to maintainers. signature.asc Description: Digital signature

Re: [PATCH v11 09/16] qspinlock, x86: Allow unfair spinlock in a virtual guest

2014-06-11 Thread Peter Zijlstra
On Fri, May 30, 2014 at 11:43:55AM -0400, Waiman Long wrote: > Enabling this configuration feature causes a slight decrease the > performance of an uncontended lock-unlock operation by about 1-2% > mainly due to the use of a static key. However, uncontended lock-unlock > operation are really just a

Re: [PATCH 1/2] i2c/ACPI: Support for multiple serial bus addresses

2014-06-11 Thread Mika Westerberg
On Tue, Jun 10, 2014 at 08:09:22AM -0700, Srinivas Pandruvada wrote: > On 06/10/2014 02:24 AM, Mika Westerberg wrote: > >On Thu, Apr 10, 2014 at 09:15:16PM -0700, Srinivas Pandruvada wrote: > >>ACPI specification allows multiple i2c addresses defined under one > >>ACPI device object. These addresse

Váženie E-mail užívateľa;

2014-06-11 Thread administrator WebMail
-- Váženie E-mail užívateľa; Prekročili ste limit úložisko poštovej schránky set 23432 Webmaster Služby / a môžu byť použité na odosielanie problém a bude, kým si nechajte potvrdiť svoju e-mailovú adresu znova. postupy by mali byť sa konala počas zobrazenia, kliknite na kontrolu odkaz a zadaj

Re: [PATCH v3 5/7] mfd: cros_ec: Sync to the latest cros_ec_commands.h from EC sources

2014-06-11 Thread Paul Bolle
On Tue, 2014-05-20 at 09:46 +0100, Lee Jones wrote: > On Wed, 30 Apr 2014, Doug Anderson wrote: > > From: Bill Richardson > > > > This just updates include/linux/mfd/cros_ec_commands.h to match the > > latest EC version (which is the One True Source for such things). See > >

Re: 3.4.92 MTU issues

2014-06-11 Thread Egerváry Gergely
> -stable lacks commit 895162b1101b3ea5db08ca6822ae9672717efec0, so > netfilter never sets ->local_df. Thus all defragmented packets > that go over the mtu are refused to be forwarded. Thank you for your quick response. Should we expect a 3.4.93 release with this issue fixed in a few days? -- G

[f2fs-dev][PATCH] f2fs: remove unused variables in f2fs_sm_info

2014-06-11 Thread Chao Yu
Remove unused variables in struct f2fs_sm_info. Signed-off-by: Chao Yu --- fs/f2fs/f2fs.h|3 --- fs/f2fs/segment.c |2 -- 2 files changed, 5 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index e51c732..7ef7acd 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -342,9 +3

Re: [patch v2] mfd: vexpress: fix error handling vexpress_syscfg_regmap_init()

2014-06-11 Thread Pawel Moll
On Wed, 2014-06-11 at 11:17 +0100, Dan Carpenter wrote: > This function should be returning an ERR_PTR() on failure instead of > NULL. Also there is a use after free bug if regmap_init() fails because > we free "func" and then dereference doing the return. > > Signed-off-by: Dan Carpenter > > d

Re: [RFC PATCH] PM: Domain: Add flag to assure that device's runtime pm callback is called at once.

2014-06-11 Thread jonghwa3 . lee
Hi Ulf, On 2014년 06월 11일 17:27, Ulf Hansson wrote: > On 11 June 2014 02:33, Jonghwa Lee wrote: >> When device uses generic pm domain, its own runtime suspend callback will be >> executed only when all devices in the same domain are suspended. However, >> some >> device needs sychronized runtime

Re: [PATCH v11 06/16] qspinlock: prolong the stay in the pending bit path

2014-06-11 Thread Peter Zijlstra
On Fri, May 30, 2014 at 11:43:52AM -0400, Waiman Long wrote: > --- > kernel/locking/qspinlock.c | 18 -- > 1 files changed, 16 insertions(+), 2 deletions(-) > > diff --git a/kernel/locking/qspinlock.c b/kernel/locking/qspinlock.c > index fc7fd8c..7f10758 100644 > --- a/kernel/lo

[patch v2] mfd: vexpress: fix error handling vexpress_syscfg_regmap_init()

2014-06-11 Thread Dan Carpenter
This function should be returning an ERR_PTR() on failure instead of NULL. Also there is a use after free bug if regmap_init() fails because we free "func" and then dereference doing the return. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/vexpress-syscfg.c b/drivers/misc/vexpress-sys

Re: [PATCH] ARM: EXYNOS: mcpm: Don't rely on firmware's secondary_cpu_start

2014-06-11 Thread Lorenzo Pieralisi
On Wed, Jun 11, 2014 at 05:52:10AM +0100, Chander Kashyap wrote: > Hi Doug, > > On Tue, Jun 10, 2014 at 9:19 PM, Nicolas Pitre > wrote: > > On Tue, 10 Jun 2014, Doug Anderson wrote: > > > >> My S-state knowledge is not strong, but I believe that Lorenzo's > >> questions matter if we're using S2

Re: [patch] mfd: vexpress: use after free in vexpress_syscfg_regmap_init()

2014-06-11 Thread Dan Carpenter
On Wed, Jun 11, 2014 at 10:22:22AM +0100, Pawel Moll wrote: > On Wed, 2014-06-11 at 07:07 +0100, Dan Carpenter wrote: > > We should return NULL if regmap_init() fails instead of continuing. > > > > Signed-off-by: Dan Carpenter > > > > diff --git a/drivers/misc/vexpress-syscfg.c b/drivers/misc/ve

[PATCH] [TRIVIAL] SH: add proper prompt to SH_MAGIC_PANEL_R2_VERSION

2014-06-11 Thread Paul Bolle
Signed-off-by: Paul Bolle --- Tested with make ARCH=sh menuconfig The new prompt isn't very informative. But at least it's better than the current, well, self referential prompt. SuperH is orphaned, so chances are we'll never see anything better. By the way: why do the kconfig tools allow unquot

Re: [PATCH] [checkpatch.pl] ctx_statement_block #if/#else/#endif fix

2014-06-11 Thread Andy Whitcroft
On Wed, Jun 11, 2014 at 10:57:11AM +0100, Andy Whitcroft wrote: > Signed-off-by: Andy Whitcroft With your permissions I'll add a Reported-by: etc to this patch in your name. -apw -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [PATCH] [checkpatch.pl] ctx_statement_block #if/#else/#endif fix

2014-06-11 Thread Andy Whitcroft
On Wed, Jun 11, 2014 at 10:16:40AM +0100, Andy Whitcroft wrote: > It doesn't seem right to remove the restore of the state. If you > consider the effect of an #if/#else/#endif combination the state of the > statement parser should be reset to the state at #if at the #else as the > code there is a

Re: [patch 3/3] timerfd: Implement write method

2014-06-11 Thread Cyrill Gorcunov
On Wed, Jun 11, 2014 at 01:09:15PM +0400, Andrew Vagin wrote: > On Wed, Jun 11, 2014 at 11:51:25AM +0400, Cyrill Gorcunov wrote: > > On Wed, Jun 11, 2014 at 11:27:43AM +0400, Andrew Vagin wrote: > > ... > > > +#ifdef CONFIG_CHECKPOINT_RESTORE > > +static long timerfd_ioctl(struct file *file, unsi

[PATCH 1/2] sched: Rework migrate_tasks()

2014-06-11 Thread Kirill Tkhai
Currently migrate_tasks() skips throttled tasks, because they are not pickable by pick_next_task(). These tasks stay on dead cpu even after they becomes unthrottled. They are not schedulable till user manually changes their affinity or till cpu becomes alive again. But for user this looks comple

[PATCH 0/2] sched: Rework migrate_tasks() and check_for_tasks()

2014-06-11 Thread Kirill Tkhai
This series fixes migration of throttled tasks and hierarchies from dead cpu. Currently, they do not migrate at all, and they may forever stay on dead cpu like in jail. The first patch fixes migration, the second patch adds a little set of cases, we should warn in dmesg. --- Kirill Tkhai (2):

[PATCH 2/2] sched: Rework check_for_tasks()

2014-06-11 Thread Kirill Tkhai
1)Iterate throw all of threads in the system. Check for all threads, not only for group leaders. 2)Check for p->on_rq instead of p->state and cputime. Preempted task in !TASK_RUNNING state OR just created task may be queued, that we want to be reported too. 3)Use read_lock() instead of

Re: [PATCH] phy: sun4i: depend on RESET_CONTROLLER

2014-06-11 Thread Maxime Ripard
On Wed, Jun 11, 2014 at 03:14:25PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 11 June 2014 02:40 PM, Maxime Ripard wrote: > > Hi Kishon, > > > > On Fri, May 23, 2014 at 08:51:28PM +0200, Maxime Ripard wrote: > >> The driver depend on the reset framework in a mandatory way. Make s

Re: [PATCH] phy: sun4i: depend on RESET_CONTROLLER

2014-06-11 Thread Kishon Vijay Abraham I
Hi, On Wednesday 11 June 2014 02:40 PM, Maxime Ripard wrote: > Hi Kishon, > > On Fri, May 23, 2014 at 08:51:28PM +0200, Maxime Ripard wrote: >> The driver depend on the reset framework in a mandatory way. Make sure >> reset_control_get is defined by adding this dependency in Kconfig >> >> Signed-

[PATCH] [linux-next] arm64: ftrace: Fix comment typo 'CONFIG_FUNCTION_GRAPH_FP_TEST'

2014-06-11 Thread Paul Bolle
Signed-off-by: Paul Bolle --- Untested. This typo was added in next-20140603. I've had this patch queued for over a week because I wanted to understand the comment I'm touching here. I still don't. But I figured that making sure that this comment uses the Kconfig macro that apparently was intende

Re: [PATCH 1/1] ata: Check and set 64-bit DMA mask for platform AHCI driver

2014-06-11 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, June 06, 2014 11:10:58 AM Suravee Suthikulanit wrote: > Hans/Bartlomiej, > > Do you guys have any questions about this patch? Sorry for the delay, some questions regarding the patch below. > Thank you, > > Suravee > > On 6/3/2014 12:58 PM, Tejun Heo wrote: > > Hans, Bartlomiej

Re: [PATCH v2] firewire: ohci: enable MSI for VIA VT6315 rev 1, drop cycle timer quirk

2014-06-11 Thread Stefan Richter
On Jun 11 Stefan Richter wrote: > Nice -- yesterday, just a few days after this patch went into the > mainline, this VT6315 card suddenly stopped to generate any interrupt > while being in use with a soundcard and jackd. Until then it ran > perfectly for many days, with jackd+ffado's combined work

Re: [RFC] printk: allow increasing the ring buffer depending on the number of CPUs

2014-06-11 Thread Petr Mládek
On Tue 2014-06-10 18:04:45, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > The default size of the ring buffer is too small for machines > with a large amount of CPUs under heavy load. What ends up > happening when debugging is the ring buffer overlaps and chews > up old messages making

Re: Linux 3.15 .. and continuation of merge window

2014-06-11 Thread J. R. Okajima
Al Viro: > So I suspect that the right fix is a bit trickier - in addition to check > on the fast path (i.e. when trylock gets us the lock on parent), we need > to > * get rcu_read_lock() before dropping ->d_lock. > * check if dentry is already doomed right after taking rcu_read_lock()

Re: Mismatch in gmch_pfit.lvds_border_bits on EeePC 900

2014-06-11 Thread Daniel Vetter
On Wed, Jun 11, 2014 at 07:03:39AM +0100, Sitsofe Wheeler wrote: > (resending because Daniel was dropped from the reply list - I don't know > why) > > On Wed, Jun 11, 2014 at 06:46:40AM +0100, Sitsofe Wheeler wrote: > > On Tue, Jun 10, 2014 at 08:26:55AM +0200, Daniel Vetter wrote: > > > On Sun, J

Re: [PATCH 1/1] ata: Check and set 64-bit DMA mask for platform AHCI driver

2014-06-11 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, June 10, 2014 04:54:01 PM David Milburn wrote: > On 05/23/2014 12:35 PM, suravee.suthikulpa...@amd.com wrote: > > From: Suravee Suthikulpanit > > > > The current platform AHCI drier does not set the dma_mask correctly > > for 64-bit DMA capable AHCI controller. This patch checks

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-11 Thread Dietmar Eggemann
On 10/06/14 19:09, Yuyang Du wrote: > On Tue, Jun 10, 2014 at 12:52:06PM +0100, Dietmar Eggemann wrote: > > Hi Dietmar, > >> Not in this sense but there is no functionality in the scheduler right >> now to check constantly if an sd flag has been set/unset via sysctl. > > Sorry, I still don't und

Re: [PATCH v2] firewire: ohci: enable MSI for VIA VT6315 rev 1, drop cycle timer quirk

2014-06-11 Thread Stefan Richter
On Apr 16 Stefan Richter wrote: > Commit af0cdf494781 "firewire: ohci: fix regression with VIA VT6315, > disable MSI" acted upon a report against VT6315 rev 0: > http://linux.derkeiler.com/Mailing-Lists/Kernel/2010-12/msg02301.html > $ lspci -nn > VIA Technologies, Inc. VT6315 Series Firewire Contr

mips: math-emu: Fix compilation error ieee754.c

2014-06-11 Thread Eunbong Song
ieee754dp has bitfield member in struct without name. And this cause compilation error. This patch removes struct in ieee754dp declaration. So compilation error is fixed. Signed-off-by: Eunbong Song --- arch/mips/math-emu/ieee754.h | 20 1 files changed, 8 insertions(+), 1

Re: [PATCH v2 1/1] platform/chrome: Probe multiple i2c adapters of the same name

2014-06-11 Thread Mika Westerberg
On Tue, Jun 10, 2014 at 06:17:35AM +0100, Scot Doyle wrote: > The chromeos_laptop module probes the first i2c adapter with a specific name > for expected hardware. However, the Acer C720 Chromebook has two i2c > adapters with the same name. This patch probes each i2c adapter with a > specific name

[PATCH] clocksource: arch_arm_timer: Fix timecounter initialization

2014-06-11 Thread Xiubo Li
The third parameter(u64 start_tstamp) of timecounter_init() should be the start time by ns, not a cycle counter. Signed-off-by: Xiubo Li --- drivers/clocksource/arm_arch_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drive

Re: [patch] mfd: vexpress: use after free in vexpress_syscfg_regmap_init()

2014-06-11 Thread Pawel Moll
On Wed, 2014-06-11 at 07:07 +0100, Dan Carpenter wrote: > We should return NULL if regmap_init() fails instead of continuing. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/misc/vexpress-syscfg.c b/drivers/misc/vexpress-syscfg.c > index 73068e5..2c0ddb2 100644 > --- a/drivers/misc/vex

Re: [ISSUE] sched/cgroup: Does cpu-cgroup still works fine nowadays?

2014-06-11 Thread Michael wang
On 06/11/2014 04:24 PM, Peter Zijlstra wrote: [snip] >> >> IMHO, when we put tasks one group deeper, in other word the totally >> weight of these tasks is 1024 (prev is 3072), the load become more >> balancing in root, which make bl-routine consider the system is >> balanced, which make we migrate

Re: [PATCH] ACPI / hotplug / PCI: Add hotplug contexts to PCI host bridges

2014-06-11 Thread Mika Westerberg
On Tue, Jun 10, 2014 at 10:51:51PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After relatively recent changes in the ACPI-based PCI hotplug > (ACPIPHP) code, the acpiphp_check_host_bridge() executed for PCI > host bridges via acpi_pci_root_scan_dependent() doesn't do anything >

[PATCH v7 1/2] i2c: sunxi: add P2WI DT bindings documentation

2014-06-11 Thread Boris BREZILLON
P2WI (Push/Pull 2 Wire Interface) is an SMBus like bus used to communicate with some PMICs (like the AXP221). Document P2WI DT bindings which are pretty much the same as the one defined for the marvell's mv64xxx controller. Signed-off-by: Boris BREZILLON --- .../devicetree/bindings/i2c/i2c-sunx

Re: [PATCH] [checkpatch.pl] ctx_statement_block #if/#else/#endif fix

2014-06-11 Thread Andy Whitcroft
On Thu, May 15, 2014 at 04:43:15PM +0200, Ivo Sieben wrote: > When picking up a complete statement block #if/#else/#endif prepocesor > boundaries are taken into account by pushing current level & type on a stack. > But on an #else the level was read from stack again (without actually popping > it

[PATCH 00/36] OMAP: GPMC: Restructure and move OMAP GPMC driver out of mach-omap2

2014-06-11 Thread Roger Quadros
Hi, This is a complete functional set to get the gpmc driver out of mach-omap2 and into drivers/memory. The DT binding remains the same except for the following minor changes - compatible property is required for NAND & OneNAND nodes - Second register space and interrupts properties are required f

[PATCH v7 0/2] i2c: sunxi: add P2WI controller support

2014-06-11 Thread Boris BREZILLON
Hello, This series adds support for the P2WI block used by some Allwinner boards to interface with the AXP221 PMIC. The P2WI controller looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol on several aspects: - it supports only one s

[PATCH 01/36] ARM: OMAP3: hwmod: Fix gpmc memory resource space

2014-06-11 Thread Roger Quadros
Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c index 71ac7d5..f2848a8 100644 --- a/arch/arm/mach-omap2/omap_hwm

[PATCH v7 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-11 Thread Boris BREZILLON
The P2WI controller looks like an SMBus controller which only supports byte data transfers. But, it differs from standard SMBus protocol on several aspects: - it supports only one slave device, and thus drop the address field - it adds a parity bit every 8bits of data - only one read access is requ

[GIT PULL] Thermal Management updates for v3.16-rc1

2014-06-11 Thread Zhang Rui
Hi, Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive Thermal management updates for v3.16-rc1 with top-most commit 63745aa72ed16154b82a0c9ed22a88001d6ea0fa: Merge branches 'armada-375-380-soc-support', 'eduardo-ther

Re: [PATCH] phy: sun4i: depend on RESET_CONTROLLER

2014-06-11 Thread Maxime Ripard
Hi Kishon, On Fri, May 23, 2014 at 08:51:28PM +0200, Maxime Ripard wrote: > The driver depend on the reset framework in a mandatory way. Make sure > reset_control_get is defined by adding this dependency in Kconfig > > Signed-off-by: Maxime Ripard > Reported-by: Arnd Bergmann Ping? Maxime --

[PATCH 06/36] mtd: nand: omap: Move gpmc_update_nand_reg to nand driver

2014-06-11 Thread Roger Quadros
GPMC and NAND drivers share the same register space but never use the same registers. As there is no clear address seperation between the registers for GPMC and NAND, we can't easily split it up into 2 regions i.e. one for GPMC and other for NAND. Instead, we simply remap the entire register space

[PATCH 05/36] mtd: nand: omap: Move IRQ handling from GPMC to NAND driver

2014-06-11 Thread Roger Quadros
Since the Interrupt Events are used only by the NAND driver, there is no point in managing the Interrupt registers in the GPMC driver and complicating it with irqchip modeling. Let's manage the interrupt registers directly in the NAND driver and get rid of irqchip model from GPMC driver. Get rid

[PATCH 08/36] mtd: nand: omap: Copy platform data parameters to omap_nand_info data

2014-06-11 Thread Roger Quadros
Copy all the platform data parameters to the driver's local data structure 'omap_nand_info' and use it in the entire driver. This will make it easer for device tree migration. Signed-off-by: Roger Quadros --- drivers/mtd/nand/omap2.c | 27 ++- 1 file changed, 18 insertion

Re: [PATCH 1/2] clk: qcom: add clocks necessary for apq8064 sdcc

2014-06-11 Thread Andreas Färber
Am 10.06.2014 22:58, schrieb Stephen Boyd: > From: Srinivas Kandagatla > > This patch adds clocks necessary for SD card controller on apq8064 SOC. > Without this patch the clocks are visible to the sdcc driver. Was this maybe meant to read "invisible"? Regards, Andreas > > Signed-off-by: Srin

[PATCH 04/36] ARM: OMAP2+: gpmc: Add gpmc timings and settings to platform data

2014-06-11 Thread Roger Quadros
Add device_timings, gpmc_timings and gpmc_setting to gpmc platform data. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.h | 134 -- include/linux/platform_data/gpmc-omap.h | 139 2 files changed, 139 insertions(

Proposal to realize hot-add *several sections one time*

2014-06-11 Thread Zhang Zhen
Hi, Now we can hot-add memory by % echo start_address_of_new_memory > /sys/devices/system/memory/probe Then, [start_address_of_new_memory, start_address_of_new_memory + memory_block_size] memory range is hot-added. But we can only hot-add *one section one time* by this way. Whether we can add a

[PATCH] ARC: remove checks for CONFIG_ARC_MMU_V4

2014-06-11 Thread Paul Bolle
There's no Kconfig symbol ARC_MMU_V4 so the checks for CONFIG_ARC_MMU_V4 will always evaluate to false. Remove them. Signed-off-by: Paul Bolle --- Entirely untested! It would be nice if this could be squashed into commit ef680cdc2437 ("ARC: Disable caches in early boot if so configured"). But I

[PATCH 10/36] ARM: dts: OMAP2+: Fix NAND device nodes

2014-06-11 Thread Roger Quadros
Add compatible id, GPMC register resource and interrupt resource to NAND controller nodes. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/am335x-evm.dts | 8 ++-- arch/arm/boot/dts/am335x-igep0033.dtsi | 8 ++-- arch/arm/boot/dts/am43x-epos-evm.dts | 8 ++-- arch

Re: [PATCH v6 2/2] i2c: sunxi: add P2WI (Push/Pull 2 Wire Interface) controller support

2014-06-11 Thread Boris BREZILLON
On 11/06/2014 10:55, Wolfram Sang wrote: >> +MODULE_LICENSE("GPL"); > "GPL v2" Oops, I missed this one. Sorry for the inconvenience. -- Boris Brezillon, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe

[PATCH 09/36] mtd: nand: omap: Clean up device tree support

2014-06-11 Thread Roger Quadros
Move NAND specific device tree parsing to NAND driver. The NAND controller node must have a compatible id, register space resource and interrupt resource. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc-nand.c | 5 +- arch/arm/mach-omap2/gpmc.c | 128 +

[PATCH 12/36] ARM: dts: omap3-beagle: Add NAND device

2014-06-11 Thread Roger Quadros
The beagle board contains a 16-bit NAND device connected to chip select 0 of the GPMC controller. Signed-off-by: Roger Quadros --- arch/arm/boot/dts/omap3-beagle.dts | 53 ++ 1 file changed, 53 insertions(+) diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/

[PATCH 13/36] ARM: OMAP2+: gpmc.c: sanity check bank-width DT property

2014-06-11 Thread Roger Quadros
Make sure bank-width property provided via DT is sane. Signed-off-by: Roger Quadros --- arch/arm/mach-omap2/gpmc.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/gpmc.c b/arch/arm/mach-omap2/gpmc.c index c713616..70cb6b0 100644 --- a/ar

[PATCH 15/36] ARM: OMAP2+: gpmc: Allow drivers to query GPMC_CLK period

2014-06-11 Thread Roger Quadros
GPMC_CLK is the external clock output pin that is used for syncronous accesses. Device drivers need to know the fastest possible GPMC_CLK period in order to calculate the most optimal device timings. Add the function omap_gpmc_get_clk_period() to allow drivers to get the nearset possible (equal to

[PATCH 11/36] mtd: nand: omap: Update DT binding documentation

2014-06-11 Thread Roger Quadros
Add compatible id, interrupts and update reg property description. As the NAND controller needs access to GPMC register space, we need to pass a second memory resource to the NAND controller node. Due to the wierd way the reg property has been implemented (i.e. CS number required in 1st number of

<    2   3   4   5   6   7   8   >