OSDN Git Service

platform/x86: mlx-platform: Add support for systems equipped with two ASICs
authorVadim Pasternak <vadimp@nvidia.com>
Mon, 11 Jul 2022 08:45:53 +0000 (11:45 +0300)
committerHans de Goede <hdegoede@redhat.com>
Thu, 14 Jul 2022 20:34:32 +0000 (22:34 +0200)
commit08fdb6f3acaef252e79f2d2630752f9182a82c8c
tree466fa472ce4aceab0b50bb6d2ec7b8fd5f6496f4
parent7bf8a14dedaf9ae4fd670ecd403db0dbe15bb3ac
platform/x86: mlx-platform: Add support for systems equipped with two ASICs

Motivation is to support new systems equipped with two ASICs.

Extend driver with:
- The second ASIC health event.
- Per ASIC reset control, triggering reset of ASIC internal resources
  and restarting ASIC initialization flow.

Signed-off-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Oleksandr Shamray <oleksandrs@nvidia.com>
Link: https://lore.kernel.org/r/20220711084559.62447-4-vadimp@nvidia.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/mlx-platform.c