[Update][PATCH 9/10] ACPI / scan: always register ACPI LPSS scan handler

2014-05-30 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Prevent platform devices from being created for ACPI LPSS devices if CONFIG_X86_INTEL_LPSS is unset by compiling out the LPSS scan handler's callbacks only in that case and still compiling its device ID list in and registering the scan handler in

[Update][PATCH 10/10] ACPI / scan: use platform bus type by default for _HID enumeration

2014-05-30 Thread Rafael J. Wysocki
From: Zhang Rui rui.zh...@intel.com Because of the growing demand for enumerating ACPI devices to platform bus, change the code to enumerate ACPI device objects to platform bus by default. Namely, create platform devices for the ACPI device objects that 1. Have pnp.type.platform_id set (device

Re: [PATCH] NFS: Use smp_mb__{before,after}_atomic()

2014-05-30 Thread Thierry Reding
On Fri, May 30, 2014 at 06:38:10AM -0500, Trond Myklebust wrote: On Fri, 2014-05-30 at 11:06 +0200, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Commit febdbfe8a91c (arch: Prepare for smp_mb__{before,after}_atomic()) deprecated the

[PATCH v2] extcon: arizona: Update manual headphone detection calculation

2014-05-30 Thread Charles Keepax
The higher levels of impedance have a higher minimum value than the first level. As the same value was used for all levels, higher impedances were reported with a very low level of accuracy. This patch applies the approriate lower threshold for each level, whilst we are changing things add a

[PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices

2014-05-30 Thread Lee Jones
Currently the I2C framework insists on devices supplying an I2C ID table. Many of the devices which do so unnecessarily adding quite a few wasted lines to kernel code. This patch allows drivers a means to 'not' supply the aforementioned table and match on either DT and/or ACPI match tables

[PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices

2014-05-30 Thread Lee Jones
Currently the I2C framework insists on devices supplying an I2C ID table. Many of the devices which do so unnecessarily adding quite a few wasted lines to kernel code. This patch allows drivers a means to 'not' supply the aforementioned table and match on either DT and/or ACPI match tables

[PATCH 0/{1,1}] i2c: Make I2C ID tables non-mandatory for DT/ACPI

2014-05-30 Thread Lee Jones
Hi Wolfram, Here we have two patches which achieve exactly the same aim. I wasn't sure with method you'd prefer, so I thought I'd submit both and you can make a choice. Kind regards, Lee -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] staging: nokia_h4: nokia_core.c: use usleep_range() instead of msleep()

2014-05-30 Thread Pavel Machek
Hi! Creating this patch for the Eudyptula Challenge. Replaced msleep() for a delay 20ms with a usleep_range() between 1us and 15000us. Also inserted a blank line after adeclaration. So you are changing timings without testing. Plus, burning CPU power instead of sleeping.

Re: [PATCH] staging: nokia_h4: nokia_core.c: use usleep_range() instead of msleep()

2014-05-30 Thread Pavel Machek
Hi! So the /Documentation/timers/timers-howto.txt stats: SLEEPING FOR ~USECS OR SMALL MSECS ( 10us - 20ms): * Use usleep_range - Why not msleep for (1ms - 20ms)? Explained originally here: http://lkml.org/lkml/2007/8/3/250 msleep(1~20) may not do what the caller intends, and will

Re: [Patch V3 0/5] I2C ACPI operation region handler

2014-05-30 Thread Lan Tianyu
On 05/30/2014 08:10 PM, Wolfram Sang wrote: Hi Wolfram: Since this version resolved all comments, it's ok for you? Sorry, I misunderstood. I thought a V4 was needed, but it isn't. I'll try to have a look this weekend. OK. Thanks. -- To unsubscribe from this list: send the line

Re: [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices

2014-05-30 Thread Wolfram Sang
On Fri, May 30, 2014 at 01:26:36PM +0100, Lee Jones wrote: Currently the I2C framework insists on devices supplying an I2C ID table. Many of the devices which do so unnecessarily adding quite a few wasted lines to kernel code. This patch allows drivers a means to 'not' supply the

Re: [PATCH] extcon: Set parent device of extcon device using prameter of devm_extcon_dev_allocate

2014-05-30 Thread Charles Keepax
On Fri, May 30, 2014 at 06:49:03PM +0900, Chanwoo Choi wrote: Hi Charles, OK, Let me know about test result. Thanks, Chanwoo Choi Yeah that seems to work fine here. For the Arizona bit you can add: Tested-by: Charles Keepax ckee...@opensource.wolfsonmicro.com Thanks, Charles -- To

Re: [PATCH] ARM: exynos4212: hotplug: Fix CPU idle clock down after CPU1 off

2014-05-30 Thread Krzysztof Kozlowski
On pią, 2014-05-30 at 13:50 +0200, Tomasz Figa wrote: Hi Krzysztof, On 13.05.2014 16:12, Krzysztof Kozlowski wrote: On Exynos4212 USE_DELAYED_RESET_ASSERTION must be set in ARM_CORE1_OPTION register during CPU power down. This is the proper way of powering down CPU. Additionally without

Re: PATCH: mvsas: add support for Supermicro AOC-SAS2LP-MV8

2014-05-30 Thread Jan Kasprzak
Christoph Hellwig wrote: : On Fri, May 16, 2014 at 02:06:42PM +0200, Jan Kasprzak wrote: : any news with this patch? Will it be acked by you and submitted upstream? : Thanks! : : Give me an Acked-by and I'll pull it in. Acked-By: Jan Yenya Kasprzak k...@fi.muni.cz Not sure whether I should

[PATCH v2] staging: rtl8192u: remove checks for CONFIG_IEEE80211_CRYPT_TKIP

2014-05-30 Thread Paul Bolle
Ever since rtl8192u was added as a staging driver in v2.6.33 it contained checks for CONFIG_IEEE80211_CRYPT_TKIP. But the Kconfig symbol IEEE80211_CRYPT_TKIP was renamed to LIB80211_CRYPT_TKIP in v2.6.29. So these checks have always evaluated to false. And these checks were rather odd to begin

Re: [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices

2014-05-30 Thread Lee Jones
On Fri, 30 May 2014, Wolfram Sang wrote: On Fri, May 30, 2014 at 01:26:36PM +0100, Lee Jones wrote: Currently the I2C framework insists on devices supplying an I2C ID table. Many of the devices which do so unnecessarily adding quite a few wasted lines to kernel code. This patch allows

Re: [PATCH] ARM: exynos4212: hotplug: Fix CPU idle clock down after CPU1 off

2014-05-30 Thread Tomasz Figa
On 30.05.2014 14:46, Krzysztof Kozlowski wrote: On pią, 2014-05-30 at 13:50 +0200, Tomasz Figa wrote: Hi Krzysztof, On 13.05.2014 16:12, Krzysztof Kozlowski wrote: On Exynos4212 USE_DELAYED_RESET_ASSERTION must be set in ARM_CORE1_OPTION register during CPU power down. This is the proper way

Re: [PATCH 2/3] phy: exynos-mipi-video: Use PTR_ERR_OR_ZERO

2014-05-30 Thread Sylwester Nawrocki
Hi Sachin, On 29/05/14 08:30, Sachin Kamat wrote: PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/phy/phy-exynos-mipi-video.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

Re: [PATCH] staging: nokia_h4: nokia_core.c: use usleep_range() instead of msleep()

2014-05-30 Thread Miguel Oliveira
Not on my prespective. Its says ~20 ms actual sleep for any value given in the 1~20ms range, so from my point of view it will sleep for 20ms, so I will save between 5 to 10ms. But maybe I'm seeing it the wrong way. Regards 2014-05-30 13:35 GMT+01:00 Pavel Machek pa...@ucw.cz: Hi! So the

Re: [PATCH]x86 efi: do not export efi runtime map in case old map

2014-05-30 Thread Vivek Goyal
On Fri, May 30, 2014 at 11:20:10AM +0800, Dave Young wrote: For ioremapped efi memory aka old_map the virt addresses are not persistant across kexec reboot. kexec-tools will read the runtime maps from sysfs then pass them to 2nd kernel and assuming kexec efi boot is ok. This will cause kexec

Re: [PATCH 0/4] perf: Support AMD range breakpoints

2014-05-30 Thread Jiri Olsa
On Thu, May 29, 2014 at 05:26:49PM +0200, Frederic Weisbecker wrote: Hi, I've made it wait too much so I'm posting that for review now. This implements range breakpoints on some AMD machine by extending the length field. Any comment? hi, perf tools patches look ok to me.. let me know if I

console: lockup on boot

2014-05-30 Thread Sasha Levin
Hi all, I sometime see lockups when booting my KVM guest with the latest -next kernel, it basically hangs right when it should start 'init', and after a while I get the following spew: [ 30.790833] BUG: spinlock lockup suspected on CPU#1, swapper/1/0 [ 30.770667] BUG: spinlock lockup

Re: [PATCH 0/2] debugfs entries for Tegra clocks

2014-05-30 Thread Peter De Schrijver
On Thu, May 29, 2014 at 07:52:00PM +0200, Stephen Warren wrote: On 05/28/2014 10:51 AM, Peter De Schrijver wrote: This patch set introduces the 'regs' debugfs entry which shows the contents of all registers related to a clock. Would it be better to create a regmap object for the entire

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v5)

2014-05-30 Thread Marcelo Tosatti
On Thu, May 29, 2014 at 04:54:00PM -0700, David Rientjes wrote: On Thu, 29 May 2014, Marcelo Tosatti wrote: diff --git a/kernel/cpuset.c b/kernel/cpuset.c index 3d54c41..3bbc23f 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -2374,6 +2374,7 @@ static struct cpuset

Re: [PATCH v2] devicetree: Add generic IOMMU device tree bindings

2014-05-30 Thread Rob Herring
On Fri, May 23, 2014 at 3:33 PM, Thierry Reding thierry.red...@gmail.com wrote: From: Thierry Reding tred...@nvidia.com This commit introduces a generic device tree binding for IOMMU devices. Only a very minimal subset is described here, but it is enough to cover the requirements of both the

Re: [Resend/PATCH] arm: dts: dra7: Add qspi device.

2014-05-30 Thread Nishanth Menon
/next-20140530/omap2plus_defconfig/dra7.txt#L151 as an indication of the warning. Tony, Would you prefer a patch on top of omap-for-v3.16/dt-v2 branch? -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [RFC PATCH 3/3] clk: tegra: Implement Tegra124 shared/cbus clks

2014-05-30 Thread Nishanth Menon
On 05/29/2014 11:47 PM, Mike Turquette wrote: Quoting Nishanth Menon (2014-05-29 16:22:45) On 05/26/2014 08:07 AM, Thierry Reding wrote: On Wed, May 14, 2014 at 12:35:18PM -0700, Mike Turquette wrote: Quoting Thierry Reding (2014-05-14 07:27:40) [...] As for shared clocks I'm only aware of

Re: [PATCH v2 10/11] sched: move cfs task on a CPU with higher capacity

2014-05-30 Thread Dietmar Eggemann
On 23/05/14 16:53, Vincent Guittot wrote: If the CPU is used for handling lot of IRQs, trig a load balance to check if it's worth moving its tasks on another CPU that has more capacity Signed-off-by: Vincent Guittot vincent.guit...@linaro.org --- kernel/sched/fair.c | 13 + 1

[PATCH] console: Add persistent scrollback buffers for all VGA consoles

2014-05-30 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de ---

Re: [PATCH 1/4] perf/x86/amd: AMD support for bp_len HW_BREAKPOINT_LEN_8

2014-05-30 Thread Frederic Weisbecker
Hi Jacob, Suravee, On Thu, May 29, 2014 at 05:26:50PM +0200, Frederic Weisbecker wrote: From: Jacob Shin jacob.w.s...@gmail.com Implement hardware breakpoint address mask for AMD Family 16h and above processors. CPUID feature bit indicates hardware support for DRn_ADDR_MASK MSRs. These

Re: [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices

2014-05-30 Thread Lee Jones
Currently the I2C framework insists on devices supplying an I2C ID table. Many of the devices which do so unnecessarily adding quite a few wasted lines to kernel code. This patch allows drivers a means to 'not' supply the aforementioned table and match on either DT and/or ACPI match

Re: [PATCH 2/4] perf tools: allow user to specify hardware breakpoint bp_len

2014-05-30 Thread Jiri Olsa
On Thu, May 29, 2014 at 05:26:51PM +0200, Frederic Weisbecker wrote: From: Jacob Shin jacob.w.s...@gmail.com Currently bp_len is given a default value of 4. Allow user to override it: $ perf stat -e mem:0x1000/8 ^ bp_len If no

[PATCH RESEND] sgi-gru: use time_before()

2014-05-30 Thread Manuel Schölling
To be future-proof and for better readability the time comparisons are modified to use time_before() instead of plain, error-prone math. Signed-off-by: Manuel Schölling manuel.schoell...@gmx.de --- drivers/misc/sgi-gru/grumain.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[git pull] FireWire fixes

2014-05-30 Thread Stefan Richter
Linus, please pull from the tag firewire-fixes at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git firewire-fixes to receive a regression fix for the IEEE 1394 subsystem: Re-enable IRQ-based asynchronous request reception at addresses below 128 TB. Stefan Richter (1):

[RFC PATCH 08/11] coresight: adding support for beagle board

2014-05-30 Thread mathieu . poirier
From: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org Added support for coresight device in dts for Beagle Board, by adding blocks of coresight, ETM, ETB blocks. Signed-off-by: Panchaxari Prasannamurthy panchaxari.prasannamur...@linaro.org --- arch/arm/boot/dts/omap3-beagle.dts |

[RFC PATCH 06/11] coresight: add CoreSight Replicator driver

2014-05-30 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight Replicator that takes single input trace data stream and replicates it to produce two identical trace data output streams. Replicators are typically used to route single interleaved trace data stream to two or more sinks.

[RFC PATCH 00/11] CoreSight framework and drivers

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org This RFC is rescucitating the work submitted by Pratik Patel in 2012 [1]. This set is addressing comments gathered from the initial RFC and enhance the framework in a few areas. More specifically: . Sysfs entries have been moved to debugfs. .

[RFC PATCH 10/11] coresight: adding support for beagleXM

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Currently supporting ETM and ETB. Support for TPIU and SDTI are yet to be added. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org --- arch/arm/boot/dts/omap3-beagle-xm.dts | 30 ++ 1 file changed, 30

[RFC PATCH 11/11] ARM: moving support for etb/etm to the drivers directory

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Removing minimal support for etb/etm to favour an implentation that is more flexible, extensible and capable of handling more platforms. Also removing the only client of the old driver. That code can easily be replaced by entries for etb/etm in

does anybody still care about kvm-ia64?

2014-05-30 Thread Paolo Bonzini
I was thinking of removing it in Linux 3.17. I'm not even sure it compiles right now, hasn't seen any action in years, and all open-source userspace code to use it has been dead for years. If you disagree, please speak up loudly in the next month. Paolo -- To unsubscribe from this list: send

[RFC PATCH 04/11] coresight: add CoreSight ETB driver

2014-05-30 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight ETB (Embedded Trace Buffer) which acts as a circular buffer sink collecting generated trace data. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Panchaxari Prasannamurthy

[RFC PATCH 09/11] coresight: adding basic support for Vexpress TC2

2014-05-30 Thread mathieu . poirier
From: Mathieu Poirier mathieu.poir...@linaro.org Support for the 2 PTMs, 3 ETMs, funnel, TPIU and replicator connected to the ETB are included. Proper handling of the ITM and the replicator linked to it along with the CTIs and SWO are not included. Signed-off-by: Mathieu Poirier

[RFC PATCH 03/11] coresight: add CoreSight TPIU driver

2014-05-30 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight TPIU (Trace Port Interface Unit) which acts as a sink. TPIU is typically connected to some offchip hardware hosting a storage buffer. Signed-off-by: Pratik Patel prat...@codeaurora.org Signed-off-by: Panchaxari

[RFC PATCH 01/11] coresight: add CoreSight core layer framework

2014-05-30 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org CoreSight components are compliant with the ARM CoreSight architecture specification and can be connected in various topologies to suite a particular SoCs tracing needs. These trace components can generally be classified as sources, links and sinks. Trace

[RFC PATCH 05/11] coresight: add CoreSight Funnel driver

2014-05-30 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight Funnel which acts as a link. Funnels have multiple input ports (typically 8) each of which represents an input trace data stream. These multiple input trace data streams are interleaved into a single output stream coming out

[RFC PATCH 02/11] coresight: add CoreSight TMC driver

2014-05-30 Thread mathieu . poirier
From: Pratik Patel prat...@codeaurora.org This driver manages CoreSight TMC (Trace Memory Controller) which can act as a link or a sink depending upon its configuration. It can present itself as an ETF (Embedded Trace FIFO) or ETR (Embedded Trace Router). ETF when configured in circular buffer

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v4)

2014-05-30 Thread Christoph Lameter
On Thu, 29 May 2014, Andrew Morton wrote: if (!nodemask gfp_zone(gfp_mask) policy_zone) nodemask = node_states[N_ONLINE]; OK, thanks, I made the patch go away for now. And another issue is that the policy_zone may be highmem on 32 bit platforms which will result in

Re: [PATCH] block: per-cpu counters for in-flight IO accounting

2014-05-30 Thread Jens Axboe
On 2014-05-30 06:11, Shaohua Li wrote: On Fri, May 09, 2014 at 10:41:27AM -0600, Jens Axboe wrote: On 05/09/2014 08:12 AM, Jens Axboe wrote: On 05/09/2014 03:17 AM, Matias Bjørling wrote: With multi-million IOPS and multi-node workloads, the atomic_t in_flight tracking becomes a bottleneck.

Re: [PATCH] page_alloc: skip cpuset enforcement for lower zone allocations (v5)

2014-05-30 Thread Christoph Lameter
On Thu, 29 May 2014, David Rientjes wrote: When I said that my point about mempolicies needs more thought, I wasn't expecting that there would be no discussion -- at least _something_ that would say why we don't care about the mempolicy case. Lets get Andi involved here too. The motivation

Re: [RFC PATCH 11/11] ARM: moving support for etb/etm to the drivers directory

2014-05-30 Thread Russell King - ARM Linux
On Fri, May 30, 2014 at 07:43:11AM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu Poirier mathieu.poir...@linaro.org Removing minimal support for etb/etm to favour an implentation that is more flexible, extensible and capable of handling more platforms. Also removing the only

[PATCH -mm 1/8] memcg: cleanup memcg_cache_params refcnt usage

2014-05-30 Thread Vladimir Davydov
Currently, we count the number of pages allocated to a per memcg cache in memcg_cache_params-nr_pages. We only use this counter to find out if the cache is empty and can be destroyed. So let's rename it to refcnt and make it count not pages, but slabs so that we can use atomic_inc/dec instead of

[PATCH -mm 0/8] memcg/slab: reintroduce dead cache self-destruction

2014-05-30 Thread Vladimir Davydov
Hi, When a memcg is turned offline, some of its kmem caches can still have active objects and therefore cannot be destroyed immediately. Currently, we simply leak such caches along with the owner memcg, which is bad and should be resolved. It would be perfect if we could move all slab pages of

[PATCH -mm 5/8] slab: remove kmem_cache_shrink retval

2014-05-30 Thread Vladimir Davydov
First, nobody uses it. Second, it differs across the implementations: for SLUB it always returns 0, for SLAB it returns 0 if the cache appears to be empty. So let's get rid of it. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- include/linux/slab.h |2 +- mm/slab.c|

[PATCH -mm 6/8] slub: do not use cmpxchg for adding cpu partials when irqs disabled

2014-05-30 Thread Vladimir Davydov
We add slabs to per cpu partial lists on both objects allocation (see get_partial_node) and free (see __slab_free). We use the same function, put_cpu_partial, in both cases. Since __slab_free can be executed with preempt/irqs enabled, we have to use cmpxchg for adding a new element to a partial

Re: [PATCH] block: virtio_blk: don't hold spin lock during world switch

2014-05-30 Thread Jens Axboe
On 2014-05-30 00:10, Rusty Russell wrote: Jens Axboe ax...@kernel.dk writes: If Rusty agrees, I'd like to add it for 3.16 with a stable marker. Really stable? It improves performance, which is nice. But every patch which goes into the kernel fixes a bug, improves clarity, improves

[PATCH -mm 3/8] memcg: mark caches that belong to offline memcgs as dead

2014-05-30 Thread Vladimir Davydov
This will be used by the next patches. Signed-off-by: Vladimir Davydov vdavy...@parallels.com --- include/linux/slab.h |2 ++ mm/memcontrol.c |1 + mm/slab.h| 10 ++ 3 files changed, 13 insertions(+) diff --git a/include/linux/slab.h b/include/linux/slab.h

[PATCH -mm 7/8] slub: make dead caches discard free slabs immediately

2014-05-30 Thread Vladimir Davydov
To speed up further allocations, SLUB may keep some empty slabs on per cpu/node partial lists. If the cache is dead, i.e. belongs to a memcg that was turned offline, there is no need in that, because dead caches are never allocated from. What is worse, keeping empty slabs on the list will prevent

[PATCH -mm 8/8] slab: reap dead memcg caches aggressively

2014-05-30 Thread Vladimir Davydov
There is no use in keeping free objects/slabs on dead memcg caches, because they will never be allocated. So let's make cache_reap() shrink as many free objects from such caches as possible. Note the difference between SLAB and SLUB handling of dead memcg caches. For SLUB, dead cache destruction

[PATCH -mm 4/8] slub: never fail kmem_cache_shrink

2014-05-30 Thread Vladimir Davydov
SLUB's kmem_cache_shrink not only removes empty slabs from the cache, but also sorts slabs by the number of objects in-use to cope with fragmentation. To achieve that, it tries to allocate a temporary array. If it fails, it will abort the whole procedure. This is unacceptable for kmemcg, where we

[PATCH -mm 2/8] memcg: destroy kmem caches when last slab is freed

2014-05-30 Thread Vladimir Davydov
When the memcg_cache_params-refcnt goes to 0, schedule the worker that will unregister the cache. To prevent this from happening when the owner memcg is alive, keep the refcnt incremented during memcg lifetime. Note, this doesn't guarantee that the cache that belongs to a dead memcg will go away

Re: [RFC PATCH 04/11] coresight: add CoreSight ETB driver

2014-05-30 Thread Russell King - ARM Linux
NAK for all the reasons I mentioned in the previous submission in 2012. You partially did the right thing - you read through the previous submission, and you said in your cover message that you had addressed some of the comments from that submission. What I find extremely distasteful is that you

Re: Bad DMA from Marvell 9230

2014-05-30 Thread Jérôme Carretero
On Fri, 30 May 2014 20:37:58 +1000 Benjamin Herrenschmidt b...@kernel.crashing.org wrote: We've switched to a 9235 instead which seems to work fine. Weird (I hadn't seen that you reported the 9235 working...), I have IOMMU problems with a 9235... What system are you running it on (when you say

Re: console: lockup on boot

2014-05-30 Thread Peter Hurley
On 05/30/2014 09:11 AM, Sasha Levin wrote: Hi all, I sometime see lockups when booting my KVM guest with the latest -next kernel, it basically hangs right when it should start 'init', and after a while I get the following spew: [ 30.790833] BUG: spinlock lockup suspected on CPU#1,

Re: [PATCH] clk: exynos5420: Keep aclk66_peric enabled during boot

2014-05-30 Thread Javier Martinez Canillas
Hello Doug, On 05/29/2014 11:21 PM, Doug Anderson wrote: Right now if you've got earlyprintk enabled on exynos5420-peach-pit then you'll get a hang on boot. Here's why: 1. The i2c-s3c2410 driver will probe at subsys_initcall. It will enable its clock and disable it. This is the clock

Re: [PATCH] vmstat: on demand updates from differentials V7

2014-05-30 Thread Christoph Lameter
On Fri, 30 May 2014, Frederic Weisbecker wrote: + cpu_stat_off = kmalloc(cpumask_size(), GFP_KERNEL); + cpumask_copy(cpu_stat_off, cpu_online_mask); Actually looks like you can as well remove that cpumask and use cpu_online_mask directly. That would mean I would offline cpus that do

Re: [PATCH V2 2/2] ftrace: Introduce nr_saved_cmdlines I/F

2014-05-30 Thread Steven Rostedt
On Thu, 20 Feb 2014 17:44:33 +0900 Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com wrote: Introduce nr_saved_cmdlines I/F for changing the number of pid-comm list. What's an I/F? saved_cmdlines can store 128 command names using SAVED_CMDLINES now, but 'no-existing processes' names are

Re: [PATCH v2 04/11] sched: Allow all archs to set the power_orig

2014-05-30 Thread Dietmar Eggemann
On 23/05/14 16:52, Vincent Guittot wrote: power_orig is only changed for system with a SMT sched_domain level in order to reflect the lower capacity of CPUs. Heterogenous system also have to reflect an original capacity that is different from the default value. Create a more generic

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-30 Thread Alex Elder
On 05/29/2014 10:20 PM, Alex Elder wrote: On 05/23/2014 07:53 PM, Mike Turquette wrote: Quoting Alex Elder (2014-05-20 05:52:39) @@ -743,11 +746,16 @@ struct clk *kona_clk_setup(struct kona_clk *bcm_clk) clk = clk_register(NULL, bcm_clk-hw); if (IS_ERR(clk)) {

Re: [PATCH] vmstat: on demand updates from differentials V7

2014-05-30 Thread Christoph Lameter
On Fri, 30 May 2014, Frederic Weisbecker wrote: On Thu, May 29, 2014 at 02:56:15PM -0500, Christoph Lameter wrote: -static void start_cpu_timer(int cpu) +static void __init start_shepherd_timer(void) { - struct delayed_work *work = per_cpu(vmstat_work, cpu); + int cpu; + +

Re: console: lockup on boot

2014-05-30 Thread Jan Kara
On Fri 30-05-14 09:58:14, Peter Hurley wrote: On 05/30/2014 09:11 AM, Sasha Levin wrote: Hi all, I sometime see lockups when booting my KVM guest with the latest -next kernel, it basically hangs right when it should start 'init', and after a while I get the following spew: [

Re: [patch]blk-mq: blk_mq_tag_to_rq should handle flush request

2014-05-30 Thread Jens Axboe
On 2014-05-09 22:00, Shaohua Li wrote: On Fri, May 09, 2014 at 08:00:18AM -0700, Christoph Hellwig wrote: On Fri, May 09, 2014 at 08:07:33PM +0800, Shaohua Li wrote: flush request is special, which borrows tag from other request. Need a special handling to get it from tag. Thanks, we

Re: Bad DMA from Marvell 9230

2014-05-30 Thread Roger Heflin
I had a 9230...on older kernels it worked ok so long as you did not do any smart commands, I removed it and went to something that works. Marvell appears to be hit and miss with some cards/chips working right and some not... Do enough smartcmds and the entire board (all 4 ports) locked up and

RE: [PATCH v2 03/18] PCI: designware: Configuration space should be specified in 'reg'

2014-05-30 Thread Karicheri, Muralidharan
-Original Message- From: Murali Karicheri [mailto:m-kariche...@ti.com] Sent: Thursday, May 29, 2014 12:32 PM To: ABRAHAM, KISHON VIJAY Cc: devicet...@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- ker...@lists.infradead.org; linux-o...@vger.kernel.org; linux-...@vger.kernel.org;

Re: [PATCH] console: Add persistent scrollback buffers for all VGA consoles

2014-05-30 Thread Geert Uytterhoeven
Hi Manuel, On Fri, May 30, 2014 at 3:27 PM, Manuel Schölling manuel.schoell...@gmx.de wrote: Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a

Re: [PATCH v2] pinctrl: Enable power-source to be extracted from DT files

2014-05-30 Thread Heiko Stübner
Am Freitag, 30. Mai 2014, 10:41:31 schrieb Ivan T. Ivanov: On Wed, 2014-05-28 at 10:48 +0200, Linus Walleij wrote: On Wed, May 28, 2014 at 10:36 AM, Heiko Stübner he...@sntech.de wrote: Am Mittwoch, 28. Mai 2014, 10:15:43 schrieb Linus Walleij: On Tue, May 27, 2014 at 3:09 PM, Heiko

Re: [PATCH -mm 1/8] memcg: cleanup memcg_cache_params refcnt usage

2014-05-30 Thread Christoph Lameter
On Fri, 30 May 2014, Vladimir Davydov wrote: Currently, we count the number of pages allocated to a per memcg cache in memcg_cache_params-nr_pages. We only use this counter to find out if the cache is empty and can be destroyed. So let's rename it to refcnt and make it count not pages, but

Re: [PATCH net] bridge: notify user space after fdb update

2014-05-30 Thread Stephen Hemminger
On Thu, 29 May 2014 17:27:16 +1000 Jon Maxwell jmaxwel...@gmail.com wrote: There has been a number incidents recently where customers running KVM have reported that VM hosts on different Hypervisors are unreachable. Based on pcap traces we found that the bridge was broadcasting the ARP request

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-05-30 Thread Joonsoo Kim
2014-05-30 16:53 GMT+09:00 Gioh Kim gioh@lge.com: Joonsoo, I'm attaching a patch for combination of __rmqueue and __rmqueue_cma. I didn't test fully but my board is turned on and working well if no frequent memory allocations. I'm sorry to send not-tested code. I just want to report

Re: [PATCH -mm 2/8] memcg: destroy kmem caches when last slab is freed

2014-05-30 Thread Christoph Lameter
On Fri, 30 May 2014, Vladimir Davydov wrote: When the memcg_cache_params-refcnt goes to 0, schedule the worker that will unregister the cache. To prevent this from happening when the owner memcg is alive, keep the refcnt incremented during memcg lifetime. Acked-by: Christoph Lameter

Re: [PATCH -mm 3/8] memcg: mark caches that belong to offline memcgs as dead

2014-05-30 Thread Christoph Lameter
On Fri, 30 May 2014, Vladimir Davydov wrote: This will be used by the next patches. Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Current ACPI/PM commit queue for 3.16

2014-05-30 Thread Rafael J. Wysocki
Hello Everyone, Below is the current ACPI/PM queue for 3.16, including some things still being run through the build robot and a couple of things still under discussion. I'm still considering a couple of additional patchsets already sent that require some fixups, but apart from those, I'm not

Re: [PATCH v3 12/15] pci: Add pci_fixup_suspend_late quirk pass.

2014-05-30 Thread Andreas Noever
On Thu, May 29, 2014 at 12:36 AM, Bjorn Helgaas bhelg...@google.com wrote: On Mon, May 26, 2014 at 05:18:09PM +0200, Andreas Noever wrote: Please adjust the subject to match the drivers/pci convention, i.e., change pci: Add pci_fixup_suspend_late quirk pass. to PCI: Add

Re: [PATCH] watchdog: imx2_wdt: adds big endianness support.

2014-05-30 Thread Guenter Roeck
On 05/29/2014 11:10 PM, Xiubo Li wrote: This watchdog driver will be working on IMX2+, Vybrid, LS1, LS2+ platforms, and will be in different endianness mode in those SoCs: SoCs CPU endian mode WDT endian mode IMX2+LE

Re: [PATCHv2 net-next 0/4] bridge: multicast snooping patches / exports

2014-05-30 Thread Stephen Hemminger
On Thu, 29 May 2014 15:36:22 -0700 (PDT) David Miller da...@davemloft.net wrote: From: Linus Lüssing linus.luess...@web.de Date: Sun, 25 May 2014 07:03:21 +0200 Changes in v2: I really need a bridging expert to review this series, thank you. I am fine with these, but would like original

Re: [PATCHv2 net-next 3/4] bridge: add export of multicast database adjacent to net_dev

2014-05-30 Thread Stephen Hemminger
On Sun, 25 May 2014 07:03:24 +0200 Linus Lüssing linus.luess...@web.de wrote: With this new, exported function br_multicast_list_adjacent(net_dev) a list of IPv4/6 addresses is returned. This list contains all multicast addresses sensed by the bridge multicast snooping feature on all bridge

[PATCH 1/1] md: Do only necessary operations when adding device to RO array

2014-05-30 Thread Baldysiak, Pawel
Commit 8313b8e57f55b15e5b7f7fc5d1630bbf686a9a97 changed way of adding device to read-only array. Used routine md_reap_sync_thread() which also trigger finish_reshape(), can break reshape process, if it was restarted. This part of function should do only necessary operations, that is: 1) call

[RFC PATCH 03/16 v3] How CC accrues with run queue change and time

2014-05-30 Thread Yuyang Du
It is natural to use task concurrency (running tasks in the rq) as load indicator. We calculate CC for task concurrency by two steps: 1) Divide continuous time into periods of time, and average task concurrency in period, for tolerating the transient bursts: a = sum(concurrency * time) / period

[RFC PATCH 00/16 v3] A new CPU load metric for power-efficient scheduler: CPU ConCurrency

2014-05-30 Thread Yuyang Du
Hi Ingo, PeterZ, Rafael, and others, The current scheduler’s load balancing is completely work-conserving. In some workload, generally low CPU utilization but immersed with CPU bursts of transient tasks, migrating task to engage all available CPUs for work-conserving can lead to significant

[RFC PATCH 01/16 v3] Remove update_rq_runnable_avg

2014-05-30 Thread Yuyang Du
Since rq-avg is not made use of anywhere (I really can't find it), and the code is in fair scheduler's critical path, remove it. Sorry if anybody wants to use it, just at least temporarily remove it as of now. Signed-off-by: Yuyang Du yuyang...@intel.com --- kernel/sched/debug.c |8

[RFC PATCH 10/16 v3] Workload Consolidation APIs

2014-05-30 Thread Yuyang Du
Currently, CPU CC is per CPU. To consolidate, the formula is based on a heuristic. Suppose we have 2 CPUs, their task concurrency over time is ('-' means no task, 'x' having tasks): 1) CPU0: ----- (CC[0]) CPU1: - (CC[1]) 2) CPU0: ----- (CC[0]) CPU1:

[RFC PATCH 09/16 v3] Define and allocate a per CPU local cpumask for Workload Consolidation

2014-05-30 Thread Yuyang Du
We need these cpumasks to aid in cosolidated load balancing Signed-off-by: Yuyang Du yuyang...@intel.com --- kernel/sched/fair.c |8 1 file changed, 8 insertions(+) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 96d6f64..5755746 100644 --- a/kernel/sched/fair.c +++

[RFC PATCH 04/16 v3] CPU CC update period is changeable via sysctl

2014-05-30 Thread Yuyang Du
sysctl_sched_cc_sum_period is the CC update period. Make it changable via sysctl tool. In general, the longer this period, the stabler and slower to respond to task concurrency change on this CPU. Signed-off-by: Yuyang Du yuyang...@intel.com --- include/linux/sched/sysctl.h |4

[RFC PATCH 14/16 v3] Intercept idle balancing

2014-05-30 Thread Yuyang Du
We intercept load balancing to contain the load and load balancing in the consolidated CPUs according to our consolidating mechanism. In idle balancing, we do two things: 1) Skip pulling task to the idle non-consolidated CPUs. 2) In addition, for consolidated Idle CPU, we aggressively pull

[RFC PATCH 15/16 v3] Intercept periodic nohz idle balancing

2014-05-30 Thread Yuyang Du
We intercept load balancing to contain the load and load balancing in the consolidated CPUs according to our consolidating mechanism. In periodic nohz idle balance, we skip the idle but non-consolidated CPUs from load balancing. Signed-off-by: Yuyang Du yuyang...@intel.com ---

[RFC PATCH 13/16 v3] Intercept wakeup/fork/exec load balancing

2014-05-30 Thread Yuyang Du
We intercept load balancing to contain the load and load balancing in the consolidated CPUs according to our consolidating mechanism. In wakeup/fork/exec load balaning, when to find the idlest sched_group, we first try to find the consolidated group Signed-off-by: Yuyang Du yuyang...@intel.com

[RFC PATCH 16/16 v3] Intercept periodic load balancing

2014-05-30 Thread Yuyang Du
We intercept load balancing to contain the load and load balancing in the consolidated CPUs according to our consolidating mechanism. In periodic load balancing, we do two things: 1) Skip pulling task to the non-consolidated CPUs. 2) In addition, for consolidated Idle CPU, we aggressively pull

