Linux on ARM based TI OMAP SoCs
 help / color / mirror / Atom feed
From: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
To: "Pali Rohár" <pali.rohar@gmail.com>, "Pavel Machek" <pavel@ucw.cz>
Cc: abcloriens@gmail.com, aaro.koskinen@iki.fi, tony@atomide.com,
	"Catalin Marinas" <catalin.marinas@arm.com>,
	khilman@kernel.org, "Will Deacon" <will.deacon@arm.com>,
	sre@kernel.org, stable@vger.kernel.org,
	linux-kernel@vger.kernel.org, martijn@brixit.nl,
	"Filip Matijević" <filip.matijevic.pz@gmail.com>,
	clayton@craftyguy.net, sakari.ailus@linux.intel.com,
	"Marc Zyngier" <marc.zyngier@arm.com>,
	"Alex Shi" <alex.shi@linaro.org>,
	linux-omap@vger.kernel.org,
	"Ard Biesheuvel" <ard.biesheuvel@linaro.org>,
	patrikbachan@gmail.com, linux-arm-kernel@lists.infradead.org,
	serge@hallyn.com
Subject: Re: [PATCH 00/45] arm Spectre fix backport review for LTS 4.9
Date: Thu, 8 Mar 2018 15:33:58 +0200	[thread overview]
Message-ID: <36c7b85a-dadb-6e05-6c19-58c6ff6ae728@gmail.com> (raw)
In-Reply-To: <20180308132139.apabmgw4magrp3d7@pali>

Hi,

On  8.03.2018 15: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.
> 
> In general for ARMv7 it is problematic as mitigation needs to change IBE
> bit which is not possible on OMAP HS devices. But for Nokia N900 there
> is special code which do it via smc instruction (function
> rx51_secure_update_aux_cr(), see also nokia_n900_legacy_init()).
> 

I *think* N900 should be safe from spectre attack as a side effect of 
thumb2 errata (430973) workaround (BTB is flushed on every context 
switch), but don't quote me on that one, lets more knowledgeable than me 
to confirm first.

Ivo

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2018-03-08 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1519908862-11425-1-git-send-email-alex.shi@linaro.org>
2018-03-08 12:27 ` [PATCH 00/45] arm Spectre fix backport review for LTS 4.9 Pavel Machek
2018-03-08 13:21   ` Pali Rohár
2018-03-08 13:33     ` Ivaylo Dimitrov [this message]
2018-03-08 13:35     ` Marc Zyngier
2018-03-08 17:01       ` Pali Rohár

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=36c7b85a-dadb-6e05-6c19-58c6ff6ae728@gmail.com \
    --to=ivo.g.dimitrov.75@gmail.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=abcloriens@gmail.com \
    --cc=alex.shi@linaro.org \
    --cc=ard.biesheuvel@linaro.org \
    --cc=catalin.marinas@arm.com \
    --cc=clayton@craftyguy.net \
    --cc=filip.matijevic.pz@gmail.com \
    --cc=khilman@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=martijn@brixit.nl \
    --cc=pali.rohar@gmail.com \
    --cc=patrikbachan@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=sakari.ailus@linux.intel.com \
    --cc=serge@hallyn.com \
    --cc=sre@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tony@atomide.com \
    --cc=will.deacon@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox