![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _SPARC64_PIL_H 0003 #define _SPARC64_PIL_H 0004 0005 /* To avoid some locking problems, we hard allocate certain PILs 0006 * for SMP cross call messages that must do a etrap/rtrap. 0007 * 0008 * A local_irq_disable() does not block the cross call delivery, so 0009 * when SMP locking is an issue we reschedule the event into a PIL 0010 * interrupt which is blocked by local_irq_disable(). 0011 * 0012 * In fact any XCALL which has to etrap/rtrap has a problem because 0013 * it is difficult to prevent rtrap from running BH's, and that would 0014 * need to be done if the XCALL arrived while %pil==PIL_NORMAL_MAX. 0015 * 0016 * Finally, in order to handle profiling events even when a 0017 * local_irq_disable() is in progress, we only disable up to level 14 0018 * interrupts. Profile counter overflow interrupts arrive at level 0019 * 15. 0020 */ 0021 #define PIL_SMP_CALL_FUNC 1 0022 #define PIL_SMP_RECEIVE_SIGNAL 2 0023 #define PIL_SMP_CAPTURE 3 0024 #define PIL_DEVICE_IRQ 5 0025 #define PIL_SMP_CALL_FUNC_SNGL 6 0026 #define PIL_DEFERRED_PCR_WORK 7 0027 #define PIL_KGDB_CAPTURE 8 0028 #define PIL_NORMAL_MAX 14 0029 #define PIL_NMI 15 0030 0031 #endif /* !(_SPARC64_PIL_H) */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |