Tuesday, February 25, 2014

GPIO Interrupts Routing in X86

 Interrupt routing on X86 is very complicated.
 On X86, the 1s 16 GPIO pins can be configured as interrupt.
 The routing path for GPIO interrupt is:
 GPIO-->ACPI(GPE)-->IRQ9

Linux# ls /sys/firmware/acpi/interrupts/
error        gpe02  gpe0A  gpe12  gpe1A  gpe22  gpe2A  gpe32  gpe3A
ff_gbl_lock  gpe03  gpe0B  gpe13  gpe1B  gpe23  gpe2B  gpe33  gpe3B
ff_pmtimer   gpe04  gpe0C  gpe14  gpe1C  gpe24  gpe2C  gpe34  gpe3C
ff_pwr_btn   gpe05  gpe0D  gpe15  gpe1D  gpe25  gpe2D  gpe35  gpe3D
ff_rt_clk    gpe06  gpe0E  gpe16  gpe1E  gpe26  gpe2E  gpe36  gpe3E
ff_slp_btn   gpe07  gpe0F  gpe17  gpe1F  gpe27  gpe2F  gpe37  gpe3F
gpe00        gpe08  gpe10  gpe18  gpe20  gpe28  gpe30  gpe38  gpe_all
gpe01        gpe09  gpe11  gpe19  gpe21  gpe29  gpe31  gpe39  sci

Reading Materials:

PCI Interrupts  

PCI Interrupts for x86 Machines under FreeBSD

User Space Device Driver 

 

 

No comments:

Post a Comment