Re: [PATCH] doc: completion: context, scope and language fixes

2015-03-27 Thread Ingo Molnar
* Jonathan Corbet cor...@lwn.net wrote: On Fri, 20 Feb 2015 12:28:48 -0500 Nicholas Mc Guire hof...@osadl.org wrote: This hopfully address all of the issues Ingo Molnar mi...@kernel.org noted in https://lkml.org/lkml/2015/2/18/690. This looks OK to me, modulo some small English

Re: [PATCH v2] ARM: EXYNOS: Fix failed second suspend on Exynos4

2015-03-27 Thread Krzysztof Kozlowski
Dear Kukjin, How would you like to proceed? You did not respond to my email nor to Bartlomiej's questions. You questioned the soc_is_exynos(). I replied but there was no answer from you. My last reply: 2015-03-18 9:57 GMT+01:00 Krzysztof Kozlowski k.kozlow...@samsung.com: Probably

Re: [PATCH v2] sched/fair: fix update the nohz.next_balance even if we haven't done any load balance

2015-03-27 Thread Srikar Dronamraju
* Wanpeng Li wanpeng...@linux.intel.com [2015-03-27 15:52:30]: As Srikar pointed out (https://lkml.org/lkml/2015/3/27/26): | With the current code when the ilb cpus are not free: | - We would be updating the nohz.next_balance even through we havent done | any load balance. | - We might

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-27 Thread Brian Gerst
On Fri, Mar 27, 2015 at 7:17 AM, Ingo Molnar mi...@kernel.org wrote: * Denys Vlasenko dvlas...@redhat.com wrote: On 03/27/2015 09:11 AM, Ingo Molnar wrote: * Denys Vlasenko dvlas...@redhat.com wrote: This change makes the check exact (no more false positives on kernel addresses).

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-27 Thread Ingo Molnar
* Brian Gerst brge...@gmail.com wrote: On Thu, Mar 26, 2015 at 8:42 AM, Denys Vlasenko dvlas...@redhat.com wrote: This change makes the check exact (no more false positives on kernel addresses). It isn't really important to be fully correct here - almost all addresses we'll ever see

[PATCH 0/5] dmaengine: Fix memory leak amongs virt-dma users

2015-03-27 Thread Peter Ujfalusi
Hi, Due to the implementation of some of the drivers using virt-dma they leak memory by design. All it takes is to stop a transfer which is not yet completed, this includes cyclic (audio) channels also. These drivers tend to remove the vdesc-node from the virt-dma lists when they start the

[PATCH 2/5] dmaengine: omap-dma: Fix memory leak when terminating running transfer

2015-03-27 Thread Peter Ujfalusi
In omap_dma_start_desc the vdesc-node is removed from the virt-dma framework managed lists (to be precise from the desc_issued list). If a terminate_all comes before the transfer finishes the omap_desc will not be freed up because it is not in any of the lists and we stopped the DMA channel so the

Re: [PATCH v2 3/8] gpio: omap: convert debounce functions switch to use gpio offset

2015-03-27 Thread Linus Walleij
On Mon, Mar 23, 2015 at 1:18 PM, grygorii.stras...@linaro.org wrote: From: Grygorii Strashko grygorii.stras...@linaro.org Convert debounce functions to use GPIO offset instead of system GPIO numbers. This allows to drop unneeded conversations between system GPIO - GPIO offset which are done

Re: [PATCH v2 2/8] gpio: omap: simplify omap_set_gpio_dataout_x()

2015-03-27 Thread Linus Walleij
On Mon, Mar 23, 2015 at 1:18 PM, grygorii.stras...@linaro.org wrote: From: Grygorii Strashko grygorii.stras...@linaro.org Both functions omap_set_gpio_dataout_reg() and omap_set_gpio_dataout_mask() accept GPIO offset as 'gpio' input parameter, so rename it to 'offset' and drop usage of

ARM: dts: Fix wrong SoC type to build devicetrees for i.MX27

2015-03-27 Thread Juergen Borleis
Patch cb612390e5469 Only build dtb if associated Arch and/or SoC is enabled uses the wrong SoC name which prevents i.MX27 related devicetrees from build. Signed-off-by: Juergen Borleis j...@pengutronix.de diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index

Re: [PATCH 03/17] x86, mpx: trace #BR exceptions

2015-03-27 Thread Borislav Petkov
Adding rostedt for the TPs. Steve, please take a look at the rest of the patchset too, there are more tracepoints being added. On Thu, Mar 26, 2015 at 11:33:36AM -0700, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com This is the first in a series of MPX tracing patches.

Re: [PATCH 14/25] perf symbols: Save DSO loading errno to better report errors

2015-03-27 Thread Borislav Petkov
On Tue, Mar 24, 2015 at 01:19:29PM -0300, Arnaldo Carvalho de Melo wrote: From: Arnaldo Carvalho de Melo a...@redhat.com Before, when some problem happened while trying to load the kernel symtab, 'perf top' would show: ┌─Warning:───┐ │The vmlinux file

[GIT PULL] sound fixes for 4.0-rc6

2015-03-27 Thread Takashi Iwai
Linus, please pull sound fixes for v4.0-rc6 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.0-rc6 The topmost commit is af95b41426e0b58279f8ff0ebe420df49a4e96b8 sound fixes for 4.0-rc6 Three

[PATCH 4/4] x86/asm/entry/32: Use PUSH instructions to build pt_regs on stack

2015-03-27 Thread Denys Vlasenko
This mimics the recent similar 64-bit change. Saves ~110 bytes of code. Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Steven Rostedt rost...@goodmis.org CC: Ingo Molnar mi...@kernel.org CC: Borislav Petkov b...@alien8.de CC: H. Peter Anvin

[PATCH 3/4] x86/asm/entry/32: Make register zero-extension more prominent

2015-03-27 Thread Denys Vlasenko
It was mentioned that people keep trying to optimize them out, introducing bugs. Make them more visible, and add do not remove comment. Signed-off-by: Denys Vlasenko dvlas...@redhat.com CC: Linus Torvalds torva...@linux-foundation.org CC: Steven Rostedt rost...@goodmis.org CC: Ingo Molnar

[PATCH 2/4] x86/asm/entry/32: Update interrupt off comments

2015-03-27 Thread Denys Vlasenko
The existing comment has proven to be not very clear. Replace it with comment similar to one we now have in 64-bit syscall entry point. (Three instances, one per 32-bit syscall entry). In int80 entry point's CFI annotations, replace mysterious expressions with numric constants. In this case, raw

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-27 Thread Denys Vlasenko
On 03/27/2015 09:11 AM, Ingo Molnar wrote: * Denys Vlasenko dvlas...@redhat.com wrote: This change makes the check exact (no more false positives on kernel addresses). It isn't really important to be fully correct here - almost all addresses we'll ever see will be userspace ones, but

[RESEND PATCH 1/2] ARM: EXYNOS: Handle of of_iomap() failure

2015-03-27 Thread Krzysztof Kozlowski
Prevent possible NULL pointer dereference if of_iomap() fails. Handle the error by skipping such power domain. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- arch/arm/mach-exynos/pm_domains.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[RESEND PATCH 2/2] ARM: EXYNOS: Handle of_find_device_by_node and kstrdup failures

2015-03-27 Thread Krzysztof Kozlowski
Prevent possible NULL pointer dereference of pointer returned by of_find_device_by_node(). Handle this by skipping such power domain. Additionally fail the init on kstrdup() failure. Such case is actually not fatal because the name for power domain allocated by kstrdup() is used only in printk.

[RFC] i.MX25/35/SDHCI: switch off DMA usage

2015-03-27 Thread Juergen Borleis
DMA and the required overhead on very small data blocks seems an expensive operation. Due to erratum ENGCM07207 for i.MX25 and i.MX35 SoCs the support for multiblock transfers is disabled which results into a huge amount of single 512 byte sector transfers and interrupts. This slows down the

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-03-27 Thread Michal Simek
Hi Mark, On 03/08/2015 08:00 PM, Mark Brown wrote: On Fri, Jan 16, 2015 at 01:55:14PM +0100, Michal Simek wrote: Use standard num-cs binding property and setup xlnx,num-ss-bits as deprecated. Why? These properties mean different things - num-cs is a bit confused and is the total number of

Re: [PATCH 10/16] iommu/tegra-gart: Make use of domain_alloc and domain_free

2015-03-27 Thread Thierry Reding
On Thu, Mar 26, 2015 at 01:43:13PM +0100, Joerg Roedel wrote: From: Joerg Roedel jroe...@suse.de Implement domain_alloc and domain_free iommu-ops as a replacement for domain_init/domain_destroy. Signed-off-by: Joerg Roedel jroe...@suse.de --- drivers/iommu/tegra-gart.c | 67

Re: [Intel-gfx] [Linux v4.0-rc5] Warnings in drm_framebuffer_reference() and drm_atomic_check_only()

2015-03-27 Thread Takashi Iwai
At Fri, 27 Mar 2015 12:01:33 +0100, Sedat Dilek wrote: On Wed, Mar 25, 2015 at 3:34 PM, Takashi Iwai ti...@suse.de wrote: At Wed, 25 Mar 2015 14:26:50 +0100, Daniel Vetter wrote: On Tue, Mar 24, 2015 at 07:09:03PM +0100, Sedat Dilek wrote: On Mon, Mar 23, 2015 at 9:25 AM, Daniel

Re: [LKP] [xfs] 834ffca6f7e: WARNING: CPU: 3 PID: 23390 at fs/xfs/xfs_file.c:700 xfs_file_dio_aio_write+0x27c/0x2e0()

2015-03-27 Thread Dave Chinner
On Fri, Mar 27, 2015 at 08:32:23AM +0800, Huang Ying wrote: On Fri, 2015-03-27 at 08:22 +1100, Dave Chinner wrote: On Thu, Mar 26, 2015 at 02:45:19PM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work

2015-03-27 Thread Christoph Lameter
On Fri, 27 Mar 2015, Peter Zijlstra wrote: We could align the base on 8 bytes to gain an extra bit in the pointer and use that bit to indicate the running state. Then these sites can spin on that bit while we can change the actual base pointer. Even though tvec_base has

Re: [PATCH] doc: completion: context, scope and language fixes

2015-03-27 Thread Ingo Molnar
* Nicholas Mc Guire der.h...@hofr.at wrote: On Fri, 27 Mar 2015, Peter Zijlstra wrote: On Fri, Mar 27, 2015 at 08:56:37AM +0100, Ingo Molnar wrote: I wasn't Cc:-ed to the patch and it wasn't Cc:-ed to lkml either :-( /me hands mingo a strong cup of tea...

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-27 Thread Brian Gerst
On Thu, Mar 26, 2015 at 8:42 AM, Denys Vlasenko dvlas...@redhat.com wrote: This change makes the check exact (no more false positives on kernel addresses). It isn't really important to be fully correct here - almost all addresses we'll ever see will be userspace ones, but OTOH it looks to be

[PATCH] drm/i915: fix simple_return.cocci warnings

2015-03-27 Thread kbuild test robot
drivers/gpu/drm/i915/i915_gem_gtt.c:1349:1-4: WARNING: end returns can be simpified and declaration on line 1347 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Michel Thierry

[tip:perf/core] perf/x86/intel: Add new cache events table for Haswell

2015-03-27 Thread tip-bot for Andi Kleen
Commit-ID: 0f1b5ca240c65ed9533f193720f337bf24fb2f2f Gitweb: http://git.kernel.org/tip/0f1b5ca240c65ed9533f193720f337bf24fb2f2f Author: Andi Kleen a...@linux.intel.com AuthorDate: Tue, 17 Feb 2015 18:18:04 -0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 27 Mar 2015 09:14:01

[PATCH] mm/x86: AMD Bulldozer ASLR fix

2015-03-27 Thread Hector Marco-Gisbert
A bug in Linux ASLR implementation which affects some AMD processors has been found. The issue affects to all Linux process even if they are not using shared libraries (statically compiled). The problem appears because some mmapped objects (VDSO, libraries, etc.) are poorly randomized in an

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-27 Thread Ingo Molnar
* Denys Vlasenko dvlas...@redhat.com wrote: This change makes the check exact (no more false positives on kernel addresses). It isn't really important to be fully correct here - almost all addresses we'll ever see will be userspace ones, but OTOH it looks to be cheap enough: the new code

Re: [PATCH 21/27] watchdog: bcm281xx: Remove use of seq_printf return value

2015-03-27 Thread Wim Van Sebroeck
Hi Joe, The seq_printf return value, because it's frequently misused, will eventually be converted to void. See: commit 1f33c41c03da (seq_file: Rename seq_overflow() to seq_has_overflowed() and make public) Signed-off-by: Joe Perches j...@perches.com ---

[PATCH v2] sched/fair: fix update the nohz.next_balance even if we haven't done any load balance

2015-03-27 Thread Wanpeng Li
As Srikar pointed out (https://lkml.org/lkml/2015/3/27/26): | With the current code when the ilb cpus are not free: | - We would be updating the nohz.next_balance even through we havent done | any load balance. | - We might iterate thro the nohz.idle_cpus_mask()s to find balance_cpus. This

Re: [PATCH 2/3] x86: add a is_e820_ram() helper

2015-03-27 Thread Christoph Hellwig
On Thu, Mar 26, 2015 at 03:59:28PM -0700, Yinghai Lu wrote: What do you want to get here? You did not modify memblock_x86_fill() to treat E820_PRAM as E820_RAM, so memblock will not have any entry for E820_PRAM, so you do not need to call memblock_reserve there. And the same time,

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

2015-03-27 Thread Christoph Hellwig
On Thu, Mar 26, 2015 at 08:28:24PM -0700, Andrew Morton wrote: I still don't understand why pwritev() exists. We discussed this last time but it seems nothing has changed. I'm not seeing here an adequate description of why it exists nor a justification for its addition. pwritev2? I have

[PATCH 2/3] staging: unisys: use error codes

2015-03-27 Thread Sudip Mukherjee
we were just returning -1 to the calling function which was again returning that if the module failed to load. Now we are returning the actual error codes. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- drivers/staging/unisys/visorchipset/file.c | 12 +++- 1 file changed, 7

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

2015-03-27 Thread Andrew Morton
On Fri, 27 Mar 2015 01:18:22 -0700 Christoph Hellwig h...@infradead.org wrote: On Thu, Mar 26, 2015 at 08:28:24PM -0700, Andrew Morton wrote: I still don't understand why pwritev() exists. We discussed this last time but it seems nothing has changed. I'm not seeing here an adequate

Re: [RFC] simple_char: New infrastructure to simplify chardev management

2015-03-27 Thread Christoph Hellwig
Thoughts? I want to use this for the u2f driver, which will either be a chardev driver in its own right or use a simple new iso7816 class. Ideally we could convert a bunch of drivers to use this, at least where there are no legacy minor number considerations. I'd really like to see a few

Re: [RFC] gpio: add set_active_low() function to gpio_chip

2015-03-27 Thread Linus Walleij
On Wed, Mar 18, 2015 at 9:16 PM, David Cohen david.a.co...@linux.intel.com wrote: +++ b/drivers/gpio/gpiolib-sysfs.c @@ -289,11 +289,15 @@ static DEVICE_ATTR(edge, 0644, gpio_edge_show, gpio_edge_store); static int sysfs_set_active_low(struct gpio_desc *desc, struct device *dev,

Re: [PATCH 2/3] staging: unisys: use error codes

2015-03-27 Thread Greg Kroah-Hartman
On Fri, Mar 27, 2015 at 02:00:58PM +0530, Sudip Mukherjee wrote: we were just returning -1 to the calling function which was again returning that if the module failed to load. Now we are returning the actual error codes. Signed-off-by: Sudip Mukherjee su...@vectorindia.org ---

Re: [PATCH v7 2/5] power: max77843_charger: Add Max77843 charger device driver

2015-03-27 Thread Beomho Seo
On 03/27/2015 04:57 PM, Lee Jones wrote: On Fri, 27 Mar 2015, Beomho Seo wrote: On 03/26/2015 10:54 PM, Lee Jones wrote: On Thu, 26 Mar 2015, Beomho Seo wrote: On 03/24/2015 05:38 PM, Krzysztof Kozlowski wrote: 2015-03-24 9:01 GMT+01:00 Beomho Seo beomho@samsung.com: On 03/10/2015 10:44

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-27 Thread Borislav Petkov
On Thu, Mar 26, 2015 at 11:45:19AM -0700, Andy Lutomirski wrote: I suspect that the two added ALU ops are free for all practical purposes, and the performance of this path isn't *that* critical. If anyone is running with vsyscall=native because they need the performance, then this would be a

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

2015-03-27 Thread Andrew Morton
On Fri, 27 Mar 2015 01:48:33 -0700 Christoph Hellwig h...@infradead.org wrote: On Fri, Mar 27, 2015 at 01:35:16AM -0700, Andrew Morton wrote: fincore() doesn't have to be ugly. Please address the design issues I raised. How is pread2() useful to the class of applications which cannot

[PATCH 1/6] clk: make strings in parent name arrays const

2015-03-27 Thread Sascha Hauer
The clk functions and structs declare the parent_name arrays as 'const char **parent_names' which means the parent name strings are const, but the array itself is not. Use 'const char * const * parent_names' instead which also makes the array const. This allows us to put the parent_name arrays

[PATCH 3/6] clk: mediatek: Add reset controller support

2015-03-27 Thread Sascha Hauer
The pericfg and infracfg units also provide reset lines to several other SoC internal units. Add support for the reset controller. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/clk-mtk.h | 10 + drivers/clk/mediatek/reset.c

[GIT PULL] SELinux bugfix

2015-03-27 Thread James Morris
Please pull this fix for a long-standing bug in the SELinux code. The following changes since commit 3c435c1e472ba344ee25f795f4807d4457e61f6c: Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux (2015-03-26 15:04:05 -0700) are available in the git repository at:

[PATCH v9]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-27 Thread Sascha Hauer
This patchset contains the initial common clock support for Mediatek SoCs. Mediatek SoC's clock architecture comprises of various PLLs, dividers, muxes and clock gates. Changes in v9: - rename 'lock' to 'mt81xx_clk_lock' to get better lockdep output Changes in v8: - add patch to allow to put

Re: [PATCH v14 for 4.1] sys_membarrier(): system-wide memory barrier (x86)

2015-03-27 Thread Paul E. McKenney
On Wed, Mar 25, 2015 at 03:03:47PM -0400, Mathieu Desnoyers wrote: Here is an implementation of a new system call, sys_membarrier(), which executes a memory barrier on all threads running on the system. It is implemented by calling synchronize_sched(). It can be used to distribute the cost of

[PATCH] ramoops: make it possible to change mem_type param.

2015-03-27 Thread Wang Long
If we set ramoops.mem_type=1 in command line, the current code can not change mem_type to 1, because it is assigned to 0 in function ramoops_register_dummy. This patch make it possible to change mem_type parameter in command line. Signed-off-by: Wang Long long.wangl...@huawei.com ---

Re: [PATCH 0/2 RESEND] IB/Verbs: Use helpers to refine the checking on transport and link layer

2015-03-27 Thread Michael Wang
Hi, Jason Thanks for the reply :-) On 03/26/2015 10:13 PM, Jason Gunthorpe wrote: On Thu, Mar 26, 2015 at 05:58:20PM +0100, Michael Wang wrote: The questions is just wondering how the transition method could be, but if we have to do the changes for vendor, that sounds like a tough job... I

[PATCH v6] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-27 Thread Martin Kepplinger
From: Martin Kepplinger martin.kepplin...@theobroma-systems.com The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host

[tip:timers/core] timers, sched/clock: Remove suspend from clock_read_data()

2015-03-27 Thread tip-bot for Daniel Thompson
Commit-ID: 13dbeb384d2d3aa555ea48d511e8cb110bd172e0 Gitweb: http://git.kernel.org/tip/13dbeb384d2d3aa555ea48d511e8cb110bd172e0 Author: Daniel Thompson daniel.thomp...@linaro.org AuthorDate: Thu, 26 Mar 2015 12:23:24 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 27 Mar

[tip:timers/core] timers, sched/clock: Optimize cache line usage

2015-03-27 Thread tip-bot for Daniel Thompson
Commit-ID: cf7c9c170787d6870af54684822f58acc00a966c Gitweb: http://git.kernel.org/tip/cf7c9c170787d6870af54684822f58acc00a966c Author: Daniel Thompson daniel.thomp...@linaro.org AuthorDate: Thu, 26 Mar 2015 12:23:23 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 27 Mar

[tip:timers/core] timers, sched/clock: Avoid deadlock during read from NMI

2015-03-27 Thread tip-bot for Daniel Thompson
Commit-ID: 1809bfa44e1019e397fabaa6f2349bb7237e57a4 Gitweb: http://git.kernel.org/tip/1809bfa44e1019e397fabaa6f2349bb7237e57a4 Author: Daniel Thompson daniel.thomp...@linaro.org AuthorDate: Thu, 26 Mar 2015 12:23:26 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 27 Mar

[tip:timers/core] timers, sched/clock: Match scope of read and write seqcounts

2015-03-27 Thread tip-bot for Daniel Thompson
Commit-ID: 8710e914027e4f64058ebbf0501cc6db3cc8454f Gitweb: http://git.kernel.org/tip/8710e914027e4f64058ebbf0501cc6db3cc8454f Author: Daniel Thompson daniel.thomp...@linaro.org AuthorDate: Thu, 26 Mar 2015 12:23:22 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 27 Mar

Re: [PATCH v6] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-27 Thread Dan Carpenter
On Fri, Mar 27, 2015 at 08:38:55AM +0100, Martin Kepplinger wrote: From: Martin Kepplinger martin.kepplin...@theobroma-systems.com The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded

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

2015-03-27 Thread Volker Lendecke
On Thu, Mar 26, 2015 at 11:08:33PM -0700, Andrew Morton wrote: On Fri, 27 Mar 2015 06:41:25 +0100 Volker Lendecke volker.lende...@sernet.de wrote: On Thu, Mar 26, 2015 at 08:28:24PM -0700, Andrew Morton wrote: A thing which bugs me about pread2() is that it is specifically tailored to

Re: [PATCH] sched/fair: fix update the nohz.next_balance even if we haven't done any load balance

2015-03-27 Thread Wanpeng Li
On Fri, Mar 27, 2015 at 12:58:22AM -0700, Jason Low wrote: On Fri, 2015-03-27 at 15:25 +0800, Wanpeng Li wrote: As Srikar pointed out (https://lkml.org/lkml/2015/3/27/26): | With the current code when the ilb cpus are not free: | - We would be updating the nohz.next_balance even through we

Re: [PATCH v3 04/15] clocksource: Add ARM System timer driver

2015-03-27 Thread Daniel Lezcano
On 03/26/2015 09:19 PM, Maxime Coquelin wrote: Hi Daniel, Thanks for the review. Please find my answers below. 2015-03-26 10:50 GMT+01:00 Daniel Lezcano daniel.lezc...@linaro.org: On 03/12/2015 10:55 PM, Maxime Coquelin wrote: From: Maxime Coquelin mcoquelin.st...@gmail.com This patch

Re: [PATCH 1/3] staging: unisys: unregister chardev on error

2015-03-27 Thread Greg Kroah-Hartman
On Fri, Mar 27, 2015 at 02:00:57PM +0530, Sudip Mukherjee wrote: after registering the major numbers if the cdev_add fails then we were not releasing the major numbers. now we are doing that. Signed-off-by: Sudip Mukherjee su...@vectorindia.org ---

Re: [V4.0-rc5 Regression] drm/intel problem

2015-03-27 Thread Jörg Otte
2015-03-27 8:03 GMT+01:00 Kalle Valo kv...@codeaurora.org: Linus Torvalds torva...@linux-foundation.org writes: can you verify/confirm that current git works for you? And if not, maybe bisect exactly where it happened? I had a similar problem as Jörg on my Lenovo x230, display black on -rc5

Re: [PATCH 0/2] tc3589x OF only enforcement

2015-03-27 Thread Linus Walleij
On Thu, Mar 19, 2015 at 3:52 PM, Linus Walleij linus.wall...@linaro.org wrote: These two patches removes the non-DT probe/config path from the TC3589x driver. I suggest merging both through the MFD tree if Dmitry can ACK the input patch. Lee it seems Dmitry ACKed these patches, can you merge

[PATCH 2/6] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-03-27 Thread Sascha Hauer
From: James Liao jamesjj.l...@mediatek.com This patch adds common clock support for Mediatek SoCs, including plls, muxes and clock gates. Signed-off-by: James Liao jamesjj.l...@mediatek.com Signed-off-by: Henry Chen henryc.c...@mediatek.com Signed-off-by: Sascha Hauer s.ha...@pengutronix.de ---

[PATCH 5/6] clk: mediatek: Add basic clocks for Mediatek MT8173.

2015-03-27 Thread Sascha Hauer
From: James Liao jamesjj.l...@mediatek.com This patch adds basic clocks for MT8173, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao jamesjj.l...@mediatek.com Signed-off-by: Henry Chen henryc.c...@mediatek.com Signed-off-by: Sascha Hauer s.ha...@pengutronix.de ---

Re: [PATCH 1/1] livepatch: add support on s390

2015-03-27 Thread Heiko Carstens
On Thu, Mar 26, 2015 at 07:24:58PM +0100, Jiri Kosina wrote: On Thu, 26 Mar 2015, Jiri Slaby wrote: This is a trivial port from kGraft. Module relocations are not supported. Signed-off-by: Jiri Slaby jsl...@suse.cz --- [v2] return ENOSYS [v3] proper return value from

[PATCH 4/6] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-03-27 Thread Sascha Hauer
From: James Liao jamesjj.l...@mediatek.com This patch adds basic clocks for MT8135, including TOPCKGEN, PLLs, INFRA and PERI clocks. Signed-off-by: James Liao jamesjj.l...@mediatek.com Signed-off-by: Henry Chen henryc.c...@mediatek.com Signed-off-by: Sascha Hauer s.ha...@pengutronix.de ---

[PATCH 6/6] dt-bindings: ARM: Mediatek: Document devicetree bindings for clock/reset controllers

2015-03-27 Thread Sascha Hauer
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- .../bindings/arm/mediatek/mediatek,apmixedsys.txt | 23 + .../bindings/arm/mediatek/mediatek,infracfg.txt| 30 ++ .../bindings/arm/mediatek/mediatek,pericfg.txt | 30 ++

Re: [PATCH] MIPS: Loongson-3: remove deprecated IRQF_DISABLED

2015-03-27 Thread Ralf Baechle
On Thu, Mar 26, 2015 at 06:33:41PM -0700, Michael Opdenacker wrote: This removes the use of the IRQF_DISABLED flag from arch/mips/loongson/loongson-3/hpet.c It's a NOOP since 2.6.35. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com An equivalent patch has been

Re: [PATCH] [RESEND][TRIVIAL] treewide: fix occurrences of the the

2015-03-27 Thread Jiri Kosina
On Thu, 26 Mar 2015, Michael Opdenacker wrote: 222 files changed, 493 insertions(+), 258 deletions(-) Is this patch getting too big (and getting bigger and bigger) to be ever merged? Unless you tell me otherwise, I'm thinking about splitting it into several patches, one for each

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-27 Thread Tomasz Figa
Hi Yong Wu, Sorry for long delay, I had to figure out some time to look at this again. On Wed, Mar 18, 2015 at 8:22 PM, Yong Wu yong...@mediatek.com wrote: + imudev = piommu-dev; + + spin_lock_irqsave(priv-portlock, flags); What is protected by this spinlock?

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

2015-03-27 Thread Volker Lendecke
On Fri, Mar 27, 2015 at 02:01:59AM -0700, Andrew Morton wrote: On Fri, 27 Mar 2015 01:48:33 -0700 Christoph Hellwig h...@infradead.org wrote: On Fri, Mar 27, 2015 at 01:35:16AM -0700, Andrew Morton wrote: fincore() doesn't have to be ugly. Please address the design issues I raised.

Re: [PATCH 2/3] staging: unisys: use error codes

2015-03-27 Thread Sudip Mukherjee
On Fri, Mar 27, 2015 at 09:47:16AM +0100, Greg Kroah-Hartman wrote: On Fri, Mar 27, 2015 at 02:00:58PM +0530, Sudip Mukherjee wrote: } rc = cdev_add(file_cdev, MKDEV(MAJOR(major_dev), 0), 1); if (rc 0) { unregister_chrdev_region(major_dev, 1); -

[tip:timers/core] timers, sched/clock: Remove redundant notrace from update function

2015-03-27 Thread tip-bot for Daniel Thompson
Commit-ID: 9fee69a8c8070b38b558161a3f18bd5e2b664682 Gitweb: http://git.kernel.org/tip/9fee69a8c8070b38b558161a3f18bd5e2b664682 Author: Daniel Thompson daniel.thomp...@linaro.org AuthorDate: Thu, 26 Mar 2015 12:23:25 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 27 Mar

[PATCH] sched/fair: fix update the nohz.next_balance even if we haven't done any load balance

2015-03-27 Thread Wanpeng Li
As Srikar pointed out (https://lkml.org/lkml/2015/3/27/26): | With the current code when the ilb cpus are not free: | - We would be updating the nohz.next_balance even through we havent done | any load balance. | - We might iterate thro the nohz.idle_cpus_mask()s to find balance_cpus. This

Re: Re: [PATCH v4 3/3] vt: fix console lock vs. kernfs s_active lock order

2015-03-27 Thread Daniel Vetter
On Thu, Mar 26, 2015 at 11:05:45PM +0200, Imre Deak wrote: On Thu, 2015-03-26 at 22:01 +0100, Greg Kroah-Hartman wrote: On Thu, Mar 26, 2015 at 12:59:05PM -0700, Jesse Barnes wrote: On 12/16/2014 09:42 AM, Daniel Vetter wrote: On Tue, Dec 16, 2014 at 6:15 PM, Peter Hurley

Re: [PATCH] sched/fair: fix update the nohz.next_balance even if we haven't done any load balance

2015-03-27 Thread Jason Low
On Fri, 2015-03-27 at 15:25 +0800, Wanpeng Li wrote: As Srikar pointed out (https://lkml.org/lkml/2015/3/27/26): | With the current code when the ilb cpus are not free: | - We would be updating the nohz.next_balance even through we havent done | any load balance. | - We might iterate

Re: [PATCH 0/3] arm: msm: Use timer DT node for qcom watchdog config

2015-03-27 Thread Wim Van Sebroeck
Hi Mathieu, This change is done as a follow-up to the following thread: https://lkml.org/lkml/2014/10/1/436 qcom-wdt is currently assuming the presence of a dedicated node in DT to gets its configuration. However, on msm architecture, the watchdog is usually part of the timer block. So

[GIT PULL REQUEST] watchdog - v4.0-rc5 Fixes

2015-03-27 Thread Wim Van Sebroeck
Hi Linus, Please pull from 'master' branch of git://www.linux-watchdog.org/linux-watchdog.git It will fix the following issues: * mtk_wdt: signedness bug in mtk_wdt_start() * imgpdc: Fix probe NULL pointer dereference during probe and fix the default heartbeat This will update the

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-03-27 Thread Wolfram Sang
just to give you an update: I do have some code, but it is a bit messy, and it doesn't work well for ds2482 (the chip behind it still hangs up if I access it in parallel through i2c-dev). On top of that, it causes pretty significant slow-downs when accessing other devices on the same bus at

Re: [PATCH v3] led/led-class: Handle LEDs with the same name

2015-03-27 Thread Ricardo Ribalda Delgado
Hi Sakari cc: adding Greg (core and FormatGuard) and Chistopher (sparse) I just realised there was another issue --- the name is now interpreted as format string. Bad things will happen if there's e.g. %s in the name itself --- perhaps unlikely, but possible. Good catch! Would it be

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

2015-03-27 Thread Christoph Hellwig
On Fri, Mar 27, 2015 at 09:02:51AM +0100, Volker Lendecke wrote: No, this is not the case. Maybe my whole understanding of pread is wrong: I always thought that it won't return short if the file spans the pread range. EINTR nonwithstanding. Per Posix it could, however if we do it for regular

Re: [PATCH v6] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-27 Thread Greg KH
On Fri, Mar 27, 2015 at 08:38:55AM +0100, Martin Kepplinger wrote: From: Martin Kepplinger martin.kepplin...@theobroma-systems.com The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded

Re: [PATCH 35/35 linux-next] pinctrl: constify of_device_id array

2015-03-27 Thread Linus Walleij
On Mon, Mar 16, 2015 at 8:59 PM, Fabian Frederick f...@skynet.be wrote: of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick f...@skynet.be Patch applied with the ACKs. Had to do some fixup on some MTK controllers, no

Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices.

2015-03-27 Thread Dr. H. Nikolaus Schaller
Hi, Am 26.03.2015 um 19:08 schrieb Sebastian Reichel s...@kernel.org: Hi, On Wed, Mar 25, 2015 at 05:44:42PM +0100, Dr. H. Nikolaus Schaller wrote: Am 25.03.2015 um 16:21 schrieb Sebastian Reichel s...@kernel.org: On Wed, Mar 25, 2015 at 08:59:14AM +0100, Dr. H. Nikolaus Schaller wrote:

Re: [PATCH v9]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-27 Thread Sascha Hauer
On Fri, Mar 27, 2015 at 10:18:39AM +0100, Sascha Hauer wrote: This patchset contains the initial common clock support for Mediatek SoCs. Mediatek SoC's clock architecture comprises of various PLLs, dividers, muxes and clock gates. Can be pulled here: The following changes since commit

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-03-27 Thread Richard Weinberger
Am 27.03.2015 um 07:34 schrieb Hajime Tazaki: it (arch/lib) is a hardware-independent architecture which provides necessary features to the remainder of kernel code, isn't it ? The stuff in arch/ is the code to glue the kernel to a specific piece of hardware. Your code does something

Re: [PATCH 4/6] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-03-27 Thread Sascha Hauer
On Fri, Mar 27, 2015 at 12:39:50AM -0700, Stephen Boyd wrote: On 03/19, Sascha Hauer wrote: diff --git a/drivers/clk/mediatek/clk-mt8135.c b/drivers/clk/mediatek/clk-mt8135.c new file mode 100644 index 000..a22f6fa --- /dev/null +++ b/drivers/clk/mediatek/clk-mt8135.c @@ -0,0

[PATCH v2 1/2] pinctrl: Add driver for Alphascale asm9260 pinctrl

2015-03-27 Thread Oleksij Rempel
This patch adds driver for Alphascale asm9260 pinctrl support. Alphascale asm9260t is SoC based on ARM926EJ (240MHz) in LQFP176 package. On silicon are: - 32MB SDRAM - USB2.0 HS/OTG - 2x CAN - SD/MMC - 5x Times/PWM - 10x USART - 24-channel DMA - 2x i2c - 2x SPI - Quad SPI - 10/100 Ethernet MAC -

[PATCH v2 2/2] pinctrl: asm9260: add pinctrl add device tree bindings documentation

2015-03-27 Thread Oleksij Rempel
Add device tree bindings documentation for Alphascale asm9260 pin controller Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- .../pinctrl/alphascale,asm9260-pinctrl.txt | 76 ++ 1 file changed, 76 insertions(+) create mode 100644

[PATCH v2 0/2] Add driver and documentation for Alphascale asm9260 pinctrl

2015-03-27 Thread Oleksij Rempel
Oleksij Rempel (2): pinctrl: Add driver for Alphascale asm9260 pinctrl pinctrl: asm9260: add pinctrl add device tree bindings documentation .../pinctrl/alphascale,asm9260-pinctrl.txt | 76 +++ drivers/pinctrl/Kconfig| 8 + drivers/pinctrl/Makefile

Re: [patch][resend] MAP_HUGETLB munmap fails with size not 2MB aligned

2015-03-27 Thread Vlastimil Babka
On 03/26/2015 08:39 PM, Davide Libenzi wrote: On Thu, 26 Mar 2015, David Rientjes wrote: Yes, this munmap() behavior of lengths = hugepage_size - PAGE_SIZE for a hugetlb vma is long standing and there may be applications that break as a result of changing the behavior: a database that

Re: [PATCH] doc: completion: context, scope and language fixes

2015-03-27 Thread Peter Zijlstra
On Fri, Mar 27, 2015 at 08:56:37AM +0100, Ingo Molnar wrote: I wasn't Cc:-ed to the patch and it wasn't Cc:-ed to lkml either :-( /me hands mingo a strong cup of tea... http://marc.info/?l=linux-kernelm=142445364429042w=2 -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v2] rculist: Fix another sparse warning

2015-03-27 Thread Paul E. McKenney
On Thu, Mar 26, 2015 at 01:27:08PM +0800, Ying Xue wrote: This fixes the following sparse warnings: make C=1 CF=-D__CHECK_ENDIAN__ net/tipc/name_table.o net/tipc/name_table.c:977:17: error: incompatible types in comparison expression (different address spaces) net/tipc/name_table.c:977:17:

Re: [GIT PULL 0/6] perf/core improvements and fixes

2015-03-27 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit baa5a7bc5dd069bb37de9c8bdb5ea7f4e2e939e9: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into

[tip:perf/core] perf timechart: Fix SIBGUS error on sparc64

2015-03-27 Thread tip-bot for David Ahern
Commit-ID: e94eedab3ab8201fd41480171b2fabbf3c5b1ae0 Gitweb: http://git.kernel.org/tip/e94eedab3ab8201fd41480171b2fabbf3c5b1ae0 Author: David Ahern david.ah...@oracle.com AuthorDate: Tue, 24 Mar 2015 16:14:09 -0400 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 26

Re: [PATCH 4/6] clk: mediatek: Add basic clocks for Mediatek MT8135.

2015-03-27 Thread Stephen Boyd
On 03/19, Sascha Hauer wrote: diff --git a/drivers/clk/mediatek/clk-mt8135.c b/drivers/clk/mediatek/clk-mt8135.c new file mode 100644 index 000..a22f6fa --- /dev/null +++ b/drivers/clk/mediatek/clk-mt8135.c @@ -0,0 +1,640 @@ +/* + * Copyright (c) 2014 MediaTek Inc. + * Author: James

Re: [PATCH v8]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-27 Thread Stephen Boyd
On 03/27, Sascha Hauer wrote: Mike, Stephen, Any chance to get this forward please? Looks ok to me except for the minor nitpick on lock names. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from this list:

Re: [PATCH] watchdog: cadence: Remove Kconfig dependency on ARCH

2015-03-27 Thread Wim Van Sebroeck
Hi Michal, Remove Kconfig dependency and enable driver for all ARCHs. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Test for all archs done by Kbuild test robot without any problem. --- drivers/watchdog/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH V2 1/2] ARM: dts: DRA7: Add bandgap and related thermal nodes

2015-03-27 Thread Keerthy
On Friday 27 March 2015 11:32 AM, Keerthy wrote: On Tuesday 24 March 2015 01:09 AM, Nishanth Menon wrote: From: Keerthy j-keer...@ti.com Add bandgap and related thermal nodes. The patch adds 5 thermal sensors. Only one cooling device for mpu as of now. The sensors are the exact same on

Re: [virtio-dev] Re: [PATCH] Add virtio gpu driver.

2015-03-27 Thread Gerd Hoffmann
Hi, Completely different thing crossing my mind: I think we can make virtio-vga fully compatible with stdvga. stdvga has two bars, memory (#0) and mmio (#2). We can make the mmio bar larger and place all the virtio regions there. Full compatibility with some standard sounds

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