arm64: irqflags: Add condition flags to inline asm clobber list
authorJulien Thierry <julien.thierry@arm.com>
Tue, 11 Jun 2019 09:38:08 +0000 (10:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2019 07:13:01 +0000 (09:13 +0200)
commit2cd1c187d315556e44db78b205530000f2cd49f8
tree5da3424d140d3d235b08a3295c7d6a57ed91495a
parentcc43c9ef3114e59eff0ea98738cef11b50e9a4ad
arm64: irqflags: Add condition flags to inline asm clobber list

commit f57065782f245ca96f1472209a485073bbc11247 upstream.

Some of the inline assembly instruction use the condition flags and need
to include "cc" in the clobber list.

Fixes: 4a503217ce37 ("arm64: irqflags: Use ICC_PMR_EL1 for interrupt masking")
Cc: <stable@vger.kernel.org> # 5.1.x-
Suggested-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/include/asm/irqflags.h