Skip to content

Commit

Permalink
Enable Broadcom MPI3 Storage Controller Device Driver (#7897)
Browse files Browse the repository at this point in the history
Enable the mpi3mr module to allow for testing Broadcom/LSI SCSI devices that require the MIP3MR driver.
  • Loading branch information
rlmenge authored Feb 15, 2024
1 parent 33590e3 commit 25857d9
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 13 deletions.
5 changes: 4 additions & 1 deletion SPECS-SIGNED/kernel-signed/kernel-signed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Summary: Signed Linux Kernel for %{buildarch} systems
Name: kernel-signed-%{buildarch}
Version: 5.15.148.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -153,6 +153,9 @@ ln -sf linux-%{uname_r}.cfg /boot/mariner.cfg
%exclude /module_info.ld

%changelog
* Wed Feb 14 2024 Rachel Menge <rachelmenge@microsoft.com> - 5.15.148.2-2
- Bump release to match kernel

* Thu Feb 08 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 5.15.148.2-1
- Auto-upgrade to 5.15.148.2

Expand Down
5 changes: 4 additions & 1 deletion SPECS/kernel-headers/kernel-headers.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
Summary: Linux API header files
Name: kernel-headers
Version: 5.15.148.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -73,6 +73,9 @@ done
%endif

%changelog
* Wed Feb 14 2024 Rachel Menge <rachelmenge@microsoft.com> - 5.15.148.2-2
- Bump release to match kernel

* Thu Feb 08 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 5.15.148.2-1
- Auto-upgrade to 5.15.148.2

Expand Down
2 changes: 1 addition & 1 deletion SPECS/kernel/config
Original file line number Diff line number Diff line change
Expand Up @@ -2177,7 +2177,7 @@ CONFIG_SCSI_MPT3SAS=y
CONFIG_SCSI_MPT2SAS_MAX_SGE=128
CONFIG_SCSI_MPT3SAS_MAX_SGE=128
CONFIG_SCSI_MPT2SAS=y
# CONFIG_SCSI_MPI3MR is not set
CONFIG_SCSI_MPI3MR=m
CONFIG_SCSI_SMARTPQI=y
CONFIG_SCSI_UFSHCD=m
CONFIG_SCSI_UFSHCD_PCI=m
Expand Down
2 changes: 1 addition & 1 deletion SPECS/kernel/config_aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -2726,7 +2726,7 @@ CONFIG_SCSI_MPT3SAS=y
CONFIG_SCSI_MPT2SAS_MAX_SGE=128
CONFIG_SCSI_MPT3SAS_MAX_SGE=128
CONFIG_SCSI_MPT2SAS=y
# CONFIG_SCSI_MPI3MR is not set
CONFIG_SCSI_MPI3MR=m
# CONFIG_SCSI_SMARTPQI is not set
CONFIG_SCSI_UFSHCD=m
CONFIG_SCSI_UFSHCD_PCI=m
Expand Down
6 changes: 3 additions & 3 deletions SPECS/kernel/kernel.signatures.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"Signatures": {
"cbl-mariner-ca-20211013.pem": "5ef124b0924cb1047c111a0ecff1ae11e6ad7cac8d1d9b40f98f99334121f0b0",
"config": "32361dee210fc2894f564975951f7c424d7fcea012232e2a059a9254746da134",
"config_aarch64": "1bdd3093e94d089985dd3af1ede1905c9d4e8237aa46728e489c5b94edaddf2d",
"config": "8719cdd86f6c65828021b13ec41c54ecdacb59ebc6e6f8033622c6ee9b45d94f",
"config_aarch64": "b2f8ca0a288480bce99e327bd0b4bf88095a05a8fabd9929f83c954127086396",
"sha512hmac-openssl.sh": "02ab91329c4be09ee66d759e4d23ac875037c3b56e5a598e32fd1206da06a27f",
"kernel-5.15.148.2.tar.gz": "58488cf131b8a1c77dcac651fbad10e105e9a8d2f48b7bb8b2d08ac63483a129"
}
}
}
5 changes: 4 additions & 1 deletion SPECS/kernel/kernel.spec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
Summary: Linux Kernel
Name: kernel
Version: 5.15.148.2
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -426,6 +426,9 @@ ln -sf linux-%{uname_r}.cfg /boot/mariner.cfg
%{_sysconfdir}/bash_completion.d/bpftool

%changelog
* Wed Feb 14 2024 Rachel Menge <rachelmenge@microsoft.com> - 5.15.148.2-2
- Enable Broadcom MPI3 Storage Controller Device Driver

* Thu Feb 08 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 5.15.148.2-1
- Auto-upgrade to 5.15.148.2

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
filesystem-1.1-20.cm2.aarch64.rpm
kernel-headers-5.15.148.2-1.cm2.noarch.rpm
kernel-headers-5.15.148.2-2.cm2.noarch.rpm
glibc-2.35-6.cm2.aarch64.rpm
glibc-devel-2.35-6.cm2.aarch64.rpm
glibc-i18n-2.35-6.cm2.aarch64.rpm
Expand Down
2 changes: 1 addition & 1 deletion toolkit/resources/manifests/package/pkggen_core_x86_64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
filesystem-1.1-20.cm2.x86_64.rpm
kernel-headers-5.15.148.2-1.cm2.noarch.rpm
kernel-headers-5.15.148.2-2.cm2.noarch.rpm
glibc-2.35-6.cm2.x86_64.rpm
glibc-devel-2.35-6.cm2.x86_64.rpm
glibc-i18n-2.35-6.cm2.x86_64.rpm
Expand Down
2 changes: 1 addition & 1 deletion toolkit/resources/manifests/package/toolchain_aarch64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ intltool-0.51.0-7.cm2.noarch.rpm
itstool-2.0.6-4.cm2.noarch.rpm
kbd-2.2.0-1.cm2.aarch64.rpm
kbd-debuginfo-2.2.0-1.cm2.aarch64.rpm
kernel-headers-5.15.148.2-1.cm2.noarch.rpm
kernel-headers-5.15.148.2-2.cm2.noarch.rpm
kmod-29-2.cm2.aarch64.rpm
kmod-debuginfo-29-2.cm2.aarch64.rpm
kmod-devel-29-2.cm2.aarch64.rpm
Expand Down
4 changes: 2 additions & 2 deletions toolkit/resources/manifests/package/toolchain_x86_64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ intltool-0.51.0-7.cm2.noarch.rpm
itstool-2.0.6-4.cm2.noarch.rpm
kbd-2.2.0-1.cm2.x86_64.rpm
kbd-debuginfo-2.2.0-1.cm2.x86_64.rpm
kernel-cross-headers-5.15.148.2-1.cm2.noarch.rpm
kernel-headers-5.15.148.2-1.cm2.noarch.rpm
kernel-cross-headers-5.15.148.2-2.cm2.noarch.rpm
kernel-headers-5.15.148.2-2.cm2.noarch.rpm
kmod-29-2.cm2.x86_64.rpm
kmod-debuginfo-29-2.cm2.x86_64.rpm
kmod-devel-29-2.cm2.x86_64.rpm
Expand Down
13 changes: 13 additions & 0 deletions toolkit/scripts/mariner-required-configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1360,6 +1360,19 @@
"PR": [
"https://github.com/microsoft/CBL-Mariner/pull/7181"
]
},
"CONFIG_SCSI_MPI3MR": {
"value": [
"m"
],
"arch": [
"AMD64",
"ARM64"
],
"comment": "Needed for customer",
"PR": [
"https://github.com/microsoft/CBL-Mariner/pull/7897"
]
}
}
}
Expand Down

0 comments on commit 25857d9

Please sign in to comment.