mlxbf-bootctl: Support setting the ARM boot state to "OS up"
authorAsmaa Mnebhi <asmaa@nvidia.com>
Wed, 9 Aug 2023 16:28:57 +0000 (12:28 -0400)
committerHans de Goede <hdegoede@redhat.com>
Thu, 10 Aug 2023 09:12:47 +0000 (11:12 +0200)
commite3205d41737af1122bdefdd1114289e71c6c4910
treeb6ca14e88a8f8bb7954382a7a673efc0bfcf039b
parentb18a97ed9006cac03105dde68e000b8e7468848a
mlxbf-bootctl: Support setting the ARM boot state to "OS up"

The BlueField has internal registers to store the ARM boot states.
Support setting the BlueField ARM boot state to "OS up".

Signed-off-by: Asmaa Mnebhi <asmaa@nvidia.com>
Reviewed-by: Vadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20230809162857.21243-3-asmaa@nvidia.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/mellanox/mlxbf-bootctl.c
drivers/platform/mellanox/mlxbf-bootctl.h