Skip to content

Automatic kernel config rewrite - #9948

Closed
github-actions[bot] wants to merge 1 commit into
mainfrom
update-kernel-configs
Closed

github-actions[bot] wants to merge 1 commit into
mainfrom
update-kernel-configs

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Rewrite kernel configs

What this PR does

  • Regenerates and synchronizes Linux kernel config fragments across boards/families based on the prepared inventory.
  • Runs ./compile.sh rewrite-kernel-config for each scheduled (family, branch) and aggregates all changes into one PR.
  • No userspace changes; only Kconfig option updates (enable/disable/modules/values) aligned with the targeted kernel branches.

How it was produced

This PR is produced from this GHA script.

  1. Built a matrix: ./compile.sh inventory-boards (deduped, sanitized).
  2. Executed rewrite-kernel-config per matrix.
  3. Collected only changed files from each job as artifacts; aggregated and committed them here.

Review tips

  • Skim the table below for big deltas; open those configs to verify intent.
  • If a particular change is undesirable, comment on that file and we can exclude/adjust and re-run.

Files changed

File + - Δ
config/kernel/linux-filogic-current.config 14 9 5
config/kernel/linux-filogic-edge.config 16 20 -4
config/kernel/linux-genio-edge.config 3 0 3
config/kernel/linux-imx6-current.config 58 199 -141
config/kernel/linux-imx6-edge.config 118 219 -101
config/kernel/linux-imx8ulp-vendor.config 8 0 8
config/kernel/linux-k3-beagle-edge.config 8 0 8
config/kernel/linux-k3-beagle-vendor-rt.config 8 0 8
config/kernel/linux-k3-beagle-vendor.config 8 0 8
config/kernel/linux-k3-edge.config 8 0 8
config/kernel/linux-k3-vendor-edge.config 8 0 8
config/kernel/linux-k3-vendor-rt.config 8 0 8
config/kernel/linux-k3-vendor.config 8 0 8
config/kernel/linux-ls1046a-current.config 18 3 15
config/kernel/linux-meson-s4t7-current.config 45 29 16
config/kernel/linux-mt7623-current.config 1 0 1
config/kernel/linux-mt7623-edge.config 1 0 1
config/kernel/linux-mvebu-current.config 26 92 -66
config/kernel/linux-mvebu-edge.config 2 37 -35
config/kernel/linux-mvebu-legacy.config 27 5269 -5242
config/kernel/linux-nuvoton-ma35d1-vendor.config 8 0 8
config/kernel/linux-odroidxu4-current.config 1 0 1
config/kernel/linux-odroidxu4-edge.config 1 0 1
config/kernel/linux-phytium-embedded-vendor.config 8 0 8
config/kernel/linux-rk35xx-vendor.config 3 3 0
config/kernel/linux-rockchip-current.config 4 0 4
config/kernel/linux-rockchip-edge.config 3 0 3
config/kernel/linux-rockchip-rv1106-vendor.config 7 1 6
config/kernel/linux-rockchip-rv1126-vendor.config 21 45 -24
config/kernel/linux-rockchip-vendor.config 7 4 3
config/kernel/linux-rockchip64-bleedingedge.config 4 7 -3
config/kernel/linux-s5p6818-edge.config 8 22 -14
config/kernel/linux-seeed-rk3576-vendor.config 10 29 -19
config/kernel/linux-sm8250-current.config 8 0 8
config/kernel/linux-sm8250-edge.config 8 0 8
config/kernel/linux-sm8550-current.config 8 0 8
config/kernel/linux-sm8550-edge.config 12 3 9
config/kernel/linux-sm8550-sheng-bleedingedge.config 153 8203 -8050
config/kernel/linux-sm8550-sheng-edge.config 152 8121 -7969
config/kernel/linux-sm8750-edge.config 8 0 8
config/kernel/linux-sophgo-sg200x-arm64-bleedingedge.config 6 0 6
config/kernel/linux-sophgo-sg200x-arm64-edge.config 6 0 6
config/kernel/linux-sophgo-sg200x-riscv64-bleedingedge.config 6 0 6
config/kernel/linux-sophgo-sg200x-riscv64-edge.config 7 1 6
config/kernel/linux-spacemit-edge.config 4 0 4
config/kernel/linux-spacemit-k3-current.config 28 6 22
config/kernel/linux-spacemit-k3-legacy.config 28 7 21
config/kernel/linux-spacemit-legacy.config 4 2 2
config/kernel/linux-starfive2-vendor.config 9 0 9
config/kernel/linux-sun55iw3-syterkit-legacy.config 9 0 9
config/kernel/linux-sun60iw2-vendor.config 100 7494 -7394
config/kernel/linux-sunxi-current.config 3 14 -11
config/kernel/linux-sunxi-edge.config 2 3 -1
config/kernel/linux-sunxi-legacy.config 2 9 -7
config/kernel/linux-sunxi64-current.config 2 2 0
config/kernel/linux-sunxi64-edge.config 4 5 -1
config/kernel/linux-sunxi64-legacy.config 1 2 -1
config/kernel/linux-tq-imx8m-current.config 8 0 8
config/kernel/linux-tq-imx8m-edge.config 8 0 8
config/kernel/linux-tq-imx93-current.config 8 0 8
config/kernel/linux-tq-imx93-edge.config 8 0 8
config/kernel/linux-uefi-arm64-cloud.config 9 0 9
config/kernel/linux-uefi-arm64-current.config 0 2 -2
config/kernel/linux-uefi-arm64-edge.config 0 2 -2
config/kernel/linux-uefi-arm64-legacy.config 0 2 -2
config/kernel/linux-uefi-loong64-edge.config 1 8 -7
config/kernel/linux-uefi-riscv64-edge.config 1 9 -8
config/kernel/linux-uefi-x86-cloud.config 9 0 9
config/kernel/linux-xpressreal-t3-6.6.config 8 0 8

Files: 69 • Lines: +1108 / -29883 (Δ -28775)

@EvilOlaf EvilOlaf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • bleedingedge: just a move
  • both seeed:
    • same for uwe5622
    • everything else, not sure
  • sunxi edge: should be good because aic8800 is added via dkms

@github-actions
github-actions Bot force-pushed the update-kernel-configs branch from 07e52a4 to ff85fc0 Compare July 6, 2026 00:51
@github-actions
github-actions Bot force-pushed the update-kernel-configs branch 2 times, most recently from c3a48ee to 7ac4096 Compare July 27, 2026 00:52
@github-actions
github-actions Bot force-pushed the update-kernel-configs branch from 7ac4096 to 30ca3cf Compare August 3, 2026 00:51
@github-actions
github-actions Bot requested a review from hqnicolas as a code owner August 3, 2026 00:51
@hqnicolas

hqnicolas commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

@igorpecovnik rv1126 is kernel 6.1, can I keep the rv1126 video processor and cameras?

@EvilOlaf

EvilOlaf commented Aug 3, 2026

Copy link
Copy Markdown
Member

This is done by automation. It feeds the config file into the kernel, runs makeoldconfig or something, then the kernel does its thing with setting new option defaults, check dependencies, reorder stuff, and then spits out the result.
So for some reason it doesn't like a specific setting to stick. A similar issue exists for sunxi (32-bit) where raid options won't stick. Usually going through menuconfig and set them there to get it right does the trick.

@github-actions github-actions Bot added the Ready to merge Reviewed, tested and ready for merge label Aug 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

✅ This PR has been reviewed and approved — all set for merge!

@github-actions github-actions Bot removed the Needs review Seeking for review label Aug 14, 2026
@github-actions
github-actions Bot force-pushed the update-kernel-configs branch from c28bb8b to 39599af Compare August 17, 2026 00:33
@github-actions github-actions Bot added the Needs review Seeking for review label Aug 17, 2026
@EvilOlaf

Copy link
Copy Markdown
Member

I wish there was an option to partially commit the pending pr changes so those which are considered safe could be merged, removing clutter and leave those needing further research.

@github-actions
github-actions Bot force-pushed the update-kernel-configs branch from f8052d4 to eefe854 Compare September 14, 2026 00:42
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 37d31e4a-6f13-482e-b350-6efb630c7e62

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@iav iav added the Can be closed? Ping developers on stalled issue / PR label Sep 15, 2026
@EvilOlaf

Copy link
Copy Markdown
Member

having this as persistent pr might not be the worst idea. it gives a clue about which kernel configs may need attention due to conflicting options or whatever.

@iav

iav commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

#10668

@igorpecovnik

Copy link
Copy Markdown
Member

Perhaps we add some AI brain to this automation as current outcome is not what we want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Can be closed? Ping developers on stalled issue / PR Needs review Seeking for review Ready to merge Reviewed, tested and ready for merge

Development

Successfully merging this pull request may close these issues.

5 participants