diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-07-01 15:27:28 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-10 15:14:58 +0200 |
commit | 174db9e7f775ce06fc6949c9abbe758b3eb8171c (patch) | |
tree | 932b0b5520c37fcbc2526b13a435bffb982dcf7e /arch/powerpc/platforms/pseries/pseries.h | |
parent | powerpc/pseries/pci: Add a msi_free() handler to clear XIVE data (diff) | |
download | linux-174db9e7f775ce06fc6949c9abbe758b3eb8171c.tar.xz linux-174db9e7f775ce06fc6949c9abbe758b3eb8171c.zip |
powerpc/pseries/pci: Add support of MSI domains to PHB hotplug
Simply allocate or release the MSI domains when a PHB is inserted in
or removed from the machine.
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-11-clg@kaod.org
Diffstat (limited to '')
-rw-r--r-- | arch/powerpc/platforms/pseries/pseries.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/pseries.h b/arch/powerpc/platforms/pseries/pseries.h index d9280262588b..3544778e06d0 100644 --- a/arch/powerpc/platforms/pseries/pseries.h +++ b/arch/powerpc/platforms/pseries/pseries.h @@ -86,6 +86,7 @@ int pseries_root_bridge_prepare(struct pci_host_bridge *bridge); extern struct pci_controller_ops pseries_pci_controller_ops; int pseries_msi_allocate_domains(struct pci_controller *phb); +void pseries_msi_free_domains(struct pci_controller *phb); unsigned long pseries_memory_block_size(void); |