 1f44a22577
			
		
	
	
	1f44a22577
	
	
	
		
			
			With the introduction of PCI it became apparent that s390 should convert to generic hardirqs as too many drivers do not have the correct dependency for GENERIC_HARDIRQS. On the architecture level s390 does not have irq lines. It has external interrupts, I/O interrupts and adapter interrupts. This patch hard-codes all external interrupts as irq #1, all I/O interrupts as irq #2 and all adapter interrupts as irq #3. The additional information from the lowcore associated with the interrupt is stored in the pt_regs of the interrupt frame, where the interrupt handler can pick it up. For PCI/MSI interrupts the adapter interrupt handler scans the relevant bit fields and calls generic_handle_irq with the virtual irq number for the MSI interrupt. Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			210 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			210 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _HW_IRQ_H
 | |
| #define _HW_IRQ_H
 | |
| 
 | |
| #include <linux/msi.h>
 | |
| #include <linux/pci.h>
 | |
| 
 | |
| void __init init_airq_interrupts(void);
 | |
| void __init init_cio_interrupts(void);
 | |
| void __init init_ext_interrupts(void);
 | |
| 
 | |
| #endif
 |