Skip to content

feat(actions): add optional 6.1 Gunyah fix patch bundle from kernel_p…#54

Open
lateautumn233 wants to merge 1 commit intoXiaomichael:Buildfrom
lateautumn233:Build
Open

feat(actions): add optional 6.1 Gunyah fix patch bundle from kernel_p…#54
lateautumn233 wants to merge 1 commit intoXiaomichael:Buildfrom
lateautumn233:Build

Conversation

@lateautumn233
Copy link
Copy Markdown

Copilot AI review requested due to automatic review settings April 14, 2026 07:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a new optional workflow input to apply a pair of Gunyah-related fix patches when building 6.1 kernels, wiring the option into multiple GitHub Actions build workflows.

Changes:

  • Add a new workflow_dispatch input GUNYAH_FIX (On/Off) to several build workflows.
  • When GUNYAH_FIX=On and KERNEL_VERSION=6.1, copy two patch files from the cloned kernel_patches repo into kernel_platform/common and apply them with patch -p1.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
.github/workflows/Build SukiSU Ultra_40129.yml Adds GUNYAH_FIX input and applies two Gunyah fix patches for 6.1 builds.
.github/workflows/Build SukiSU Ultra.yml Adds GUNYAH_FIX input and applies two Gunyah fix patches for 6.1 builds.
.github/workflows/Build ReSukiSU.yml Adds GUNYAH_FIX input and applies two Gunyah fix patches for 6.1 builds.
.github/workflows/Build KernelSU.yml Adds GUNYAH_FIX input and applies two Gunyah fix patches for 6.1 builds.
.github/workflows/Build KernelSU Next.yml Adds GUNYAH_FIX input and applies two Gunyah fix patches for 6.1 builds.
.github/workflows/Build Kernel Only.yml Adds GUNYAH_FIX input and applies two Gunyah fix patches for 6.1 builds.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

fi
fi

if [ "${{ github.event.inputs.GUNYAH_FIX }}" = "On" ] && [ "${{ github.event.inputs.KERNEL_VERSION }}" = "6.1" ]; then
Comment on lines +328 to +329
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +332 to +333
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +343 to +344
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +347 to +348
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
Comment on lines +334 to +335
cp ../kernel_patches/common/gunyah_large_memory_access_fix.patch ./common/
cp ../kernel_patches/common/gunyah_scm_vmid_fix.patch ./common/
@Xiaomichael
Copy link
Copy Markdown
Owner

不好意思刚上号才看见 可以问一下这个补丁是干什么的嘛

@lateautumn233
Copy link
Copy Markdown
Author

不好意思刚上号才看见 可以问一下这个补丁是干什么的嘛

8gen3使用gunyah虚拟化创建虚拟机会出现内存分配问题
这2个内核补丁可以解决这个问题
polygraphene/gunyah-on-sd-guide#5 (comment)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants