Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] mlxsw: i2c: Prevent transaction execution for special chip #279

Merged

Conversation

stepanblyschak
Copy link
Contributor

states

Do not run transaction in cases chip is in reset or in-filed update states.

This patch fixes an issue encountered during SONiC warm-reboot: during
ISSU start the kernel reports that CPU stall is detected:

INFO: rcu_sched detected stalls on CPUs/tasks

This patch won't be upstreamed due to the upstream driver not supporting
ISSU.

Signed-off-by: Stepan Blyschak stepanb@nvidia.com

states

Do not run transaction in cases chip is in reset or in-filed update states.

This patch fixes an issue encountered during SONiC warm-reboot: during
ISSU start the kernel reports that CPU stall is detected:

```
INFO: rcu_sched detected stalls on CPUs/tasks
```

This patch won't be upstreamed due to the upstream driver not supporting
ISSU.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
@saiarcot895 saiarcot895 merged commit 50e2bff into sonic-net:master Jul 5, 2022
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Aug 9, 2022
Update sonic-linux-kernel submodule pointer to include the following:
* [Mellanox] Add new kernel patches from HW-MGMT package V.7.0020.3005 ([sonic-net#287](sonic-net/sonic-linux-kernel#287))
* [patch] mlxsw: i2c: Prevent transaction execution for special chip ([sonic-net#279](sonic-net/sonic-linux-kernel#279))
* [sflow + dropmon] added missing patch for the sFlow + dropmon feature. ([sonic-net#281](sonic-net/sonic-linux-kernel#281))
* [sflow + dropmon] added patches for the sFlow + dropmon feature. ([sonic-net#276](sonic-net/sonic-linux-kernel#276))

Signed-off-by: dprital <drorp@nvidia.com>
yxieca pushed a commit that referenced this pull request Aug 11, 2022
)

* [patch] mlxsw: i2c: Prevent transaction execution for special chip
states

Do not run transaction in cases chip is in reset or in-filed update states.

This patch fixes an issue encountered during SONiC warm-reboot: during
ISSU start the kernel reports that CPU stall is detected:

```
INFO: rcu_sched detected stalls on CPUs/tasks
```

This patch won't be upstreamed due to the upstream driver not supporting
ISSU.

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>

* remove TMP tag

Signed-off-by: Stepan Blyschak <stepanb@nvidia.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