Home
last modified time | relevance | path

Searched hist:c5a3ebbd3a55eee2b29e1b887fd111b3b40487c4 (Results 1 – 4 of 4) sorted by relevance

/rk3399_ARM-atf/include/lib/el3_runtime/aarch64/
H A Dcontext.hc5a3ebbd3a55eee2b29e1b887fd111b3b40487c4 Tue Nov 15 11:45:19 UTC 2022 Andre Przywara <andre.przywara@arm.com> refactor(context-mgmt): move FEAT_HCX save/restore into C

At the moment we save and restore the HCRX_EL2 register in assembly, and
just depend on the build time flags.
To allow runtime checking, and to avoid too much code in assembly, move
that over to C, and use the new combined build/runtime feature check.

This also allows to drop the assert, since this should now be covered by
the different FEAT_STATE_x options.

Change-Id: I3e20b9ba17121d423cd08edc20bbf4e7ae7c0178
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
/rk3399_ARM-atf/bl31/
H A Dbl31_main.cc5a3ebbd3a55eee2b29e1b887fd111b3b40487c4 Tue Nov 15 11:45:19 UTC 2022 Andre Przywara <andre.przywara@arm.com> refactor(context-mgmt): move FEAT_HCX save/restore into C

At the moment we save and restore the HCRX_EL2 register in assembly, and
just depend on the build time flags.
To allow runtime checking, and to avoid too much code in assembly, move
that over to C, and use the new combined build/runtime feature check.

This also allows to drop the assert, since this should now be covered by
the different FEAT_STATE_x options.

Change-Id: I3e20b9ba17121d423cd08edc20bbf4e7ae7c0178
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
/rk3399_ARM-atf/lib/el3_runtime/aarch64/
H A Dcontext.Sc5a3ebbd3a55eee2b29e1b887fd111b3b40487c4 Tue Nov 15 11:45:19 UTC 2022 Andre Przywara <andre.przywara@arm.com> refactor(context-mgmt): move FEAT_HCX save/restore into C

At the moment we save and restore the HCRX_EL2 register in assembly, and
just depend on the build time flags.
To allow runtime checking, and to avoid too much code in assembly, move
that over to C, and use the new combined build/runtime feature check.

This also allows to drop the assert, since this should now be covered by
the different FEAT_STATE_x options.

Change-Id: I3e20b9ba17121d423cd08edc20bbf4e7ae7c0178
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
H A Dcontext_mgmt.cc5a3ebbd3a55eee2b29e1b887fd111b3b40487c4 Tue Nov 15 11:45:19 UTC 2022 Andre Przywara <andre.przywara@arm.com> refactor(context-mgmt): move FEAT_HCX save/restore into C

At the moment we save and restore the HCRX_EL2 register in assembly, and
just depend on the build time flags.
To allow runtime checking, and to avoid too much code in assembly, move
that over to C, and use the new combined build/runtime feature check.

This also allows to drop the assert, since this should now be covered by
the different FEAT_STATE_x options.

Change-Id: I3e20b9ba17121d423cd08edc20bbf4e7ae7c0178
Signed-off-by: Andre Przywara <andre.przywara@arm.com>