diff options
author | Vadim Pasternak <vadimp@nvidia.com> | 2023-08-22 11:34:42 +0000 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-08-23 17:31:28 +0200 |
commit | 75e09ab42066b93ec30ba1a9d5d252e40916320a (patch) | |
tree | 044934837fcbce154f512097dd90ff00e1bd79fd /scripts/gdb/linux/interrupts.py | |
parent | 3d0593c6336cbc6d1b77473e9512cdf0353a4644 (diff) |
platform: mellanox: mlx-platform: Modify power off callback
Extend platform power off callback with kernel_halt() call.
When powering off, the process involves setting a halt bit in the
register space, which is then activated after a certain delay and
power off auxiliary power. By invoking `kernel_halt()` within this
timeframe, the intention is to facilitate a clean system power-off
sequence.
Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Michael Shych <michaelsh@nvidia.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230822113451.13785-8-vadimp@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions