Skip to content

[Mellanox] Integrate HW-MGMT Version 7.0070.1004 - #604

Open
DannyIsa wants to merge 2 commits into
sonic-net:masterfrom
DannyIsa:master_d230661_integrate_7.0070.1004_2026-08-02
Open

[Mellanox] Integrate HW-MGMT Version 7.0070.1004#604
DannyIsa wants to merge 2 commits into
sonic-net:masterfrom
DannyIsa:master_d230661_integrate_7.0070.1004_2026-08-02

Conversation

@DannyIsa

@DannyIsa DannyIsa commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Why I did it

Integrate HW-MGMT 7.0070.1004 changes into the SONiC kernel (previous version: 7.0060.1047).

What's in this PR

Commit 1 — Integrate HW-MGMT 7.0070.1004 patches

Adds the new kernel patches that come with this HW-MGMT version:

  • 0064-hwmon-pmbus-isl68137-Add-support-for-Renesas-RAA2289...: add the I2C device IDs for the Renesas RAA228942 and RAA228943 regulators. Already upstream as 7c760db74c9f.
  • 8014-mlxsw-i2c-Downstream-Increase-I2C-timeout-for-HW-sem...: raise the I2C timeout from 5s to 10s. A firmware diagnostic operation can pause the device for around five seconds, which used to trip a false "HW semaphore is not released" error even though the device recovers normally.

BMC patches (for sonic-aspeed):

  • 0008-arm64-dts-aspeed-spc6-bmc-ext-phram-env-tpm-i3c-pull...: in the Aspeed AST2700 BMC device tree, reserve a small phram region so the U-Boot environment survives warm boots, and fix TPM GPIO init, GPIO expander reset and I3C pull-ups.
  • 0009-arm64-dts-aspeed-split-SPC6-BMC-DTS-for-SONiC-and-Op...: build separate SONiC and OpenBMC device trees from the shared BMC DTS. OpenBMC boots its rootfs from SPI via phram; SONiC boots from eMMC and does not. Keeping the OpenBMC ramrofs reservation in the SONiC DTB overlaps the kernel load area and breaks early boot.
  • 0010-net-ftgmac100-hard-reset-mac-for-sgmii...: hard-reset the MAC on SGMII links to clear an RX stall.
  • 0011-arm64-dts-aspeed-spc6-bmc-fix-sgmii-phy-names...: fix the mac2 SGMII phy-names property.
  • 0012-usb-ehci-Add-Aspeed-AST2700-support...: select a 64-bit DMA mask for the AST2700 EHCI controller, which unlike earlier Aspeed SoCs is not limited to 32-bit DMA addressing. Already upstream as 274f2232a94f.

Updated patch:

  • 0046-platform-mellanox-nvsw-bmc-Add-system-control-and-mo...: add two additional power-good event entries.

Removed patch:

  • 0001-mlxbf-bootctl-Constify-struct-bin_attribute...: no longer part of the HW-MGMT patch set in 7.0070.1004. The change is upstream as 8ba0e61861ab.

Note: apart from 0064 and 0012 above, the patches in this series are downstream platform patches that have not been sent upstream for review, and are marked Upstream-Status: Pending.

Commit 2 — Enable BMC Kconfig for sonic-aspeed

Adjusts the kernel config options in config.sonic-aspeed for the BMC patches above:

  • CONFIG_MTD_PHRAM=y: required by 0008, which reserves the phram_env region backing /dev/mtd/by-name/phram-env.
  • CONFIG_AST2700_RTC_OVER_ESPI removed: the BMC device tree update in 0009 aliases rtc0 to the external PCF85053A RTC at rtc@6f and moves the Aspeed internal RTC to rtc1.

Important

This PR depends on #584 and must not be merged before it.

Signed-off-by: Daniel Isakov disakov@nvidia.com

Update the SONiC kernel patch stack from HW-MGMT 7.0060.1047 to
7.0070.1004.

Source tag:
https://github.com/Mellanox/hw-mgmt/tree/V.7.0070.1004
Patch status table:
https://github.com/Mellanox/hw-mgmt/blob/V.7.0070.1004/recipes-kernel/linux/Patch_Status_Table.txt

Added patches:

