~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/arch/loongarch/irq-chip-model.rst

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/arch/loongarch/irq-chip-model.rst (Version linux-6.12-rc7) and /Documentation/arch/alpha/irq-chip-model.rst (Version linux-2.4.37.11)


  1 .. SPDX-License-Identifier: GPL-2.0               
  2                                                   
  3 =======================================           
  4 IRQ chip model (hierarchy) of LoongArch           
  5 =======================================           
  6                                                   
  7 Currently, LoongArch based processors (e.g. Lo    
  8 with LS7A chipsets. The irq chips in LoongArch    
  9 Interrupt Controller), LIOINTC (Legacy I/O Int    
 10 I/O Interrupt Controller), HTVECINTC (Hyper-Tr    
 11 PCH-PIC (Main Interrupt Controller in LS7A chi    
 12 in LS7A chipset) and PCH-MSI (MSI Interrupt Co    
 13                                                   
 14 CPUINTC is a per-core controller (in CPU), LIO    
 15 controllers (in CPU), while PCH-PIC/PCH-LPC/PC    
 16 in chipsets). These controllers (in other word    
 17 and there are two models of hierarchy (legacy     
 18                                                   
 19 Legacy IRQ model                                  
 20 ================                                  
 21                                                   
 22 In this model, IPI (Inter-Processor Interrupt)    
 23 to CPUINTC directly, CPU UARTS interrupts go t    
 24 interrupts go to PCH-PIC/PCH-LPC/PCH-MSI and g    
 25 to LIOINTC, and then CPUINTC::                    
 26                                                   
 27      +-----+     +---------+     +-------+        
 28      | IPI | --> | CPUINTC | <-- | Timer |        
 29      +-----+     +---------+     +-------+        
 30                       ^                           
 31                       |                           
 32                  +---------+     +-------+        
 33                  | LIOINTC | <-- | UARTs |        
 34                  +---------+     +-------+        
 35                       ^                           
 36                       |                           
 37                 +-----------+                     
 38                 | HTVECINTC |                     
 39                 +-----------+                     
 40                  ^         ^                      
 41                  |         |                      
 42            +---------+ +---------+                
 43            | PCH-PIC | | PCH-MSI |                
 44            +---------+ +---------+                
 45              ^     ^           ^                  
 46              |     |           |                  
 47      +---------+ +---------+ +---------+          
 48      | PCH-LPC | | Devices | | Devices |          
 49      +---------+ +---------+ +---------+          
 50           ^                                       
 51           |                                       
 52      +---------+                                  
 53      | Devices |                                  
 54      +---------+                                  
 55                                                   
 56 Extended IRQ model                                
 57 ==================                                
 58                                                   
 59 In this model, IPI (Inter-Processor Interrupt)    
 60 to CPUINTC directly, CPU UARTS interrupts go t    
 61 interrupts go to PCH-PIC/PCH-LPC/PCH-MSI and g    
 62 to CPUINTC directly::                             
 63                                                   
 64           +-----+     +---------+     +-------    
 65           | IPI | --> | CPUINTC | <-- | Timer     
 66           +-----+     +---------+     +-------    
 67                        ^       ^                  
 68                        |       |                  
 69                 +---------+ +---------+     +-    
 70                 | EIOINTC | | LIOINTC | <-- |     
 71                 +---------+ +---------+     +-    
 72                  ^       ^                        
 73                  |       |                        
 74           +---------+ +---------+                 
 75           | PCH-PIC | | PCH-MSI |                 
 76           +---------+ +---------+                 
 77             ^     ^           ^                   
 78             |     |           |                   
 79     +---------+ +---------+ +---------+           
 80     | PCH-LPC | | Devices | | Devices |           
 81     +---------+ +---------+ +---------+           
 82          ^                                        
 83          |                                        
 84     +---------+                                   
 85     | Devices |                                   
 86     +---------+                                   
 87                                                   
 88 Advanced Extended IRQ model                       
 89 ===========================                       
 90                                                   
 91 In this model, IPI (Inter-Processor Interrupt)    
 92 to CPUINTC directly, CPU UARTS interrupts go t    
 93 to AVECINTC, and then go to CPUINTC directly,     
 94 go to PCH-PIC/PCH-LPC and gathered by EIOINTC,    
 95                                                   
 96  +-----+     +-----------------------+     +--    
 97  | IPI | --> |        CPUINTC        | <-- | T    
 98  +-----+     +-----------------------+     +--    
 99               ^          ^          ^             
100               |          |          |             
101        +---------+ +----------+ +---------+       
102        | EIOINTC | | AVECINTC | | LIOINTC | <-    
103        +---------+ +----------+ +---------+       
104             ^            ^                        
105             |            |                        
106        +---------+  +---------+                   
107        | PCH-PIC |  | PCH-MSI |                   
108        +---------+  +---------+                   
109          ^     ^           ^                      
110          |     |           |                      
111  +---------+ +---------+ +---------+              
112  | Devices | | PCH-LPC | | Devices |              
113  +---------+ +---------+ +---------+              
114                   ^                               
115                   |                               
116              +---------+                          
117              | Devices |                          
118              +---------+                          
119                                                   
120 ACPI-related definitions                          
121 ========================                          
122                                                   
123 CPUINTC::                                         
124                                                   
125   ACPI_MADT_TYPE_CORE_PIC;                        
126   struct acpi_madt_core_pic;                      
127   enum acpi_madt_core_pic_version;                
128                                                   
129 LIOINTC::                                         
130                                                   
131   ACPI_MADT_TYPE_LIO_PIC;                         
132   struct acpi_madt_lio_pic;                       
133   enum acpi_madt_lio_pic_version;                 
134                                                   
135 EIOINTC::                                         
136                                                   
137   ACPI_MADT_TYPE_EIO_PIC;                         
138   struct acpi_madt_eio_pic;                       
139   enum acpi_madt_eio_pic_version;                 
140                                                   
141 HTVECINTC::                                       
142                                                   
143   ACPI_MADT_TYPE_HT_PIC;                          
144   struct acpi_madt_ht_pic;                        
145   enum acpi_madt_ht_pic_version;                  
146                                                   
147 PCH-PIC::                                         
148                                                   
149   ACPI_MADT_TYPE_BIO_PIC;                         
150   struct acpi_madt_bio_pic;                       
151   enum acpi_madt_bio_pic_version;                 
152                                                   
153 PCH-MSI::                                         
154                                                   
155   ACPI_MADT_TYPE_MSI_PIC;                         
156   struct acpi_madt_msi_pic;                       
157   enum acpi_madt_msi_pic_version;                 
158                                                   
159 PCH-LPC::                                         
160                                                   
161   ACPI_MADT_TYPE_LPC_PIC;                         
162   struct acpi_madt_lpc_pic;                       
163   enum acpi_madt_lpc_pic_version;                 
164                                                   
165 References                                        
166 ==========                                        
167                                                   
168 Documentation of Loongson-3A5000:                 
169                                                   
170   https://github.com/loongson/LoongArch-Docume    
171                                                   
172   https://github.com/loongson/LoongArch-Docume    
173                                                   
174 Documentation of Loongson's LS7A chipset:         
175                                                   
176   https://github.com/loongson/LoongArch-Docume    
177                                                   
178   https://github.com/loongson/LoongArch-Docume    
179                                                   
180 .. Note::                                         
181     - CPUINTC is CSR.ECFG/CSR.ESTAT and its in    
182       in Section 7.4 of "LoongArch Reference M    
183     - LIOINTC is "Legacy I/OInterrupts" descri    
184       "Loongson 3A5000 Processor Reference Man    
185     - EIOINTC is "Extended I/O Interrupts" des    
186       "Loongson 3A5000 Processor Reference Man    
187     - HTVECINTC is "HyperTransport Interrupts"    
188       "Loongson 3A5000 Processor Reference Man    
189     - PCH-PIC/PCH-MSI is "Interrupt Controller    
190       "Loongson 7A1000 Bridge User Manual";       
191     - PCH-LPC is "LPC Interrupts" described in    
192       "Loongson 7A1000 Bridge User Manual".       
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php