Skip to content

src/tlb.c: restore original order of operation for atype assignment#31

Merged
trofi merged 1 commit intotrofi:masterfrom
linux-ia64:restore-original-order-of-operation-for-atype-assignment
Apr 17, 2026
Merged

src/tlb.c: restore original order of operation for atype assignment#31
trofi merged 1 commit intotrofi:masterfrom
linux-ia64:restore-original-order-of-operation-for-atype-assignment

Conversation

@johnny-mnemonic
Copy link
Copy Markdown
Contributor

After 3279e9d trying to boot a Linux kernel in (b)ski's system mode hang early.

As & takes precedence over | the assigned value of atypem is different after 3279e9d than the assigned value of atype was before that commit.


Fixes #30

After 3279e9d trying to boot a Linux kernel in (b)ski's system mode
hang early.

As `&` takes precedence over `|` the assigned value of atypem is different
after 3279e9d than the assigned value of atype was before that commit.

Fixes: 3279e9d ("src/tlb.c: fix `Accesstype` vs `Accesstypemask` confsion")
Reported-by: Willow <prometrium.dev@proton.me>
Signed-off-by: Johnny Mnemonic <jm@machine-hall.org>
@trofi trofi merged commit 5db87c9 into trofi:master Apr 17, 2026
1 check passed
@trofi
Copy link
Copy Markdown
Owner

trofi commented Apr 17, 2026

Apologies for the breakage.

Pulled as is. Thank you!

@johnny-mnemonic
Copy link
Copy Markdown
Contributor Author

Apologies for the breakage.

Really, no issue. I looked at 3279e9d for a while and really wondered where the difference is. :-)

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.

(b)ski: kernel boot broken after recent change (i.e. 3279e9d)

2 participants