* 0064-hwmon-pmbus-isl68137-Add-support-for-Renesas-RAA2289.patch:
  add the I2C device IDs for the Renesas RAA228942 and RAA228943
  regulators. At the PMBus level these are compatible with the existing
  2-rail non-TC controllers, so no dedicated OF match entries are added.
  Upstream: 7c760db74c9f ("hwmon: (pmbus/isl68137) Add support for
  Renesas RAA228942 and RAA228943")

* 8014-mlxsw-i2c-Downstream-Increase-I2C-timeout-for-HW-sem.patch:
  raise MLXSW_I2C_TIMEOUT_MSECS from 5000 to 10000. Taking an IR core
  dump on an SPC1 debug kernel halts the IRISCs for roughly five
  seconds, which occasionally exceeded the old timeout and produced
  spurious "HW semaphore is not released" errors.

Added BMC patches (sonic-aspeed):

* 0008-arm64-dts-aspeed-spc6-bmc-ext-phram-env-tpm-i3c-pull.patch:
  reserve a 4 KiB phram-env region for the U-Boot environment so the
  recovery counter survives warm boots, fix TPM GPIO init, GPIO
  expander reset and I3C pull-ups on the SPC6 BMC DTS.

* 0009-arm64-dts-aspeed-split-SPC6-BMC-DTS-for-SONiC-and-Op.patch:
  build separate SONiC and OpenBMC device trees. OpenBMC boots rootfs
  from SPI via phram, SONiC boots from eMMC and does not; keeping the
  ramrofs reservation in the SONiC DTB overlaps the kernel load window
  and breaks early boot.

* 0010-net-ftgmac100-hard-reset-mac-for-sgmii.patch:
  hard-reset the MAC on SGMII links to clear an RX stall.

* 0011-arm64-dts-aspeed-spc6-bmc-fix-sgmii-phy-names.patch:
  fix the mac2 SGMII phy-names property.

* 0012-usb-ehci-Add-Aspeed-AST2700-support.patch:
  select a 64-bit DMA mask for the AST2700 EHCI controller, which
  unlike earlier Aspeed SoCs is not limited to 32-bit DMA addressing.
  Upstream: 274f2232a94f ("usb: ehci: Add Aspeed AST2700 support")

Updated patches:

* 0046-platform-mellanox-nvsw-bmc-Add-system-control-and-mo.patch:
  add the holder6_pg and holder7_pg event items.

Removed patches:

* 0001-mlxbf-bootctl-Constify-struct-bin_attribute.patch:
  no longer part of the HW-MGMT patch set as of 7.0070.1004. The change
  is upstream as 8ba0e61861ab ("mlxbf-bootctl: Constify 'struct
  bin_attribute'").

Signed-off-by: Daniel Isakov <disakov@nvidia.com>
Adjust config.local/arm64/config.sonic-aspeed for the BMC patches added
in this series.

* CONFIG_MTD_PHRAM=y: required by
  0008-arm64-dts-aspeed-spc6-bmc-ext-phram-env-tpm-i3c-pull.patch, which
  reserves the phram_env region backing /dev/mtd/by-name/phram-env.

* CONFIG_AST2700_RTC_OVER_ESPI is removed. The SPC6 BMC device tree
  update in this series (0009) aliases rtc0 to the external PCF85053A
  RTC at rtc@6f and moves the Aspeed internal RTC to rtc1.

Signed-off-by: Daniel Isakov <disakov@nvidia.com>
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@DannyIsa DannyIsa changed the title Integrate HW-MGMT Version 7.0070.1004 [Mellanox] Integrate HW-MGMT Version 7.0070.1004 Aug 2, 2026
@DannyIsa
DannyIsa force-pushed the master_d230661_integrate_7.0070.1004_2026-08-02 branch from 0803371 to 4ba0122 Compare August 2, 2026 12:34
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@DannyIsa
DannyIsa marked this pull request as ready for review August 2, 2026 12:43
@DannyIsa
DannyIsa requested a review from a team as a code owner August 2, 2026 12:43
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@DannyIsa

DannyIsa commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 604 in repo sonic-net/sonic-linux-kernel

@benle7

benle7 commented Aug 2, 2026

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@ShauliTaragin

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 604 in repo sonic-net/sonic-linux-kernel

@liat-grozovik

Copy link
Copy Markdown
Collaborator

@vivekrnv @saiarcot895 could you please help to review and merge?

shared by the transports: MCTP tracepoints, transport statistics, and
error-injection helpers (I2C/SPI/USB/socket) used for testing, and
extends the core MCTP routing, device and socket code accordingly.
Add support for MCTP over SPI, VRoT.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The patch descriptions got removed?

@paulmenzel paulmenzel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of commit messages where replaced by one line. Why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants