[PATCH 0/2] android: binder: resolve lru, dentry and task deadlock

2017-09-15 Thread Sherry Yang
This patch set removes the unused vma argument in update_page_range and resolves a potential deadlock between lru lock, task lock and dentry lock reported by lockdep. android: binder: Don't get mm from task android: binder: Remove unused vma argument drivers/android/binder_alloc.c | 36 ++

Re: [PATCH] clk: tegra: Use readl_relaxed_poll_timeout_atomic in tegra210_clock_init

2017-09-15 Thread Nicolin Chen
On Fri, Sep 15, 2017 at 12:31:45PM +0300, Peter De Schrijver wrote: > Apart from the typo in the commit message (preemption rather than preemtion): Sent a v2 to correct it. And included your Acked-by. Thanks > > Acked-By: Peter De Schrijver > > On Thu, Sep 14, 2017 at 06:36:14PM -0700, Nicoli

[PATCH] ASoC: davinci-mcasp: Fix an error handling path in 'davinci_mcasp_probe()'

2017-09-15 Thread Christophe JAILLET
All error handling paths in this function 'goto err' except this one. If one of the 2 previous memory allocations fails, we should go through the existing error handling path. Otherwise there is an unbalanced pm_runtime_enable()/pm_runtime_disable(). Fixes: dd55ff8346a9 ("ASoC: davinci-mcasp: Add

[PATCH] perf kmem: Perform some cleanup if '--time' is given an invalid value

2017-09-15 Thread Christophe JAILLET
If the string passed in '--time' is invalid, we must do some cleanup before leaving. As in the other error handling paths of this function. Fixes: 2a865bd8 ("perf kmem: Add option to specify time window of interest") Signed-off-by: Christophe JAILLET --- tools/perf/builtin-kmem.c | 3 ++- 1

DMA error when sg->offset value is greater than PAGE_SIZE in Intel IOMMU

2017-09-15 Thread Harsh Jain
Hi, While debugging DMA mapping error in chelsio crypto driver we observed that when scatter/gather list received by driver has some entry with page->offset > 4096 (PAGE_SIZE). It starts giving DMA error.  Without IOMMU it works fine. Before reaching to chelsio crypto driver(driver/crypto/chels

Re: [PATCH v8 10/18] RISC-V: Init and Halt Code

2017-09-15 Thread Dmitriy Cherkasov
On 09/13/2017 11:15 AM, Daniel Lezcano wrote: All this code must go in the timer side and use the TIMER_OF_DECLARE macro with the proper wrappers. Hi, thanks for the feedback. Agreed. I'll clean this up. Where is the request_per_cpu_interrupt()? What is this riscv_timer_interrupt() signat

Re: [GIT PULL] Firmware files removal for 4.14-rc1

2017-09-15 Thread Markus Trippelsdorf
On 2017.09.16 at 06:51 +0200, Markus Trippelsdorf wrote: > On 2017.09.15 at 11:56 -0700, Greg KH wrote: > > The following changes since commit 569dbb88e80deb68974ef6fdd6a13edb9d686261: > > > > Linux 4.13 (2017-09-03 13:56:17 -0700) > > > > are available in the git repository at: > > > > git://g

[PATCH] perf script: Fix error handling path

2017-09-15 Thread Christophe JAILLET
If the string passed in '--time' is invalid, or if failed to set libtraceevent function resolver, we must do some cleanup before leaving. As in the other error handling paths of this function. Signed-off-by: Christophe JAILLET --- tools/perf/builtin-script.c | 6 -- 1 file changed, 4 inserti

[PATCH] Staging: irda: Use !x instead of NULL comparison

2017-09-15 Thread Srishti Sharma
Test for NULL as !x where functions that return NULL on failure are used. Done using the following semantic patch by coccinelle. @ is_null @ expression E; statement S; @@ E = (\(kmalloc\|devm_kzalloc\|kmalloc_array\|devm_ioremap\| usb_alloc_urb\|alloc_netdev\|dev_alloc_skb\)(...)); ( if(!E) S

Re: [PATCH] acpi: watchdog: properly initialize resources

2017-09-15 Thread Mika Westerberg
On Fri, Sep 15, 2017 at 09:55:18PM +0200, Arnd Bergmann wrote: > We copy a local resource structure into a list, but only > initialize some of its members, as pointed out by gcc-4.4: > > drivers/acpi/acpi_watchdog.c: In function 'acpi_watchdog_init': > drivers/acpi/acpi_watchdog.c:105: error: 'res

<    1   2   3   4   5   6