Skip to content

Refactor Aspeed kernel-6.12 v00.07.02 update patch#577

Open
roger-nexthop wants to merge 4 commits into
sonic-net:masterfrom
nexthop-ai:chander.kernel-refactor
Open

Refactor Aspeed kernel-6.12 v00.07.02 update patch#577
roger-nexthop wants to merge 4 commits into
sonic-net:masterfrom
nexthop-ai:chander.kernel-refactor

Conversation

@roger-nexthop

@roger-nexthop roger-nexthop commented May 14, 2026

Copy link
Copy Markdown

Why I did it

Based on community feedback, this PR restores the original aspeed-ast2700-support.patch merged in #522. The update to kernel-6.12 v00.07.02 (#557) has been split into 2 patches based on aspeed specific changes and vendor independent changes.

The two new patches for 00.07.02 update will be applied as incremental patches on top of the original Aspeed kernel patch.

How I did it

Restored original aspeed patch. Split 00.07.02 update into two patches based on new aspeed files and modified aspeed/vendor independent files.

How to verify it

Tested by running new image with the changes and checking patched kernel is same before and after this change.

Signed-off-by: Roger Liao <roger@nexthop.ai>
Signed-off-by: Roger Liao <roger@nexthop.ai>
@roger-nexthop roger-nexthop requested a review from a team as a code owner May 14, 2026 21:39
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@yxieca-admin

Copy link
Copy Markdown

@roger-nexthop please number the 3 patches 0001-, 0002-, 0003-.

Signed-off-by: Roger Liao <roger@nexthop.ai>
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@roger-nexthop

roger-nexthop commented May 20, 2026

Copy link
Copy Markdown
Author

Renamed files for clarity (new aspeed files versus modifications to existing aspeed + vendor independent) and numbered as suggested.

@yxieca

yxieca commented May 20, 2026

Copy link
Copy Markdown
Collaborator

LGTM. @roger-nexthop did you use the Linux kernel repo PR template?

@roger-nexthop

Copy link
Copy Markdown
Author

sonic-linux-kernel is missing the PULL_REQUEST_TEMPLATE.md, but I've updated this based on sonic-buildimage.

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@saiarcot895

Copy link
Copy Markdown
Contributor

Comments:

  • In the first patch, in drivers/clk/Kconfig and drivers/clk/Makefile, there is a new kconfig named CONFIG_COMMON_CLK_NPCM8XX that gets defined with a reference to a new file named clk-npcm8xx.c. However, this does not exist in the patch or in the 6.12.94 source tree.
  • In the first patch, in drivers/char/hw_random/Kconfig, HW_RANDOM_NOMADIK has a depends on ARM_AMBA added.
  • In the first patch, in drivers/irqchip/Makefile, it looks like the build rule for CONFIG_STM32MP_EXTI was removed.
  • I see the above three changes were reverted in the third patch. Any way they can be removed from both the first and third patch?
    • drivers/reset/Kconfig might also apply to this category
  • In the third patch, there's a change to drivers/edac/synopsys_edac.c. Is this expected?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants