lkml.org 
[lkml]   [2020]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] MIPS: KASLR: Fix sync_icache() trapped in loop when synci_step is zero
On Wed, 2 Dec 2020, Thomas Bogendoerfer wrote:

> PS: Does anybody know a reason, why this code doesn't use an old fashioned
> dache/icache flushing, which might be slower but would work also on
> legecy cores ?

Hmm, this was contributed by ImgTec in 2016 only, so I guess there was no
reason as such but merely the lack of care about older systems (mind that
those people really didn't have any at that point). The option to enable
this code is only available for R2 and newer CPUs so at least we are safe.

Maciej

\
 
 \ /
  Last update: 2020-12-07 16:37    [W:0.120 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site