* a question about run-time patching for heterogeneous cores.
@ 2015-03-31 2:18 Bo Yan
2015-03-31 10:51 ` Mark Rutland
0 siblings, 1 reply; 2+ messages in thread
From: Bo Yan @ 2015-03-31 2:18 UTC (permalink / raw)
To: linux-arm-kernel
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?
Thanks
Bo
^ permalink raw reply [flat|nested] 2+ messages in thread
* a question about run-time patching for heterogeneous cores.
2015-03-31 2:18 a question about run-time patching for heterogeneous cores Bo Yan
@ 2015-03-31 10:51 ` Mark Rutland
0 siblings, 0 replies; 2+ messages in thread
From: Mark Rutland @ 2015-03-31 10:51 UTC (permalink / raw)
To: linux-arm-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-31 10:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-31 2:18 a question about run-time patching for heterogeneous cores Bo Yan
2015-03-31 10:51 ` Mark Rutland
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).