[SRU][F:linux-bluefield][PATCH 0/1] UBUNTU: SAUCE: Automate soft reset of BlueField ARM via GPIO7

Asmaa Mnebhi asmaa at nvidia.com
Wed May 26 17:42:52 UTC 2021


Buglink: https://bugs.launchpad.net/bugs/1929736

SRU Justification:

[Impact]

The BlueSphere like boards have a feature where the BMC
can trigger a BlueField ARM reset via ipmitool. The ipmitool
command simply toggles the signal on a BMC GPIO pin which
propagates to HOST GPIO 7. HOST GPIO 7 is setup as an
interrupt for SW resetting ARM.

At the moment, the user needs to manually run bfacpievt
script to create acpi files. These files are responsible for
triggering a "reboot". This patch automates this process.
Now, the reboot is entirely handled by the gpio driver.

[Fix]

* Remove the acpi event handler code and replace it with kernel emergency_restart

[Test Case]

* On BF-2 board with BMC (such as BlueSphere), trigger ARM reset via BMC ipmitool command.

[Regression Potential]

No known regression.



More information about the kernel-team mailing list