[AS5835-54X] Upgrade kernel to 6.12#199
Open
vincentchiang-ec wants to merge 1 commit into
Open
Conversation
- modules/PKG.yml, modules/builds/Makefile: use onl-kernel-6.12-lts-x86-64-all - platform-config r0 yml: kernel anchor *kernel-6-12 - cpld/psu/fan: i2c_driver.probe() single-arg signature, use i2c_client_get_device_id() where the device id was consumed - leds: platform_driver.remove() returns void per kernel 6.11+ API Co-Authored-By: Claude Opus 4.7 <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
Upgrades AS5835-54X platform from kernel 6.1 to 6.12 LTS, following the same pattern as the AS9716-32D / AS4630 / AS7712-32X upgrades on this branch.
Per-platform changes
modules/PKG.yml,modules/builds/Makefile: switchKERNELSfromonl-kernel-6.1-lts-x86-64-alltoonl-kernel-6.12-lts-x86-64-allplatform-config/r0/.../x86-64-accton-as5835-54x-r0.yml: kernel anchor*kernel-6-1→*kernel-6-12cpld.c,psu.c,fan.c:i2c_driver.probe()single-arg signature (probe(client)); restore the device id viai2c_client_get_device_id(client)incpld.candpsu.cwhere the body still uses it;fan.c'sdev_idwas unused so the parameter is simply droppedleds.c:platform_driver.remove()returnsvoidper kernel 6.11+ API (drop the trailingreturn 0;)No change needed for:
platform_lib.h): already on/sys/bus/i2c/devices/0-0057/eepromsysi.c: this platform'sonlp_sysi_platform_info_getdoesn't useonlp_onie_info_tTest plan
onlpm --force --build onl-platform-modules-x86-64-accton-as5835-54x:amd64— produces.debcontainingfan.ko / psu.ko / leds.ko / cpld.kounder/lib/modules/6.12.73-OpenNetworkLinux/onl/accton/x86-64-accton-as5835-54x/onlpm --force --build onlp-x86-64-accton-as5835-54x-r0:amd64— produceslibonlp-x86-64-accton-as5835-54x.soonlpm --force --build onl-platform-config-x86-64-accton-as5835-54x-r0:amd64— OKonlpdumpsmoke test (pending HW access)🤖 Generated with Claude Code