Re: [RFC] dma-mapping: fix dma_common_mmap() for ARC

2016-10-30 Thread Catalin Marinas
On Wed, Oct 26, 2016 at 10:22:44PM +0300, Alexey Brodkin wrote: > >8--- > arc_dma_alloc() > ioremap_nocache() AKA ioremap() > ioremap_prot() > get_vm_area() + ioremap_page_range() on obtained vaddr > >8-

Re: Build regressions/improvements in v4.9-rc3

2016-10-30 Thread Geert Uytterhoeven
On Sun, Oct 30, 2016 at 1:08 PM, Geert Uytterhoeven wrote: > Below is the list of build error/warning regressions/improvements in > v4.9-rc3[1] compared to v4.8[2]. > > Summarized: > - build errors: +176/-3 + /home/kisskb/slave/src/arch/arc/include/asm/atomic.h: Error: bad instruction `llock

[PATCH] ARC: [SMP] avoid overriding present cpumask

2016-10-30 Thread Noam Camus
From: Noam Camus At smp_prepare_cpus() we set present cpu mask as part of init for all CPUs at range [0-max_cpus]. This is done without checking if this mask is already being set. At platform of eznps this mask is already being initialized at smp_init_cpus() by using hook plat_smp_ops.init_early_