| 
									
										
										
										
											2009-06-15 10:42:57 +08:00
										 |  |  | # | 
					
						
							|  |  |  | # PCI Express Root Port Device AER Debug Configuration | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | config PCIEAER_INJECT | 
					
						
							| 
									
										
										
										
											2009-12-03 18:00:10 +01:00
										 |  |  | 	tristate "PCIe AER error injector support" | 
					
						
							| 
									
										
										
										
											2009-06-15 10:42:57 +08:00
										 |  |  | 	depends on PCIEAER | 
					
						
							|  |  |  | 	default n | 
					
						
							|  |  |  | 	help | 
					
						
							|  |  |  | 	  This enables PCI Express Root Port Advanced Error Reporting | 
					
						
							|  |  |  | 	  (AER) software error injector. | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-12-03 18:00:10 +01:00
										 |  |  | 	  Debugging PCIe AER code is quite difficult because it is hard | 
					
						
							| 
									
										
										
										
											2009-06-15 10:42:57 +08:00
										 |  |  | 	  to trigger various real hardware errors. Software based | 
					
						
							|  |  |  | 	  error injection can fake almost all kinds of errors with the | 
					
						
							|  |  |  | 	  help of a user space helper tool aer-inject, which can be | 
					
						
							|  |  |  | 	  gotten from: | 
					
						
							|  |  |  | 	     http://www.kernel.org/pub/linux/utils/pci/aer-inject/ |