[RFC PATCH 12/16 v3] Bias select wakee than waker in WAKE_AFFINE

2014-05-30 Thread Yuyang Du
In WAKE_AFFINE, we do not simply select idle, but bias wakee than waker if the cc of the wakee and waker (in this order) is capable of handling the wakee task Signed-off-by: Yuyang Du yuyang...@intel.com --- kernel/sched/fair.c | 13 - 1 file changed, 12 insertions(+), 1

[RFC PATCH 06/16 v3] Add Workload Consolidation fields in struct sched_domain

2014-05-30 Thread Yuyang Du
Workload Consolidation is completely CPU topology and policy driven. To do so, we define SD_WORKLOAD_CONSOLIDATION, and add some fields in sched_domain struct: 1) total_groups is the group number in total in this domain 2) group_number is this CPU's group sequence number 3) consolidating_coeff is

[RFC PATCH 08/16 v3] Write CPU topology info for Workload Consolidation fields in sched_domain

2014-05-30 Thread Yuyang Du
Write additional CPU topology info in sched_domain for our use in cpu_attach_domain() Signed-off-by: Yuyang Du yuyang...@intel.com --- kernel/sched/core.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index

Re: [PATCH] ARM: exynos4212: hotplug: Fix CPU idle clock down after CPU1 off

2014-05-30 Thread Krzysztof Kozlowski
On pią, 2014-05-30 at 14:56 +0200, Tomasz Figa wrote: On 30.05.2014 14:46, Krzysztof Kozlowski wrote: On pią, 2014-05-30 at 13:50 +0200, Tomasz Figa wrote: Hi Krzysztof, On 13.05.2014 16:12, Krzysztof Kozlowski wrote: On Exynos4212 USE_DELAYED_RESET_ASSERTION must be set in

<    5   6   7   8   9   10   11   12   13   14   >