Re: [PATCH v3 1/8] arm64: Do not enable IRQs for ct_user_exit

2019-06-07 Thread James Morse
Hi Julien, On 06/06/2019 10:31, Julien Thierry wrote: > For el0_dbg and el0_error, DAIF bits get explicitly cleared before > calling ct_user_exit. > > When context tracking is disabled, DAIF gets set (almost) immediately > after. When context tracking is enabled, among the first things done > is

[PATCH v3 1/8] arm64: Do not enable IRQs for ct_user_exit

2019-06-06 Thread Julien Thierry
For el0_dbg and el0_error, DAIF bits get explicitly cleared before calling ct_user_exit. When context tracking is disabled, DAIF gets set (almost) immediately after. When context tracking is enabled, among the first things done is disabling IRQs. What is actually needed is: - PSR.D = 0 so the sys