diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-05-21 09:20:38 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-10-22 03:48:49 -0400 |
commit | 2adcf194cbf3ec5181efa8e7af180e2c9f1a63e2 (patch) | |
tree | 1abcb37fc78404e969356a094a08a5adb228317c /arch/blackfin/mach-bf537 | |
parent | 0891baef7d2e1777b81e780c3b8cfcc169d6979f (diff) |
Blackfin: SIC: BF537: change default data/error relative priorities
Some peripherals might generate an error interrupt shortly after the
data interrupt due to the fact that the peripheral isn't serviced fast
enough. In most cases this isn't a problem and is expected behavior.
This hasn't been a problem on most parts since you simply don't request
the error interrupt (or you leave it disabled while there is an expected
state) and do the peripheral status checking in the data interrupt.
The Blackfin SIC allows people to prioritize data and error interrupts,
and the Blackfin CEC allows interrupts of equal or higher priority to
nest. The current default settings gives error interrupts a higher
priority than data interrupts. So if an error occurs while processing
the data interrupt, it will be serviced immediately.
However, the error interrupt on the BF537 SIC cannot be enabled on a
per-peripheral basis. Once the error interrupt is enabled for one
peripheral, it is automatically enabled for all peripherals.
Therefore lower the default multiplexed error interrupt priority so
most people need not worry themselves with this issue.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/mach-bf537/Kconfig b/arch/blackfin/mach-bf537/Kconfig index d81224f9d723..08b2b343ccec 100644 --- a/arch/blackfin/mach-bf537/Kconfig +++ b/arch/blackfin/mach-bf537/Kconfig | |||
@@ -14,8 +14,8 @@ config IRQ_DMA_ERROR | |||
14 | int "IRQ_DMA_ERROR Generic" | 14 | int "IRQ_DMA_ERROR Generic" |
15 | default 7 | 15 | default 7 |
16 | config IRQ_ERROR | 16 | config IRQ_ERROR |
17 | int "IRQ_ERROR: CAN MAC SPORT0 SPORT1 SPI UART0 UART1" | 17 | int "IRQ_ERROR: PPI CAN MAC SPORT0 SPORT1 SPI UART0 UART1" |
18 | default 7 | 18 | default 11 |
19 | config IRQ_RTC | 19 | config IRQ_RTC |
20 | int "IRQ_RTC" | 20 | int "IRQ_RTC" |
21 | default 8 | 21 | default 8 |