Re: [PATCH] MIPS: init cache before flashing it

2019-10-15 Thread Oleksij Rempel
On Tue, Oct 15, 2019 at 11:41:06PM +0300, Antony Pavlov wrote: > On Tue, 15 Oct 2019 18:09:45 +0200 > Oleksij Rempel wrote: > > Hi! > > Please review this thread > http://lists.infradead.org/pipermail/barebox/2019-June/038530.html > AFAIR we have to clear BSS before calling r4k_cache_init(). H

Re: [PATCH] MIPS: init cache before flashing it

2019-10-15 Thread Oleksij Rempel
Hi Antony, On Tue, Oct 15, 2019 at 11:41:06PM +0300, Antony Pavlov wrote: > On Tue, 15 Oct 2019 18:09:45 +0200 > Oleksij Rempel wrote: > > Hi! > > Please review this thread > http://lists.infradead.org/pipermail/barebox/2019-June/038530.html > AFAIR we have to clear BSS before calling r4k_cach

Re: [PATCH] MIPS: init cache before flashing it

2019-10-15 Thread Antony Pavlov
On Tue, 15 Oct 2019 18:09:45 +0200 Oleksij Rempel wrote: Hi! Please review this thread http://lists.infradead.org/pipermail/barebox/2019-June/038530.html AFAIR we have to clear BSS before calling r4k_cache_init(). -- Best regards,   Antony Pavlov > Cache information was not initialized on fl

[PATCH] MIPS: init cache before flashing it

2019-10-15 Thread Oleksij Rempel
Cache information was not initialized on flush_cache_all(). This was the reason for relatively slow boot speed on MIPS. Signed-off-by: Oleksij Rempel --- arch/mips/lib/reloc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c index 9a9e404f7e..3d