Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tee: optee: interrupt an RPC when supplicant has been killed
check supplicant is dead or alive when get signal, run normal program if supplicant is alive, interrupting an RPC if supplicant is dead, Otherwise, the current thread will be stuck in the optee driver. The error is printed as follows: INFO: task gatekeeper@1.0-:461 blocked for more than 20 seconds. Not tainted 5.10.66 #2 task:gatekeeper@1.0- state:D stack: 0 pid: 461 ppid: 1 flags:0x0400002d Call trace: switch_to+0x180/0x230 __schedule+0x49c/0x704 schedule+0xa0/0xe8 schedule_timeout+0x38/0x124 wait_for_common+0xa4/0x134 wait_for_completion+0x1c/0x2c optee_handle_rpc+0x1a4/0x6ec optee_do_call_with_arg+0x1a4/0x298 optee_release+0x134/0x1bc tee_release+0xa4/0x100 Change-Id: I2f82338ecccc1bc97bb5a6c25767eca4542cbcdf Signed-off-by: Hisping Lin <hisping.lin@rock-chips.com>
- Loading branch information