-
Notifications
You must be signed in to change notification settings - Fork 519
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
kernel: add driver support for aws variants in hybrid environments #2554
kernel: add driver support for aws variants in hybrid environments #2554
Conversation
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.
🌃
@@ -0,0 +1,6 @@ | |||
# Support boot from IDE disks | |||
CONFIG_ATA=y | |||
CONFIG_ATA_GENERIC=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.
Do we want the generic driver? We do not ship it with the metal variants.
If we actually want it, we probably also want it on metal.
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.
On a second look, indeed, this won't be needed. I'll drop it in the next revision.
Relevant code to boot from IDE disks needs to be built-in, not a module, as without disk drivers the kernel cannot load any modules. SCSI code needs to be pulled in since libata treats IDE disks as a SCSI device. Signed-off-by: Markus Boehme <[email protected]>
Signed-off-by: Markus Boehme <[email protected]>
88cec92
to
2e5458b
Compare
Dropped Refreshed summary of kernel config changes:
The full diff of changes can be seen in this gist. |
Issue number: n/a
Description of changes: Add driver support for using aws variants in hybrid environments. In particular, add support for booting from IDE/ATA devices and 5th generation Mellanox NICs.
Testing done: I collected kernel config diffs using
tools/diff-kernel-config
, build-testing relevant configurations. This is the overview:Note that as expected only aws variants have their config changed. You can find a full config diff in this gist. Interesting to see that the 5.10 kernel for aarch64 almost had the desired configuration already. Feature selection for the mlx5 driver mirrors the existing configuration for metal variants.
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.