From: Marc Zyngier Date: Sat, 20 Jan 2018 10:42:03 +0000 Subject: [U-Boot] U-Boot, cache speculation side channel attacks and ARM In-Reply-To: <20180119215614.GZ4660@bill-the-cat> References: <20180119215614.GZ4660@bill-the-cat> Message-ID: <20180120104203.7d7b4280@why.wild-wind.fr.eu.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 19 Jan 2018 16:56:14 -0500 Tom Rini wrote: > Hey all, > > So, now that things have quieted down a little bit in this area, I've > been wondering about something. Over on the U-Boot side of things, are > there changes we need to make in order to support the kernel side of the > various mitigations properly? I know that for example currently > https://developer.arm.com/support/security-update talks about ATF > patches, in the context of AArch64 however. But on the other hand for > variant 2, there's nothing listed on the Linux side for 32bit ARM, but > there is for non-Linux OSes. > > And, in the event I'm also missing something else entirely that we need > to do here, is there something that we need to be doing? Or is it still > too early at this point in time to know? I've so far posted two revisions of a small patch series that deals with variant-2 on the affected 32bit Cortex-A cores. These patches are currently stashed on the branch[1] pointed at by the web page you mentioned. A prerequisite for Cortex-A8 and A15 is that ACTLR[0] (IBE) is set from secure mode. Cortex-A12/A17 do not need this. Thanks, M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=kpti -- Without deviation from the norm, progress is not possible.