diff options
author | Julien Thierry <julien.thierry@arm.com> | 2019-01-31 14:59:01 +0000 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-02-06 10:06:31 +0000 |
commit | 1234ad686fb1bde5a9c2447fc4c9df8430358763 (patch) | |
tree | a0ccfcd8724cc240966a7b15c12dc9856dc359b9 /fs/fat/cache.c | |
parent | 7d31464adf20fb8c075a3a3dfe2002a195566510 (diff) | |
download | linux-1234ad686fb1bde5a9c2447fc4c9df8430358763.tar.gz linux-1234ad686fb1bde5a9c2447fc4c9df8430358763.tar.bz2 linux-1234ad686fb1bde5a9c2447fc4c9df8430358763.zip |
arm64: Skip preemption when exiting an NMI
Handling of an NMI should not set any TIF flags. For NMIs received from
EL0 the current exit path is safe to use.
However, an NMI received at EL1 could have interrupted some task context
that has set the TIF_NEED_RESCHED flag. Preempting a task should not
happen as a result of an NMI.
Skip preemption after handling an NMI from EL1.
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: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'fs/fat/cache.c')
0 files changed, 0 insertions, 0 deletions