linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: a question about run-time patching for heterogeneous cores.
Date: Tue, 31 Mar 2015 11:51:45 +0100	[thread overview]
Message-ID: <20150331105145.GB17653@leverpostej> (raw)
In-Reply-To: <551A0402.90903@nvidia.com>

On Tue, Mar 31, 2015 at 03:18:42AM +0100, Bo Yan wrote:
> 
> The current code for arm64 run-time patching works fine if all CPUs are 
> the same, but doesn't seem to handle the case when CPUs are of different 
> type. For example, when you have a mix of A53 and A57 cores, currently 
> the errata WARs can be applied irrespective of A53 or A57 since the code 
> in need of patching are shared.
> 
> It doesn't look like the current WARs will cause functional problems 
> across different CPU cores. On the other hand, is there a perf issue due 
> to the same errata WARs being applied to different cores?

There may be some cost in an unaffected core executing the workaround
code, though this is very dependent on the particular CPU and
workaround, and in some cases the cost may not be measurable.

Where possible we attempt to use workarounds which are not excessively
expensive on particular cores in common pairings.

Thanks,
Mark.

      reply	other threads:[~2015-03-31 10:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31  2:18 a question about run-time patching for heterogeneous cores Bo Yan
2015-03-31 10:51 ` Mark Rutland [this message]

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=20150331105145.GB17653@leverpostej \
    --to=mark.rutland@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).