Subject: Re: [PATCH v3 01/20] arm64: remove redundant local_daif_mask() in bad_mode()

From: Marc Zyngier <[email-masked]>
Date: Thu, 27 May 2021 13:34:53 +0100

On Tue, 25 May 2021 19:32:43 +0100,
Mark Rutland <[email-masked]> wrote:
> 
> Upon taking an exception, the CPU sets all the DAIF bits. We never
> clear any of these bits prior to calling bad_mode(), and bad_mode()
> itself never clears any of these bits, so there's no need to call
> local_daif_mask().
> 
> This patch removes the redundant call.
> 
> Signed-off-by: Mark Rutland <[email-masked]>
> Reviewed-by: Joey Gouly <[email-masked]>
> Cc: Catalin Marinas <[email-masked]>
> Cc: James Morse <[email-masked]>
> Cc: Marc Zyngier <[email-masked]>
> Cc: Will Deacon <[email-masked]>

Acked-by: Marc Zyngier <[email-masked]>

	M.

-- 
Without deviation from the norm, progress is not possible.

_______________________________________________
linux-arm-kernel mailing list
[email-masked]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel