diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2015-07-16 09:37:31 +0200 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2015-08-17 06:33:39 +0200 |
commit | 38fef73c21d117cf992fb5ec6e30630e54e13f4f (patch) | |
tree | ca3aae4c2e29ee81c66dcc16eb835e0b8c4e631f /arch/xtensa/kernel/head.S | |
parent | xtensa: don't touch EXC_TABLE_FIXUP in _switch_to (diff) | |
download | linux-38fef73c21d117cf992fb5ec6e30630e54e13f4f.tar.xz linux-38fef73c21d117cf992fb5ec6e30630e54e13f4f.zip |
xtensa: implement fake NMI
In case perf IRQ is the highest of the medium-level IRQs, and is alone
on its level, it may be treated as NMI:
- LOCKLEVEL is defined to be one level less than EXCM level,
- IRQ masking never lowers current IRQ level,
- new fake exception cause code, EXCCAUSE_MAPPED_NMI is assigned to that
IRQ; new second level exception handler, do_nmi, assigned to it
handles it as NMI,
- atomic operations in configurations without s32c1i still need to mask
all interrupts.
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/head.S')
0 files changed, 0 insertions, 0 deletions