spapr_pci: Fix obsolete comment about MSIX encoding in addr/data
PATCH 1/1 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 <[email protected]>
--- hw/ppc/spapr_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
hw/ppc/spapr_pci.c +1 -3
@@ -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)
Signature · 1 line
2.11.0
David Gibson
AppliedQuoted 4 lines · Alexey Kardashevskiy
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 <[email protected]>
Applied to ppc-for-2.10, thanks.
Quoted 19 lines
--- hw/ppc/spapr_pci.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)hw/ppc/spapr_pci.c +1
-3@@ -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)
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson