ACK/Cmnt: [SRU][F:linux-bluefield][PATCH v1 0/3] UBUNTU: SAUCE: pwr-mlxbf: Several bug fixes for focal

Manuel Diewald manuel.diewald at canonical.com
Thu Nov 30 09:13:59 UTC 2023


On Mon, Oct 30, 2023 at 04:05:44PM -0400, Asmaa Mnebhi wrote:
> BugLink: https://bugs.launchpad.net/bugs/2041996
> 
> SRU Justification:
> 
> [Impact]
> 
> There is are several changes that needs to be made to pwr-mlxbf in focal:
> * There is a race condition between gpio-mlxbf2.c driver being loaded and pwr-mlxbf.c being loaded
> * When the module is removed, there is a panic due to NULL pointer access
> * soft reset needs to be replaced by graceful reboot
> 
> [Fix]
> 
> * Fix race condition between gpio-mlxbf2.c driver being loaded and pwr-mlxbf.c being loaded
> * Fix panic due to access to NULL pointer when driver is removed via rmmod
> * support graceful reboot instead of soft reset
> 
> [Test Case]
> 
> * all test cases are for BF2:
> * trigger the gpio toggling from the BMC: ipmitool raw 0x32 0xA1 0x02
>   This should trigger a graceful reboot of the DPU.
> * rmmod/modprobe
> * reboot test and make sure the driver is always loaded
> 
> [Regression Potential]
> 
> * Run the 100 reboot test and make sure that the driver is loaded with no issues. That the gpio graceful reboot works.
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

The [Regression Potential] section does not really describe where to
expect potential regressions or how they might look like. It is
essentially another [Test case]. Looking at the patches it can be
assumed that regressions would be limited to the pwr-mlxbf driver.

Acked-by: Manuel Diewald <manuel.diewald at canonical.com>

-- 
 Manuel



More information about the kernel-team mailing list