diff options
author | 2017-11-17 16:58:59 -0200 | |
---|---|---|
committer | 2018-01-22 05:48:35 +1100 | |
commit | 45baee1416a0086dccaa8a94c70e6721a6906fa2 (patch) | |
tree | b0ab9ded221b29cf0384ac22eadcd8ff97b64b09 /tools/perf/scripts/python | |
parent | powerpc/pseries: Don't give a warning when HPT resizing isn't available (diff) | |
download | linux-dev-45baee1416a0086dccaa8a94c70e6721a6906fa2.tar.xz linux-dev-45baee1416a0086dccaa8a94c70e6721a6906fa2.zip |
powerpc/powernv: Add ppc_pci_reset_phbs parameter to issue a PHB reset
During a kdump kernel boot in PowerPC, we request a reset of the PHBs
to the FW. It makes sense, since if we are booting a kdump kernel it
means we had some trouble before and we cannot rely in the adapters'
health; they could be in a bad state, hence the reset is needed.
But this reset is useful not only in kdump - there are situations,
specially when debugging drivers, that we could break an adapter in
a way it requires such reset. One can tell to just go ahead and
reboot the machine, but happens that many times doing kexec is much
faster, and so preferable than a full power cycle.
This patch adds the ppc_pci_reset_phbs parameter to perform such reset.
Signed-off-by: Guilherme G. Piccoli <gpiccoli@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions