[AS9817-64D][AS9817-64O] Upgrade kernel from 6.1 to 6.12#115
Open
vincentchiang-ec wants to merge 4 commits intoaccton:support_linux_6.12from
Open
[AS9817-64D][AS9817-64O] Upgrade kernel from 6.1 to 6.12#115vincentchiang-ec wants to merge 4 commits intoaccton:support_linux_6.12from
vincentchiang-ec wants to merge 4 commits intoaccton:support_linux_6.12from
Conversation
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…6.12 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- i2c_driver.probe: remove second parameter, use i2c_client_get_device_id - i2c_mux_add_adapter: remove force_nr parameter (4 args -> 3 args) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
force_nr and chan_id were swapped in the previous kernel 6.12 port: - Wrong: i2c_mux_add_adapter(muxc, i, 0) [force_nr=i, chan_id=0] - Fixed: i2c_mux_add_adapter(muxc, 0, i) [force_nr=0 (dynamic), chan_id=i] With force_nr=i, when i=1 the mux tries to force bus 1 which is already taken, causing EBUSY (-16) and failing probe. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade AS9817-64D and AS9817-64O platform drivers from kernel 6.1 to 6.12 LTS.
Changes
Kernel version bump
PKG.yml,Makefile,r0.yml:onl-kernel-6.1-lts-x86-64-all→onl-kernel-6.12-lts-x86-64-all(for both as9817-64d and as9817-64o)API compatibility fixes for kernel 6.12
platform_driver.removereturn type changed (int→void):x86-64-accton-as9817-64-fan.cx86-64-accton-as9817-64-leds.cx86-64-accton-as9817-64-psu.cx86-64-accton-as9817-64-sys.cx86-64-accton-as9817-64-thermal.cx86-64-accton-as9817-64-i2c-ocores.cx86-64-accton-as9817-64-fpga.ci2c_driver.probesignature changed (mux.c):const struct i2c_device_id *idi2c_client_get_device_id(client)to retrieve device id inside probei2c_mux_add_adapterAPI changed (mux.c):force_nrparameter; dynamic bus numbering)i2c_mux_add_adapter(muxc, 0, i)wherechan_id=iOther:
sysi.c: zero-initializeonlp_onie_info_t onieto avoid uninitialized memory