What is irq latency due to operating system?

  • How to evaluate irq delay on an ARM processor?
  • What is the definition of latency irq?
+5
source share
3 answers

Mats and Nemanja give good information about the delay of interruption . There are two - another problem that I would add to the three indicated by the Mats.

  • Other simultaneous / close simultaneous interrupts.
  • OS delay due to masking interrupts. Edit: This is an answer to the mats, just not explained.

โ€‹โ€‹ , , , . , . , , NAND flash IRQ, Ethernet, , IRQ- IRQ. , priorty, - NAND, , Ethernet .

, / . -

mrs   r9, cpsr
biceq r9, r9, #PSR_I_BIT

arch/arm/include/asm/irqflags.h Linux , . A :

lock interrupts;
manipulate some flag in struct;
unlock interrupts;

, struct . .

Cortex-A9 , ; - , swp/swpb. IRQ - ldm/stm ( ).

, . , , (, 2-4 ), .

SMP, , ; . CPU/SOC .

+3
  • (irq) - , , , .

  • , , , . ( , ) ARM

ARM9E-S:

4.3

, , .

LDM - , , .

Execute 1, LDM 16 .

โ€ข , LDM, 17, .

โ€ข , 18 19.

โ€ข 20 21 Fetch Decode Data Abort .

โ€ข 22 FIQ, Fetch Decode 23 24.

โ€ข , FIQ Execute 25, 24 .

FIQ IRQ - , ( ) ( ). ,

+8

:

  • . , , , , 1 , [ ].
  • , .
  • , , , , , , .

1. , , 2. , [ , , , , - . , .

, , , , , , , .

" ", , , , " , ", Linux Windows .

+4

All Articles