summaryrefslogtreecommitdiffstats
path: root/target/ppc
diff options
context:
space:
mode:
authorGreg Kurz2019-04-05 18:30:48 +0200
committerDavid Gibson2019-04-26 03:37:57 +0200
commite8ec4adfe2de8603e271e38b0d50d7d453c0c21b (patch)
tree00c0589c268493c8da2e6523872497319e424ce7 /target/ppc
parentspapr_pci: Get rid of duplicate code for node name creation (diff)
downloadqemu-e8ec4adfe2de8603e271e38b0d50d7d453c0c21b.tar.gz
qemu-e8ec4adfe2de8603e271e38b0d50d7d453c0c21b.tar.xz
qemu-e8ec4adfe2de8603e271e38b0d50d7d453c0c21b.zip
spapr: Drop duplicate PCI swizzle code
LSI mapping in spapr currently open-codes standard PCI swizzling. It thus duplicates the code of pci_swizzle_map_irq_fn(). Expose the swizzling formula so that it can be used with a slot number when building the device tree. Simply drop pci_spapr_map_irq() and call pci_swizzle_map_irq_fn() instead. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <155448184841.8446.13959787238854054119.stgit@bahia.lan> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc')
0 files changed, 0 insertions, 0 deletions