diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-01-18 04:42:22 -0500 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-02-15 12:46:01 -0500 |
commit | 4788a5942bc896803c87005be8c6dd14c373a2d3 (patch) | |
tree | 0999ce29d94a3517a30df1b1463fdd9c9d200b28 /arch/arc/Kconfig | |
parent | 769bc1fd7b8591a312d4c5c8834bc6510272938e (diff) |
ARC: Support for high priority interrupts in the in-core intc
There is a bit of hack/kludge right now where we disable preemption if a
L2 (High prio) IRQ is taken while L1 (Low prio) is active.
Need to revisit this
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Kconfig')
-rw-r--r-- | arch/arc/Kconfig | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index 405ea7a756b8..68350aa3d297 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig | |||
@@ -208,6 +208,25 @@ config ARC_PAGE_SIZE_4K | |||
208 | 208 | ||
209 | endchoice | 209 | endchoice |
210 | 210 | ||
211 | config ARC_COMPACT_IRQ_LEVELS | ||
212 | bool "ARCompact IRQ Priorities: High(2)/Low(1)" | ||
213 | default n | ||
214 | # Timer HAS to be high priority, for any other high priority config | ||
215 | select ARC_IRQ3_LV2 | ||
216 | |||
217 | if ARC_COMPACT_IRQ_LEVELS | ||
218 | |||
219 | config ARC_IRQ3_LV2 | ||
220 | bool | ||
221 | |||
222 | config ARC_IRQ5_LV2 | ||
223 | bool | ||
224 | |||
225 | config ARC_IRQ6_LV2 | ||
226 | bool | ||
227 | |||
228 | endif | ||
229 | |||
211 | config ARC_FPU_SAVE_RESTORE | 230 | config ARC_FPU_SAVE_RESTORE |
212 | bool "Enable FPU state persistence across context switch" | 231 | bool "Enable FPU state persistence across context switch" |
213 | default n | 232 | default n |