Searched hist:d1d1ca2347e73be79ef6ee794df4ff31df5ff097 (Results 1 – 3 of 3) sorted by relevance
| /optee_os/core/arch/riscv/kernel/ |
| H A D | thread_optee_abi_rv.S | d1d1ca2347e73be79ef6ee794df4ff31df5ff097 Mon Oct 23 09:36:14 UTC 2023 Alvin Chang <alvinga@andestech.com> core: riscv: Apply STATUS helper for RPC resume
Since RPC resume is a kind of exception return, we invoke xstatus_for_xret() to prepare the CSR STATUS for exception return. But the actual value of STATUS when calling thread_rpc() is still saved in stack. This is to unify the behavior between RPC suspend and resume.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Tested-by: Marouene Boubakri <marouene.boubakri@nxp.com> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
|
| H A D | thread_arch.c | d1d1ca2347e73be79ef6ee794df4ff31df5ff097 Mon Oct 23 09:36:14 UTC 2023 Alvin Chang <alvinga@andestech.com> core: riscv: Apply STATUS helper for RPC resume
Since RPC resume is a kind of exception return, we invoke xstatus_for_xret() to prepare the CSR STATUS for exception return. But the actual value of STATUS when calling thread_rpc() is still saved in stack. This is to unify the behavior between RPC suspend and resume.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Tested-by: Marouene Boubakri <marouene.boubakri@nxp.com> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
|
| /optee_os/core/arch/riscv/include/kernel/ |
| H A D | thread_private_arch.h | d1d1ca2347e73be79ef6ee794df4ff31df5ff097 Mon Oct 23 09:36:14 UTC 2023 Alvin Chang <alvinga@andestech.com> core: riscv: Apply STATUS helper for RPC resume
Since RPC resume is a kind of exception return, we invoke xstatus_for_xret() to prepare the CSR STATUS for exception return. But the actual value of STATUS when calling thread_rpc() is still saved in stack. This is to unify the behavior between RPC suspend and resume.
Signed-off-by: Alvin Chang <alvinga@andestech.com> Tested-by: Marouene Boubakri <marouene.boubakri@nxp.com> Reviewed-by: Marouene Boubakri <marouene.boubakri@nxp.com>
|