Skip to content

[Mellanox] Backport kernel patches coming along with Mellanox hw-mgmt package release V.7.0010.3134#233

Merged
lguohan merged 20 commits intosonic-net:masterfrom
keboliu:hw-mgmt-3134
Oct 6, 2021
Merged

[Mellanox] Backport kernel patches coming along with Mellanox hw-mgmt package release V.7.0010.3134#233
lguohan merged 20 commits intosonic-net:masterfrom
keboliu:hw-mgmt-3134

Conversation

@keboliu
Copy link
Copy Markdown
Collaborator

@keboliu keboliu commented Sep 15, 2021

Backport kernel patches come along with Mellanox hw-mgmt package release V.7.0010.3134:

V5.14-rc1 includes all following patches.

Patch name Commit hash
0033-i2c-mlxcpld-Update-module-license.patch torvalds/linux@f069291
0034-i2c-mlxcpld-Add-support-for-I2C-bus-frequency-settin.patch torvalds/linux@66b0c28
0035-i2c-mux-mlxcpld-Update-module-license.patch torvalds/linux@337bc68
0036-i2c-mux-mlxcpld-Move-header-file-out-of-x86-realm.patch torvalds/linux@98d29c4
0037-platform-x86-mlxcpld-Update-module-license.patch torvalds/linux@9ff0c6d
0038-i2c-mux-mlxcpld-Convert-driver-to-platform-driver.patch torvalds/linux@84af1b1
0039-i2c-mux-mlxcpld-Prepare-mux-selection-infrastructure.patch torvalds/linux@8156693
0040-i2c-mux-mlxcpld-Get-rid-of-adapter-numbers-enforceme.patch torvalds/linux@cae5216
0041-i2c-mux-mlxcpld-Extend-driver-to-support-word-addres.patch torvalds/linux@c52a1c5
0042-i2c-mux-mlxcpld-Extend-supported-mux-number.patch torvalds/linux@699c050
0043-i2c-mux-mlxcpld-Add-callback-to-notify-mux-creation-.patch torvalds/linux@a39bd92
0044-platform-x86-mlx-platform-remove-an-unused-variable.patch torvalds/linux@eca6ba2
0045-platform-x86-mlx-platform-Fix-item-counter-assignmen.patch torvalds/linux@ba4939f
0046-platform-x86-mlx-platform-Fix-item-counter-assignmen.patch torvalds/linux@cf79177
0047-mlxsw-core-Set-thermal-zone-polling-delay-argument-t.patch torvalds/linux@2fd8d84
0048-mlxsw-reg-Extend-MTMP-register-with-new-threshold-fi.patch torvalds/linux@314dbb1
0049-mlxsw-core_env-Read-module-temperature-thresholds-us.patch torvalds/linux@befc204
0050-mlxsw-thermal-Add-function-for-reading-module-temper.patch torvalds/linux@e57977b
0051-mlxsw-thermal-Read-module-temperature-thresholds-usi.patch torvalds/linux@72a64c2

Full regression tests have been run on Mellanox platforms

…ncy-settin.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…6-realm.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
….patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…astructure.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…-enforceme.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…ord-addres.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…r.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…-creation-.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…-variable.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…-assignmen.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…-assignmen.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…argument-t.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…reshold-fi.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…esholds-us.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
…ule-temper.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
@keboliu
Copy link
Copy Markdown
Collaborator Author

keboliu commented Sep 15, 2021

/azpw run

@keboliu keboliu changed the title [Mellanox] Backport kernel patches come along with Mellanox hw-mgmt package release V.7.0010.3134 [Mellanox] Backport kernel patches coming along with Mellanox hw-mgmt package release V.7.0010.3134 Sep 15, 2021
@paulmenzel
Copy link
Copy Markdown
Contributor

Thank you for the backports. Please add the upstream hash to the patch file as done in Linux’ stable series.

devlink: Break parameter notification sequence to be before/after unload/load driver

commit 05a7f4a8dff19999ca8a83a35ff4782689de7bfc upstream.

Lastly, please mention in the merge/pull request summary, in what Linux release your patches are all included.

…sholds-usi.patch

Signed-off-by: Kebo Liu <kebol@nvidia.com>
Signed-off-by: Kebo Liu <kebol@nvidia.com>
@keboliu
Copy link
Copy Markdown
Collaborator Author

keboliu commented Sep 15, 2021

Thank you for the backports. Please add the upstream hash to the patch file as done in Linux’ stable series.

devlink: Break parameter notification sequence to be before/after unload/load driver
commit 05a7f4a8dff19999ca8a83a35ff4782689de7bfc upstream.

Lastly, please mention in the merge/pull request summary, in what Linux release your patches are all included.

done.

@keboliu
Copy link
Copy Markdown
Collaborator Author

keboliu commented Sep 21, 2021

@lguohan would you please take a look?

@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented Sep 23, 2021

how is this efforts related to 5.10?

@keboliu
Copy link
Copy Markdown
Collaborator Author

keboliu commented Sep 23, 2021

how is this efforts related to 5.10?

Hi @lguohan, for each hw-mgmt release, we have separated sets of kernel patches for different kernel versions. These new patches are for 4.19, if they are also relevant to 5.10, there will be also patches in the hw-mgmt 5.10 patch list.
Currently, for 5.10 upgrading we are taking all the patches from the hw-mgmt 5.10 patch list(for upgrading to 5.10 we are using a newer hw-mgmt release, which will including more kernel patches), so no need to rebase these new patches when upgrading to 5.10.

@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented Sep 27, 2021

can we wait till 5.10 kernel being merged for these pr?

@keboliu
Copy link
Copy Markdown
Collaborator Author

keboliu commented Sep 28, 2021

can we wait till 5.10 kernel being merged for these pr?

Hi Guohan, prefer to have this merged earlier, it's including some bug fix and also we have a feature that has a dependency on this new hw-mgmt package, we want that feature to go public as earlier as possible.

@lguohan lguohan merged commit 95fb735 into sonic-net:master Oct 6, 2021
@keboliu keboliu deleted the hw-mgmt-3134 branch October 28, 2023 03:36
dal00 pushed a commit to kamelnetworks/sonic-linux-kernel that referenced this pull request Jul 20, 2025
Newer versions of PyGObject depend on libgirepository-2.0-dev which isn't packaged for Debian. This leads to build failures like

 Collecting PyGObject
 Downloading pygobject-3.52.1.tar.gz (1.2 MB)
 ...

 × Preparing metadata (pyproject.toml) did not run successfully.
 │ exit code: 1
 ╰─> [24 lines of output]
 ...

 ../meson.build:31:9: ERROR: Dependency 'girepository-2.0' is required but not found.

Pin the version of PyGObject to 3.50.0 which is the latest version known to work.

Fixes sonic-net/sonic-buildimage#21984

This needs to be cherry-picked onto the 202411branch. Probably 202405 and 202311 too. I don't think it'll apply cleanly to 202305 so that'd need a branch specific change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants