-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update Linux headers from v5.10.5 to v6.6 #1373
Conversation
This patch imports the Linux kernel from v5.10.5 to v6.6. Important RISC-V specific changes are: * hwprobe support * V support (ptrace and prctl calls) * KVM support There are patches on the glibc list that introduce code which uses the hwprobe interface. Let's update the kernel headers to be ready for these changes. Signed-off-by: Christoph Müllner <[email protected]>
Just curious - and apologies if it's a dumb question - but, is there a reason that these are copied/duplicated here rather than being a Git submodule pulled from the upstream repo like most other components here? |
These need to be built from Linux sources. |
Ok, fair enough. I was just asking on the (slim) chance that the issue hadn't been considered before. 🙂 |
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.
hwprobe
is what we need for further ifunc support, thanks!
What about using |
It is not just copying the
We could duplicate all required steps to build the kernel headers and just fetch the required parts, but this seems to be fragile and might break when Linux changes the build processes for these headers. That said, I think it is doable to come up with something that fits our needs. But why waste a few days fiddling around with that when a simple |
Thanks @cmuellner - I assumed that it was just a static copy of the headers. I didn't realise that they needed a "build/install" step. |
This patch imports the Linux kernel from v5.10.5 to v6.6. Important RISC-V-specific changes are:
There are patches on the glibc list that introduce code that uses the hwprobe interface. Let's update the kernel headers to be ready for these changes.