-
Notifications
You must be signed in to change notification settings - Fork 185
Fix for i2c_designware shutdown #497
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
base: master
Are you sure you want to change the base?
Conversation
Designware I2C driver was failing to probe the I2C controller after we kexec to another kernel on some Arista platforms: i2c_designware AMDI0010:00: Unknown Synopsys component type: 0xffffffff
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’d be really appreciated to send this upstream.
@@ -0,0 +1,49 @@ | |||
From: Justin Oliver <[email protected]> | |||
Date: 2022-12-12 17:42:20 +0000 | |||
Subject: Designware I2C driver fails to probe device after kexec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make it a statement and follow the Linux kernel prefix style for the subsystem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -0,0 +1,49 @@ | |||
From: Justin Oliver <[email protected]> | |||
Date: 2022-12-12 17:42:20 +0000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this been sent upstream (especially for review)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet ,but we could try submitting a patch for review to the Linux community.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That’d be great. Please give a timeline. (It shouldn’t take longer than five minutes.)
Date: 2022-12-12 17:42:20 +0000 | ||
Subject: Designware I2C driver fails to probe device after kexec | ||
|
||
The Designware I2C driver sometimes fails to probe the I2C controller after |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the error log message from the merge/pull request description.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
defines a `shutdown` procedure for the Designware I2C platform driver. This | ||
will gracefully bring down the I2C controller, allowing the driver to | ||
successfully initialize the device with the new kernel. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing Signed-off-by line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@byu343 , can you address comments? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upstreaming this would be really paramount to avoid maintenance burden.
Designware I2C driver was failing to probe the I2C controller after we kexec to another kernel on some Arista platforms:
i2c_designware AMDI0010:00: Unknown Synopsys component type: 0xffffffff