Re: [PATCH] MIPS: bugfix of local_r4k_flush_icache_range - added L2 flush

2015-06-10 Thread Leonid Yegoshin
On 06/10/2015 03:28 AM, Ralf Baechle wrote: On Thu, May 28, 2015 at 01:37:24PM -0700, Leonid Yegoshin wrote: ... I was wondering why there was a cache flush at all so I dove into git history and found: commit 4676f9359fa5190ee6f42bbf2c27d28beb14d26a Author: Leonid Yegoshin Date: Tue Jan 21

Re: [PATCH] MIPS: bugfix of local_r4k_flush_icache_range - added L2 flush

2015-06-10 Thread Ralf Baechle
On Thu, May 28, 2015 at 01:37:24PM -0700, Leonid Yegoshin wrote: > This function is used to flush code used in NMI and EJTAG debug exceptions. > However, during that exceptions the Status.ERL bit is set, which means > that code runs as UNCACHABLE. So, flush code down to memory is needed. > > Sign