spapr_pci: Fix obsolete comment about MSIX encoding in addr/data
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 18 Jul 2017 02:00:33 +0000 (12:00 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 25 Jul 2017 01:14:25 +0000 (11:14 +1000)
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>
hw/ppc/spapr_pci.c

index 6ecdf29d2870ba6d2f85fbe06aedb8699147dfb8..d84abf1070a0ae58ef13162d00c0d80e147f1b19 100644 (file)
@@ -723,9 +723,7 @@ static PCIINTxRoute spapr_route_intx_pin_to_irq(void *opaque, int pin)
 /*
  * MSI/MSIX memory region implementation.
  * The handler handles both MSI and MSIX.
- * For MSI-X, the vector number is encoded as a part of the address,
- * data is set to 0.
- * For MSI, the vector number is encoded in least bits in data.
+ * The vector number is encoded in least bits in data.
  */
 static void spapr_msi_write(void *opaque, hwaddr addr,
                             uint64_t data, unsigned size)