Skip to content

Commit

Permalink
[Mellanox] Remove incorrectly generated patch allegedly avoiding kern…
Browse files Browse the repository at this point in the history
…el deadlock but causes one (sonic-net#231)

Patch 0028-thermal-Fix-deadlock-in-thermal-thermal_zone_device_.patch was incorrectly generated. It is supposed to backport Linux commit torvalds/linux@163b00c, but the commit was already backported to the stable series in v4.19.89, so included in Linux v.19.152 currently used by SONiC. Instead, the incorrect patch reverts the first hunk of the commit. So, remove it.

For the old patch, guess there was some mistake has been made while generating the patch. Instead of applying the fix to the code, it's generated in a opposite way, the content of the wrong patch is reverting the first part of the patch, so it can still building but make the fix incomplete.

Regression tests have been performed against these patches on the Mellanox platform, no issue found.
  • Loading branch information
Junchao-Mellanox authored Aug 23, 2021
1 parent ff9762e commit 0fe396e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 84 deletions.

This file was deleted.

1 change: 0 additions & 1 deletion patch/series
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ net-sch_generic-fix-the-missing-new-qdisc-assignment.patch
0025-platform-x86-mlx-platform-Remove-PSU-EEPROM-configur.patch
0026-platform-x86-mlx-platform-Remove-PSU-EEPROM-configur.patch
0027-mlxsw-core-Remove-critical-trip-point-from-thermal-z.patch
0028-thermal-Fix-deadlock-in-thermal-thermal_zone_device_.patch
0029-hwmon-pmbus-Add-support-for-MPS-Multi-phase-mp2975-c.patch
0030-hwmon-Add-convience-macro-to-define-simple-static-se.patch
0031-backport-nvme-Add-hardware-monitoring-support.patch
Expand Down

0 comments on commit 0fe396e

Please sign in to comment.