[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.2.21.2012071526120.2104409@eddie.linux-mips.org>
Date: Mon, 7 Dec 2020 15:35:23 +0000 (GMT)
From: "Maciej W. Rozycki" <macro@...ux-mips.org>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>
cc: Jinyang He <hejinyang@...ngson.cn>, linux-mips@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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
Powered by blists - more mailing lists