-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(1808): migrate to linux 6.8.9 #2124
Open
kingluo
wants to merge
25
commits into
master
Choose a base branch
from
jinhua/feat-1808-migrate-to-linux-6.8.9
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+8,384
−2,099
Commits on May 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 21e7fff - Browse repository at this point
Copy the full SHA 21e7fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e0e942 - Browse repository at this point
Copy the full SHA 8e0e942View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc6d26d - Browse repository at this point
Copy the full SHA dc6d26dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bca16f5 - Browse repository at this point
Copy the full SHA bca16f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1040a54 - Browse repository at this point
Copy the full SHA 1040a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95d8481 - Browse repository at this point
Copy the full SHA 95d8481View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86e3043 - Browse repository at this point
Copy the full SHA 86e3043View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6256ea - Browse repository at this point
Copy the full SHA e6256eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c10e6a - Browse repository at this point
Copy the full SHA 7c10e6aView commit details
Commits on May 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3d5730e - Browse repository at this point
Copy the full SHA 3d5730eView commit details
Commits on Jun 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 89d2f30 - Browse repository at this point
Copy the full SHA 89d2f30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e4a18d - Browse repository at this point
Copy the full SHA 2e4a18dView commit details
Commits on Jun 6, 2024
-
fix assembly functions: RET and endbr64-jump-table
Problems: 1. In the new kernel, assembly functions uniformly return from `__x86_return_thunk`. However, our assembly code uses the original `ret` instruction, so objtool in the kernel will notice this is a naked return during compilation. 2. `SYM_FUNC_START` in the new kernel will add endbr64 to the head of the assembly function, and all indirect jumps to ENDBR instructions, that is, the code snippet within the same function, will fail, but we use jump tables in the assembly function to perform indirect jumps. It will raise CET exception: https://en.wikipedia.org/wiki/X86_instruction_listings#Added_with_Intel_CET). Solutions: 1. Substitute the `ret` with `RET`, a macro in the new kernel to ensure the correct return. 2. `notrack jmp` and enable notrack in CPU setting: `wrmsrl(MSR_IA32_S_CET, CET_ENDBR_EN | CET_NO_TRACK_EN)` As an aside, interestingly, if a user-mode C program uses a switch statement that meets the conditions for generating a jump table (gcc uses `-fcf-protection=full` by default), the generated jump table will use a `jmp` with the `notrack` prefix, and IBT will be marked as `true` in the `.note.gnu.property` section of the compiled elf file, so that the `NO_TRACK_EN` of the `MSR` will be set to `true` in user mode when the kernel is loaded. So user mode can use `notrack` to bypass CET without caring about setting or not setting `NO_TRACK_EN`.
Configuration menu - View commit details
-
Copy full SHA for f8b1e53 - Browse repository at this point
Copy the full SHA f8b1e53View commit details
Commits on Jun 17, 2024
-
Merge remote-tracking branch 'origin/master' into jinhua/feat-1808-mi…
…grate-to-linux-6.8.9
Configuration menu - View commit details
-
Copy full SHA for 356c594 - Browse repository at this point
Copy the full SHA 356c594View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8afb1d6 - Browse repository at this point
Copy the full SHA 8afb1d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e95951a - Browse repository at this point
Copy the full SHA e95951aView commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 99bb027 - Browse repository at this point
Copy the full SHA 99bb027View commit details
Commits on Jul 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1c068b - Browse repository at this point
Copy the full SHA c1c068bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 96628ac - Browse repository at this point
Copy the full SHA 96628acView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8de856 - Browse repository at this point
Copy the full SHA f8de856View commit details
Commits on Jul 8, 2024
-
Revert "enable fpu in the whole softirq ctx"
This reverts commit 89d2f30.
Configuration menu - View commit details
-
Copy full SHA for 094940e - Browse repository at this point
Copy the full SHA 094940eView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb1e9ec - Browse repository at this point
Copy the full SHA eb1e9ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2406021 - Browse repository at this point
Copy the full SHA 2406021View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b73a31a - Browse repository at this point
Copy the full SHA b73a31aView commit details
Commits on Jul 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 09bd329 - Browse repository at this point
Copy the full SHA 09bd329View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.