Re: [PATCH 2/2] nohz: make nohz_full imply isolcpus

2015-04-06 Thread Chris Metcalf
On 04/05/2015 01:05 AM, Ingo Molnar wrote: * Chris Metcalf cmetc...@ezchip.com wrote: On 4/4/2015 10:10 AM, Rik van Riel wrote: Rik, what's the change you're proposing that's similar to this one? Thanks! I don't have this particular one, and I like it. I know there are use cases where

Re: Hang on large copy_from_user with PREEMPT_NONE

2015-04-06 Thread Linus Torvalds
On Sun, Apr 5, 2015 at 8:59 PM, Sasha Levin sasha.le...@oracle.com wrote: This is the result of getting copy_user_handle_tail to zero out a large block of kernel memory very inefficiently: Ugh. Normally we should be able to just do if (zerorest) memset(to, 0, len);

Re: [PATCH v3] perf/rapl: support per domain energy unit

2015-04-06 Thread Stephane Eranian
On Mon, Apr 6, 2015 at 8:21 AM, Jacob Pan jacob.jun@linux.intel.com wrote: On Thu, 26 Mar 2015 14:28:45 -0700 Jacob Pan jacob.jun@linux.intel.com wrote: RAPL energy hardware unit can vary within a single CPU package, e.g. HSW server DRAM has a fixed energy unit of 15.3 uJ (2^-16)

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

2015-04-06 Thread Toshi Kani
On Sat, 2015-04-04 at 11:40 +0200, Ingo Molnar wrote: * Toshi Kani toshi.k...@hp.com wrote: On Fri, 2015-04-03 at 10:12 -0700, Yinghai Lu wrote: On Fri, Apr 3, 2015 at 9:14 AM, Toshi Kani toshi.k...@hp.com wrote: On Wed, 2015-04-01 at 09:12 +0200, Christoph Hellwig wrote: :

[PATCH] x86: Revert E820_PRAM change in e820_end_pfn()

2015-04-06 Thread Toshi Kani
'Commit ec776ef6bbe17 (x86/mm: Add support for the non-standard protected e820 type)' added E820_PRAM ranges, which do not have have struct-page. Therefore, there is no need to update max_pfn to cover the E820_PRAM ranges. Revert the change made to account E820_PRAM as RAM in e820_end_pfn() in

[PATCH v2] x86: deinline dma_alloc_attrs()

2015-04-06 Thread Denys Vlasenko
Reduces kernel size by 68739 bytes on allyesconfig build: text data bss dec hex filename 82662736 22255384 20627456 125545576 77bac68 vmlinux0 82594029 22255352 20627456 125476837 77a9fe5 vmlinux1 Signed-off-by: Denys Vlasenko dvlas...@redhat.com Cc: Marek Szyprowski

[PATCH v2] x86: deinline dma_free_attrs()

2015-04-06 Thread Denys Vlasenko
Reduces kernel size by 76720 bytes on allyesconfig build: text data bss dec hex filename 82594029 22255352 20627456 125476837 77a9fe5 vmlinux1 82517277 22255384 20627456 125400117 7797435 vmlinux2 Signed-off-by: Denys Vlasenko dvlas...@redhat.com Cc: Marek Szyprowski

[PATCH V2 1/6] i2c: qup: Change qup_wait_writeready function to use for all timeouts

2015-04-06 Thread Sricharan R
qup_wait_writeready waits only on a output fifo empty event. Change the same function to accept the event and data length to wait as parameters. This way the same function can be used for timeouts in otherplaces as well. Signed-off-by: Sricharan R sricha...@codeaurora.org ---

[PATCH V2 3/6] i2c: qup: Add bam dma capabilities

2015-04-06 Thread Sricharan R
QUP cores can be attached to a BAM module, which acts as a dma engine for the QUP core. When DMA with BAM is enabled, the BAM consumer pipe transmitted data is written to the output FIFO and the BAM producer pipe received data is read from the input FIFO. With BAM capabilities, qup-i2c core can

Re: [Xen-devel] [PATCH] x86, paravirt, xen: Remove the 64-bit irq_enable_sysexit pvop

2015-04-06 Thread Andrew Cooper
On 06/04/2015 16:29, Andy Lutomirski wrote: On Mon, Apr 6, 2015 at 7:10 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Apr 03, 2015 at 03:52:30PM -0700, Andy Lutomirski wrote: [cc: Boris and Konrad. Whoops] On Fri, Apr 3, 2015 at 3:51 PM, Andy Lutomirski l...@kernel.org

Re: [PATCH v3 5/7] tracing: Add 'hist' event trigger command

2015-04-06 Thread Paul Bolle
On Mon, 2015-04-06 at 12:25 -0400, Steven Rostedt wrote: On Mon, 06 Apr 2015 18:19:19 +0200 Paul Bolle pebo...@tiscali.nl wrote: I hope you don't think I was mocking you. I wasn't. No, I didn't think you were. The only issue I can think of that including an unneeded header file does is to

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

