Skip to content

[celestica dx010] comment out the initialization of PCA9541#5891

Merged
lguohan merged 1 commit intosonic-net:masterfrom
yxieca:celestica
Nov 11, 2020
Merged

[celestica dx010] comment out the initialization of PCA9541#5891
lguohan merged 1 commit intosonic-net:masterfrom
yxieca:celestica

Conversation

@yxieca
Copy link
Contributor

@yxieca yxieca commented Nov 11, 2020

- Why I did it

The original code tried to initialize PCA9541 without having the driver loaded. As result the initialization didn't take effect.

Recently PCA9541 driver was added to the kernel and since then the initialization takes effect and has negatively impacted the
platform stability.

- How I did it

Commenting the initialization code out to restore the original behavior while analyzing further.

Signed-off-by: Ying Xie ying.xie@microsoft.com

- How to verify it
Manually made the change on a device subject to the issue. Reboot the device and the device becomes healthy. Particularly, able to access psu status. And can run test_link_flap without triggering sanity check failures.

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006

The original code tried to initialize PCA9541 without having the
driver loaded. As result the initialization didn't take effect.

Recently PCA9541 driver was added to the kernel and since then
the initialization takes effect and has negatively impacted the
platform stability.

Commenting the initialization code out to restore the original
behavior while analyzing further.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
@lguohan lguohan merged commit b5cfc02 into sonic-net:master Nov 11, 2020
lguohan pushed a commit that referenced this pull request Dec 24, 2020
Remove the unused codes addressed in #5891 on Dx010 platform.
santhosh-kt pushed a commit to santhosh-kt/sonic-buildimage that referenced this pull request Feb 25, 2021
…t#5891)

The original code tried to initialize PCA9541 without having the
driver loaded. As result the initialization didn't take effect.

Recently PCA9541 driver was added to the kernel and since then
the initialization takes effect and has negatively impacted the
platform stability.

Commenting the initialization code out to restore the original
behavior while analyzing further.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
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.

3 participants