Lines Matching refs:context

13 The context management library in TF-A provides the basic CPU context
30 The below section lays down the design principles for re-factoring the context
33 (1) **Decentralized model for context mgmt**
37 dispatcher to own the context for their respective world and moving away
38 from a centralized policy management by context management library will
44 firmware (BL31)/context management library needs to have routines to help
45 initialize the Non Secure world context.
59 (3) **Maintain EL3 sysregs which affect lower EL within CPU context**
61 The CPU context contains some EL3 sysregs and gets applied on a per-world
62 basis (eg: cptr_el3, scr_el3, zcr_el3 is part of the context
69 is maintained in the CPU Context. Once the context is initialized the
74 The current functions for EL2 CPU context save and restore is a single
87 context memory allocated but not used at runtime based on feature detection
99 The above figure shows how the CPU context is allocated within TF-A. The
101 of NS world, the context is allocated by the PSCI lib. This scheme allows TF-A
104 initialized by invoking context management library APIs which then initialize
106 context. The proposal here is to move the conditional initialization
107 of context for Secure and Realm worlds to their respective dispatchers and
114 This implies that any world specific code in context mgmt lib should now be
126 some functionalities in EL3. The current sequence for context save and restore
134 Note1: The EL3 CPU context is not a homogenous collection of EL3 sysregs but
139 Note2: The EL1 context save and restore can possibly be removed when switching
140 to S-EL2 as SPM can take care of saving the incoming NS EL1 context.
144 the sysregs correspond to the values in NS context). There is a case that EL3
165 The proposal here is to maintain a separate root world CPU context
169 sequence for this Root context would need to be done in
172 of Root world context would need to be saved on EL3 exit (eg: SP_EL0).
174 The new sequence for world switch including Root world context would
190 Of all the proposals, the introduction of Root world context would likely need