-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Inventec][D6356] Kernel upgrade and few updates #5145
base: master
Are you sure you want to change the base?
Conversation
pca9641_release_bus(client); | ||
i2c_unlock_adapter(adap); | ||
i2c_unlock_bus(adap, I2C_LOCK_ROOT_ADAPTER); |
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.
i do not know how this driver got into sonic repo, we should use standard linux driver for 9541.
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.
This part is modified after previous feedback, please help to review, thank you!
@@ -141,7 +141,7 @@ def system_install(): | |||
status, output = exec_cmd("rmmod lpc_ich ", 1) |
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.
should use blacklist module as the standard way to block loading certain drivers.
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.
This part is modified after previous feedback, please help to review, thank you!
@@ -141,7 +141,7 @@ def system_install(): | |||
status, output = exec_cmd("rmmod lpc_ich ", 1) | |||
|
|||
#insert extra module | |||
status, output = exec_cmd("insmod /lib/modules/4.9.0-11-2-amd64/kernel/drivers/gpio/gpio-ich.ko gpiobase=0",1) | |||
status, output = exec_cmd("insmod /usr/lib/modules/4.19.0-9-2-amd64/kernel/drivers/gpio/gpio-ich.ko gpiobase=0",1) |
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.
this is easily broken. we should not hardcode the driver path into the installer.
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.
This part is modified after previous feedback, please help to review, thank you!
- Upgrade kernel to 4.19 - Update SFP/QSFP platform API base on latest xcvrd - Add auto find gpio base in swps driver Signed-off-by: cynthia <wu.cynthia@inventec.com>
a227fc4
to
2a84aa6
Compare
This pull request fixes 8 alerts when merging 2a84aa6 into f3feb56 - view on LGTM.com fixed alerts:
|
hi @lguohan , |
hi @lguohan , |
hi @lguohan , hi @jleveque , |
- Why I did it
- How I did it
- How to verify it
Please refer to the test report after these fixes for details.
D6356_master.pdf
- Which release branch to backport (provide reason below if selected)
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)