diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-01-31 14:59:00 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-02-06 10:05:22 +0000 |
commit | 7d31464adf20fb8c075a3a3dfe2002a195566510 (patch) | |
tree | b4a3e18febf28c1a29ff7536ffe3a7205ab013c4 /arch/arm64/crypto/nhpoly1305-neon-glue.c | |
parent | 101b35f7def1775bf589d86676983bc359843916 (diff) | |
download | linux-7d31464adf20fb8c075a3a3dfe2002a195566510.tar.gz linux-7d31464adf20fb8c075a3a3dfe2002a195566510.tar.bz2 linux-7d31464adf20fb8c075a3a3dfe2002a195566510.zip |
arm64: Handle serror in NMI context
Per definition of the daifflags, Serrors can occur during any interrupt
context, that includes NMI contexts. Trying to nmi_enter in an nmi context
will crash.
Skip nmi_enter/nmi_exit when serror occurred during an NMI.
Suggested-by: James Morse <james.morse@arm.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Dave Martin <dave.martin@arm.com>
Cc: James Morse <james.morse@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/crypto/nhpoly1305-neon-glue.c')
0 files changed, 0 insertions, 0 deletions