andyp73

EC interrupt related stuff

Feb 23rd, 2021
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. GPIO Definitions (from gpio.h)
  2. ------------------------------
  3.  
  4. PAD_CFG_GPI_SMI_LOW(GPP_E15, NONE, DEEP, EDGE_SINGLE), /* EC SMI# */
  5. PAD_CFG_GPI_SCI_LOW(GPP_E16, NONE, PLTRST, LEVEL), /* EC SCI# */
  6.  
  7.  
  8. mainboard.asl
  9. -------------
  10.  
  11. #define EC_GPE_SCI 0x50 /* GPP_E16 */
  12.  
  13.  
  14. ec.asl
  15. ------
  16.  
  17. Scope (\_SB.PCI0.LPCB)
  18. {
  19. Device (H_EC)
  20. {
  21. Name (_HID, EISAID ("PNP0C09")) // ACPI Embedded Controller
  22. Name (_UID, 1)
  23. Name (_GPE, EC_GPE_SCI)
  24.  
  25. ...
  26. }
  27. }
  28.  
  29.  
  30. /proc/interrupts
  31. ----------------
  32. CPU0 CPU1 CPU2 CPU3
  33. 0: 6 0 0 0 IR-IO-APIC 2-edge timer
  34. 1: 0 27 0 0 IR-IO-APIC 1-edge i8042
  35. 8: 0 0 1 0 IR-IO-APIC 8-edge rtc0
  36. 9: 0 0 0 0 IR-IO-APIC 9-fasteoi acpi
  37. 12: 0 0 0 0 IR-IO-APIC 12-edge i8042
  38. 14: 0 0 0 0 IR-IO-APIC 14-fasteoi INT34BB:00
  39. 16: 0 0 0 30821130 IR-IO-APIC 16-fasteoi mmc0, idma64.0, i2c_designware.0
  40. 17: 0 0 0 0 IR-IO-APIC 17-fasteoi idma64.1, i2c_designware.1
  41. 20: 0 0 0 0 IR-IO-APIC 20-fasteoi idma64.4
  42. 32: 0 0 0 0 IR-IO-APIC 32-fasteoi i2c_designware.2
  43. 51: 0 0 1547759 0 IR-IO-APIC 51-fasteoi PCT1336:00
  44. 120: 0 0 0 0 DMAR-MSI 0-edge dmar0
  45. 121: 0 0 0 0 DMAR-MSI 1-edge dmar1
  46. 122: 8 0 433 0 IR-PCI-MSI 327680-edge xhci_hcd
  47. 123: 764 7838 0 2104 IR-PCI-MSI 376832-edge ahci[0000:00:17.0]
  48. 124: 0 0 302 1754 IR-PCI-MSI 333824-edge iwlwifi: default queue
  49. 125: 1114 0 21263 11301 IR-PCI-MSI 32768-edge i915
  50. 126: 76 45 0 0 IR-PCI-MSI 333825-edge iwlwifi: queue 1
  51. 127: 0 75 0 282 IR-PCI-MSI 333826-edge iwlwifi: queue 2
  52. 128: 0 0 10 77 IR-PCI-MSI 333827-edge iwlwifi: queue 3
  53. 129: 0 0 123 53 IR-PCI-MSI 333828-edge iwlwifi: queue 4
  54. 130: 0 2 0 0 IR-PCI-MSI 333829-edge iwlwifi: exception
  55. 131: 0 0 1237 0 IR-PCI-MSI 514048-edge snd_hda_intel:card0
  56. NMI: 0 1 4 19 Non-maskable interrupts
  57. LOC: 20562 19105 387007 362425 Local timer interrupts
  58. SPU: 0 0 0 0 Spurious interrupts
  59. PMI: 0 1 4 19 Performance monitoring interrupts
  60. IWI: 59 6 1625 852 IRQ work interrupts
  61. RTR: 0 0 0 0 APIC ICR read retries
  62. RES: 13677 3901 13892 8034 Rescheduling interrupts
  63. CAL: 2498 1983 1610 2003 Function call interrupts
  64. TLB: 1170 1137 1040 1582 TLB shootdowns
  65. TRM: 469 469 493 493 Thermal event interrupts
  66. THR: 0 0 0 0 Threshold APIC interrupts
  67. DFR: 0 0 0 0 Deferred Error APIC interrupts
  68. MCE: 0 0 0 0 Machine check exceptions
  69. MCP: 5 6 6 6 Machine check polls
  70. HYP: 0 0 0 0 Hypervisor callback interrupts
  71. HRE: 0 0 0 0 Hyper-V reenlightenment interrupts
  72. HVS: 0 0 0 0 Hyper-V stimer0 interrupts
  73. ERR: 0
  74. MIS: 0
  75. PIN: 0 0 0 0 Posted-interrupt notification event
  76. NPI: 0 0 0 0 Nested posted-interrupt event
  77. PIW: 0 0 0 0 Posted-interrupt wakeup event
  78.  
  79.  
  80. /sys/firmware/acpi/interrupts:
  81. ------------------------------
  82.  
  83. error gpe03 gpe0C gpe15 gpe1E gpe27 gpe30 gpe39 gpe42 gpe4B gpe54 gpe5D gpe66 gpe6F gpe78 sci
  84. ff_gbl_lock gpe04 gpe0D gpe16 gpe1F gpe28 gpe31 gpe3A gpe43 gpe4C gpe55 gpe5E gpe67 gpe70 gpe79 sci_not
  85. ff_pmtimer gpe05 gpe0E gpe17 gpe20 gpe29 gpe32 gpe3B gpe44 gpe4D gpe56 gpe5F gpe68 gpe71 gpe7A
  86. ff_pwr_btn gpe06 gpe0F gpe18 gpe21 gpe2A gpe33 gpe3C gpe45 gpe4E gpe57 gpe60 gpe69 gpe72 gpe7B
  87. ff_rt_clk gpe07 gpe10 gpe19 gpe22 gpe2B gpe34 gpe3D gpe46 gpe4F gpe58 gpe61 gpe6A gpe73 gpe7C
  88. ff_slp_btn gpe08 gpe11 gpe1A gpe23 gpe2C gpe35 gpe3E gpe47 gpe50 gpe59 gpe62 gpe6B gpe74 gpe7D
  89. gpe00 gpe09 gpe12 gpe1B gpe24 gpe2D gpe36 gpe3F gpe48 gpe51 gpe5A gpe63 gpe6C gpe75 gpe7E
  90. gpe01 gpe0A gpe13 gpe1C gpe25 gpe2E gpe37 gpe40 gpe49 gpe52 gpe5B gpe64 gpe6D gpe76 gpe7F
  91. gpe02 gpe0B gpe14 gpe1D gpe26 gpe2F gpe38 gpe41 gpe4A gpe53 gpe5C gpe65 gpe6E gpe77 gpe_all
  92.  
Advertisement
Add Comment
Please, Sign In to add comment