Re: [PATCH v6 0/2] DW DMAC: update device tree

2016-11-29 Thread Vinod Koul
On Fri, Nov 25, 2016 at 05:59:05PM +0300, Eugeniy Paltsev wrote: > It wasn't possible to enable some features like > memory-to-memory transfers or multi block transfers via DT. > It is fixed by these patches. Applied after adding substem name tag. -- ~Vinod _

[GIT PULL] ARC fixes for 4.9-final !

2016-11-29 Thread Vineet Gupta
Hi Linus, Please pull ARC fixes for 4.9. Thx, -Vineet --> The following changes since commit e5517c2a5a49ed5e99047008629f1cd60246ea0e: Linux 4.9-rc7 (2016-11-27 13:08:04 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vgupta/arc.git/ t

[RFC] ARC: mm: Restrict definition of pfn_valid() macro for CONFIG_FLATMEM

2016-11-29 Thread Yuriy Kolerov
Despite the fact that subtraction of unsigned integers is a defined behaviour however such operations can lead to unexpected results. Thus it is better to check both left and right boundaries to avoid potential bugs as it done in the generic page.h. Signed-off-by: Yuriy Kolerov --- arch/arc/incl

[PATCH v2] ARC: mm: Fix invalid page mapping in kernel with PAE40

2016-11-29 Thread Yuriy Kolerov
Originally pfn_pte(pfn, prot) macro is implemented incorrectly and truncates the most significant byte in the value of PTE (Page Table Entry). It leads to the creation of invalid page mapping in the kernel with PAE40 if the physical page frame resides in the memory above of 4GB boundary. The behav

RE: [PATCH] ARC: mm: PAE40: Cast pfn to pte_t in pfn_pte() macro

2016-11-29 Thread Yuriy Kolerov
> -Original Message- > From: Alexey Brodkin [mailto:abrod...@synopsys.com] > Sent: Monday, November 28, 2016 2:43 PM > To: yuriy.kole...@synopsys.com > Cc: linux-ker...@vger.kernel.org; alexey.brod...@synopsys.com; Vineet > Gupta ; linux-snps-arc@lists.infradead.org > Subject: Re: [PATCH]