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

Tim Gardner tim.gardner at canonical.com
Thu Jun 3 13:52:57 UTC 2021


Applied to focal:linux-bluefield. Thanks.

-rtg

On 5/26/21 11:42 AM, Asmaa Mnebhi wrote:
> 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.
> 

-- 
-----------
Tim Gardner
Canonical, Inc



More information about the kernel-team mailing list