Re: [PATCH 1/1] nios2: implement flush_dcache_mmap_lock/unlock

2017-04-11 Thread Ley Foon Tan
On Mon, 2017-04-03 at 13:11 +0200, Julien Beraud wrote: > Use spin_lock/unlock_irq instead of doing nothing. This fixes > corruptions > of the vma_interval_tree causing the kernel to be stuck in an > infinite loop in vma_interval_tree_foreach. > > Signed-off-by: Julien Beraud

Re: [PATCH 1/1] nios2: implement flush_dcache_mmap_lock/unlock

2017-04-11 Thread Ley Foon Tan
On Mon, 2017-04-03 at 13:11 +0200, Julien Beraud wrote: > Use spin_lock/unlock_irq instead of doing nothing. This fixes > corruptions > of the vma_interval_tree causing the kernel to be stuck in an > infinite loop in vma_interval_tree_foreach. > > Signed-off-by: Julien Beraud > --- >  

[PATCH 1/1] nios2: implement flush_dcache_mmap_lock/unlock

2017-04-03 Thread Julien Beraud
Use spin_lock/unlock_irq instead of doing nothing. This fixes corruptions of the vma_interval_tree causing the kernel to be stuck in an infinite loop in vma_interval_tree_foreach. Signed-off-by: Julien Beraud --- arch/nios2/include/asm/cacheflush.h | 6

[PATCH 1/1] nios2: implement flush_dcache_mmap_lock/unlock

2017-04-03 Thread Julien Beraud
Use spin_lock/unlock_irq instead of doing nothing. This fixes corruptions of the vma_interval_tree causing the kernel to be stuck in an infinite loop in vma_interval_tree_foreach. Signed-off-by: Julien Beraud --- arch/nios2/include/asm/cacheflush.h | 6 -- 1 file changed, 4 insertions(+), 2