diff options
author | Frederic Barrat <fbarrat@linux.ibm.com> | 2019-11-21 14:49:10 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-01-23 21:31:16 +1100 |
commit | c1a2feade085fb4213e2823dabaa2401626843c8 (patch) | |
tree | fc5082bbcde386acca30f893f280ecde83ea6f97 /scripts/prune-kernel | |
parent | 80f1ff83fa113aa718ff4009684981386c574954 (diff) |
powerpc/powernv/ioda: set up PE on opencapi device when enabling
The PE for an opencapi device was set as part of a late PHB fixup
operation, when creating the PHB. To use the PCI hotplug framework,
this is not going to work, as the PHB stays the same, it's only the
devices underneath which are updated. For regular PCI devices, it is
done as part of the reconfiguration of the bridge, but for opencapi
PHBs, we don't have an intermediate bridge. So let's define the PE
when the device is enabled. PEs are meaningless for opencapi, the NPU
doesn't define them and opal is not doing anything with them.
Reviewed-by: Alastair D'Silva <alastair@d-silva.org>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191121134918.7155-4-fbarrat@linux.ibm.com
Diffstat (limited to 'scripts/prune-kernel')
0 files changed, 0 insertions, 0 deletions