diff options
author | 2018-08-28 16:51:15 +0100 | |
---|---|---|
committer | 2018-10-03 16:12:21 +0100 | |
commit | 9a0c032825e073e002ee80cf2577431d7296a7f7 (patch) | |
tree | 25254503623e42c0689570c1a59f3f71d12a4dbd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: daifflags: Use irqflags functions for daifflags (diff) | |
download | linux-dev-9a0c032825e073e002ee80cf2577431d7296a7f7.tar.xz linux-dev-9a0c032825e073e002ee80cf2577431d7296a7f7.zip |
arm64: Use daifflag_restore after bp_hardening
For EL0 entries requiring bp_hardening, daif status is kept at
DAIF_PROCCTX_NOIRQ until after hardening has been done. Then interrupts
are enabled through local_irq_enable().
Before using local_irq_* functions, daifflags should be properly restored
to a state where IRQs are enabled.
Enable IRQs by restoring DAIF_PROCCTX state after bp hardening.
Acked-by: James Morse <james.morse@arm.com>
Signed-off-by: Julien Thierry <julien.thierry@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions