Skip to content
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

build smartpqi driver into 5.10 kernel #2184

Merged
merged 2 commits into from
Jun 7, 2022

Conversation

bcressey
Copy link
Contributor

@bcressey bcressey commented Jun 6, 2022

Issue number:
Fixes #2160

Description of changes:
This partially reverts 31d5062 since we haven't consistently added new drivers for bare metal to the 5.4 kernel config.

Move CONFIG_MEGARAID_SAS=y to the same area of the config as the other storage drivers, and add CONFIG_SCSI_SMARTPQI=y.

Testing done:
Booted x86_64 and aarch64 VMs with the 5.10 kernel.

Delta between old and new configs was as expected for both architectures.

-CONFIG_RAID_ATTRS=m
+CONFIG_RAID_ATTRS=y
...
-CONFIG_SCSI_SAS_ATTRS=m
+CONFIG_SCSI_SAS_ATTRS=y
...
-CONFIG_SCSI_SMARTPQI=m
+CONFIG_SCSI_SMARTPQI=y

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.

This drops CONFIG_MEGARAID_SAS=y for the 5.4 kernel, which we don't
plan to support on bare metal, and relocates the option to the block
storage section of the config for the 5.10 kernel.

Signed-off-by: Ben Cressey <[email protected]>
Copy link
Contributor

@zmrow zmrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🌶️

@bcressey bcressey merged commit fc9c8bf into bottlerocket-os:develop Jun 7, 2022
@bcressey bcressey deleted the kernel-raid branch June 7, 2022 15:38
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.

Add smartpqi driver to Linux kernel
4 participants