-
Notifications
You must be signed in to change notification settings - Fork 0
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: backport kernel 6.10 form yocto 5.1 #15
base: main
Are you sure you want to change the base?
Conversation
PREFERRED_VERSION_linux-yocto-tiny ?= "6.6%" | ||
PREFERRED_VERSION_linux-yocto-tiny ?= "6.10%" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit: The title refers to the current yocto as 5.1 but we actually running version 6.6.35.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with yocto version 5.1 I'm referring to the yocto version. Scarthgap is 5.0.3, the next non LTS release is 5.1. Ofc. kernel version is different here.
# CVE exclusions | ||
include recipes-kernel/linux/cve-exclusion_6.10.inc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the CVE exclusion list seems quite big.
Could you refer me to where you got it and are all the listed vulnerabilities in it false-positives or accepted risks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CONFIG_CPU_MITIGATIONS=y | ||
CONFIG_MITIGATION_RETHUNK=y | ||
CONFIG_MITIGATION_RETPOLINE=y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems a duplicate to the one from line 7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mitigation config parameters have been renamed in kernel 6.9: https://www.phoronix.com/news/Linux-6.9-CONFIG-MITIGATIONS
It looks good to me but have you tested it with building the whole image with some evm layers or searcher layer to see if nothing break them? |
Haven't tested this yet, no. These are the warnings I get when compiling linux-tiny with 6.10:
These are all vars that have been replaced in 6.9 (except of the embedded one, but that has been there before) |
No description provided.