Home
last modified time | relevance | path

Searched hist:"2 f41c9a7be46b148d557d3d933547c6e9ad1fd40" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/include/lib/el3_runtime/
H A Dcontext_mgmt.h2f41c9a7be46b148d557d3d933547c6e9ad1fd40 Fri Jul 12 11:40:04 UTC 2024 Manish Pandey <manish.pandey2@arm.com> feat(cm): support for asymmetric feature among cores

TF-A assumes that all the cores in a platform has architecture feature
parity, this is evident by the fact that primary sets up the
Non-secure context of secondary cores.

With changing landscape of platforms (e.g. big/little/mid cores), we are
seeing more and more platforms which has feature asymmetry among cores.
There is also a scenario where certain CPU erratum only applies to one
type of cores and requires a feature to be disabled even it supports
the feature.

To handle these scenarios, introduce a hook in warmboot path which would
be called on the running CPU to override any feature disparity in the
NS context stashed up by primary. Note that, re-checking of feature for
Secure/Realm context is not required as the context is created on
running core itself.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I5a01dbda528fa8481a00fdd098b58a7463ed0e22
/rk3399_ARM-atf/lib/el3_runtime/aarch64/
H A Dcontext_mgmt.c2f41c9a7be46b148d557d3d933547c6e9ad1fd40 Fri Jul 12 11:40:04 UTC 2024 Manish Pandey <manish.pandey2@arm.com> feat(cm): support for asymmetric feature among cores

TF-A assumes that all the cores in a platform has architecture feature
parity, this is evident by the fact that primary sets up the
Non-secure context of secondary cores.

With changing landscape of platforms (e.g. big/little/mid cores), we are
seeing more and more platforms which has feature asymmetry among cores.
There is also a scenario where certain CPU erratum only applies to one
type of cores and requires a feature to be disabled even it supports
the feature.

To handle these scenarios, introduce a hook in warmboot path which would
be called on the running CPU to override any feature disparity in the
NS context stashed up by primary. Note that, re-checking of feature for
Secure/Realm context is not required as the context is created on
running core itself.

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I5a01dbda528fa8481a00fdd098b58a7463ed0e22