Skip to content

Disable interrupt for intel i2c-i801 driver #16309

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

Merged
merged 2 commits into from
Sep 5, 2023
Merged

Conversation

prgeor
Copy link
Contributor

@prgeor prgeor commented Aug 28, 2023

Why I did it

On S6100 we are seeing almost 100K interrupts per second on intels i801 SMBUS controller which affects systems performance.

We now disable the i801 driver interrupt and instead enable polling

image
Work item tracking
  • Microsoft ADO (number only): 24910530

How I did it

Disable the interrupt by passing the interrupt disable feature argument to i2c-i801 driver

How to verify it

This fix is NOT applicable for ARM based platforms. Applicable only for intel based platforms:-

  1. On SN2700 its already disabled in Mellanox hw-mgmt
  2. Celestica DX010 and E1031
  3. Dell S6100 verified the interrupts are no longer incrementing.
  4. Arista 7260CX3

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@prgeor prgeor requested a review from lguohan as a code owner August 28, 2023 18:07
@prgeor prgeor requested review from Staphylo and saiarcot895 August 28, 2023 18:08
@saiarcot895
Copy link
Contributor

Can this be removed after the kernel is upgraded to 6.1 as part of Bookworm?

@lguohan
Copy link
Collaborator

lguohan commented Aug 30, 2023

@prgeor , can you provide ado for backporting this bugfix?

@prgeor
Copy link
Contributor Author

prgeor commented Sep 5, 2023

@prgeor , can you provide ado for backporting this bugfix?

updated

@lguohan lguohan merged commit a4e37a5 into sonic-net:master Sep 5, 2023
@prgeor
Copy link
Contributor Author

prgeor commented Sep 5, 2023

Can this be removed after the kernel is upgraded to 6.1 as part of Bookworm?

yes

@mssonicbld
Copy link
Collaborator

@prgeor PR conflicts with 202211 branch

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 6, 2023
)

On S6100 we are seeing almost 100K interrupts per second on intels i801 SMBUS controller which affects systems performance.

We now disable the i801 driver interrupt and instead enable polling

Microsoft ADO (number only): 24910530

How I did it
Disable the interrupt by passing the interrupt disable feature argument to i2c-i801 driver

How to verify it
This fix is NOT applicable for ARM based platforms. Applicable only for intel based platforms:-

- On SN2700 its already disabled in Mellanox hw-mgmt
- Celestica DX010 and E1031
- Dell S6100 verified the interrupts are no longer incrementing.
- Arista 7260CX3

Signed-off-by: Prince George <[email protected]>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #16457

yxieca pushed a commit that referenced this pull request Sep 6, 2023
)

On S6100 we are seeing almost 100K interrupts per second on intels i801 SMBUS controller which affects systems performance.

We now disable the i801 driver interrupt and instead enable polling

Microsoft ADO (number only): 24910530

How I did it
Disable the interrupt by passing the interrupt disable feature argument to i2c-i801 driver

How to verify it
This fix is NOT applicable for ARM based platforms. Applicable only for intel based platforms:-

- On SN2700 its already disabled in Mellanox hw-mgmt
- Celestica DX010 and E1031
- Dell S6100 verified the interrupts are no longer incrementing.
- Arista 7260CX3

Signed-off-by: Prince George <[email protected]>
Co-authored-by: Prince George <[email protected]>
@prgeor
Copy link
Contributor Author

prgeor commented Sep 12, 2023

@StormLiangMS please merge to 202305

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 13, 2023
)

On S6100 we are seeing almost 100K interrupts per second on intels i801 SMBUS controller which affects systems performance.

We now disable the i801 driver interrupt and instead enable polling

Microsoft ADO (number only): 24910530

How I did it
Disable the interrupt by passing the interrupt disable feature argument to i2c-i801 driver

How to verify it
This fix is NOT applicable for ARM based platforms. Applicable only for intel based platforms:-

- On SN2700 its already disabled in Mellanox hw-mgmt
- Celestica DX010 and E1031
- Dell S6100 verified the interrupts are no longer incrementing.
- Arista 7260CX3

Signed-off-by: Prince George <[email protected]>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #16534

sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
)

On S6100 we are seeing almost 100K interrupts per second on intels i801 SMBUS controller which affects systems performance.

We now disable the i801 driver interrupt and instead enable polling

Microsoft ADO (number only): 24910530

How I did it
Disable the interrupt by passing the interrupt disable feature argument to i2c-i801 driver

How to verify it
This fix is NOT applicable for ARM based platforms. Applicable only for intel based platforms:-

- On SN2700 its already disabled in Mellanox hw-mgmt
- Celestica DX010 and E1031
- Dell S6100 verified the interrupts are no longer incrementing.
- Arista 7260CX3

Signed-off-by: Prince George <[email protected]>
mssonicbld pushed a commit that referenced this pull request Sep 21, 2023
On S6100 we are seeing almost 100K interrupts per second on intels i801 SMBUS controller which affects systems performance.

We now disable the i801 driver interrupt and instead enable polling

Microsoft ADO (number only): 24910530

How I did it
Disable the interrupt by passing the interrupt disable feature argument to i2c-i801 driver

How to verify it
This fix is NOT applicable for ARM based platforms. Applicable only for intel based platforms:-

- On SN2700 its already disabled in Mellanox hw-mgmt
- Celestica DX010 and E1031
- Dell S6100 verified the interrupts are no longer incrementing.
- Arista 7260CX3

Signed-off-by: Prince George <[email protected]>
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.

7 participants