linaro-swg / linux

Linux kernel source tree
Other
41 stars 79 forks source link

tee: optee: interruptable rpc sleep #42

Closed tiger-yu99 closed 7 years ago

tiger-yu99 commented 7 years ago

tee: optee: interruptable rpc sleep

Prior to this patch rpc sleep was uninterruptible since msleep() is uninterruptible. Change to use msleep_interruptible() instead.

Signed-off-by: Tiger Yu tigeryu99@hotmail.com

jbech-linaro commented 7 years ago

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>

jenswi-linaro commented 7 years ago

I intend to take this commit as is once the tee driver is merged upstream so it would be nice with a suitable commit message. Perhaps something like:

tee: optee: interruptable rpc sleep

Prior to this patch rpc sleep was uninterruptible since msleep() is uninterruptible.
Change to use msleep_interruptible() instead.

With a proper commit message: Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

jforissier commented 7 years ago

The S-o-b should be a real name, too.

jenswi-linaro commented 7 years ago

Please apply the two tags:

Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
jforissier commented 7 years ago

Merged manually, thanks.