[PATCH] arm64: syscall: unmask DAIF for tracing status
Catalin Marinas
catalin.marinas at arm.com
Wed Jun 7 10:39:26 PDT 2023
On Fri, 26 May 2023 10:47:15 +0800, Guo Hui wrote:
> The following code:
> static void el0_svc_common(struct pt_regs *regs, int scno, int sc_nr,
> const syscall_fn_t syscall_table[])
> {
> ...
>
> if (!has_syscall_work(flags) && !IS_ENABLED(CONFIG_DEBUG_RSEQ)) {
> local_daif_mask();
> flags = read_thread_flags(); -------------------------------- A
> if (!has_syscall_work(flags) && !(flags & _TIF_SINGLESTEP))
> return;
> local_daif_restore(DAIF_PROCCTX);
> }
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64: syscall: unmask DAIF for tracing status
https://git.kernel.org/arm64/c/1da185fc8288
--
Catalin
More information about the linux-arm-kernel
mailing list