diff options
author | Tyrel Datwyler <[email protected]> | 2021-04-01 18:13:25 -0600 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-04-20 14:22:24 +1000 |
commit | 39d0099f94390eb7a677e1a5c9bb56a4daa242a1 (patch) | |
tree | 581ebaaa32930995e7409ae40fd58882cf7b9967 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | af31fd0c9107e400a8eb89d0eafb40bb78802f79 (diff) |
powerpc/pseries: Add shutdown() to vio_driver and vio_bus
Currently, neither the vio_bus or vio_driver structures provide support
for a shutdown() routine.
Add support for shutdown() by allowing drivers to provide a
implementation via function pointer in their vio_driver struct and
provide a proper implementation in the driver template for the vio_bus
that calls a vio drivers shutdown() if defined.
In the case that no shutdown() is defined by a vio driver and a kexec is
in progress we implement a big hammer that calls remove() to ensure no
further DMA for the devices is possible.
Signed-off-by: Tyrel Datwyler <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions