Skip to content

[Deepin-Kernel-SIG] [linux 6.6-y] [Phytium] phytium: phytmac: update phytmac to v1.0.50#1516

Merged
opsiff merged 3 commits intodeepin-community:linux-6.6.yfrom
opsiff:linux-6.6.y-2026-02-28-phytium
Feb 28, 2026
Merged

[Deepin-Kernel-SIG] [linux 6.6-y] [Phytium] phytium: phytmac: update phytmac to v1.0.50#1516
opsiff merged 3 commits intodeepin-community:linux-6.6.yfrom
opsiff:linux-6.6.y-2026-02-28-phytium

Conversation

@opsiff
Copy link
Member

@opsiff opsiff commented Feb 28, 2026

phytium: phytmac: update phytmac to v1.0.50

Update phytmac from v1.0.29 to v1.0.50. Including following details.

net/phytmac: Modify cmd processing function
net/phytmac: Add XDP feature support
net/phytmac: Bugfix set WOL failed issue
net/phytmac: Bugfix invalid wait context
net/phytmac: Change the requested resource type from nRE to nRnE
net/phytmac: BugFix Memory leak when releasing resource
net/phytmac: Limit the number of retries to avoid deadlock
net/phytmac: Set the read timeout period to the NIC register
net/phytmac: Slove left-shift out of bound issue
net/phytmac: Manage WOL on MAC if PHY supports WOL feature
net/phytmac: Fixed the PTP test failure issue
net/phytmac: Cancels the power-on/off capability
net/phytmac: Exit probe when MDIO times out
net/phytmac: Clear RX descriptor address after the skb construction
net/phytmac: Enable the tail pointer by the driver
net/phytmac: Update hardware identifiers and the driver name
net/phytmac: Fix sleeping function called from invalid context
net/phytmac: Fix compile error on X86 architecture
net/phytmac: Fix page refcounting issue for XDP_REDIRECT
net/phytmac: Bugfix the potential deadlock issue

JiakunShuai and others added 2 commits February 27, 2026 17:57
Update phytmac from v1.0.29 to v1.0.50. Including following details.

net/phytmac: Modify cmd processing function
net/phytmac: Add XDP feature support
net/phytmac: Bugfix set WOL failed issue
net/phytmac: Bugfix invalid wait context
net/phytmac: Change the requested resource type from nRE to nRnE
net/phytmac: BugFix Memory leak when releasing resource
net/phytmac: Limit the number of retries to avoid deadlock
net/phytmac: Set the read timeout period to the NIC register
net/phytmac: Slove left-shift out of bound issue
net/phytmac: Manage WOL on MAC if PHY supports WOL feature
net/phytmac: Fixed the PTP test failure issue
net/phytmac: Cancels the power-on/off capability
net/phytmac: Exit probe when MDIO times out
net/phytmac: Clear RX descriptor address after the skb construction
net/phytmac: Enable the tail pointer by the driver
net/phytmac: Update hardware identifiers and the driver name
net/phytmac: Fix sleeping function called from invalid context
net/phytmac: Fix compile error on X86 architecture
net/phytmac: Fix page refcounting issue for XDP_REDIRECT
net/phytmac: Bugfix the potential deadlock issue

Signed-off-by: Li Wencheng <liwencheng@phytium.com.cn>
Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn>
Signed-off-by: Jiakun Shuai <shuaijiakun1288@phytium.com.cn>
Log:
drivers/net/ethernet/phytium/phytmac_platform.c:232:8: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
  232 |                         if (!pdata->msg_regs) {
      |                             ^~~~~~~~~~~~~~~~
drivers/net/ethernet/phytium/phytmac_platform.c:311:9: note: uninitialized use occurs here
  311 |         return ret;
      |                ^~~
drivers/net/ethernet/phytium/phytmac_platform.c:232:4: note: remove the 'if' if its condition is always false
  232 |                         if (!pdata->msg_regs) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
  233 |                                 dev_err(&pdev->dev, "msg_regs ioremap failed, i=%d\n", i);
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  234 |                                 goto err_mem;
      |                                 ~~~~~~~~~~~~~
  235 |                         }
      |                         ~
drivers/net/ethernet/phytium/phytmac_platform.c:172:9: note: initialize the variable 'ret' to silence this warning
  172 |         int ret, i;
      |                ^
      |                 = 0
1 error generated.
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @opsiff, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
@opsiff opsiff merged commit 8c35367 into deepin-community:linux-6.6.y Feb 28, 2026
13 checks passed
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.

2 participants