2015-04-06 Thread Pavel Machek
On Mon 2015-04-06 15:29:57, Pali Rohár wrote: On Monday 06 April 2015 15:00:46 Mike Snitzer wrote: On Sun, Apr 05 2015 at 1:20pm -0400, Pali Rohár pali.ro...@gmail.com wrote: This patch series increase security of suspend and hibernate actions. It allows user to safely wipe crypto

Re: [PATCH] sunrpc: eliminate RPC_DEBUG

2015-04-06 Thread J. Bruce Fields
On Mon, Apr 06, 2015 at 10:45:36AM -0400, Jeff Layton wrote: On Mon, 06 Apr 2015 16:38:09 +0200 Arnd Bergmann a...@arndb.de wrote: On Monday 06 April 2015 10:04:52 Jeff Layton wrote: diff --git a/fs/lockd/svcsubs.c b/fs/lockd/svcsubs.c index 665ef5a..a563ddb 100644 ---

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

2015-04-06 Thread Yinghai Lu
On Mon, Apr 6, 2015 at 10:29 AM, Toshi Kani toshi.k...@hp.com wrote: On Sat, 2015-04-04 at 11:40 +0200, Ingo Molnar wrote: OK, I will send a patch for the fix, with suggested update from Christoph of not to re-add 'type' argument to e820_end_pfn(). Yinghai, I will add your sign-off to the

Re: [PATCH v2 1/2] nohz: add tick_nohz_full_clear_cpus() and _set_cpus() APIs

2015-04-06 Thread Frederic Weisbecker
On Mon, Apr 06, 2015 at 02:16:44PM -0400, cmetc...@ezchip.com wrote: From: Chris Metcalf cmetc...@ezchip.com The clear API is useful, for example, to modify a cpumask to avoid the nohz cores so that interrupts aren't sent to them. Likewise the set API is useful to modify a cpumask

Re: [PATCH] x86: Revert E820_PRAM change in e820_end_pfn()

2015-04-06 Thread Yinghai Lu
On Mon, Apr 6, 2015 at 10:47 AM, Toshi Kani toshi.k...@hp.com wrote: 'Commit ec776ef6bbe17 (x86/mm: Add support for the non-standard protected e820 type)' added E820_PRAM ranges, which do not have have struct-page. Therefore, there is no need to update max_pfn to cover the E820_PRAM ranges.

[PATCH V2 2/6] i2c: qup: Add V2 tags support

2015-04-06 Thread Sricharan R
From: Andy Gross agr...@codeaurora.org QUP from version 2.1.1 onwards, supports a new format of i2c command tags. Tag codes instructs the controller to perform a operation like read/write. This new tagging version supports bam dma and transfers of more than 256 bytes without 'stop' in between.

[PATCH V2 5/6] dts: msm8974: Add blsp2_bam dma node

2015-04-06 Thread Sricharan R
Signed-off-by: Sricharan R sricha...@codeaurora.org --- [v2] Used macros for interrupts property. arch/arm/boot/dts/qcom-msm8974.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index

[PATCH V2 6/6] dts: msm8974: Add dma channels for blsp2_i2c1 node

2015-04-06 Thread Sricharan R
Signed-off-by: Sricharan R sricha...@codeaurora.org --- [v2] Changed dma channel names as per comments. arch/arm/boot/dts/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index c2e8711..5cb0772

Re: [PATCH v3] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-06 Thread Tyler Baker
On 19 February 2015 at 14:14, Simon Horman ho...@verge.net.au wrote: On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: On 02/18/15 14:27, Simon Horman wrote: On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: Writes to /sys/.../cpuX/online fail if we determine the

[PATCH V2 4/6] i2c: qup: Transfer every i2c_msg in i2c_msgs without stop

2015-04-06 Thread Sricharan R
The definition of i2c_msg says that If this is the last message in a group, it is followed by a STOP. Otherwise it is followed by the next @i2c_msg transaction segment, beginning with a (repeated) START So the expectation is that there is no 'STOP' bit inbetween individual i2c_msg segments

RE: [PATCH v2 2/2] extcon-axp288: Add axp288 extcon driver support

2015-04-06 Thread Pallala, Ramakrishna
Hi Choi, Hi Ramakrishna, When I apply this patch for build test on extcon-next branch, conflict happen. you have to implement this patchset on latest extcon-next branch. Ok I will create the patches on git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git Also, This patch must

Re: [Xen-devel] [PATCH] x86, paravirt, xen: Remove the 64-bit irq_enable_sysexit pvop

2015-04-06 Thread Boris Ostrovsky
On 04/06/2015 01:44 PM, Andrew Cooper wrote: On 06/04/2015 16:29, Andy Lutomirski wrote: On Mon, Apr 6, 2015 at 7:10 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Apr 03, 2015 at 03:52:30PM -0700, Andy Lutomirski wrote: [cc: Boris and Konrad. Whoops] On Fri, Apr 3, 2015

[PATCH V2 0/6] i2c: qup: Add support for v2 tags and bam dma

2015-04-06 Thread Sricharan R
QUP from version 2.1.1 onwards, supports a new format of i2c command tags. Tag codes instructs the controller to perform a operation like read/write. This new tagging version supports and is required for adding bam dma capabilities. v2 tags supports transfer of more than 256 bytes in a single

Re: smp_call_function_single lockups

2015-04-06 Thread Chris J Arges
On Thu, Apr 02, 2015 at 10:31:50AM -0700, Linus Torvalds wrote: On Wed, Apr 1, 2015 at 2:59 PM, Chris J Arges chris.j.ar...@canonical.com wrote: It is worthwhile to do a 'bisect' to see where on average it takes longer to reproduce? Perhaps it will point to a relevant change, or it may

Re: [PATCH v2 0/8] Asynchronous device/driver probing support

2015-04-06 Thread Greg Kroah-Hartman
On Mon, Apr 06, 2015 at 09:22:51AM -0700, Dmitry Torokhov wrote: On Tue, Mar 31, 2015 at 04:39:49PM -0400, Tejun Heo wrote: On Mon, Mar 30, 2015 at 04:20:02PM -0700, Dmitry Torokhov wrote: This series is a combination of changes proposed by Luis a couple months ago and implementation used

Re: [PATCH v2 0/5] Refactor Qualcomm RPM regulator to single platform_device

2015-04-06 Thread Mark Brown
On Mon, Apr 06, 2015 at 10:11:02AM -0700, Bjorn Andersson wrote: The RPM will instantiate one regulator device per pmic and parent will hence differ between the various regulator instances. So with Guenter's patch this does indeed work. Ah, excellent! That's easy then... signature.asc

Re: [PATCH v4 6/6] power: twl4030_madc_battery: Add missing MODULE_ALIAS

2015-04-06 Thread Sebastian Reichel
Hi, On Tue, Mar 10, 2015 at 10:27:27PM +0100, Marek Belisko wrote: Without MODULE_ALIAS twl4030_madc_battery won't get loaded automatically. Thanks, pulled. -- Sebastian signature.asc Description: Digital signature

Re: [PATCH v4 1/6] power: twl4030-madc-battery: Convert to iio consumer.

2015-04-06 Thread Sebastian Reichel
Hi, On Tue, Mar 10, 2015 at 10:27:22PM +0100, Marek Belisko wrote: Because of added iio error handling private data allocation was converted to managed to simplify code. Thanks, pulled (only PATCH 1/6 for now). -- Sebastian signature.asc Description: Digital signature

Re: [PATCH] mfd: tps65010: remove incorrect __exit markups

2015-04-06 Thread Dmitry Torokhov
Hi Lee, On Mon, Mar 09, 2015 at 10:47:15AM -0700, Dmitry Torokhov wrote: Even if bus is not hot-pluggable, the devices can be unbound from the driver via sysfs, so we should not be using __exit annotations on remove() methods. The only exception is drivers registered with

Re: [PATCH] smp/call: Detect stuck CSD locks

2015-04-06 Thread Linus Torvalds
On Mon, Apr 6, 2015 at 9:58 AM, Chris J Arges chris.j.ar...@canonical.com wrote: I noticed that with this patch it never reached 'csd: Detected non-responsive CSD lock...' because it seems that ts_delta never reached CSD_LOCK_TIMEOUT. I tried adjusting the TIMEOUT value and still got a hang

Re: [PATCH v2 2/5] regulator: Introduce property to flag drms

2015-04-06 Thread Mark Brown
On Thu, Apr 02, 2015 at 02:35:07PM -0700, Bjorn Andersson wrote: Would you mind picking the other patches from this series or do you want me to resend them? They are unrelated to this issue and will give us working regulators (without set_load support) on the affected platforms. There seem

Re: [PATCH v3] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-04-06 Thread Stephen Boyd
On 04/06/15 10:19, Tyler Baker wrote: On 19 February 2015 at 14:14, Simon Horman ho...@verge.net.au wrote: On Wed, Feb 18, 2015 at 03:27:57PM -0800, Stephen Boyd wrote: On 02/18/15 14:27, Simon Horman wrote: On Fri, Feb 13, 2015 at 04:42:54PM -0800, Stephen Boyd wrote: Writes to

Re: [PATCH] cpusets: Make cpus_allowed and mems_allowed masks hotplug invariant

2015-04-06 Thread Tejun Heo
Hello, Preeti. On Thu, Apr 02, 2015 at 12:26:32PM +0530, Preeti U Murthy wrote: By ensuring that the user configured cpusets are untouched, I don't see how we affect userspace adversely. The expectation usually is that the kernel keeps track of the user configurations. If anything we would be

[PATCH v2 1/2] nohz: add tick_nohz_full_clear_cpus() and _set_cpus() APIs

2015-04-06 Thread cmetcalf
From: Chris Metcalf cmetc...@ezchip.com The clear API is useful, for example, to modify a cpumask to avoid the nohz cores so that interrupts aren't sent to them. Likewise the set API is useful to modify a cpumask indicating some special nohz-type functionality so that the nohz cores are

[PATCH v2 2/2] nohz: make nohz_full imply isolcpus

2015-04-06 Thread cmetcalf
From: Chris Metcalf cmetc...@ezchip.com It's not clear that nohz_full is useful without isolcpus also set, since otherwise the scheduler has to run periodically to try to determine whether to steal work from other cores. Signed-off-by: Chris Metcalf cmetc...@ezchip.com Acked-by: Mike Galbraith

Re: Slab infrastructure for bulk object allocation and freeing V2

2015-04-06 Thread Christoph Lameter
On Thu, 2 Apr 2015, Andrew Morton wrote: hm, OK. The per-allocator wrappers could be made static inline in .h if that makes sense. The allocators will add code to the per-allocator wrappers. Inlining that would be bad. Basicalkly the wrapper is the skeleon to which optimizations can be added

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

2015-04-06 Thread Toshi Kani
On Mon, 2015-04-06 at 11:26 -0700, Yinghai Lu wrote: On Mon, Apr 6, 2015 at 10:29 AM, Toshi Kani toshi.k...@hp.com wrote: On Sat, 2015-04-04 at 11:40 +0200, Ingo Molnar wrote: OK, I will send a patch for the fix, with suggested update from Christoph of not to re-add 'type' argument to

Re: [PATCH 4/4] spi: bcm-mspi: Add support to set serial baud clock rate

2015-04-06 Thread Jonathan Richardson
On 15-04-06 02:46 AM, Mark Brown wrote: On Sat, Apr 04, 2015 at 12:12:59PM -0700, Florian Fainelli wrote: Le 02/04/2015 12:23, Jonathan Richardson a écrit : + /* Calculate SPBR if clock-frequency provided. */ + if (of_property_read_u32(dev-of_node, clock-frequency, +

Re: [PATCH v6 1/2] DT: hwspinlock: Add binding documentation for Qualcomm hwmutex

2015-04-06 Thread Ohad Ben-Cohen
On Mon, Apr 6, 2015 at 7:48 PM, Bjorn Andersson bj...@kryo.se wrote: Based on the long discussion we had on one of the previous iterations of Suman's DT binding, with the DT maintainers I believe that it would be fine to move along and sent Suman's patches to Linus - without an explicit Ack

Re: [PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-06 Thread Jonathan Richardson
On 15-04-06 03:36 AM, Rafał Miłecki wrote: On 3 April 2015 at 19:52, Florian Fainelli f.faine...@gmail.com wrote: On 03/04/15 06:38, Andy Shevchenko wrote: On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson jonat...@broadcom.com wrote: The Broadcom MSPI controller is used on various chips.

[PATCH v3] x86: deinline dma_alloc_attrs()

2015-04-06 Thread Denys Vlasenko
Reduces kernel size by 68739 bytes on allyesconfig build: text data bss dec hex filename 82662736 22255384 20627456 125545576 77bac68 vmlinux0 82594029 22255352 20627456 125476837 77a9fe5 vmlinux1 Signed-off-by: Denys Vlasenko dvlas...@redhat.com Cc: Marek Szyprowski

Re: [PATCH v2 1/2] nohz: add tick_nohz_full_clear_cpus() and _set_cpus() APIs

2015-04-06 Thread Chris Metcalf
On 04/06/2015 02:29 PM, Frederic Weisbecker wrote: On Mon, Apr 06, 2015 at 02:16:44PM -0400,cmetc...@ezchip.com wrote: From: Chris Metcalfcmetc...@ezchip.com The clear API is useful, for example, to modify a cpumask to avoid the nohz cores so that interrupts aren't sent to them. Likewise the

Re: [PATCH asoc] ASoC: Intel: read_shim_data() can be static

2015-04-06 Thread Mark Brown
On Tue, Apr 07, 2015 at 03:06:06AM +0800, kbuild test robot wrote: Signed-off-by: Fengguang Wu fengguang...@intel.com Applied, thanks. signature.asc Description: Digital signature

[PATCH] ext4 mballoc: fix tail allocation

2015-04-06 Thread Jun He
This patch addresses the tail allocation problem found at paper Reducing File System Tail Latencies with Chopper. https://www.usenix.org/system/files/conference/fast15/fast15-paper-he.pdf . The paper refers the tail allocation problem as the Special End problem. Here is a description of the

[PATCH v5 1/2] smpboot: allow excluding cpus from the smpboot threads

2015-04-06 Thread cmetcalf
From: Chris Metcalf cmetc...@ezchip.com This change allows some cores to be excluded from running the smp_hotplug_thread tasks. The motivating example for this is the watchdog threads, which by default we don't want to run on any enabled nohz_full cores. Signed-off-by: Chris Metcalf

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

2015-04-06 Thread cmetcalf
From: Chris Metcalf cmetc...@ezchip.com Change the default behavior of watchdog so it only runs on the housekeeping cores when nohz_full is enabled at build and boot time. Allow modifying the set of cores the watchdog is currently running on with a new kernel.watchdog_exclude sysctl.

[PATCH v5 0/2] nohz/watchdog/smp_hotplug_thread changes

2015-04-06 Thread cmetcalf
From: Chris Metcalf cmetc...@ezchip.com These changes allow the watchdog to work cleanly with nohz_full by default, and to be configurable if desired to enable the watchdog on cores that would normally disable it due to being nohz_full. Thomas, does the addition of an exclude_mask to

[PATCH 41/49] writeback: add wb_writeback_work-auto_free

2015-04-06 Thread Tejun Heo
Currently, a wb_writeback_work is freed automatically on completion if it doesn't have -done set. Add wb_writeback_work-auto_free to make the switch explicit. This will help cgroup writeback support where waiting for completion and whether to free automatically don't necessarily move together.

[PATCH 11/49] writeback: move backing_dev_info-state into bdi_writeback

2015-04-06 Thread Tejun Heo
Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback) and the role of the separation is unclear. For cgroup support for writeback IOs, a bdi will be updated to host multiple wb's where each wb serves writeback IOs of a different cgroup on the bdi. To achieve that, a wb should

[PATCH 47/49] buffer, writeback: make __block_write_full_page() honor cgroup writeback

2015-04-06 Thread Tejun Heo
[__]block_write_full_page() is used to implement -writepage in various filesystems. All writeback logic is now updated to handle cgroup writeback and the block cgroup to issue IOs for is encoded in writeback_control and can be retrieved from the inode; however, [__]block_write_full_page()

[PATCH 25/49] writeback: let balance_dirty_pages() work on the matching cgroup bdi_writeback

2015-04-06 Thread Tejun Heo
Currently, balance_dirty_pages() always work on bdi-wb. This patch updates it to work on the wb (bdi_writeback) matching memcg and blkcg of the current task as that's what the inode is being dirtied against. balance_dirty_pages_ratelimited() now pins the current wb and passes it to

[PATCH 49/49] ext2: enable cgroup writeback support

2015-04-06 Thread Tejun Heo
Writeback now supports cgroup writeback and the generic writeback, buffer, libfs, and mpage helpers that ext2 uses are all updated to work with cgroup writeback. This patch enables cgroup writeback for ext2 by adding FS_CGROUP_WRITEBACK to its -fs_flags. Signed-off-by: Tejun Heo t...@kernel.org

[PATCH 19/49] writeback: add @gfp to wb_init()

2015-04-06 Thread Tejun Heo
wb_init() currently always uses GFP_KERNEL but the planned cgroup writeback support needs using other allocation masks. Add @gfp to wb_init(). This patch doesn't introduce any behavior changes. Signed-off-by: Tejun Heo t...@kernel.org Cc: Jens Axboe ax...@kernel.dk Cc: Jan Kara j...@suse.cz ---

[PATCH 36/49] writeback: remove bdi_start_writeback()

2015-04-06 Thread Tejun Heo
bdi_start_writeback() is a thin wrapper on top of __wb_start_writeback() which is used only by laptop_mode_timer_fn(). This patches removes bdi_start_writeback(), renames __wb_start_writeback() to wb_start_writeback() and makes laptop_mode_timer_fn() use it instead. This doesn't cause any

Re: [PATCH] x86: vdso: fix pvclock races with task migration

2015-04-06 Thread Andy Lutomirski
On 04/02/2015 11:59 AM, Andy Lutomirski wrote: On Thu, Apr 2, 2015 at 11:44 AM, Radim Krčmář rkrc...@redhat.com wrote: If we were migrated right after __getcpu, but before reading the migration_count, we wouldn't notice that we read TSC of a different VCPU, nor that KVM's bug made pvti invalid,

[PATCH 09/11] ARM: dts: Use phandle notation for overriding nodes in Odroid

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 728 arch/arm/boot/dts/exynos4412-odroidx.dts| 16 +- 2 files changed, 372

[PATCH 03/11] ARM: dts: Use phandle notation for overriding nodes in Exynos4210 Origen

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4210-origen.dts | 418 1 file changed, 209 insertions(+), 209 deletions(-) diff --git

[PATCH 11/11] ARM: dts: Use phandle notation for overriding nodes in Trats2

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4412-trats2.dts | 1331 --- 1 file changed, 666 insertions(+), 665 deletions(-) diff --git

[PATCH 10/11] ARM: dts: Use phandle notation for overriding nodes in SMDK4412

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4412-smdk4412.dts | 210 +++--- 1 file changed, 105 insertions(+), 105 deletions(-) diff --git

[PATCH 06/11] ARM: dts: Use phandle notation for overriding nodes in Exynos4212

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4212.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/exynos4212.dtsi

[PATCH] checkpatch: validate MODULE_LICENSE content

2015-04-06 Thread Bjorn Andersson
There is a well defined list of expected values for MODULE_LICENSE so warn the user upon usage of unknown values. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- scripts/checkpatch.pl | 16 1 file changed, 16 insertions(+) diff --git a/scripts/checkpatch.pl

[PATCH] sched/core: Remove wakeup_gran with single call calc_delta_fair

2015-04-06 Thread Abel Vesa
This patch removes function wakeup_gran and its call by calling directly calc_delta_fair function with sysctl_sched_wakeup_granularity and se as arguments. Signed-off-by: Abel Vesa abelv...@gmail.com --- kernel/sched/fair.c | 38 -- 1 file changed, 16

[asoc:topic/intel 37/37] sound/soc/intel/atom/sst/sst_drv_interface.c:277:19: sparse: cast removes address space of expression

2015-04-06 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/intel head: b97169da06992ef04081e66ed22bbdb23dbf6610 commit: b97169da06992ef04081e66ed22bbdb23dbf6610 [37/37] ASoC: Intel: create atom folder and move atom platform files in reproduce: # apt-get install sparse

Slab infrastructure for bulk object allocation and freeing V3

2015-04-06 Thread Christoph Lameter
V2-V3 - Rename functions so that they end in _bulk() instead of _array() - The bulk allocation function will either return a completely filled out array or nothing. - Add some documentation This patch adds the basic infrastructure for alloc / free operations on pointer arrays. It includes

[PATCH asoc] ASoC: Intel: read_shim_data() can be static

2015-04-06 Thread kbuild test robot
Signed-off-by: Fengguang Wu fengguang...@intel.com --- sst_pvt.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/intel/atom/sst/sst_pvt.c b/sound/soc/intel/atom/sst/sst_pvt.c index 3c17844..2d74249 100644 --- a/sound/soc/intel/atom/sst/sst_pvt.c +++

[PATCH 1/2] [v2] blk-mq: fix plugging in blk_sq_make_request

2015-04-06 Thread Jeff Moyer
The following appears in blk_sq_make_request: /* * If we have multiple hardware queues, just go directly to * one of those for sync IO. */ We clearly don't have multiple hardware queues, here! This comment was introduced with this commit 07068d5b8e (blk-mq:

[PATCH 10/10] writeback: disassociate inodes from dying bdi_writebacks

2015-04-06 Thread Tejun Heo
For the purpose of foreign inode detection, wb's (bdi_writeback's) are identified by the associated memcg ID. As we create a separate wb for each memcg, this is enough to identify the active wb's; however, when blkcg is enabled or disabled higher up in the hierarchy, the mapping between memcg and

[PATCH 07/11] ARM: dts: Use phandle notation for overriding nodes in Exynos4x12

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4x12.dtsi | 210 +++--- 1 file changed, 105 insertions(+), 105 deletions(-) diff --git

[PATCH 08/11] ARM: dts: Use phandle notation for overriding nodes in Exynos4412

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4412.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/exynos4412.dtsi

Re: [PATCH 2/2] stmmac: Add IMG Pistachio platform glue layer

2015-04-06 Thread David Miller
From: Andrew Bresticker abres...@chromium.org Date: Thu, 2 Apr 2015 16:46:36 -0700 +static void *pistachio_dwmac_setup(struct platform_device *pdev) +{ + struct pistachio_dwmac_priv_data *pdata; + + pdata = devm_kzalloc(pdev-dev, sizeof(*pdata), GFP_KERNEL); + if (!pdata) +

Re: [PATCH] x86: vdso: fix pvclock races with task migration

2015-04-06 Thread Marcelo Tosatti
On Thu, Apr 02, 2015 at 08:44:23PM +0200, Radim Krčmář wrote: If we were migrated right after __getcpu, but before reading the migration_count, we wouldn't notice that we read TSC of a different VCPU, nor that KVM's bug made pvti invalid, as only migration_count on source VCPU is increased.

Re: [PATCH 2/4] spi: bcm53xx: Refactor to make driver nonspecific to 53xx SoCs

2015-04-06 Thread Jonathan Richardson
On 15-04-03 06:35 AM, Andy Shevchenko wrote: On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson jonat...@broadcom.com wrote: The Broadcom MSPI controller is used on various SoCs. It is being renamed so that it can be extended and reused on other chips. It is renamed to bcm-mspi. What if

Re: [PATCH RESEND] efivarfs: Ensure VariableName is NUL-terminated

2015-04-06 Thread Matt Fleming
On Thu, 02 Apr, at 08:39:00AM, Ross Lagerwall wrote: Some buggy firmware implementations update VariableNameSize on success such that it does not include the final NUL character which results in garbage in the efivarfs name entries. Use kzalloc on the efivar_entry (as is done in efivars.c) to

Re: [PATCH 1/4] ARM: dts: Add binding for Broadcom MSPI driver.

2015-04-06 Thread Jonathan Richardson
On 15-04-04 12:17 PM, Florian Fainelli wrote: Le 02/04/2015 12:23, Jonathan Richardson a écrit : Signed-off-by: Jonathan Richardson jonat...@broadcom.com --- .../devicetree/bindings/spi/brcm,mspi-spi.txt | 38 1 file changed, 38 insertions(+) create mode

[PATCHSET 1/3 v3 block/for-4.1/core] writeback: cgroup writeback support

2015-04-06 Thread Tejun Heo
calculation and available in the following git branch. git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-writeback-20150406 diffstat follows. Thanks. Documentation/cgroups/memory.txt |1 block/bio.c | 35 +- block/blk-cgroup.c

[PATCH 07/49] cgroup, block: implement task_get_css() and use it in bio_associate_current()

2015-04-06 Thread Tejun Heo
bio_associate_current() currently open codes task_css() and css_tryget_online() to find and pin $current's blkcg css. Abstract it into task_get_css() which is implemented from cgroup side. As a task is always associated with an online css for every subsystem except while the css_set update is

[PATCH 06/49] blkcg: add blkcg_root_css

2015-04-06 Thread Tejun Heo
Add global constant blkcg_root_css which points to blkcg_root.css. This will be used by cgroup writeback support. If blkcg is disabled, it's defined as ERR_PTR(-EINVAL). v2: The declarations moved to include/linux/blk-cgroup.h as suggested by Vivek. Signed-off-by: Tejun Heo t...@kernel.org

[PATCH 21/49] writeback: add {CONFIG|BDI_CAP|FS}_CGROUP_WRITEBACK

2015-04-06 Thread Tejun Heo
cgroup writeback requires support from both bdi and filesystem sides. Add BDI_CAP_CGROUP_WRITEBACK and FS_CGROUP_WRITEBACK to indicate support and enable BDI_CAP_CGROUP_WRITEBACK on block based bdi's by default. Also, define CONFIG_CGROUP_WRITEBACK which is enabled if both MEMCG and BLK_CGROUP

[PATCH 22/49] writeback: make backing_dev_info host cgroup-specific bdi_writebacks

2015-04-06 Thread Tejun Heo
For the planned cgroup writeback support, on each bdi (backing_dev_info), each memcg will be served by a separate wb (bdi_writeback). This patch updates bdi so that a bdi can host multiple wbs (bdi_writebacks). On the default hierarchy, blkcg implicitly enables memcg. This allows using memcg's

[PATCH 05/10] writeback: implement [locked_]inode_to_wb_and_lock_list()

2015-04-06 Thread Tejun Heo
cgroup writeback currently assumes that inode to wb association doesn't change; however, with the planned foreign inode wb switching mechanism, the association will change dynamically. When an inode needs to be put on one of the IO lists of its wb, the current code simply calls inode_to_wb() and

[PATCH 23/49] writeback, blkcg: associate each blkcg_gq with the corresponding bdi_writeback_congested

2015-04-06 Thread Tejun Heo
A blkg (blkcg_gq) can be congested and decongested independently from other blkgs on the same request_queue. Accordingly, for cgroup writeback support, the congestion status at bdi (backing_dev_info) should be split and updated separately from matching blkg's. This patch prepares by adding

[PATCH 05/49] memcg: add mem_cgroup_root_css

2015-04-06 Thread Tejun Heo
Add global mem_cgroup_root_css which points to the root memcg css. This will be used by cgroup writeback support. If memcg is disabled, it's defined as ERR_PTR(-EINVAL). Signed-off-by: Tejun Heo t...@kernel.org Cc: Johannes Weiner han...@cmpxchg.org aCc: Michal Hocko mho...@suse.cz ---

[PATCH 26/49] writeback: make congestion functions per bdi_writeback

2015-04-06 Thread Tejun Heo
Currently, all congestion functions take bdi (backing_dev_info) and always operate on the root wb (bdi-wb) and the congestion state from the block layer is propagated only for the root blkcg. This patch introduces {set|clear}_wb_congested() and wb_congested() which take a bdi_writeback_congested

[PATCH 24/49] writeback: attribute stats to the matching per-cgroup bdi_writeback

2015-04-06 Thread Tejun Heo
Until now, all WB_* stats were accounted against the root wb (bdi_writeback), now that multiple wb (bdi_writeback) support is in place, let's attributes the stats to the respective per-cgroup wb's. As no filesystem has FS_CGROUP_WRITEBACK yet, this doesn't lead to visible behavior differences.

[PATCH 05/11] ARM: dts: Use phandle notation for overriding nodes in Trats

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4210-trats.dts | 592 - 1 file changed, 296 insertions(+), 296 deletions(-) diff --git

[PATCH 04/11] ARM: dts: Use phandle notation for overriding nodes in SMDKv310

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4210-smdkv310.dts | 280 +++--- 1 file changed, 140 insertions(+), 140 deletions(-) diff --git

[PATCH 02/11] ARM: dts: Use phandle notation for overriding nodes in Exynos4210

2015-04-06 Thread Krzysztof Kozlowski
The phandle notation reduces possible mistakes when overriding nodes. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- arch/arm/boot/dts/exynos4210.dtsi | 43 +++ 1 file changed, 21 insertions(+), 22 deletions(-) diff --git

Re: [PATCH] clk: qcom: Fix parent_map translations

2015-04-06 Thread Stephen Boyd
On 04/03/15 07:00, Georgi Djakov wrote: When we introduced the parent_map tables, we missed to update some of the functions where mapping is translated. Fix this. Signed-off-by: Georgi Djakov georgi.dja...@linaro.org --- drivers/clk/qcom/clk-rcg.c | 13 ++---

Re: [PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-06 Thread Jonathan Richardson
On 15-04-03 10:52 AM, Florian Fainelli wrote: On 03/04/15 06:38, Andy Shevchenko wrote: On Thu, Apr 2, 2015 at 10:23 PM, Jonathan Richardson jonat...@broadcom.com wrote: The Broadcom MSPI controller is used on various chips. The driver only supported BCM53xx chips with BCMA (an AMBA bus

[PATCH 19/19] mm: vmscan: disable memcg direct reclaim stalling if cgroup writeback support is in use

2015-04-06 Thread Tejun Heo
Because writeback wasn't cgroup aware before, the usual dirty throttling mechanism in balance_dirty_pages() didn't work for processes under memcg limit. The writeback path didn't know how much memory is available or how fast the dirty pages are being written out for a given memcg and

[PATCH 05/19] writeback: move global_dirty_limit into wb_domain

2015-04-06 Thread Tejun Heo
This patch is a part of the series to define wb_domain which represents a domain that wb's (bdi_writeback's) belong to and are measured against each other in. This will enable IO backpressure propagation for cgroup writeback. global_dirty_limit exists to regulate the global dirty threshold which

[PATCH 42/49] writeback: implement bdi_wait_for_completion()

2015-04-06 Thread Tejun Heo
If the completion of a wb_writeback_work can be waited upon by setting its -done to a struct completion and waiting on it; however, for cgroup writeback support, it's necessary to issue multiple work items to multiple bdi_writebacks and wait for the completion of all. This patch implements

[PATCH 03/19] writeback: reorganize [__]wb_update_bandwidth()

2015-04-06 Thread Tejun Heo
__wb_update_bandwidth() is called from two places - fs/fs-writeback.c::balance_dirty_pages() and mm/page-writeback.c::wb_writeback(). The latter updates only the write bandwidth while the former also deals with the dirty ratelimit. The two callsites are distinguished by whether @thresh parameter

[PATCH 11/19] writeback: add dirty_throttle_control-dom

2015-04-06 Thread Tejun Heo
Currently all dirty throttle operations use global_wb_domain; however, cgroup writeback support requires considering per-memcg wb_domain too. This patch adds dirty_throttle_control-dom and updates functions which are directly using globabl_wb_domain to use it instead. As this makes

Re: [PATCH 1/2] Input: atmel_mxt_ts - Implement support for T100 touch object

2015-04-06 Thread Dmitry Torokhov
Hi Javier, On Tue, Mar 17, 2015 at 03:00:45PM +0100, Javier Martinez Canillas wrote: From: Nick Dyer nick.d...@itdev.co.uk Add support for the new T100 object which replaces the previous T9 multitouch touchscreen object in recent maXTouch devices. T100 provides improved reporting with

[PATCHSET 2/3 v2 block/for-4.1/core] writeback: cgroup writeback backpressure propagation

2015-04-06 Thread Tejun Heo
Hello, Changes from the last take[L] are * 0002-writeback-clean-up-wb_dirty_limit.patch added. * 0008-writeback-make-__wb_calc_thresh-take-dirty_throttle_.patch was scaling the wrong parameter leading to weird throttling behavior. Fixed. *

[PATCH 04/19] writeback: implement wb_domain

2015-04-06 Thread Tejun Heo
Dirtyable memory is distributed to a wb (bdi_writeback) according to the relative bandwidth the wb is writing out in the whole system. This distribution is global - each wb is measured against all other wb's and gets the proportinately sized portion of the memory in the whole system. For cgroup

[PATCH 02/19] writeback: clean up wb_dirty_limit()

2015-04-06 Thread Tejun Heo
The function name wb_dirty_limit(), its argument @dirty and the local variable @wb_dirty are mortally confusing given that the function calculates per-wb threshold value not dirty pages, especially given that @dirty and @wb_dirty are used elsewhere for dirty pages. Let's rename the function to

[PATCH 07/19] writeback: add dirty_throttle_control-wb_bg_thresh

2015-04-06 Thread Tejun Heo
wb_bg_thresh is currently treated as a second-class citizen. It's only used when BDI_CAP_STRICTLIMIT is set and balance_dirty_pages() doesn't calculate it unless the cap is set. When the cap is set, the calculated value is not passed around but instead recalculated whenever it's used.

  1   2   3   4   5   6   7   8   9   10   >