[PATCH 00/45] arm Spectre fix backport review for LTS 4.9

Pali Rohár pali.rohar at gmail.com
Thu Mar 8 09:01:53 PST 2018


On Thursday 08 March 2018 13:35:49 Marc Zyngier wrote:
> On 08/03/18 13:21, Pali Rohár wrote:
> > On Thursday 08 March 2018 13:27:15 Pavel Machek wrote:
> >> Hi!
> >>
> >>> Resent without non-upstream patches.
> >>>
> >>> This backport patchset fixed the spectre issue, it's original branch:
> >>> https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?h=kpti
> >>> A few dependency or fixingpatches are also picked up, if they are necessary
> >>>  and no functional changes.
> >>>
> >>> No bug found from kernelci.org and lkft testing. It also could be gotten from:
> >>>
> >>> git://git.linaro.org/kernel/linux-linaro-stable.git v4.9-spectre-upstream-only
> >>>
> >>> Comments are appreciated!
> >>
> >> Not entirely related to this patched, but... I have few older ARM
> >> boards here, and Nokia N9000 I really care about.
> >>
> >> AFAICT Meltdown is arm64 only?
> > 
> > IIRC ARMv7 is not affected by meltdown.
> > 
> >> Spectre affects the older boards, too, right? Was there any work done
> >> on that? cpuinfo says "ARMv7" for N900.
> > 
> > I remember that I saw some spectre patches for ARMv7 on LKML.

This is that patch series:
https://www.spinics.net/lists/arm-kernel/msg632065.html

> > In general for ARMv7 it is problematic as mitigation needs to change IBE
> 
> Not quite. IBE is part of ACTLR, which is an implementation defined
> register, so generalizing this statement to "ARMv7" is plain wrong. Case
> in point: A9, A12/A17 do not need any bit to be set. A8 needs IBE to
> allow BPIALL to work, A15 needs it for ICIALLUI to perform a BP
> invalidation.

Ok, Nokia N900 has Cortex A8.

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180308/4838585f/attachment.sig>


More information about the linux-arm-kernel mailing list