spapr_pci: Fix obsolete comment about MSIX encoding in addr/data
f1c2dc7c866a "spapr-pci: rework MSI/MSIX" (07/2013) changed MSIX encoding but forgot to change the comment so this changes it. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
		
							parent
							
								
									b5a74cd81d
								
							
						
					
					
						commit
						18f2330ef5
					
				@ -723,9 +723,7 @@ static PCIINTxRoute spapr_route_intx_pin_to_irq(void *opaque, int pin)
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * MSI/MSIX memory region implementation.
 | 
					 * MSI/MSIX memory region implementation.
 | 
				
			||||||
 * The handler handles both MSI and MSIX.
 | 
					 * The handler handles both MSI and MSIX.
 | 
				
			||||||
 * For MSI-X, the vector number is encoded as a part of the address,
 | 
					 * The vector number is encoded in least bits in data.
 | 
				
			||||||
 * data is set to 0.
 | 
					 | 
				
			||||||
 * For MSI, the vector number is encoded in least bits in data.
 | 
					 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
static void spapr_msi_write(void *opaque, hwaddr addr,
 | 
					static void spapr_msi_write(void *opaque, hwaddr addr,
 | 
				
			||||||
                            uint64_t data, unsigned size)
 | 
					                            uint64_t data, unsigned size)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user