Skip to content

[202012][patch] mlxsw: i2c: Prevent transaction execution for special#282

Merged
saiarcot895 merged 3 commits intosonic-net:202012from
stepanblyschak:202012-prevent-transaction
Jul 6, 2022
Merged

[202012][patch] mlxsw: i2c: Prevent transaction execution for special#282
saiarcot895 merged 3 commits intosonic-net:202012from
stepanblyschak:202012-prevent-transaction

Conversation

@stepanblyschak
Copy link
Contributor

… 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

@stepanblyschak stepanblyschak force-pushed the 202012-prevent-transaction branch from 741efa1 to 9b258ba Compare June 23, 2022 10:15
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>
@stepanblyschak stepanblyschak force-pushed the 202012-prevent-transaction branch from 9b258ba to 1db99f7 Compare June 23, 2022 10:16
…012-prevent-transaction

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
@stepanblyschak
Copy link
Contributor Author

@saiarcot895 Could you please also review this PR for 202012?

@saiarcot895 saiarcot895 merged commit bc4ae91 into sonic-net:202012 Jul 6, 2022
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Jul 10, 2022
Update sonic-linux-kernel submodule pointer to include the following:
* [202012][patch] mlxsw: i2c: Prevent transaction execution for special chip states ([sonic-net#282](sonic-net/sonic-linux-kernel#282))

Signed-off-by: dprital <drorp@nvidia.com>
liat-grozovik pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Jul 11, 2022
Update sonic-linux-kernel submodule pointer to include the following:
* [202012][patch] mlxsw: i2c: Prevent transaction execution for special chip states ([#282](sonic-net/sonic-linux-kernel#282))

Signed-off-by: dprital <drorp@nvidia.com>
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