Skip to content

kboot: disable wfi/wfit if wfi loses state - #672

Draft
yuyuyureka wants to merge 1 commit into
AsahiLinux:mainfrom
yuyuyureka:feature/wfi-bootarg
Draft

kboot: disable wfi/wfit if wfi loses state#672
yuyuyureka wants to merge 1 commit into
AsahiLinux:mainfrom
yuyuyureka:feature/wfi-bootarg

Conversation

@yuyuyureka

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: Yureka <yureka@cyberchaos.dev>
@yuyuyureka
yuyuyureka force-pushed the feature/wfi-bootarg branch from d80fa33 to 5971b02 Compare August 29, 2026 13:07
Comment thread src/kboot.c
return dt_set_rng_seed_adt(node);

if (wfi_loses_state()) {
if (fdt_appendprop_string(dt, node, "bootargs", " idle=nop arm64.nowfxt"))

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.

does this actually work? in my test with " nohibernate" this resulted in

bootargs = "root=...", " nohibernate";

and the kernel ignored the second string. At least in its Kernel command line: debug output. I think the issue is that the existing string still has a terminating \0.

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.

2 participants